[asterisk-users] Questions about extension.conf

Ron Wheeler rwheeler at artifact-software.com
Thu Nov 29 11:18:32 CST 2012


That is a good answer.
Thanks.
Any reason why it is not documented?

Ron

On 29/11/2012 11:52 AM, Mikhail Lischuk wrote:
>
> Shitian Long wrote 29.11.2012 18:40:
>
>> There is a part of dial plan from sample extension.conf above. My 
>> Question is  how "same =>" key word works .
>> Thanks
>>   
>
> "same" is used for complex templates, if you don't want to copy 
> previous line or afraid you can make a typo.
>
> exten => _1XXNXXX,1,Answer
>
> same => n,HangUp
>
> is the substitution for:
>
> exten => _1XXNXXX,1,Answer
>
> exten => _1XXNXXX,n,HangUp
>
> Also,  it makes grepping the particular exten in a file a lot easier, 
> and if you want to change some template for exten which has 50 lines, 
> you don't have to edit all 50 of them.
>
> -- 
> With Best Regards
> Mikhail Lischuk  <mailto:mlischuk at itx.com.ua>
>
>   
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                 http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
Ron Wheeler
President
Artifact Software Inc
email: rwheeler at artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121129/ad0af009/attachment-0001.htm>


More information about the asterisk-users mailing list