[Freeswitch-users] setting contact domain in dialplan not working

Mike Jerris mike at freeswitch.com
Wed Feb 20 17:10:55 UTC 2019


There is no way to change that

On Tue, Feb 19, 2019 at 5:24 PM Roman Dissauer <roman at 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 at test.domain.tld"/>
>        ...not working
> <action application=„set" data=„sip_invite_domain=bla at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190220/19a7dc99/attachment-0001.html>


More information about the FreeSWITCH-users mailing list