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

2005-11-07 Thread Frank Tarczynski
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
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


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

2005-11-08 Thread Frank Tarczynski
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: 
asterisk-users@lists.digium.com 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: asterisk-users@lists.digium.com
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
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


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

2005-11-07 Thread Rusty Dekema
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 breakoutby pressing something like "*".  Users would then be able to get an insidedial 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 listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:   http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation sponsored by 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

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

2005-11-09 Thread Ryan
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.
___
--Bandwidth and Colocation sponsored by 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