Can app get ringing extension?

Community based support for the Digium Phone Application Programming Interface (API).

Moderators: jwitt, sruffell, malcolmd, Moderator

Can app get ringing extension?

Postby TomJohnson » Tue Jul 02, 2013 2:55 pm

Is there a way to get the extension/user that is ringing in the digium.phone.incoming_call event? If so, is this mentioned in the API documentation somewhere that I missed?
TomJohnson
Newsterisk
 
Posts: 20
Joined: Thu Jun 23, 2011 6:23 am

Re: Can app get ringing extension?

Postby sruffell » Tue Jul 02, 2013 9:33 pm

It's not explicitly called out, but on the Creating and Handling Calls page, you can see at the top of the page, the example eventData contains a remoteInfo string which I believe has what you're looking for.

The Enhanced Callerid example shows a trivial example of how to use the callerID information on an incoming call to query a database.
sruffell
Oldsterisk
 
Posts: 200
Joined: Fri Jan 07, 2011 2:02 pm

Re: Can app get ringing extension?

Postby TomJohnson » Mon Jul 08, 2013 7:42 am

Thank you, that helped.
TomJohnson
Newsterisk
 
Posts: 20
Joined: Thu Jun 23, 2011 6:23 am


Return to Digium Phone API

Who is online

Users browsing this forum: No registered users and 1 guest