budimir Posted September 10, 2008 Share Posted September 10, 2008 Hey guys, Is it possible to make a script which would register when an IP phone rings and showed a message! Did anyone tried something like this before?? Quote Link to comment https://forums.phpfreaks.com/topic/123577-ip-phone-and-php/ Share on other sites More sharing options...
Mchl Posted September 10, 2008 Share Posted September 10, 2008 Does this phone have some API? Quote Link to comment https://forums.phpfreaks.com/topic/123577-ip-phone-and-php/#findComment-638191 Share on other sites More sharing options...
JonnoTheDev Posted September 10, 2008 Share Posted September 10, 2008 I think this maybe possible if you are using the Skype service Quote Link to comment https://forums.phpfreaks.com/topic/123577-ip-phone-and-php/#findComment-638194 Share on other sites More sharing options...
budimir Posted September 10, 2008 Author Share Posted September 10, 2008 @Mchl I'm not quite sure. It's LG-Nortel LIP-6812D and other's are Cisco IP phones. As I see it it's possible to register the phone, because every phone has an IP adress. So, basiclly, we could register each phone buy recording it's IP adress. But I don't know how to register when a phone is ringing and how to display a number from which call is coming from. I would like to make like a network phonebook and when someone call's the number is displayed and everything is recorder in a database. Ideas?? Quote Link to comment https://forums.phpfreaks.com/topic/123577-ip-phone-and-php/#findComment-638196 Share on other sites More sharing options...
chrisuk Posted September 10, 2008 Share Posted September 10, 2008 You can get caller ID etc from the SIP packets... but how you get that into a PHP script, I don't know! Quote Link to comment https://forums.phpfreaks.com/topic/123577-ip-phone-and-php/#findComment-638200 Share on other sites More sharing options...
aschk Posted September 10, 2008 Share Posted September 10, 2008 You need to communicate with the SIP server itself to connect to the API. I've worked with Asterix previously and had a small amount of success connecting to the API and issuing some commands (like end-to-end calling). The phones themselves do not contain any API to my knowledge. Also, in Asterisk there is an option to supply a script to run during particular parts of the dialplan. This is where you can insert the call to a PHP script. I'm being very sketchy I realise, but it has been a while (2 years+) since I worked with it... Quote Link to comment https://forums.phpfreaks.com/topic/123577-ip-phone-and-php/#findComment-638258 Share on other sites More sharing options...
JonnoTheDev Posted September 10, 2008 Share Posted September 10, 2008 I think PHP Architect did an article on this a while back from memory. Have a look through their back catalogue. http://www.phparch.com/ Quote Link to comment https://forums.phpfreaks.com/topic/123577-ip-phone-and-php/#findComment-638277 Share on other sites More sharing options...
budimir Posted September 11, 2008 Author Share Posted September 11, 2008 Thanks for your effort, guys! I will digg in to it. Quote Link to comment https://forums.phpfreaks.com/topic/123577-ip-phone-and-php/#findComment-638915 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.