[asterisk-users] [SOLVED] - configure ring group

Paolo De Michele paolo at paolodemichele.it
Fri Dec 7 07:37:54 CST 2012


On 12/06/2012 10:21 AM, A J Stiles wrote:
> On Wednesday 05 December 2012, Paolo De Michele wrote:
>> hi all,
>>
>> I want have an information about ring group in asterisk (1.8.16 - centos
>> 6.3)
>> I have configured skypeforasterisk for incoming call to one extension
>> and it works
>> ..... [stuff deleted] .....
>> at right time the internal ring are 1000, 2000 and 3000
>> I have the extension from 1000 to 1005, 2000 to 2005 and from 3000 to 3005
>> I can ring him all? I can group the configuration into a single string?
> If you need to ring groups of phones, try something like
>
> [globals]
> ONES=SIP/1000&SIP/1001&SIP/1002&SIP/1003&SIP/1004&SIP/1005
> TWOS=SIP/2000&SIP/2001&SIP/2002&SIP/2003&SIP/2004&SIP/2005
> THREES=SIP/3000&SIP/3001&SIP/3002&SIP/3003&SIP/3004&SIP/3005
>
> [some-context]
> exten => 4000,1,Dial(${ONES}&${TWOS}&${THREES})
> exten => 4000,n,Hangup()
>
> That should make things more manageable.
>
> Also:  Be sure to use *meaningful* variable names!  If your numbers are split 
> according to department  (management, accounts, sales, purchasing, lab, qa, 
> factory floor, training, &c.)  then name your groups accordingly.  If you get 
> your dialplan right, you won't have to touch it for ages; and when you come 
> back to have to edit it, you'll forget what anything was for.
>
AJS,
thank you for you reply
I think I shall apply this type of configurations - It's more manageable

thank you very much
cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121207/7433d2cc/attachment.htm>


More information about the asterisk-users mailing list