I hadn't thought of that, however you can have multiple occurrences of the SIPAddHeader() leading up to the same dial command. I got around the single name issue by defining my own tone name in the phone configuration files, and associating it with a matching tone on each model to make it consistent.
On 23 February 2011 09:25, Bruce N <[email protected]> wrote: > > Terry, > > > You need to take advantage of the Local channel. For example: > > > exten => > 1,1,Dial(Local/aastra@dring&Local/polycom@dring&Local/other-phones@dring) > > > [dring] > exten => aastra,1,SIPAddHeader(Alert-Info: info=<Bellcore-dr2>)exten => > aastra,2,Dial(SIP/3000,30,mAPt) > > > exten => polycom,1,SIPAddHeader(Alert-Info: info=<Bellcore-dr4>) > exten => polycom,2,Dial(SIP/3001,30,mAPt) > > > exten => other-phones,1,SIPAddHeader(Alert-Info: info=<Bellcore-dr5>) > > exten => other-phones,2,Dial(SIP/3002,30,mAPt) > > > As you can see, aastra, polycom, and other-phones can have their own > different Bellcore distinctive ring and yet be call simultaneously. > > > -Bruce > > > > > >> Date: Tue, 22 Feb 2011 22:01:32 -0500 >> From: [email protected] >> To: [email protected] >> CC: [email protected] >> Subject: Re: [on-asterisk] Distinctive Ring and Ring groups, or queues >> >> Hi Simon, >> >> Thanks for your response! >> >> It appears that "Bellcore-drx", where x={1-5}, is predefined somewhere... >> but where? Is the value of "Bellcore-drx" an integer? or a data structure of >> some sort? >> >> I cannot see how one would dial/ring simultaneously disparate phones with >> one SIPADDHEADER and one DIAL command. For example: >> >> exten => 1,2,SIPAddHeader(Alert-Info: info=<Bellcore-dr2>) >> exten => 1,3,Dial(SIP/3000&Sip/3001&SIP/3002,30,mAPt) >> exten => 1,4,Goto(s-${DIALSTATUS},1) >> >> will ring three extensions/phones, but with the single SIPADDHEADER line >> preceding the Dial line, only one of the phones will have the correct >> Bellcore-drx value in place. >> >> One would have to have one SIPADDHEADER line for each extension/phone to be >> dialed, correct? In which case the phones will not ring simultaneously. >> >> Perhaps, to clarify, we want all phones to ring simultaneously, a particular >> distinctive ring for each callee, so that no matter which phone he is near >> he can recognize his own distinctive ring and answer the call on the nearest >> phoneset. If all phones were of the same type, using the same Bellcore-drx >> definition it would be easy. But with a mix of different brands/models, each >> requiring a different Bellcore-drx to invoke the desired distinctive ring, >> It appears impossible to set them up to ring simultaneiously with the same >> distinctive ring regardless of the phoneset brand/model. >> >> If this ispossible, how? What am I missing? >> >> Thanks again, >> >> --terry >> >> >> On Mon, Feb 21, 2011 at 05:24:15PM -0500, Simon P. Ditner wrote: >> --> You have the right idea, they're just inconsistent. The "easy" way is >> --> to provision all the phone models with configs that have a ringtone >> --> named the same, and then include the required SIPAddHeader messages >> --> and hope they don't cause a particular model to barf. >> --> >> --> Some use (Alert-Info: info=<url-to-ringtone>\;tone-name), others use >> --> (Alert-Info: tone-name), and there may be some other forms for what is >> --> covered by your etc. >> --> >> --> On 21 February 2011 09:50, terry D. Cudney <[email protected]> wrote: >> --> > Hello all, >> --> > >> --> > This group always ahs the best information on asterisk... so, >> here I am >> --> > asking another question... >> --> > >> --> > The situation is this: multiple extensions with different phones >> on each >> --> > extension (i.e. Aastra, Grand Stream, Linksys ATA, etc). We want all >> --> > extensions/phones to ring with the same distinctive ring for each >> intended >> --> > callee. Most of the phones are Aastras, so we've been using something >> like >> --> > this, in extensions.conf: >> --> > >> --> > exten => 1,2,SIPAddHeader(Alert-Info: info=<Bellcore-dr2>) >> --> > exten => 1,3,Dial(SIP/3000&Sip/3001&SIP/3002,30,mAPt) >> --> > exten => 1,4,Goto(s-${DIALSTATUS},1) >> --> > >> --> > This will ring 2 rings on the Astras, but not on the other phones. >> --> > >> --> > Question: How can we have all phones ring withthe same >> distinctive ring >> --> > for a given callee? >> --> > Is there something in "Ring Groups" that I'm missing? (references >> to >> --> > documentation on configuring ring Groups would be appreciated.) >> --> > or perhaps I need to set up a queue? >> --> > >> --> > Thanks in Advance for any suggestions/pointers to docs. >> --> > >> --> > --terry >> --> > >> --> > >> --> > >> --> > -- >> --> > >> --> > Name: Terry D. Cudney >> --> > Phone: 289-488-1616 >> --> > E-mail: [email protected] >> --> > >> --> > --------------------------------------------------------------------- >> --> > To unsubscribe, e-mail: [email protected] >> --> > For additional commands, e-mail: [email protected] >> --> > >> --> > >> >> -- >> Name: Terry D. Cudney >> Phone: 289-488-1616 >> SIP: [email protected] >> E-mail: [email protected] >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
