[Freeswitch-users] Setting a domain name in the Contact header of an INVITE

Neill Wilkinson neillw at aeonvista.com
Mon Oct 4 07:19:30 PDT 2010


Gavin,

this kinda thing works for me:

<action application="export" data="sip_contact_user=${sip_from_user}" />

Contact user seems to overwrite the whole field, so something like:

<action application="export"
data="sip_contact_user=gw+test at test.domain.co.uk:5060;transport=udp;gw=text"
/>

Neill.....;o)
Aeonvista Ltd <http://aeonvista.blogspot.com>
*Opening Up New Ideas*

---------- Forwarded message ----------
> From: Gavin Henry <gavin.henry at gmail.com>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Date: Mon, 4 Oct 2010 13:52:08 +0100
> Subject: [Freeswitch-users] Setting a domain name in the Contact header of
> an INVITE
> Hi,
>
> Is this possible?
>
> Contact: <sip:gw+test at test.domain.co.uk:5060;transport=udp;gw=text>
>
> instead of:
>
> Contact: <sip:gw+test at FS_PUBLIC_IP:5060;transport=udp;gw=test>
>
>
>
> I've tried exporting sip_contact_host and domain_name etc.
>
> sip_contact_params only adds string literals to this header.
>
> Cheers.
>
> --
> http://www.suretecsystems.com/services/openldap/
> http://www.surevoip.co.uk
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101004/1b8b2771/attachment.html 


More information about the FreeSWITCH-users mailing list