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

  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@sands.com;transport=udp>;tag=BKKN0U8BNX50a
  38.  
  39. To: <sip:83242@sands.com;transport=udp>
  40.  
  41. Call-ID: 5915f7b9-df9d-4216-a4c6-bec38807c437
  42.  
  43. CSeq: 23809179 REGISTER
  44.  
  45. Contact: <sip:gw+nortelcs1k@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