Dial problem on PSTN line

I’m using the TDM400P with an PSTN on Zap/3 using Kewlstart (I also tried loopstart). I’m testing with:
exten => 123,1,Dial(Zap/3/6125551360)

My PSTN line takes about a half to a full second to settle into a steady dial tone before I can dial (this is normal for my phone line). Asterisk appears to be starting it’s dial before the dial tone is fully available (or stable), and the first number dialed is offten getting cut off. I tried adding an extra number in front of my number to be dialed in order to add a little extra delay before it dial the real number. Like this:
exten => 123,1,Dial(Zap/3/*6125551360)
This works in most cases, but sometime the dialtone comes up faster than normal, and the extra * digit actually gets dial - causing the call to fail.

Is there some way to tweek how Asterisk or Zaptel drivers listen for dialtone on an outbound local call on a PSTN line? Or, is there some way add a littel extra delay before Asterisk dials - without adding an extra digit to be dialed?


You could use the Wait() application, e.g:

exten => 123,1,Wait(1)
exten => 123,2,Dial(Zap/3/6125551360)

i.e. Wait(1) for one second delay.

Wouldn’t that just wait a second before it goes off hook to dial? I would need something that will go off hook to dial, then wait a second, then complete the dialing. Is there some way to imbed a wait inside a dial string?


Oops, yes, sorry.

The Dial(Zap/3/ww6125551360) with just a single (w) did the trick. Thanks much… Jay