cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

99
Views
0
Helpful
1
Replies
Highlighted
Beginner

Send initiating IP Phone's extension to ASP page

Hi All

I would like to send the initiating IP Phone's extension to the ASP page that it's accessing. I've got a service that queries a database, but the user has to type the user id everytime he wants to do a lookup.

Is there an environment variable that contains this info, or how could I get it.

Regards

Wesley Versfeld

1 REPLY 1
Rising star

Re: Send initiating IP Phone's extension to ASP page

Since a phone can have multiple extensions, that approach could lead to problems.

However, you can give the phone name to the service (append ?name=#DEVICENAME# to the service url). From that, you can look up the phone's extensions via AXL (also keep in mind that in case you're using extension mobility you'll have to get the extensions for the currently logged in user).

There are a few examples on this in the IP Phone SDK.

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here