setting contact domain in dialplan not working
Is there a way to get the FS public IP replaced by a custom domain name in contact header using the dialplan? tried: <action application="export" data="sip_contact_host=test.domain.tld“/> ...not working <action application=„set" data="sip_contact_host=test.domain.tld“/> ...not working <action application="export" data="sip_invite_domain=test.domain.tld“/> ...not working <action application=„set" data="sip_invite_domain=test.domain.tld“/> ...not working <action application="export" data=„sip_contact_user=bla@test.domain.tld"/> ...not working <action application=„set" data=„sip_invite_domain=bla@test.domain.tld“/> ...not working only thing working is setting the parameter in gateway config, <param name="contact-host" value=„test.domain.tld“/> but this is not working for me because I need to do it dynamically in dialplan! Any hint for me? thank you! Roman
This is my FreeSWITCH Version: FreeSWITCH version: 1.8.5-6-31281a0bf1~64bit (-6-31281a0bf1 64bit) same thing with version 1.6.20
Am 19.02.2019 um 23:24 schrieb Roman Dissauer <roman@dissauer.net>:
Is there a way to get the FS public IP replaced by a custom domain name in contact header using the dialplan?
tried:
<action application="export" data="sip_contact_host=test.domain.tld“/> ...not working <action application=„set" data="sip_contact_host=test.domain.tld“/> ...not working <action application="export" data="sip_invite_domain=test.domain.tld“/> ...not working <action application=„set" data="sip_invite_domain=test.domain.tld“/> ...not working <action application="export" data=„sip_contact_user=bla@test.domain.tld"/> ...not working <action application=„set" data=„sip_invite_domain=bla@test.domain.tld“/> ...not working
only thing working is setting the parameter in gateway config, <param name="contact-host" value=„test.domain.tld“/>
but this is not working for me because I need to do it dynamically in dialplan!
Any hint for me?
thank you! Roman
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
There is no way to change that On Tue, Feb 19, 2019 at 5:24 PM Roman Dissauer <roman@dissauer.net> wrote:
Is there a way to get the FS public IP replaced by a custom domain name in contact header using the dialplan?
tried:
<action application="export" data="sip_contact_host=test.domain.tld“/> ...not working <action application=„set" data="sip_contact_host=test.domain.tld“/> ...not working <action application="export" data="sip_invite_domain=test.domain.tld“/> ...not working <action application=„set" data="sip_invite_domain=test.domain.tld“/> ...not working <action application="export" data=„sip_contact_user=bla@test.domain.tld"/> ...not working <action application=„set" data=„sip_invite_domain=bla@test.domain.tld“/> ...not working
only thing working is setting the parameter in gateway config, <param name="contact-host" value=„test.domain.tld“/>
but this is not working for me because I need to do it dynamically in dialplan!
Any hint for me?
thank you! Roman
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
that explains a lot :) I’ll go with the gateway param then... Thank you!
Am 20.02.2019 um 18:10 schrieb Mike Jerris <mike@freeswitch.com>:
There is no way to change that
On Tue, Feb 19, 2019 at 5:24 PM Roman Dissauer <roman@dissauer.net <mailto:roman@dissauer.net>> wrote: Is there a way to get the FS public IP replaced by a custom domain name in contact header using the dialplan?
tried:
<action application="export" data="sip_contact_host=test.domain.tld“/> ...not working <action application=„set" data="sip_contact_host=test.domain.tld“/> ...not working <action application="export" data="sip_invite_domain=test.domain.tld“/> ...not working <action application=„set" data="sip_invite_domain=test.domain.tld“/> ...not working <action application="export" data=„sip_contact_user=bla@test.domain.tld"/> ...not working <action application=„set" data=„sip_invite_domain=bla@test.domain.tld“/> ...not working
only thing working is setting the parameter in gateway config, <param name="contact-host" value=„test.domain.tld“/>
but this is not working for me because I need to do it dynamically in dialplan!
Any hint for me?
thank you! Roman
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com <mailto:sales@freeswitch.com> https://freeswitch.com <https://freeswitch.com/>
Official FreeSWITCH Sites https://freeswitch.com/oss <https://freeswitch.com/oss> https://freeswitch.org/confluence <https://freeswitch.org/confluence> https://cluecon.com <https://cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> https://freeswitch.com <https://freeswitch.com/>_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
participants (2)
-
Mike Jerris
-
Roman Dissauer