[Freeswitch-users] extension-in-contact setting does not seem to work

Michael Collins msc at freeswitch.org
Fri Feb 3 21:48:07 MSK 2012


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

On Fri, Feb 3, 2012 at 10:15 AM, Gerry Hull <gerry at pstn2.net> wrote:

> 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 at 10.98.0.50:5080)
>
>
> Any help is appreciated... stuck on this one.
>
>
> -Gerry
>
>    1.
>    2. <include>
>    3. <gateway name="nortelcs1k">
>    4. <param name="username" value="83242"/>
>    5. <!--<param name="auth-username" value="83242"/>-->
>    6. <!--<param name="from-user" value="83242"/>-->
>    7. <param name="realm" value="sands.com"/>
>    8. <param name="password" value="123456"/>
>    9. <!--<param name="extension" value="83242"/>-->
>    10. <param name="extension-in-contact" value="true"/>
>    11.
>    12. <param name="proxy" value="10.98.0.37:5070"/>
>    13. <!--<param name="register-proxy" value="10.98.0.37:5070"/>-->
>    14.
>    15. <!--<param name="from-domain" value="sands.com"/>-->
>    16.
>    17. <param name="register" value="true"/>
>    18. <!--
>    19. <param name="expire-seconds" value="3600"/>
>    20. <param name="retry-seconds" value="30"/>
>    21. <param name="extension" value="83242"/>
>    22. -->
>    23. <!-- which transport to use for register -->
>    24. <param name="register-transport" value="tcp"/>
>    25.
>    26. </gateway>
>    27. </include>
>    28.
>    29.
>    30. SIP PACKET
>    31. REGISTER sip:sands.com;transport=udp SIP/2.0
>    32.
>    33. Via: SIP/2.0/UDP 10.98.0.50:5080;rport;branch=z9hG4bKBKK5SyQ8y5yeQ
>    34.
>    35. Max-Forwards: 70
>    36.
>    37. From: <sip:83242 at sands.com;transport=udp>;tag=BKKN0U8BNX50a
>    38.
>    39. To: <sip:83242 at sands.com;transport=udp>
>    40.
>    41. Call-ID: 5915f7b9-df9d-4216-a4c6-bec38807c437
>    42.
>    43. CSeq: 23809179 REGISTER
>    44.
>    45. Contact: <
>    sip:gw+nortelcs1k at 10.98.0.50:5080;tport=udp;transport=udp;gw=nortelcs1k
>    >
>    46.
>    47. Expires: 3600
>    48.
>    49. User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-c2ac8f5 2012-01-27
>    16-04-54 -0600
>    50.
>    51. Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
>    REGISTER, REFER, NOTIFY
>    52.
>    53. Supported: timer, precondition, path, replaces
>    54.
>    55. Content-Length: 0
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120203/bc3dd4cb/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list