I recently rolled my trunking services from Voyant to Twilio. Since then I’ve had troubles with a specific way I had a call flow set up.
Currently, I have a CF setup to open/close the store. When it’s closed, it routes to a ring group that just call forwards to an external cell phone (changed weekly for an on-call rotation), so ex: 1234567890#. Before on Voyant, this worked fine, and when the call was forwarded, it showed to the person on call the customers number.
After the switch to Twilio, the calls like this failed because they were seeing the on call number as an unauthorized number because it is listed in the invite. I can get the calls to forward again by changing the ring groups Fixed CID value to the store’s main number, but when the calls forward, they see the store number, not the customer calling. I tried switching it up and using a misc destination instead, and switched it in call flow control to that, but it still shows the main store number to the on call person. How else can I set up this call flow to show the customer number when forwarding calls to external numbers?
Edit: On Twilio’s side, the trunk settings has a Call Transfer (SIP REFER) section, that I have enabled, with this description: When Call Transfer is enabled, Twilio will consume an incoming SIP REFER from your communications infrastructure and create an INVITE message to the address in the Refer-To header.
With that enabled, how can set this up so FreePBX will send the call to them correctly?