[asterisk-users] Re: Don't Hit # after 9 to get PSTN line

Pablo Mora pablo at espoltel.net
Wed Jul 19 07:11:39 MST 2006


Really don't.

 

Dialplan is very simple, please take a look

 

[incoming]

exten => s,1,Answer

exten => s,2,Background(prueba-pbx)

exten => s,3,Set(TIMEOUT(response)=5)

exten => 1001,1,Dial,SIP/1001|20

exten => 1001,2,Hangup

exten => 1001,102,Congestion,3

exten => 1002,1,Dial,SIP/1002|20

exten => 1002,2,Hangup

exten => 1002,102,Congestion,3

exten => 1003,1,Dial,SIP/1003|20

exten => 1003,2,Hangup

 

[sip]

include => out

exten => 1001,1,Dial(SIP/1001,20)

exten => 1001,2,Hangup

exten => 1001,102,Congestion,3

exten => 1002,1,Dial(SIP/1002,20)

exten => 1002,2,Hangup

exten => 1002,102,Congestion,3

exten => 1003,1,Dial(SIP/1003,20)

exten => 1003,2,Hangup

 

[out]

exten => 9,1,Dial,Zap/g1/9

exten => 9,2,Hangup

exten => 9,102,Congestion

 

And yes, I'm trying asterisk behind and Ericsson MD110 PBX, and when I hit 9
I ask for an internal line and re-send 9 to get an external line.

 

Thanks

 

Pablo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060719/4357e4d3/attachment.htm


More information about the asterisk-users mailing list