[asterisk-users] dialplan problem : not including context

Jonas Kellens jonas.kellens at telenet.be
Fri Jan 13 07:32:30 CST 2012


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 at macro-uit789:47] 
Gosub("SIP/yoc1-00005a3c", "CheckOnNet,//32380837,1") in new stack
[Jan 13 14:30:01]     -- Executing [32380837 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120113/fa56bf46/attachment.htm>


More information about the asterisk-users mailing list