[asterisk-users] Calling rules

Danny Nicholas danny at debsinc.com
Tue Jan 18 12:21:15 CST 2011


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Vitor Carlos
Flausino
Sent: Tuesday, January 18, 2011 12:10 PM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Calling rules

Hello.

I don't know if this is a problem, but I was expecting a different behavior.

Users, have to dial "0" to get an external line, and afterwords the number
they want to dial (exe 12345). The thing is:

1-If user dial "012345" there is an error and the call isn't made and the
error is "handle_request_invite: Call from 'XXX' to extension '012345'
rejected because extension not found in context 'DLPN_DialPlanX'.
2-If user dials "0" waits for the signal, and then dials "12345" then it
works fine.

Should the result be the same? Shouldn't asterisk automatically "dial" 0,
wait and then dial the external number?

Best regards,
Vitor Flausino

My best guess is that it is a "dialplan inconsistency".  The "standard" for
"outside line" dialing is something like this:
- exten => 0.,1,Dial(DAHDI/1,${EXTEN:1}) 
Where the dialplan "chomps" the first digit off of the dialed string.





More information about the asterisk-users mailing list