<div dir="ltr">Hi,<div><br></div><div>I have a FreeSWITCH working with multiple domains. All the calls reach FS via a Kamailio SIP proxy. Kamailio is responsible for the registrations and for authenticating calls. Also note I'm using a lua script for both dialplan and directory.</div>
<div><br></div><div>The problem I having is that FS always changes the From header domain to the FS local IP when doing the bridge. Instead of this, I want it to keep the original domain.</div><div><br></div><div>I read this can be achieved adding {sip_invite_domain=${sip_from_host}} or {sip_from_uri=${sip_from_uri}} when doing the bridge but it doesn't work for me.</div>
<div><br></div><div>When I put the From header domain to any string but the right one, FS sends it without any problem but when I put it to the right one generates this event instead:</div><div><br></div><div><div>'Event-Name: REQUEST_PARAMS</div>
<div>Core-UUID: cf6163aa-9d52-11e3-b059-cb6d0ba086d1</div><div>FreeSWITCH-Hostname: debian-vpbx1</div><div>FreeSWITCH-Switchname: debian-vpbx1</div><div>FreeSWITCH-IPv4: 192.168.0.201</div><div>FreeSWITCH-IPv6: %3A%3A1</div>
<div>Event-Date-Local: 2014-02-24%2018%3A02%3A03</div><div>Event-Date-GMT: Mon,%2024%20Feb%202014%2017%3A02%3A03%20GMT</div><div>Event-Date-Timestamp: 1393261323308597</div><div>Event-Calling-File: sofia_reg.c</div><div>
Event-Calling-Function: sofia_reg_handle_sip_r_challenge</div>
<div>Event-Calling-Line-Number: 2214</div><div>Event-Sequence: 4813</div><div>action: reverse-auth-lookup</div><div>sip_call_id: 396aa31b-1818-1232-e484-080027254469</div><div>key: id</div><div>user: 1001</div><div>domain: vpbx1.ur</div>
<div><br></div><div>'</div></div><div><br></div><div>This occurs when extension 1000 is calling extension 1001. </div><div>I tried with no luck to answer the event but anyway the event doesn't make sense to me... </div>
<div><br></div><div>As is said in the wiki, I'm using internal profile with the force-*-domain options commented:</div><div><pre style="font-family:monospace,Courier;padding:1em;border:1px dashed rgb(47,111,171);color:rgb(0,0,0);background-color:rgb(249,249,249);line-height:1.3em;font-size:12.800000190734863px">
<!--<param name="force-register-domain" value="$${domain}"/>-->
<!--<param name="force-subscription-domain" value="$${domain}"/>-->
<!--<param name="force-register-db-domain" value="$${domain}"/>--></pre></div><div><div>and also:</div><div><param name="auth-calls" value="false"/><br></div><div>
<br></div><div>Thank you!</div>-- <br><div dir="ltr"><div><font color="#3d85c6"><b>Andrés Souto</b></font></div><div><font color="#666666">VoIP Engineer @ <a href="http://www.quobis.com/" style="color:rgb(17,85,204)" target="_blank">Quobis</a> | e: <a href="mailto:andres.souto@quobis.com" style="color:rgb(17,85,204)" target="_blank">andres.souto@quobis.com</a> | t: <a value="+34902999465" style="color:rgb(17,85,204)">+34902999465</a></font></div>
</div>
</div></div>