Gerry,
I'm no expert, but it looks like your "extension" param in your gateway is commented out, so the sip profile doesn't know what value to put in the Contact header and just falls back to default behavior. I would uncomment the extension param line (see line #21 of your listing) and restart the gateway.
-MC
Hello,
We have extension-in-contact is set to true in our gateway, but our SIP register still shows contact using the gateway name. (sip:gw+nortelcs1k@10.98.0.50:5080)
Any help is appreciated... stuck on this one.
-Gerry
- <include>
- <gateway name="nortelcs1k">
- <param name="username" value="83242"/>
- <!--<param name="auth-username" value="83242"/>-->
- <!--<param name="from-user" value="83242"/>-->
- <param name="realm" value="sands.com"/>
- <param name="password" value="123456"/>
- <!--<param name="extension" value="83242"/>-->
- <param name="extension-in-contact" value="true"/>
- <param name="proxy" value="10.98.0.37:5070"/>
- <!--<param name="register-proxy" value="10.98.0.37:5070"/>-->
- <!--<param name="from-domain" value="sands.com"/>-->
- <param name="register" value="true"/>
- <!--
- <param name="expire-seconds" value="3600"/>
- <param name="retry-seconds" value="30"/>
- <param name="extension" value="83242"/>
- -->
- <!-- which transport to use for register -->
- <param name="register-transport" value="tcp"/>
- </gateway>
- </include>
- SIP PACKET
- REGISTER sip:sands.com;transport=udp SIP/2.0
- Via: SIP/2.0/UDP 10.98.0.50:5080;rport;branch=z9hG4bKBKK5SyQ8y5yeQ
- Max-Forwards: 70
- From: <sip:83242@sands.com;transport=udp>;tag=BKKN0U8BNX50a
- To: <sip:83242@sands.com;transport=udp>
- Call-ID: 5915f7b9-df9d-4216-a4c6-bec38807c437
- CSeq: 23809179 REGISTER
- Contact: <sip:gw+nortelcs1k@10.98.0.50:5080;tport=udp;transport=udp;gw=nortelcs1k>
- Expires: 3600
- User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-c2ac8f5 2012-01-27 16-04-54 -0600
- Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY
- Supported: timer, precondition, path, replaces
- Content-Length: 0
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org