how to get line number from the request ?

Unanswered Question
Sep 27th, 2007
User Badges:

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
pklos Fri, 09/28/2007 - 06:33
User Badges:
  • Silver, 250 points or more

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.




ps. rate this post if helps.

ronnared_ray Sun, 09/30/2007 - 20:11
User Badges:

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

ronnared_ray Tue, 10/02/2007 - 19:42
User Badges:

I try this solution and fund not quite help.

The url for get the line number i used is (not, 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?

pklos Wed, 10/03/2007 - 01:36
User Badges:
  • Silver, 250 points or more

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.





This Discussion