Frank Tarczynski
2005-Nov-07 10:20 UTC
[Asterisk-Users] Help with dialplan to allow breakout to DISA
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
Rusty Dekema
2005-Nov-07 10:45 UTC
[Asterisk-Users] Help with dialplan to allow breakout to DISA
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 <ftarz@mindspring.com> 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 <http://Easynews.com>-- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051107/19c36c29/attachment.htm
Brent Torrenga
2005-Nov-07 11:28 UTC
[Asterisk-Users] Re: Help with dialplan to allow breakout to DISA
I have my dialplan setup the same, only with 0 instead of * as the extension. What would the reason be, after authenticating, that I get a dialtone, as expected, but no response to any DTMF tones I input? It is as if the DISA works, gives me tone, but is unresponsive? The destination context is exactly the same as any of my internal extensions, too...>I do it this way: > >exten => *, 1, Authenticate(PASSWORD) >exten => *, 2, DISA(no-password|DESTINATION_CONTEXT) >.exten => *, 3, Hangup.. > >It seems to work fine... > >-RustySincerely, Brent A. Torrenga brent.torrenga@torrenga.com Torrenga Engineering, Inc. 907 Ridge Road Munster, Indiana 46321-1771 219.836.8918 Voice 219.836.1138 Facsimile
Frank Tarczynski
2005-Nov-07 12:25 UTC
[Asterisk-Users] Re: Help with dialplan to allow breakout to DISA
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 <rdekema@gmail.com> > Subject: Re: [Asterisk-Users] Help with dialplan to allow breakout to > DISA > To: asterisk-users@lists.digium.com > Message-ID: > <68171c120511070945h31c80ccap1aa7528968753938@mail.gmail.com> > 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 <ftarz@mindspring.com> 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 >>
Frank Tarczynski
2005-Nov-08 05:38 UTC
[Asterisk-Users] Help with dialplan to allow breakout to DISA
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" <ftarz@mindspring.com> Subject: [Asterisk-Users] Re: Help > with dialplan to allow breakout to DISA To: > asterisk-users@lists.digium.com Message-ID: > <44822.192.58.204.226.1131391550.squirrel@www.tarczynski.net> > 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 <rdekema@gmail.com> >>> Subject: Re: [Asterisk-Users] Help with dialplan to allow breakout to >>> DISA >>> To: asterisk-users@lists.digium.com >>> Message-ID: >>> <68171c120511070945h31c80ccap1aa7528968753938@mail.gmail.com> >>> 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 <ftarz@mindspring.com> 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 >>>>> >>> >>> > > > > >----------- >