How to get extension number, MAC address, IP using ASP?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2004 12:32 AM - edited 03-13-2019 05:54 AM
In ASP, I can use Request.ServerVariables("REMOTE_ADDR") to get remote IP address. Can I use this function to get the phone IP address too?
Also can I also get the extension number and MAC address using ASP?
Thanks.
- Labels:
-
Other Collaboration Topics

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2004 04:50 AM
I don't see a reason why that shouldn't work with IP phones.. for a webserver, an IP phone accessing a webpage is no different than a computer accessing a webpage. As for MAC addresses, I'm unfamiliar with ASP so I don't know how far you can go, but you'll certainly find the MAC address on the DeviceListX.asp page on the call manager. As for the extension, things are a bit more complicated since a device does not necessarily have a unique extension. For starters you can have a device without an extension, devices with multiple extensions and then there's extension mobility. And then you can of course combine them.. so have a phone with a couple fixed extensions that are overridden when a user logs in via extension mobility. There are certainly always ways (for instance via AXL query you can look up all the lines belonging to a device and then get the extensions from all those lines), or get currently active extensions from the user logged in via extension mobility (the sdk has some good examples for the latter).
Since AXL is programming language independent, you can do everything AXL can do using ASP, JSP, etc. Same goes for surrounding APIs (for instance the Webdialer).
