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:mlisc...@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: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102
--
_____________________________________________________________________
-- 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