Re: [reSIProcate-users] Client Hangs in UAS mode coming from Remote But Not Local Peer
Trimming and re-sending:
Looks like DUM has stopped servicing its fifo.
Best regards,
Byron Campen
I looked into setOverrideHostAndPort() and saw it allows me to
override the default Contact URI. So I did that for the scenario I
described earlier and now the remote soft phone (C) knows how where
to send back the ACK message. The call terminates as it should when
I hang-up from {c).
Interestingly though, I try now with an IP phone in place of Soft-
Phone (c} and it does not hang-up.
After examining a packet trace, It’s not the old behavior, the IP
Phone now sends me back the ACK to the 200OK message. The call
proceeds.
When I hang-up the IP-Phone, it sends me a BYE message and resends
it a few more times. My soft-phone (A) receives those BYE messages
and matches them (from the resiprocate.log) but it replies to the
IP-Phone with provisional 100-Trying responses and is unable to
terminate the call.
Below is the an excerpt from resiprocate.log.
DEBUG | 20080214-115202.562 | Sytech:ResipLib | RESIP:TRANSACTION |
1788 | TransactionUser.cxx:74 | Match!
DEBUG | 20080214-115202.562 | Sytech:ResipLib | RESIP | 1788 |
Helper.cxx:372 | Helper::makeResponse(SipReq: BYE
201@xxxxxxxxxxxxx:12111 tid=-bcbaff35 cseq=BYE / 103 from(wire)
code=100 reason=
DEBUG | 20080214-115202.562 | Sytech:ResipLib | RESIP:TRANSACTION |
1788 | TimerQueue.cxx:85 | Adding timer: Timer Trying tid=-bcbaff35
ms=3500
DEBUG | 20080214-115202.562 | Sytech:ResipLib | RESIP:TRANSACTION |
1788 | TransactionState.cxx:1832 | Send to TU: TU:
DialogUsageManager size=3
BYE sip:201@xxxxxxxxxxxxx:12111;rinstance=e7548b7eb5024934 SIP/2.0
Via: SIP/2.0/UDP 192.168.10.8:5060;branch=z9hG4bK-bcbaff35
Max-Forwards: 70
To: <sip:201@xxxxxxxxxxxxx>;tag=6166c906
From: "Linksys 2" <sip:100@xxxxxxxxxxxxx>;tag=e3a2d79982772d5co0
Call-ID: 756c0e1d-89c9c8a8@xxxxxxxxxxxx
CSeq: 103 BYE
Proxy-Authorization: Digest
username="100",realm="192.168.10.73",nonce="12847481470:95f4a6046da085
8e43b687d8dad55ac7",uri="sip:
201@xxxxxxxxxxxxx:12111",algorithm=MD5,response="c4500df05ba1834bba3e1
4e7253ae477",qop=auth,nc=00000002,cnonce="371f4052"
User-Agent: Linksys/SPA922-5.1.15(a)
Content-Length: 0
DEBUG | 20080214-115203.046 | Sytech:ResipLib | RESIP:TRANSPORT |
1788 | Transport.cxx:287 | incoming from: [ V4 192.168.10.8:5060
UDP target domain=unspecified received on: Transport: [ V4
192.168.10.73:12111 UDP target domain=unspecified connectionId=0 ]
on 192.168.10.73 connectionId=0 ]
DEBUG | 20080214-115204.046 | Sytech:ResipLib | RESIP:TRANSPORT |
1788 | Transport.cxx:287 | incoming from: [ V4 192.168.10.8:5060
UDP target domain=unspecified received on: Transport: [ V4
192.168.10.73:12111 UDP target domain=unspecified connectionId=0 ]
on 192.168.10.73 connectionId=0 ]
DEBUG | 20080214-115206.046 | Sytech:ResipLib | RESIP:TRANSPORT |
1788 | Transport.cxx:287 | incoming from: [ V4 192.168.10.8:5060
UDP target domain=unspecified received on: Transport: [ V4
192.168.10.73:12111 UDP target domain=unspecified connectionId=0 ]
on 192.168.10.73 connectionId=0 ]
DEBUG | 20080214-115206.062 | Sytech:ResipLib | RESIP:TRANSPORT |
1788 | TransportSelector.cxx:879 | Transmitting to [ V4
192.168.10.8:5060 UDP target domain=unspecified received on:
Transport: [ V4 192.168.10.73:12111 UDP target domain=unspecified
connectionId=0 ] on 192.168.10.73 connectionId=0 ] tlsDomain= via
[ V4 192.168.10.73:12111 UDP target domain=unspecified
connectionId=0 ]
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.10.8:5060;branch=z9hG4bK-bcbaff35
To: <sip:201@xxxxxxxxxxxxx>;tag=6166c906
From: "Linksys 2" <sip:100@xxxxxxxxxxxxx>;tag=e3a2d79982772d5co0
Call-ID: 756c0e1d-89c9c8a8@xxxxxxxxxxxx
CSeq: 103 BYE
Content-Length: 0
DEBUG | 20080214-115206.062 | Sytech:ResipLib | RESIP:TRANSPORT |
1788 | Transport.cxx:213 | Adding message to tx buffer to: [ V4
192.168.10.8:5060 UDP target domain=unspecified received on:
Transport: [ V4 192.168.10.73:12111 UDP target domain=unspecified
connectionId=0 ] on 192.168.10.73 connectionId=0 ]
DEBUG | 20080214-115210.078 | Sytech:ResipLib | RESIP:TRANSPORT |
1788 | Transport.cxx:287 | incoming from: [ V4 192.168.10.8:5060
UDP target domain=unspecified received on: Transport: [ V4
192.168.10.73:12111 UDP target domain=unspecified connectionId=0 ]
on 192.168.10.73 connectionId=0 ]
DEBUG | 20080214-115210.078 | Sytech:ResipLib | RESIP:TRANSPORT |
1788 | Transport.cxx:213 | Adding message to tx buffer to: [ V4
192.168.10.8:5060 UDP target domain=unspecified received on:
Transport: [ V4 192.168.10.73:12111 UDP target domain=unspecified
connectionId=0 ] on 192.168.10.73 connectionId=0 ]
DEBUG | 20080214-115214.078 | Sytech:ResipLib | RESIP:TRANSPORT |
1788 | Transport.cxx:287 | incoming from: [ V4 192.168.10.8:5060
UDP target domain=unspecified received on: Transport: [ V4
192.168.10.73:12111 UDP target domain=unspecified connectionId=0 ]
on 192.168.10.73 connectionId=0 ]
DEBUG | 20080214-115214.078 | Sytech:ResipLib | RESIP:TRANSPORT |
1788 | Transport.cxx:213 | Adding message to tx buffer to: [ V4
192.168.10.8:5060 UDP target domain=unspecified received on:
Transport: [ V4 192.168.10.73:12111 UDP target domain=unspecified
connectionId=0 ] on 192.168.10.73 connectionId=0 ]
DEBUG | 20080214-115218.093 | Sytech:ResipLib | RESIP:TRANSPORT |
1788 | Transport.cxx:287 | incoming from: [ V4 192.168.10.8:5060
UDP target domain=unspecified received on: Transport: [ V4
192.168.10.73:12111 UDP target domain=unspecified connectionId=0 ]
on 192.168.10.73 connectionId=0 ]
DEBUG | 20080214-115218.093 | Sytech:ResipLib | RESIP:TRANSPORT |
1788 | Transport.cxx:213 | Adding message to tx buffer to: [ V4
192.168.10.8:5060 UDP target domain=unspecified received on:
Transport: [ V4 192.168.10.73:12111 UDP target domain=unspecified
connectionId=0 ] on 192.168.10.73 connectionId=0 ]
INFO | 20080214-115249.468 | Sytech:ResipLib | RESIP:TRANSACTION |
1788 | TuSelector.cxx:70 | Stats message
WARNING | 20080214-115249.468 | Sytech:ResipLib | RESIP:STATS |
1788 | StatisticsMessage.cxx:152 | RESIP:TRANSACTION
TU summary: 4 TRANSPORT 0 TRANSACTION 0 CLIENTTX 0 SERVERTX 1 TIMERS 0
Transaction summary: reqi 9 reqo 2 rspi 2 rspo 6