Link to home
Create AccountLog in
Voice Over IP

Voice Over IP

--

Questions

--

Followers

Top Experts

Avatar of NoodlesWIU
NoodlesWIU

Asterisk Cisco 7960 distinctive ring
I am having some difficulty getting distinctive ringing to work on my system, and was wondering if I could get some help.

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.


Avatar of grbladesgrblades🇬🇧

Have you seen the following?
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.

Avatar of NoodlesWIUNoodlesWIU

ASKER

I originally wanted to do your second solution.  But everything I read says I cannot specifiy a ringtone. for different lines How would I specify this???  Using the conf files in the TFTP server???  Any help on how you accomplished this would be great.

Avatar of grbladesgrblades🇬🇧

If you cannot set a different ring per line on the cisco then you will need to use the alert_info method.

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


You said you got it working though correct?  How did you set it to use different ring tones for different lines?

Avatar of grbladesgrblades🇬🇧

No I have a Grandstream GXP-2000 phone not a Cisco one.

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.

Thats what I was trying to do previously, but im a little lost by what SIP_Head is in version 1+  can you clarify this?

Free T-shirt

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.


Avatar of grbladesgrblades🇬🇧

The documentation is a bit poor in that regard. Basically :-

If you are running asterisk 1.0 or 1.2 you need to use something like :-
exten => 3010,1,SetVar(_ALERT_INFO=Bellcore-dr1)

But if you are running asterisk 1.4 you need to do this instead:-
exten => 3010,1,SIPAddHeader(Alert-Info: <Bellcore-dr1>)

Avatar of grbladesgrblades🇬🇧

I have modified the wiki entry to make it easier for people to understand.

Tried your hint for an Asterisk / Trixbox 1.2..  An did a Reload after saving the change..

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,2112)
exten => 2112,2,SetVar(_ALERT_INFO=<Bellcore-dr3>)
exten => 2112,n,Hangup
exten => 2112,hint,SIP/2112
 
Did I miss something here ??  Can this be done thru FreePBX ?

TIA,  JMS

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of grbladesgrblades🇬🇧

The macro will dial the extension so you will need to make sure the variable it set before that. For example :-

exten => 2112,1,SetVar(_ALERT_INFO=<Bellcore-dr3>)
exten => 2112,n,Macro(exten-vm,novm,2112)
exten => 2112,n,Hangup
exten => 2112,hint,SIP/2112

:-(  Still only getting the standard Chirp --
      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...

ASKER CERTIFIED SOLUTION
Avatar of NoodlesWIUNoodlesWIU

ASKER

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Okay, I will try it again over the weekend.  Some of the reading I have been doing indicates that the change only impacts the cadence of the ring, and not the ring specifically.  To do what I would like to accomplish I apparently need at 7970 phone.  

JMS...

Free T-shirt

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.


This is an extremely old topic, but it helped me out on an extremely old 7960.

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-Info: <Bellcore-dr5>)
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

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).