[asterisk-users] Ring group howto

Rob Hillis rob at hillis.dyndns.org
Fri Apr 3 01:20:38 CDT 2009


Michael wrote:
> On Fri, 03 Apr 2009 12:32:03 you wrote:
>   
>> Like:
>>
>> exten =>
>> 5226001454,1,Dial(SIP/3615221401&SIP/3615221402&SIP/3615221407&SIP/52260014
>> 0 5,20)
>>     
> That is what I am currently doing - though is there a cleaner way?
>
>   

The only "cleaner" way is to define the group in [globals] as follows:-

[globals]
group1 = SIP/3615221401&SIP/3615221402&SIP/3615221407&SIP/52260014

...and then refer to this variable in the dial statement...

exten => 5226001454,1,Dial(${group1},20)




More information about the asterisk-users mailing list