<div><div dir="auto">There is no way to change that</div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 19, 2019 at 5:24 PM Roman Dissauer <<a href="mailto:roman@dissauer.net">roman@dissauer.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is there a way to get the FS public IP replaced by a custom domain name in contact header using the dialplan?<br>
<br>
tried:<br>
<br>
<action application="export" data="sip_contact_host=test.domain.tld“/> ...not working<br>
<action application=„set" data="sip_contact_host=test.domain.tld“/> ...not working<br>
<action application="export" data="sip_invite_domain=test.domain.tld“/> ...not working<br>
<action application=„set" data="sip_invite_domain=test.domain.tld“/> ...not working<br>
<action application="export" data=„sip_contact_user=bla@test.domain.tld"/> ...not working<br>
<action application=„set" data=„sip_invite_domain=bla@test.domain.tld“/> ...not working<br>
<br>
<br>
only thing working is setting the parameter in gateway config, <br>
<param name="contact-host" value=„test.domain.tld“/><br>
<br>
but this is not working for me because I need to do it dynamically in dialplan!<br>
<br>
Any hint for me?<br>
<br>
thank you!<br>
Roman<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div></div>