[Asterisk-Users] Re: Using Asterisk to dial a number and then wait to dial the extension

Andrew Elchuk aelchuk at cronustech.com
Wed Apr 27 08:58:07 MST 2005


Andrew Elchuk wrote:

> Tony Mountifield wrote:
>
>> 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
>>  
>>
> Is there a way to determine if the zap interface is able to know when 
> the other party picks up?  It is connected to analog lines by the 
> way.  Also, is there a way that might not be as "correct" but would 
> none the less still work?  Thanks.
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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

Nevermind I got 'er working.




More information about the asterisk-users mailing list