[Asterisk-Users] Help with dialplan to allow breakout to DISA
Ryan
asterisk-users at mandrake.us
Wed Nov 9 21:52:34 MST 2005
On Tue, Nov 08, 2005 at 07:38:20AM -0500, Frank Tarczynski exclaimed:
>Since this is my DID, I want the line to ring as normal but allow a user
>to breakout and ultimately get an outgoing line.
>
>In this way the DID line would function as a normal telephone line. A
>point lost on many responders!
>
>I don't want to have to go into voicemail to breakout since I don't want
>to give voicemail access to some of the people I will give targeted
>outgoing access to.
>
>This snippet from extensions.conf seem to work OK for internal
>extensions. Changing the context appears to stop the Playtones() OK.
>Any reasons why I shouldn't turn it lose?
>
>[incoming]
>exten => 1004,1,Playtones(ring)
>exten => 1004,2,Waitexten(20)
>exten => 1004,3,StopPlaytones
>exten => 1004,4,Goto(incoming,1002,1)
>exten => *,1,Goto(disa-1,s,1)
>
>[disa-1]
>exten => s,1,Playback(enter pin)
>exten => s,2,ResponseTimeout(20)
>exten => s,3,DigitTimeout(5)
>exten => s,4,DISA(no-password|outgoing)
>exten => s,5,Congestion
Whats the ip address of this system? Just kidding, but your should
seriously consider an authenticate() before DISA.
More information about the asterisk-users
mailing list