[asterisk-users] Call Placed through Manager connecting before the call connects.

Sanjay Rajdev sanjay.rajdev at featherstoneinformatics.com
Wed May 21 19:46:17 CDT 2008


Hello, 

I am trying to place call through the Manager, using the Zap Card the call connect to the designated Extension before the call is actually Answered by someone or the Voicemail. 

The message that I am sending is 

Action: Originate 
Channel: ZAP/G0/1XXXXXXXXXX 
MaxRetries: 0 
Context: Test 
Exten: 6563 
Priority: 1 
CallerID: TEST <1234> 


The Events that I get from Manger are 
1. Newchannel 
2. Newcallerid 
3. Newcallerid 
4. Newstate [Here State is changed to Dialing] 
5. Newstate [Here State is changed to Up] 
6. Newexten [Here call is bridged to 6563] 

Once the call is Bridged to 6563, the phone is actually not Answered, you can hear the Ring on the Phone after Bridging. 
If I try the same for SIP channel I get addition events as Ringing. 

I want to play a message once the call connects, In this case the message is Played while the phone is Ringing. 

Please help. 


Regards, 
Sanjay Rajdev 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080522/88550884/attachment.htm 


More information about the asterisk-users mailing list