Re: [Freeswitch-users] Setting a domain name in the Contact header of an INVITE
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@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@gmail.com> To: FreeSWITCH Users Help <freeswitch-users@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@test.domain.co.uk:5060;transport=udp;gw=text>
instead of:
Contact: <sip:gw+test@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
participants (1)
-
Neill Wilkinson