cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
182
Views
0
Helpful
1
Replies

Send initiating IP Phone's extension to ASP page

wesleyv
Level 1
Level 1

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

stephan.steiner
Spotlight
Spotlight

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: