[Asterisk-Users] Delay after first digit - dial plan

Tharindu Rukshan Bamunuarachchi tbamunuarachchi at openworld.org
Thu Feb 2 00:58:37 MST 2006


Thank you very much.

It is working fine.

Thankx.

On Wed, 2006-02-01 at 12:45 -0500, brett at websmyths.com wrote:
> On 2/1/2006, "Tharindu Rukshan Bamunuarachchi"
> <tbamunuarachchi at openworld.org> wrote:
> 
> >Dear Sir/Madma,
> >
> > I need to create dial plan to access out side world from office. Our
> > office PBX system need to wait few seconds after pressing "9" before
> > enter phone number.
> >
> > How should i prepare dial plan to add delay between first and rest of
> > digits.
> >
> > Here is my idiotic try;
> >
> > exten => _9XXXXXXXXXX,1,Dial(Zap/1/9)
> > exten => _9XXXXXXXXXX,2,Wait,2
> > exten => _9XXXXXXXXXX,3,Dial(Zap/1/${EXTEN})
> 
> Tharindu -
> 
> Try this
> 
>  exten => _9XXXXXXXXXX,1,Dial(Zap/1/9wwww${EXTEN:1})
> 
> Basically - dial a the extension prepending a 9 and wait 4 * 0.5 seconds
> but strip the first digit from the extension (you have manually dialed the
> 9 so it has to be stripped off).
> 
> You can play with the number of 'w' (a mini-wait command 8-) to get the
> proper timing.
> 
> Brett
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 



CONFIDENTIALITY NOTICE The information contained in this message is
confidential, intended only for the use of the individual or the entity
named as recipient. If the reader of this message is not that recipient,
you are notified that any dissemination, distribution or copy of this
message is strictly prohibited. If you have received this message in
error, please immediately notify us by telephone on the number above.
Your co-operation is appreciated.



More information about the asterisk-users mailing list