On 01/13/2012 02:23 PM, Doug Lytle wrote:
Jonas Kellens wrote:
I have the following in dialplan :
[TrunkAccounts]
dialplan show TrunkAccounts
Make sure the sort order is what you're expecting.
Doug
Hello,
The order is correct for as far as I'm sure.
[TrunkAccounts]
exten => 32380837,1,GoTo(777701,32380837,1)
exten => 32380838,1,GoTo(777701,32380838,1)
exten => 32380839,1,GoTo(777701,32380839,1)
[CheckOnNet]
include => TrunkAccounts
exten => _3215555[0-3],1,GoTo(context1,${EXTEN},1)
exten => 32146666,1,GoTo(context2,${EXTEN},1)
exten => _XXXXXXXX.,1,NoOp()
exten => _XXXXXXXX.,n,Return()
This is what I see on the CLI :
/[Jan 13 14:30:01] -- Executing [s@macro-uit789:47]
Gosub("SIP/yoc1-00005a3c", "CheckOnNet,//32380837,1") in new stack
[Jan 13 14:30:01] -- Executing [32380837@CheckOnNet:1]
NoOp("SIP/yoc1-00005a3c", "") in new stack
[Jan 13 14:30:01] -- Executing [32380837//@CheckOnNet:2]
Return("SIP/yoc1-00005a3c", "") in new stack/
So the context TrunkAccounts is not included.
Do you know why ?
Jonas.
--
_____________________________________________________________________
-- 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