u2nsam
April 30, 2011, 6:31am
#1
I want to execute and different command on answered signal on asterisk,
once answered is detected then it will execute a different command,
-- Called 16468107013@SOFTSWITCH_N
-- SIP/SOFTSWITCH_N-00000002 is ringing
-- SIP/SOFTSWITCH_N-00000002 answered SIP/7002-00000001
how i will do when i get an answer signal ?
Regards
Sam
Not enough information. This could actually be a very trivial case of call files/Originate.
In the general case, where you need an explicit DIal command, there are goto and macro options for the Dial application.
u2nsam
April 30, 2011, 1:54pm
#4
I dont know , how i can capture the answered signal from the second leg and execute a different command like amd.
Regards
Sam
Here,
I have dialplan , how would i execute it,
[outbound]
exten => 8320,1,AGI(VD_amd.agi,Dial(SIP/12127773456@SOFT_NOVA))
exten => 8320,2,Hangup
I am using below script and i and looking to do AMD detection when the number is dialed and then carry on if it is not answering machine or hangup if it is answering machine.
download.vicidial.com/vicidial/t … VD_amd.agi
Regards
Sam
Is it possible to make simple dialplan without agi script for AMD ?
Regards
Sam