[Asterisk-Users] Re: Using Asterisk to dial a number and then wait
to dial the extension
Tony Mountifield
tony at softins.clara.co.uk
Wed Apr 27 02:04:00 MST 2005
Andrew Elchuk <aelchuk at cronustech.com> wrote:
>
> I did some searching and haven't found a solution to my problem. But
> right now we are performing a transition from an old system to a new
> system using asterisk and only a few people are on the new system and
> testing it out. Anyways, I was wondering if it is possible to dial a
> phone number with asterisk, and then after that callee picks up to dial
> an extension?
>
> In one forum message I found that you could use 'w' in the dial string
> to act as a half second wait. I tried doing:
> exten => 109,1,Dial(ZAP/g1/6525798wwwwww109)
> This would dial the other phone system, but would not wait 3 seconds til
> the other system answered and then dial the extension.
>
> I also tried using:
> exten => 109,1,Dial(ZAP/g1/6525798|D(109))
> But this did the same thing as the above.
>
> Is there another way to dial a number then on the same channel send 3
> more digits after the other party answers? Thanks.
The D() option is the "correct" way to do it, but only works if your
Zap interface can tell when the remote party answers. Typically, digital
lines (ISDN, T1, E1) can tell, but analogue lines can't.
Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
More information about the asterisk-users
mailing list