<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">that explains a lot :)<div class="">I’ll go with the gateway param then...</div><div class="">Thank you!<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 20.02.2019 um 18:10 schrieb Mike Jerris <<a href="mailto:mike@freeswitch.com" class="">mike@freeswitch.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div dir="auto" class="">There is no way to change that</div></div><div class=""><br class=""><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" class="">roman@dissauer.net</a>> wrote:<br class=""></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 class="">
<br class="">
tried:<br class="">
<br class="">
<action application="export" data="sip_contact_host=test.domain.tld“/>         ...not working<br class="">
<action application=„set" data="sip_contact_host=test.domain.tld“/>         ...not working<br class="">
<action application="export" data="sip_invite_domain=test.domain.tld“/>         ...not working<br class="">
<action application=„set" data="sip_invite_domain=test.domain.tld“/>         ...not working<br class="">
<action application="export" data=„<a href="mailto:sip_contact_user=bla@test.domain.tld" class="">sip_contact_user=bla@test.domain.tld</a>"/>         ...not working<br class="">
<action application=„set" data=„<a href="mailto:sip_invite_domain=bla@test.domain.tld" class="">sip_invite_domain=bla@test.domain.tld</a>“/>         ...not working<br class="">
<br class="">
<br class="">
only thing working is setting the parameter in gateway config, <br class="">
<param name="contact-host" value=„test.domain.tld“/><br class="">
<br class="">
but this is not working for me because I need to do it dynamically in dialplan!<br class="">
<br class="">
Any hint for me?<br class="">
<br class="">
thank you!<br class="">
Roman<br class="">
<br class="">
_________________________________________________________________________<br class="">
Professional FreeSWITCH Services<br class="">
<a href="mailto:sales@freeswitch.com" target="_blank" class="">sales@freeswitch.com</a><br class="">
<a href="https://freeswitch.com/" rel="noreferrer" target="_blank" class="">https://freeswitch.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank" class="">https://freeswitch.com/oss</a><br class="">
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank" class="">https://freeswitch.org/confluence</a><br class="">
<a href="https://cluecon.com/" rel="noreferrer" target="_blank" class="">https://cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="">
<a href="https://freeswitch.com/" rel="noreferrer" target="_blank" class="">https://freeswitch.com</a></blockquote></div></div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Services<br class=""><a href="mailto:sales@freeswitch.com" class="">sales@freeswitch.com</a><br class="">https://freeswitch.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">https://freeswitch.com/oss<br class="">https://freeswitch.org/confluence<br class="">https://cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">https://freeswitch.com</div></blockquote></div><br class=""></div></body></html>