[asterisk-users] dialplan problem : not including context

Jonas Kellens jonas.kellens at telenet.be
Fri Jan 13 07:46:18 CST 2012


On 01/13/2012 02:37 PM, Andreas Sikkema wrote:
> On 1/13/12 2:32 PM, Jonas Kellens wrote:
>> So the context TrunkAccounts is not included.
>>
>> Do you know why ?
> Does reloading the dialplan (dialplan reload) give any useful output
> relating to these two contexts?

I include this context in 2 other contexts :

[Jan 13 14:19:12] VERBOSE[4220] config.c: [Jan 13 14:19:12]   == Parsing 
'/etc/asterisk/extensions.conf': [Jan 13 14:19:12] VERBOSE[4220] 
config.c: [Jan 13 14:19:12]   == Found
...
[Jan 13 14:19:12] VERBOSE[4220] pbx.c: [Jan 13 14:19:12]     -- 
Including context 'TrunkAccounts' in context 'PROVIDERin'
...
[Jan 13 14:19:12] VERBOSE[4220] pbx.c: [Jan 13 14:19:12]     -- 
Registered extension context 'CheckOnNet' (0x2aaacc40d260) in local 
table 0xd0ba610; registrar: pbx_config
[Jan 13 14:19:12] VERBOSE[4220] pbx.c: [Jan 13 14:19:12]     -- 
Including context 'TrunkAccounts' in context 'CheckOnNet'
...

Nothing special here it seems...


Everything works fine when including context 'TrunkAccounts' in context 
'PROVIDERin'. Here it functions as expected.

But it does not work the same in context 'CheckOnNet'.

Extra question : is there a difference between the "context" PROVIDERin 
and the "procedure" (sub) CheckOnNet ??


Kind regards,

Jonas.


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


More information about the asterisk-users mailing list