Juha Heinanen writes: > some users complained that they are not anymore able to register to > openser (svn trunk version) using tcp transport. i then tested myself > and indeed tcp session is setup fine from sip ua to openser, then > openser receives register request from sip ua and sends back tcp ack, > but 401 (that should follow) never shows up on the wire.
i turned on debug and got the following: Sep 8 21:16:04 localhost /usr/sbin/openser[24456]: tcpconn_new: new tcp connection to: 192.98.101.10 Sep 8 21:16:04 localhost /usr/sbin/openser[24456]: tcpconn_new: on port 57487, type 2 Sep 8 21:16:04 localhost /usr/sbin/openser[24456]: tcpconn_add: hashes: 591, 2 Sep 8 21:16:04 localhost /usr/sbin/openser[24456]: handle_new_connect: new connection: 0xb57db470 23 flags: 0002 Sep 8 21:16:04 localhost /usr/sbin/openser[24456]: send2child: to tcp child 1 0(24452), 0xb57db470 Sep 8 21:16:04 localhost /usr/sbin/openser[24452]: received n=4 con=0xb57db470, fd=19 Sep 8 21:16:04 localhost /usr/sbin/openser[24452]: DBG: io_watch_add(0x812b200, 19, 2, 0xb57db470), fd_no=1 Sep 8 21:16:04 localhost /usr/sbin/openser[24452]: tcp_read_req: content-length= 0 Sep 8 21:16:04 localhost /usr/sbin/openser[24452]: SIP Request: Sep 8 21:16:04 localhost /usr/sbin/openser[24452]: method: <REGISTER> Sep 8 21:16:04 localhost /usr/sbin/openser[24452]: uri: <sip:test.fi> Sep 8 21:16:04 localhost /usr/sbin/openser[24452]: version: <SIP/2.0> Sep 8 21:16:04 localhost /usr/sbin/openser[24452]: parse_headers: flags=2 Sep 8 21:16:04 localhost /usr/sbin/openser[24452]: Found param type 232, <branch> = <z9hG4bK13FA14FE>; state=6 Sep 8 21:16:04 localhost /usr/sbin/openser[24452]: Found param type 237, <alias> = <n/a>; state=16 Sep 8 21:16:04 localhost /usr/sbin/openser[24452]: end of header reached, state=5 Sep 8 21:16:04 localhost /usr/sbin/openser[24452]: parse_headers: Via found, flags=2 Sep 8 21:16:04 localhost /usr/sbin/openser[24452]: parse_headers: this is the first via Sep 8 21:16:04 localhost /usr/sbin/openser[24452]: After parse_msg... Sep 8 21:16:04 localhost /usr/sbin/openser[24452]: ERROR: tcpconn_add_alias: possible port hijack attempt Sep 8 21:16:04 localhost /usr/sbin/openser[24452]: ERROR: tcpconn_add_alias: alias already present and points to another connection (1 : 5062 and 2 : 5062) Sep 8 21:16:04 localhost /usr/sbin/openser[24452]: ERROR: receive_msg: tcp alias failed i have in openser.cfg: listen=192.98.101.10 alias=sip.test.fi:5060 tcp_accept_aliases=yes auto_aliases=no sip ua is listening on port 5062 and uses that port in its via header: Via: SIP/2.0/TCP x.x.x.x:5062;branch=z9hG4bK2B2B03D8;alias -- juha _______________________________________________ Devel mailing list Devel@openser.org http://openser.org/cgi-bin/mailman/listinfo/devel