Jonas Kellens wrote:
Does this mean the Return() comes before Asterisk looks into the
context [TrunkAccounts] ??
No, I believe the includes are read first, but the order in important.
Since you may be matching against another context that may cause
failure. For example, I have the following in a internal context:
Include => 'analog-extensions'
[pbx_config]
Include => 'sip-utilities'
[pbx_config]
Include => 'internal-extensions'
[pbx_config]
Include => 'dial-local'
[pbx_config]
Include => 'dial-ld'
[pbx_config]
Include => 'incoming'
[pbx_config]
Include => 'fall-through'
[pbx_config]
If I had fall-through first, it'd cause lots of issues.
Doug
--
Ben Franklin quote:
"Those who would give up Essential Liberty to purchase a little Temporary Safety,
deserve neither Liberty nor Safety."
--
_____________________________________________________________________
-- 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