Voice Over IP
--
Questions
--
Followers
Top Experts
I am currently using Asterisk@home version 2.0.1, with Asterisk 1.2.7.1. I have a TDM01B card I have configured for a POTS line, and using Broadvoice. Both work wonderfully. I also have 3 Cisco 7960 phones with SIP I believe version P0S3-07-4-00. 3My problem is when an inbound call comes in, Id like to have a distinctive ring or cadence of a ringtone to distinguish which line was dialed. IE is someone trying to call my Broadvoice number, or is someone trying to call my POTS line.
I have a business line through Broadvoice, but I also being a geek wanted to hook my pots line to my asterisk system so I could use either my standard analog phones or my 7960's throughout the house to pickup calls on my pots line. I have it working fine, just need a way to some how auditorially using asterisk to change the ringtone or cadence for one of the lines.
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
http://www.voip-info.org/wiki/index.php?page=Asterisk+phone+cisco+79xx
It contains a guide on how you can use ALERT_INFO to set the ringtone.
Another method would that might work would be to configure two lines on the phone and have each one connect to asterisk using a different account with a different ringtone assigned to each. Then if a call comes in on your home phone you can call line2 instead. Thats what I do with my home system.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Have a look at the URL I gave earlier and scroll down to the section titled 'Controlling ring tones from Asterisk'. That may help you.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
If you are running asterisk 1.0 or 1.2 you need to use something like :-
exten => 3010,1,SetVar(_ALERT_INFO=
But if you are running asterisk 1.4 you need to do this instead:-
exten => 3010,1,SIPAddHeader(Alert-
Attempting to get two different rings for 2112 VS 2312 riinging on the same phone..
Would Also like to vary Internal VS outside.
extensions_additional.conf
[ext-local]
include => ext-local-custom
exten => 2112,1,Macro(exten-vm,novm
exten => 2112,2,SetVar(_ALERT_INFO=
exten => 2112,n,Hangup
exten => 2112,hint,SIP/2112
Did I miss something here ?? Can this be done thru FreePBX ?
TIA, JMS






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
exten => 2112,1,SetVar(_ALERT_INFO=
exten => 2112,n,Macro(exten-vm,novm
exten => 2112,n,Hangup
exten => 2112,hint,SIP/2112
Phones are P0S3-06-3-00.bin
Guess I will hold on this till I get a chanceto do updates latter this month.
Thanks,
JMS...
JMS...

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
If anyone ever actually revisits this, from the info at http://www.voip-info.org/wiki/index.php?page=Asterisk+phone+cisco+79xx I can only get the bellcore-dr tones to ring--and all it does is change the behavior of chirp 1. "Latest" SIP firmware (003-8-12-00) running asterisk1.8. As Noodles noted, you can put it in FreePBX where the Alert-Info field is, such as inbound route, ring group, or the extension itself.
I have another program (a HUD) triggering calls, so I had to setup a dial plan in extension_additional.conf
like this:
[from-internal-custom]
;# // Reduce ringtone time on 7960
exten => 1201,1,SIPAddHeader(Alert-
exten => 1201,2,Page(SIP/1101)
exten => 1201,3,Hangup
The 1201 above is the "extension" to be rung (from any endpoint you can ring 1201 and it will trigger this dial plan). It adds the header for Alert-Info, then the second line calls the actual extension (1101), then hangs up the fake extension (1201), since it has passed the call on to the real extension already.
Hope this helps anyone, though I doubt it ever will.
Voice Over IP
--
Questions
--
Followers
Top Experts
Voice over IP (VoIP) is a methodology and group of technologies for the delivery of voice communications and multimedia sessions over Internet Protocol (IP) networks, such as the Internet. Other terms commonly associated with VoIP are IP telephony, Internet telephony, broadband telephony, and broadband phone service. The term specifically refers to the provisioning of communications services (voice, fax, SMS, voice-messaging) over the public Internet, rather than via the public switched telephone network (PSTN). Examples of the VoIP protocols are H.323, Media Gateway Control Protocol (MGCP), Session Initiation Protocol (SIP), H.248 (also known as Media Gateway Control (Megaco)), Real-time Transport Protocol (RTP), Real-time Transport Control Protocol (RTCP), Secure Real-time Transport Protocol (SRTP), Session Description Protocol (SDP), and Inter-Asterisk eXchange (IAX).