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

Gavin Henry gavin.henry at gmail.com
Mon Oct 4 06:10:39 PDT 2010


On 4 October 2010 13:52, Gavin Henry <gavin.henry at gmail.com> wrote:
> 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 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



More information about the FreeSWITCH-users mailing list