Menu

Active Call Acceptance

2010-12-16
2013-04-29
  • Brian Doyle

    Brian Doyle - 2010-12-16

    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

     
  • Brian Doyle

    Brian Doyle - 2010-12-16

    Disregard this request…

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.