External Transfer via SIP REFER for Twilio

Hello, I need help for the topic in the subject. Twilio rejects all follow me calls to the external phone number, because they are initiated via the outbound call trunk with original caller id. (So far my understanding).

I’m new to that topic, I found that @MrXirtam here External Transfer via SIP Refer described his solution, but I’m a bit lost here. Which configurations do I need to do, to achieve call transfer to a external twilio number?

Any help approtiated

finally, after days of try and errors I found working configuration for my case. The key was to answer the call first

here is rough config, maybe someone will find it usefull.

extensions_custom.conf:

[external-transfer-out]
exten => s,1,Answer(i)        
same => n,transfer(PJSIP/sip:[email protected])

custom destination (FreePBX: Admin/Custom Destinations)

Name: internal_to_external
Target: external-transfer-out,s,1

Extensions
FreePBX/Applications/Extensions/Find Me Follow Me
Destinations
No Answer → Custom Destinations → internal_to_external
FreePBX/Applications/Extensions/Advanced
Optional Destinations
No Answer, Busy, Not Reachable → Custom Destinations → internal_to_external

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.