[Asterisk-Users] Re: Help with dialplan to allow breakout to DISA
Frank Tarczynski
ftarz at mindspring.com
Mon Nov 7 12:25:50 MST 2005
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
>>
More information about the asterisk-users
mailing list