Hi,

missing port in contact is not a problem - if no port is set, the default 5060 will be used.

regards,
bogdan

Vamsi Pottangi wrote:

Hi All,
Need help on resolving the incomign calls problems with sipxezphone which openser as proxy sizezphone sends "Contact:" URI as sip:<usernamename>@<ipadd>;LINEID=<lineid> rather than sip:<username>@<ipadd>:<port> For the same reason OpenSER is not able to route the incoming calls to sipxezphone. How can I make the sipxezphone(sipxtapi) to send Contact URI with port number mentioned? ~~~Contact(0xb60deb38)~~~
domain    : 'location'
aor       : 'vamsi'
Contact : 'sip:[EMAIL PROTECTED] <mailto:sip:[EMAIL PROTECTED]>;LINEID=a9bd64e174dc'
Expires   : 232
q         :
Call-ID   : '5dd7235bc92046fd79bb68788a7f5f55'
CSeq      : 1
User-Agent: 'sipXezPhone'
received  : ''
Path      : ''
State     : CS_SYNC
Flags     : 0
Sock      : 192.168.101.35:5060 <http://192.168.101.35:5060> (0x8145be8)
Methods   : 4294967295
next      : (nil)
prev      : (nil)
~~~/Contact~~~~
When I try to do NAT fixing on OpenSER, it records the port from which the REGISTER message had recieved and tries to send the INVITE message to that port, in this case 1617 rather than 5060. Actually sipzexphone is listening on 1617 and 5060 as well which can be found from the below netsta -na output When I snooped the messages, I found that sipzezphone is sending register message using port 1617, though the DEFAULT_PORT is 5060 ~~~Contact(0xb60deb38)~~~
domain    : 'location'
aor       : 'vamsi'
Contact : 'sip:[EMAIL PROTECTED] <mailto:sip:[EMAIL PROTECTED]>;LINEID=a9bd64e174dc'
Expires   : 171
q         :
Call-ID   : 'e1102f18dca4dcb81363d75c605632fa'
CSeq      : 7
User-Agent: ''
received  : 'sip:192.168.101.21:1617 <http://192.168.101.21:1617>'
Path      : ''
State     : CS_SYNC
Flags     : 0
Sock      : 192.168.101.35:5060 <http://192.168.101.35:5060> (0x8145be8)
Methods   : 4294967295
next      : (nil)
prev      : (nil)
~~~/Contact~~~~
C:\Documents and Settings\Administrator>netstat -na Active Connections Proto Local Address Foreign Address State TCP 0.0.0.0:135 <http://0.0.0.0:135> 0.0.0.0:0 <http://0.0.0.0:0> LISTENING TCP 0.0.0.0:445 <http://0.0.0.0:445> 0.0.0.0:0 <http://0.0.0.0:0> LISTENING TCP 0.0.0.0:2701 <http://0.0.0.0:2701> 0.0.0.0:0 <http://0.0.0.0:0> LISTENING TCP 0.0.0.0:2702 <http://0.0.0.0:2702> 0.0.0.0:0 <http://0.0.0.0:0> LISTENING TCP 0.0.0.0:3389 <http://0.0.0.0:3389> 0.0.0.0:0 <http://0.0.0.0:0> LISTENING TCP 0.0.0.0:42510 <http://0.0.0.0:42510> 0.0.0.0:0 <http://0.0.0.0:0> LISTENING TCP 127.0.0.1:19989 <http://127.0.0.1:19989> 0.0.0.0:0 <http://0.0.0.0:0> LISTENING TCP 192.168.101.21:139 <http://192.168.101.21:139> 0.0.0.0:0 <http://0.0.0.0:0> LISTENING TCP 192.168.101.21:1501 <http://192.168.101.21:1501> 192.168.101.35:22 <http://192.168.101.35:22> ESTABLISHED TCP 192.168.101.21:1554 <http://192.168.101.21:1554> 192.168.101.21:1555 <http://192.168.101.21:1555> TIME_WAIT TCP 192.168.101.21:1615 <http://192.168.101.21:1615> 192.168.101.21:1616 <http://192.168.101.21:1616> ESTABLISHED TCP 192.168.101.21:1616 <http://192.168.101.21:1616> 192.168.101.21:1615 <http://192.168.101.21:1615> ESTABLISHED TCP 192.168.101.21:1621 <http://192.168.101.21:1621> 192.168.101.35:5060 <http://192.168.101.35:5060> ESTABLISHED TCP 192.168.101.21:5060 <http://192.168.101.21:5060> 0.0.0.0:0 <http://0.0.0.0:0> LISTENING
  UDP    0.0.0.0:445 <http://0.0.0.0:445>            *:*
  UDP    0.0.0.0:500 <http://0.0.0.0:500>            *:*
  UDP    0.0.0.0:1036 <http://0.0.0.0:1036>           *:*
  UDP    0.0.0.0:1037 <http://0.0.0.0:1037>           *:*
  UDP    0.0.0.0:1100 <http://0.0.0.0:1100>           *:*
  UDP    0.0.0.0:1508 <http://0.0.0.0:1508>           *:*
  UDP    0.0.0.0:4500 <http://0.0.0.0:4500>           *:*
  UDP    0.0.0.0:4573 <http://0.0.0.0:4573>           *:*
  UDP    0.0.0.0:4588 <http://0.0.0.0:4588>           *:*
  UDP    0.0.0.0:6060 <http://0.0.0.0:6060>           *:*
  UDP    127.0.0.1:123 <http://127.0.0.1:123>          *:*
  UDP    127.0.0.1:1038 <http://127.0.0.1:1038>         *:*
  UDP    127.0.0.1:1056 <http://127.0.0.1:1056>         *:*
  UDP    127.0.0.1:1075 <http://127.0.0.1:1075>         *:*
  UDP    127.0.0.1:1105 <http://127.0.0.1:1105>         *:*
  UDP    192.168.101.21:123 <http://192.168.101.21:123>     *:*
  UDP    192.168.101.21:137 <http://192.168.101.21:137>     *:*
  UDP    192.168.101.21:138 <http://192.168.101.21:138>     *:*
  UDP    192.168.101.21:1617 <http://192.168.101.21:1617>    *:*
  UDP    192.168.101.21:1618 <http://192.168.101.21:1618>    *:*
  UDP    192.168.101.21:1619 <http://192.168.101.21:1619>    *:*
  UDP    192.168.101.21:1620 <http://192.168.101.21:1620>    *:*
  UDP    192.168.101.21:5060 <http://192.168.101.21:5060>    *:*
C:\Documents and Settings\Administrator>

------------------------------------------------------------------------

_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to