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:vamsi@192.168.101.21;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 (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:vamsi@192.168.101.21;LINEID=a9bd64e174dc'
Expires : 171
q :
Call-ID : 'e1102f18dca4dcb81363d75c605632fa'
CSeq : 7
User-Agent: ''
received : 'sip:192.168.101.21:1617'
Path : ''
State : CS_SYNC
Flags : 0
Sock : 192.168.101.35:5060 (0x8145be8)
Methods : 4294967295
next : (nil)
prev : (nil)
~~~/Contact~~~~
C:\Documents and Settings\Administrator>netstat -na
Active Connections
C:\Documents and Settings\Administrator>