[Asterisk-Users] Re: Help with dialplan to allow breakout to DISA

Alexander O. Lopez alex.lopez at opsys.com
Mon Nov 7 13:03:22 MST 2005


> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
> Frank Tarczynski
> Sent: Monday, November 07, 2005 2:26 PM
> To: asterisk-users at lists.digium.com
> Subject: [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 at gmail.com>
> > Subject: Re: [Asterisk-Users] Help with dialplan to allow
> breakout to
> > 	DISA
> > To: asterisk-users at lists.digium.com
> > Message-ID:
> > 	<68171c120511070945h31c80ccap1aa7528968753938 at 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 at 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
> >>
>

I don't know if you are using DID and the exten => 1000 is because of this
but you can do this.

Try using a instead of *.

That would pop you into DISA when you press (a)sterisk from Voicemail.


Alex





More information about the asterisk-users mailing list