Open smeyernyc opened 2 years ago
Hi Smeyernyc,
I think your syntax for deflect is incorrect and should probably look more like this;
Here's a link to the documentation; https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/Modules/mod-dptools/6586629/
Due to STIR/SHAKN and Twilio rules, external transfers like in a call forward scenario, must be initiated in the original inbound SIP dialog. When looking up the proper application, it seems that using "Deflect" SHOULD do that. Now, when I change "call_forward_all" dialplan to deflect instead of transfer, nothing happens. I have attached what my log shows for this action. There is nothing sent in the SIP flow and the call just terminates. Twilio has a good diagram if someone needs a visual of the proper flow. https://www.twilio.com/docs/sip-trunking/call-transfer
The call forward should initiate a refer to the carrier letting them know to transfer the call.
Freeswitch 1.10.7 with Fusion 5.0.1 deflect issue.txt