Hello,
i guess your client is not symmetric and not NAT aware. Which means it sends
out the request on any port (or the NAT rewirtes the source port to any other
port then 5060) but your Via header says you want the answer back at port
5060. So the answer never reaches your client.
BTW you should really improve your the code of your UA. It uses all the time
the same From tag, the same Call-ID, the same CSeq number. This is really
bad, not RFC compliant and you will probably encounter strange problems with
other UAs if you keep this bugs.
Greets
Nils
On Saturday 20 December 2003 12:35, Santosh Subramanian, Noida wrote:
could you please tell me why the following REGISTER
request is not getting
401 response..?
I am struggling with this problem for the past two days. Kindly update me.
REGISTER sip:iptel.org:5060 SIP/2.0 ( if I change
sip:iptel.org as
sip:195.37.77.101, I am getting 403 response from
iptel.org)
Via: SIP/2.0/UDP 192.168.14.200:5060;branch=z9hG4bK1436934251
From: san <sip:san@iptel.org>;tag=501424250
To: san <sip:san@iptel.org>
Call-ID: 323191517(a)192.168.14.200 <mailto:323191517@192.168.14.200>
CSeq: 1 REGISTER
Contact: san <sip:san@192.168.14.200:5060>
max-forwards: 50
user-agent: oSIP-ua/0.8.1
expires: 3600
Content-Length: 0
Thankyou
Santhosh.S