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
Message: 21 Date: Mon, 7 Nov 2005 14:25:50 -0500 (EST) From: "Frank
Tarczynski" <[EMAIL PROTECTED]> Subject: [Asterisk-Users] Re: Help
with dialplan to allow breakout to DISA To:
[email protected] Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain;charset=iso-8859-1 Yes, I know. BUT, I want
the line to work as normal for incoming calls AND allow the user to
breakout. So how do I merge: [incoming] exten => 1000,1,Ringing exten
=> 1000,2,Answer exten => 1000,n,Dial(IAX,iaxy/20) exten =>
1000,n,Voicemail(....) exten => 1000,n,Hangup AND exten => *, 1,
Authenticate(PASSWORD) exten => *, 2,
DISA(no-password|DESTINATION_CONTEXT) exten => *, 3, Hangup to have
Asterisk answer the line as normal but also react to the user pressing
"*"? I've tried putting' all of the above in the same context but it
doesn't work when I call in and press "*". Frank
Message: 10
Date: Mon, 7 Nov 2005 12:45:05 -0500
From: Rusty Dekema <[EMAIL PROTECTED]>
Subject: Re: [Asterisk-Users] Help with dialplan to allow breakout to
DISA
To: [email protected]
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"
I do it this way:
exten => *, 1, Authenticate(PASSWORD)
exten => *, 2, DISA(no-password|DESTINATION_CONTEXT)
exten => *, 3, Hangup
It seems to work fine...
-Rusty
On 11/7/05, Frank Tarczynski <[EMAIL PROTECTED]> wrote:
I'm trying to set-up a dialplan for incoming calls that allows a
breakout
by pressing something like "*". Users would then be able to get an
inside
dial tone for voicemail, outgoing calls, etc.
I've been struggling with Waitexten(), Disa() in the dialplan but not
having much luck.
Are there any good documents out there to assist me in this?
Frank
-----------
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users