[Freeswitch-users] Change SIP Contact header on b-leg

Mimiko vbvbrj at gmail.com
Fri Feb 22 11:08:15 UTC 2019


On 26.03.2015 13:01, Antonio Silva wrote:
> You can force the contact extension in the gateway... instead of having the "gw+ss"
> 
> The parameter is
> 
> extension = your_provider_expected_extension
> extension-in-contact  = true

This is old and I'm facing such bad devices on provider.

I set:

<param name="extension" value="auto_to_user"/>
<param name="extension-in-contact" value="true"/>

But then other problem arise. When provider sends a call to me the destination_number is populated with username from contact instead of from 
${sip_to_user}.

When I set
<param name="extension-in-contact" value="false"/> then destination_number is populated correctly. How can I change contact header another way?



More information about the FreeSWITCH-users mailing list