10-06-2012 12:13 PM - edited 03-21-2019 06:23 AM
Hey Guys,
I was wondering, and I need to know for my business, is there any way at all for me to make my Cisco SPA 303 VOIP Phone to ring by sending a packet through my local network?
I would like to just be able to click a button or send a command throught the command prompt and make it ring, but I don't know if there is any way for this to happen.
Thank!
Solved! Go to Solution.
10-09-2012 12:30 PM
Do you know perl?
I had same issue and I wrote a simple perl script that works as wake up service.
PERL is an interpreted language and so can be executed on Linux and Windows operating systems. Linux can interpret perl natively while for Windows you can download many free interpreters like Activeperl or Strawberry perl. To run the script you must use a third party server.
In my configuration the script runs on a linux server in background as a service and checks every minute the directory called "alarm", reads files and uses the file name as called number and checks the content to verify if is the time to call. At the moment the script uses SIP and handles 4 call responses: 404 user not found, 486 busy, 487 not answer and 200 answer ok. In every cases sends an email and deletes files. Only for the answer case plays a nice music.
Files have this particular format: file name is equal to calling party number and file content is the alarm time in 24 hours format with : as separator between hours and minutes.
e.g.
ext. 101 must be called at 8 am ---> write the file 101.txt with the content 08:00
ext. 101 must be called at 8:30 am ---> write the file 101.txt with the content 08:30
There is a limitation: if you activate the Authentication for SIP messages and there are more then two simultaneous calls, the script sends some INVITEs without authentication or with wrong checksum and so not all phones ring. This problem is under investigation.
Are you intresting?
Regards.
10-08-2012 11:46 AM
I'm curious.
Yes, it's possible.
But, what is your exact goal?
Is your SPA registered to a PBX?
Do you know the ip address of the SPA?
You can write a simple perl script that sends a SIP INVITE, but the phone must be able to receive the SIP message.
Regards.
10-08-2012 01:22 PM
Hey, thanks for helping me out.
My goal is to set it up so that I can get a wake up call on set days. I know there are thrid party websites that offer this, but none of them allow you to set it up so that it calls an extension.
Yes, my SPA is registered to a PBX. The PBX Service Provider is Phone.com. The local IP Address of the SPA is "192.168.1.8."
Please continue helping me, I really do appreciate it.
Thanks
Brendan Feys
10-09-2012 12:30 PM
Do you know perl?
I had same issue and I wrote a simple perl script that works as wake up service.
PERL is an interpreted language and so can be executed on Linux and Windows operating systems. Linux can interpret perl natively while for Windows you can download many free interpreters like Activeperl or Strawberry perl. To run the script you must use a third party server.
In my configuration the script runs on a linux server in background as a service and checks every minute the directory called "alarm", reads files and uses the file name as called number and checks the content to verify if is the time to call. At the moment the script uses SIP and handles 4 call responses: 404 user not found, 486 busy, 487 not answer and 200 answer ok. In every cases sends an email and deletes files. Only for the answer case plays a nice music.
Files have this particular format: file name is equal to calling party number and file content is the alarm time in 24 hours format with : as separator between hours and minutes.
e.g.
ext. 101 must be called at 8 am ---> write the file 101.txt with the content 08:00
ext. 101 must be called at 8:30 am ---> write the file 101.txt with the content 08:30
There is a limitation: if you activate the Authentication for SIP messages and there are more then two simultaneous calls, the script sends some INVITEs without authentication or with wrong checksum and so not all phones ring. This problem is under investigation.
Are you intresting?
Regards.
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