How to get phoneName from IP Address (with AXL ?)

Answered Question
Feb 28th, 2008
User Badges:

Hi !


I've a small problem ...


To have an access to their services, IP Phone must transmit to the IP Phone Service his phoneName.


(CCM 6.0)


Actually, I need the IP Phone 's phoneName when it's connecting to a Service URL. (My ASP.NET application IP Phone Service need the phoneName to check his OWNER USER ID).


But when the IP Phone is reaching a IPPhone Service URL, i just know its own IP ADDRESS. (or i make a mistake ...).


So, i've severals ways to solve my problem :


- Including the PHONE NAME in its own URL Phone Service. (each phone will have http://ServicesServer/Service.aspx?name=XXXXXXXXXX for example)


- Another way would be make an AXL Request to the CALL MANAGER (6.0), to check the IP Address i recieved from the phone' request, and AXL Response will contains phoneName ?


- Other ?



Could someone help me or tell me how i can do it ?


Many thanks in advance.

Correct Answer by Sascha Monteiro about 9 years 3 weeks ago

best way is to pass the phone name in the url, you can do it like this:

http://appserver/service.asp?name=#DEVICENAME#

The Extension Mobility service is using this too...

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
stephane.lhp Fri, 02/29/2008 - 00:38
User Badges:

Thanks for your answer.


It's working !


I havent took a look to the Extension Mobility ones.


Very usefull ! Thanks.

Actions

This Discussion