Twilio call transfer from in-call

前端 未结 2 1046
一生所求
一生所求 2021-01-06 07:36

I\'m not finding a definite answer from the Twilio docs on this. I\'m trying to build a phone system that can place the other party on hold while in-call and only from the p

2条回答
  •  遥遥无期
    2021-01-06 07:58

    Redirect an incoming call to new url:    
    
    calls("CAe1644a7eed5088b159577c5802d8be38")
        ->update(
            array(
                "url" => "your_url/test.xml",
                "method" => "POST"
            )
        );
    
     echo $call->to;
    
     XML Code: 
     ---------
     
        url goes here
     
    

提交回复
热议问题