[Asterisk-Users] Immediate response dial

Dave Cotton dcotton at linuxautrement.com
Thu Sep 8 05:47:23 MST 2005


On Thu, 2005-09-08 at 13:54 +0300, Dias Badekas wrote:
> 
> Would like to be able to do the following, which is typical of an
> internal setup:
> 
>      1. On handset pickup get some kind of internal dial tone
>         (probably user defined in indications.conf) 
>      2. Pressing 9, for dialing an external line, to immediately
>         switch to the PSTN dial tone. 
>      3. continue with dialing the external number 
> Of course I also want to be able to dial numbers, such as internal
> extensions, etc.
> 
> the typical dial plan for outgoing extens  is like:
>         ingorepat => 9
>         exten => _9.,1,Dial(Channel/${EXTEN:1})      or similar
>         matching pattern 
> but this doesn't switch the tone. The obvious choice of using
>         exten => 9,1,Playtones(pstn)
>         exten => 9,2,Goto(outgoing)
> doesn't work, because * waits for digitTimeout seconds after the 9 is
> pressed, so the tone switch is not immediate.

exten => 9,1,Dial(Zap/g1) 

 
-- 
Dave Cotton <dcotton at linuxautrement.com>




More information about the asterisk-users mailing list