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

Andrew Elchuk aelchuk at cronustech.com
Wed Apr 27 09:53:40 MST 2005


No I couldn't get D to work, I was getting fed up with this so for the 
hell of it I just put a bunch of w's in the middle of the dial string 
and low and behold it worked.  i.e.

exten => 109,1,Dial(Zap/g1/6525798wwwwwwwwwwwwwwwwwww109|30|r)

With this many w's it takes ~ 3 rings for our other phone system to pick 
up and tell me that it is transferring me to the desired extension on 
that system.

Kanuri, Seshu (Company IT) wrote:

> 
>How did you finally get this working?
>
>Would you be kind enough to post the dial string to the group or send to
>me.
>
>Ws it D option that worked?
>
>Seshu Kanuri
>
>
>-----Original Message-----
>From: asterisk-users-bounces at lists.digium.com
>[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Andrew
>Elchuk
>Sent: Wednesday, April 27, 2005 11:21 AM
>To: Asterisk Users Mailing List - Non-Commercial Discussion
>Subject: Re: [Asterisk-Users] Re: Using Asterisk to dial a number and
>thenwait to dial the extension
>
>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 
>--------------------------------------------------------
> 
>NOTICE: If received in error, please destroy and notify sender.  Sender does not waive confidentiality or privilege, and use is prohibited. 
> 
>  
>





More information about the asterisk-users mailing list