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
On 4 October 2010 13:52, Gavin Henry <gavin.henry@gmail.com> wrote:
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 didn't try hard enough!!! <action application="export" data="sip_contact_host=test.domain.co.uk"/> I had set instead of export and you can also do it in your gw profile like so: <gateway name="bt"> <param name="realm" value="test.domain.co.uk"/> <param name="from-domain" value="test.domain.co.uk" /> <param name="contact-host" value="test.domain.co.uk" /> <param name="proxy" value="blah.co.uk"/> <param name="outbound-proxy" value="blah_IP"/> <param name="register" value="false"/> <param name="username" value="+441234567890"/> <param name="password" value="blank"/> <param name="caller-id-in-from" value="true"/> </gateway> -- http://www.suretecsystems.com/services/openldap/ http://www.surevoip.co.uk
participants (1)
-
Gavin Henry