Context problem

hello,

i’m new on asterisk. i installed asteriskNOW to make some tests. I have a peer trunk that permit me all traffic inbound and outbound.

1- i created an user 6000
2- i created a time interval
3- i created a dialplan associated to user 6000

[DLPN_test]
include = CallingRule_out

and a calling out rule

[CallingRule_out]
exten => _011XXXXXXX,1,Macro(trunkdial-failover-0.3,${trunk_2}/${,${EXTEN:0})},trunk_2,)

when i try to call from 6000 to 0115555555 the result is:

[Oct 20 14:46:54] WARNING[25483] pbx.c: Channel ‘SIP/6000-00000013’ sent into invalid extension ‘0115555555’ in context ‘DLPN_test’, but no invalid handler

someone can help me?
marco

Missing > on the include line.

added but result dont cchange

[Oct 20 15:43:37] WARNING[26408] pbx.c: Channel ‘SIP/6000-00000000’ sent into invalid extension ‘0115555555’ in context ‘DLPN_test’, but no invalid handler

I hope this is not a silly question, but did you do “dialplan reload”, or a superset of it?

The next thing to check might be the output of:

dialplan show DLPN_test

Note that I am assuming that you are hacking AsteriskNOW, as if you want answers for things that are fully supported in Asterisk now, you are in the wrong sub-forum.

i made an asterisk reload and restart yes…

But via SSH i dont have the command dialplan show …

:smile:

Command>dialplan show DLPN_test

[ Context ‘DLPN_test’ created by ‘pbx_config’ ]
’_011XXXXXXX’ => 1. Macro(trunkdial-failover-0.3,${trunk_2}/${,${EXTEN:0})},trunk_2,) [pbx_config]
Include => ‘CallingRule_out’ [pbx_config]

-= 1 extension (1 priority) in 1 context. =-