TAPI 3.0 Call ID? - tapi

Does anyone know where I can find a unique identifier for a phone call using the Microsoft TAPI 3.0 library? I've tried get_CallInfoLong(CALLINFO_LONG.CALLID) but it always returns 0.
Anyone help?

CallID (and RelatedCallID) is not supported by most telephony hardware. Some TSPs for PBX systems support CallID, for example Panasonic KX-TDA series, but majority do not. If your telephony hardware doesn't support CallID, your only option is to assign your own unique identifier to all calls (GUID for example) in your code and carefully track the calls through their lifecycle. You have to make sure it's the same call so you don't assign new id to the same call. That's what our library does when CallID is not supported by the hardware.

Related

Twilio programmable custom voice call

I've recently started to use Twilio, for our own needs - we need to provide users with real-time informations about possible dangerous events that might have happened at their home, through SMS or Voice call.
I've tried to use VoiceCall exactly as it's specificied here - https://www.twilio.com/user/account/developer-tools/api-explorer/call-create. The scenario is that I want a robotic voice to explain what was happened, hence I need to generate the xml file for voice on demand. I supplied my own RestApi url for the voice, that is able to generate this file through TWIML.
By default Twilio, will use that url to fetch the audio and other instructions, at the moment when the call is performed. Since the voice URL cannot contain parameters (because they got cut off for some reason) (e.g YES - http://mywebsite.com/api/sayVoice, NO - http://mywebsite.com/api/sayVoice?eventId=1), you will ALWAYS get the same audio (no way to identify a different kind of event and generate a DIFFERENT xml output (for a different audio to the end user).
In Twilio documentation examples, they have only static URLs as well, without extra parameters, hence is that indeed the only way Twilio Call Api can be used?
It's hardly believable that such an use case was not planned for Twilio.
Did anyone tried to use Twilio for a similar scenario?
Any suggestions regarding similar technologies for the same purpose?
Found the issue in the end, you need to pass the parameters as RequestParams.
For example, this one will work - Url=http://mywebsite.com/api/twilio/sayVoice?eventId=379, while pathParam won't work Url=http://mywebsite.com/api/twilio/sayVoice/379.
Hence, stay safe and use RequestParams.

Cast for Audio Hardware SDK?

I am interested in developing a play back device with the Google Cast for Audio standard.
Is there a public documentation of the protocol?
Or who do I have to contact to get the procotol details for implementing a receiver?
(I dont want to write a chrome cast app)
Thanks in advance!
At this point, we generally aren't licensing Google Cast to external partners. We may expand our product ecosystem in the future.

Detecting and logging phone call answer and phone call drop events?

I would like to know if its possible to detect and register an incoming call and also to register a droped call?
After doing a bit of research, I noticed a lot of comments on using the obscured event.
But problem here is that this event is not specific to phone calls and therefore the data collected will not be accurate.
Is there a way to verify which of the obscured events are actual incomming calls or dropped calls?
If this is possible, could you please respond with a sample code?
no there is no way to plug into phone call related events as there isn't any available option.
The current Windows Phone SDK (version 7.1.1) doesn't allow you to access any information about received/dropped calls, nor their log information...
I guess that you'd have to use do with Interop access to achieve such a thing, but that is always tricky!

Accessing Voice Mail Services in Windows Phone 7

I am creating a module for my project which is location based profile change in Windows Phone 7.
I am giving an extra feature in my app. When a user recieves a call, when in a certain profile (i.e silent or driving), the incoming call will recieve a service like voice mail where he/she can record a message.
Which API can I use to achieve that?
It's not entirely clear what you're after but I'm certain you can't do it:
There is no API for accessing profile information.
There is no API for accessgin call history details.
There is no way to determine if your application is being obscured for an incoming call or another reason.
Access to voicemail is operator dependent. There is no universal way to access this. Some oeprators provide their own APIs for accessing things like voicemail but these vary in implementation, availability and capabilites.

Single-Sign-On choices to use with Windows Phone 7

What types of Single-Sign-On what can I use with Windows Phone?
Now, I'm using Facebook Single-Sign-On. But I don't know if I can use, for example, Windows Live ID, Google, Yahoo, etc.
I don't want to make users of my app register again. I need users registered, but I can use another ways to sign in in my app.
OpenId for Windows Phone 7 - SevenAuth. Here's a demo video.
You can also use this code:
void checkGuid()
{
object uniqueID;
DeviceExtendedProperties.TryGetValue("DeviceUniqueId", out uniqueID);
byte[] bID = (byte[])uniqueID;
_clientID = Convert.ToBase64String(bID);
Debug.WriteLine(_clientID);
}
simply put your getting the unique hardware ID for each user that uses your app, now you simply send that to a WCF Service of some kind and store that string in a database, you can save information along with their Name, or their favourite style, its really quite simple when you think about it, but makes such a big difference in your app, ofcourse your app on start up would connect to your WCF Service and pull back the values (no need for hardware ID since that never changes) the beauty is your query string can just contain the Hardware ID of the Device and then match it with the Hardware ID on your database to get the values,
I am doing a similar thing right now, you can then link the HWID to their OpenID accounts
Recently, Microsoft released the Windows Live SDK which reportly allows you to do this, but I haven't gotten it to work smoothly yet.

Resources