On Fri, 2006-12-08 at 15:12 +0800, YuHang wrote: > Hi, > > Help! anyone can tell me who goes wrong? > > REGERESTED not fired in the following case: > I run sipXtapi at 192.168.0.178:5090 with rport enabled. > (http://scm.sipfoundry.org/rep/sipX/branches/sipXtapi/ at version 8101) I > register to 218.242.214.23. The Contact Header in the first REGISTER message > contains "[EMAIL PROTECTED]:5090". The server replies 401 with Via Header > containing "rport=8878;received=218.242.117.170". Then, sipXtapi REGISTERs > again with Contact Header containing "[EMAIL PROTECTED]:8878". The server > replies 200 with Contact Header containing "[EMAIL PROTECTED]:8878". sipXtapi > compares "[EMAIL PROTECTED]:8878" in 200 with "[EMAIL PROTECTED]:5090" and > finds it mismatch. So it doesn't think 200 message is ok and REGERESTED is > not fired. > > Who goes wrong? > captured packets are in attachment > _______________________________________________ sipxtapi-dev mailing list > [email protected] List Archive: > http://list.sipfoundry.org/archive/sipxtapi-dev/
The REGISTER request is going out through a NAT, but sipXtapi does not understand that. I don't know the specifics, but you need to inform sipXtapi that, to the proxy, its address appears to be 218.242.117.170. Dale _______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
