09-27-2007 09:48 PM - edited 03-13-2019 04:28 PM
I develop my app on IPPhone, and faced problem how i get line number (or dir) from the device that request to my app.
I don't want to use axl (version issue)
and I think may be a smart solution like #DEVICENAME# param.
Please help.
09-28-2007 06:33 AM
You can get line id from IP phone web page. For request from ip phone with X.X.X.X ip address you can read line number from X.X.X.X/DeviceInformationX page.
--
regards,
pk
ps. rate this post if helps.
09-30-2007 08:11 PM
Thank you, foru your kindly help.
I will try and let u know wether it works.
Moreover, my problem is by design issue, when
install our IPAPP, I want owner of each phone can send SMS,check mail, etc. So, they must provision to my app. The poin is, when to
provisioning someone, CISCCO let u do that by
the web page, and match owner of phone by DEVICENAME. You will see that very very hard to manage.
On Avaya phone, they have subscribe routine, every time the phone reset, it send the phone information to a Subscribe server as we want, so we can know each phone for each owner by matchin the Line number.
May can have similar way to do on CISCO?
thank you.
ps. sorry for my ENGLISH :P
10-02-2007 07:42 PM
I try this solution and fund not quite help.
The url for get the line number i used is xxx.xxx.xxx (not xxx.xxx.xxx/deviceInformationx), that return the HEML content. It seem i need to parse the extract line for get Phone Dir.
Have u adivise me to do it by the other way?
10-03-2007 01:36 AM
It's not HTML but XML and parsing it is very easy with regular expression. Here's sample:
/
I think it's the easiest way to get first line number.
--
regards,
PK
10-03-2007 05:15 AM
CCM version? programming lenguaje?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide