cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
379
Views
0
Helpful
5
Replies

how to get line number from the request ?

ronnared_ray
Level 1
Level 1

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.

5 Replies 5

pklos
Level 4
Level 4

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.

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

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?

It's not HTML but XML and parsing it is very easy with regular expression. Here's sample:

/(\d+)<\/phoneDN>/m

I think it's the easiest way to get first line number.

--

regards,

PK

CCM version? programming lenguaje?