Anyone know how I can setup "active call acceptance", basically I want to play the callee (who is being called from with an agi script) to hear a message / ivr "Do you wish to accept this call, Press 1 for Yes, Press 2 for No". Any ideas on how to accomplish this?
Anyone know how I can setup "active call acceptance", basically I want to play the callee (who is being called from with an agi script) to hear a message / ivr "Do you wish to accept this call, Press 1 for Yes, Press 2 for No". Any ideas on how to accomplish this?
Currently, my code is looking like this:
$callparam = "Bridge";
$callparam = $agi->request;
$callparam = "SIP/my_trunk/${call}";
$asm->connect($asm_ip,$asm_user,$asm_pass);
$res = $asm->send_request ("Originate", $callparam);
Thank you for your help.
Regards
Disregard this request…