<div><div>I know this has been asked before, but I can't seem to put my finger on the answer, any suggestions of where to look are appreciated.</div><div><br></div><div>Freeswitch (Sofia) is rewriting the Conact header on calls originating on a trunk ('inbound' context), routing to another trunk ('outbound' context). None of the calls are from registered users or extensions, this is more of an SBC configuration (LCR). </div>
<div><br></div><div>For example, </div><div><br></div><div>incoming to Freeswitch:</div><div>Contact: <sip:5122046107@74.37.201.198:5060;user=phone></div></div><div><br></div><div>Outbound from Freeswitch:</div><div>
Contact: <sip:TCAPI_User@84.19.135.13:5060;transport=udp;gw=trunk_2></div><div><br></div><div>I really don't want to modify the from userpary, nor do I want to include gw=trunk_2. I just can't figure out the right syntax or parameter to change it. Is it a parameter in the dialplan, or should I be using a regex on the outbound interface?</div>
<div><br></div><div>Thanks.</div><div><br></div>