i made a call via sems sbc and sems got back from b leg '183 session
progress' with media.

then i canceled the call and sems gave error message:

Feb 11 01:15:14 sars sems[27487]: [#b4e92b70] [bye, AmSipDialog.cpp:533] ERROR: 
 ignoring bye() in Cancelling state: no UAC transaction to cancel.

although the b leg transaction in session progress state was still alive.

is this a bug?  debug log is below.

-- juha

Feb 11 01:15:14 sars sems[27487]: [#b5094b70] [run, udp_trsp.cpp:322] DEBUG: vv 
M [|] u recvd msg via UDP vv#012--++--#012CANCEL sip:...:....;transport=tcp 
SIP/2.0#015#012Via: SIP/2.0/UDP 
127.0.0.1:5070;branch=z9hG4bKef6e.8f637edc52627e2491594962c00d1536.0;i=31#015#012Max-Forwards:
 16#015#012To: "" <sip:...>#015#012From: "" <sip:...>;tag=gidjc#015#012Call-ID: 
[email protected]#015#012CSeq: 922 CANCEL#015#012Content-Length: 
0#015#012#015#012--++--
Feb 11 01:15:14 sars sems[27487]: [#b5094b70] [parse_sip_uri, 
parse_uri.cpp:332] DEBUG:  Converted URI port (8000) to int (8000)
Feb 11 01:15:14 sars sems[27487]: [#b5094b70] [parse_via_params, 
parse_via.cpp:525] DEBUG:  parsed branch: 
z9hG4bKef6e.8f637edc52627e2491594962c00d1536.0
Feb 11 01:15:14 sars sems[27487]: [#b5094b70] [parse_via_params, 
parse_via.cpp:548] DEBUG:  has_rport: 0
Feb 11 01:15:14 sars sems[27487]: [#b5094b70] [match_request, 
trans_table.cpp:68] DEBUG:  Matching CANCEL request
Feb 11 01:15:14 sars sems[27487]: [#b5094b70] [match_request, 
trans_table.cpp:87] DEBUG:  do_3261_match = 1
Feb 11 01:15:14 sars sems[27487]: [#b5094b70] [handle_sip_request, 
SipCtrlInterface.cpp:632] DEBUG:  Received new request from <127.0.0.1:5070> on 
intf #0
Feb 11 01:15:14 sars sems[27487]: [#b5094b70] [handle_sip_request, 
SipCtrlInterface.cpp:636] DEBUG:  req.method = <CANCEL>
Feb 11 01:15:14 sars sems[27487]: [#b5094b70] [handle_sip_request, 
SipCtrlInterface.cpp:639] DEBUG:  req.r_uri = <sip:...:...;transport=tcp>
Feb 11 01:15:14 sars sems[27487]: [#b5094b70] [handle_sip_request, 
SipCtrlInterface.cpp:640] DEBUG:  req.from_uri = <sip:...>
Feb 11 01:15:14 sars sems[27487]: [#b5094b70] [handle_sip_request, 
SipCtrlInterface.cpp:641] DEBUG:  req.from = <"" <sip:...>>
Feb 11 01:15:14 sars sems[27487]: [#b5094b70] [handle_sip_request, 
SipCtrlInterface.cpp:642] DEBUG:  req.to = <"" <sip:...>>
Feb 11 01:15:14 sars sems[27487]: [#b5094b70] [handle_sip_request, 
SipCtrlInterface.cpp:643] DEBUG:  req.callid = <[email protected]>
Feb 11 01:15:14 sars sems[27487]: [#b5094b70] [handle_sip_request, 
SipCtrlInterface.cpp:644] DEBUG:  req.from_tag = <gidjc>
Feb 11 01:15:14 sars sems[27487]: [#b5094b70] [handle_sip_request, 
SipCtrlInterface.cpp:645] DEBUG:  req.to_tag = <>
Feb 11 01:15:14 sars sems[27487]: [#b5094b70] [handle_sip_request, 
SipCtrlInterface.cpp:646] DEBUG:  cseq = <922>
Feb 11 01:15:14 sars sems[27487]: [#b5094b70] [handle_sip_request, 
SipCtrlInterface.cpp:647] DEBUG:  req.route = <>
Feb 11 01:15:14 sars sems[27487]: [#b5094b70] [handle_sip_request, 
SipCtrlInterface.cpp:648] DEBUG:  hdrs = <Max-Forwards: 16#015#012>
Feb 11 01:15:14 sars sems[27487]: [#b5094b70] [handle_sip_request, 
SipCtrlInterface.cpp:649] DEBUG:  body-ct = <>
Feb 11 01:15:14 sars sems[27487]: [#b5094b70] [handleSipMsg, 
AmSipDispatcher.cpp:94] DEBUG:  method: `CANCEL' [6].
Feb 11 01:15:14 sars sems[27487]: [#b5094b70] [handle_sip_request, 
SipCtrlInterface.cpp:655] DEBUG:  ^^ M [[email protected]|] Ru SIP 
request CANCEL handled ^^
Feb 11 01:15:14 sars sems[27487]: [#b4e92b70] [processingCycle, 
AmSession.cpp:377] DEBUG:  vv S 
[[email protected]|054F73EB-511829FC000F3CFB-B5094B70] Early, 
running, 0 UACTransPending, 0 usages vv
Feb 11 01:15:14 sars sems[27487]: [#b4e92b70] [process, AmSession.cpp:725] 
DEBUG:  AmSession processing event
Feb 11 01:15:14 sars sems[27487]: [#b4e92b70] [onRxRequest, 
AmBasicSipDialog.cpp:296] DEBUG:  AmBasicSipDialog::onRxRequest(req = CANCEL)
Feb 11 01:15:14 sars sems[27487]: [#b4e92b70] [setStatus, 
AmBasicSipDialog.cpp:80] DEBUG:  setting SIP dialog status: Early->Cancelling
Feb 11 01:15:14 sars sems[27487]: [#b4e92b70] [reply, AmBasicSipDialog.cpp:503] 
DEBUG:  reply: transaction found!
Feb 11 01:15:14 sars sems[27487]: [#b4e92b70] [send_reply, trans_layer.cpp:266] 
DEBUG:  reply_len = 378
Feb 11 01:15:14 sars sems[27487]: [#b4e92b70] [is_opt_set, transport.cpp:63] 
DEBUG:  trsp_socket::socket_options = 0x0
Feb 11 01:15:14 sars sems[27487]: [#b4e92b70] [send_reply, trans_layer.cpp:434] 
DEBUG:  Sending to 127.0.0.1:5070 <SIP/2.0 200 OK#015#012Via: SIP/2.0/UDP 
127.0.0.1:5070;br...>
Feb 11 01:15:14 sars sems[27487]: [#b4e92b70] [send, udp_trsp.cpp:245] DEBUG: 
send  msg#012--++--#012SIP/2.0 200 OK#015#012Via: SIP/2.0/UDP 
127.0.0.1:5070;branch=z9hG4bKef6e.8f637edc52627e2491594962c00d1536.0;i=31#015#012To:
 "" <sip:...>;tag=054F73EB-511829FC000F3CFB-B5094B70#015#012From: "" 
<sip:...>;tag=gidjc#015#012Call-ID: [email protected]#015#012CSeq: 
922 CANCEL#015#012Server: Sip Express Media Server (1.6.0 
(x86/linux))#015#012Content-Length: 0#015#012#015#012--++--
Feb 11 01:15:14 sars sems[27487]: [#b4e92b70] [update_uas_reply, 
trans_layer.cpp:1683] DEBUG:  update_uas_reply(t=0x9ba4058)
Feb 11 01:15:14 sars sems[27487]: [#b4e92b70] [reset_timer, sip_trans.cpp:215] 
DEBUG:  New timer of type J at time=703680 (repeated=0)
Feb 11 01:15:14 sars sems[27487]: [#b4e92b70] [onSipRequest, CallLeg.cpp:783] 
DEBUG:  054F73EB-511829FC000F3CFB-B5094B70: SIP request 922 CANCEL received in 
Ringing state
Feb 11 01:15:14 sars sems[27487]: [#b4e92b70] [onSipRequest, AmSession.cpp:775] 
DEBUG:  onSipRequest: method = CANCEL
Feb 11 01:15:14 sars sems[27487]: [#b4e92b70] [bye, AmSipDialog.cpp:533] ERROR: 
 ignoring bye() in Cancelling state: no UAC transaction to cancel.
Feb 11 01:15:14 sars sems[27487]: [#b4e92b70] [setStatus, 
AmBasicSipDialog.cpp:80] DEBUG:  setting SIP dialog status: 
Cancelling->Disconnected
Feb 11 01:15:14 sars sems[27487]: [#b4e92b70] [terminateOtherLeg, 
CallLeg.cpp:113] DEBUG:  trying to terminate other leg in Ringing state -> 
terminating the others as well
Feb 11 01:15:14 sars sems[27487]: [#b4e92b70] [relayEvent, 
AmB2BSession.cpp:517] DEBUG:  AmB2BSession::relayEvent: to 
other_id='654FB424-511829FD00001E50-B4E92B70'
Feb 11 01:15:14 sars sems[27487]: [#b4e92b70] [updateCallStatus, 
CallLeg.cpp:969] DEBUG:  A leg 054F73EB-511829FC000F3CFB-B5094B70 changing 
status from Ringing to Disconnected
Feb 11 01:15:14 sars sems[27487]: [#b4f93b70] [processingCycle, 
AmSession.cpp:377] DEBUG:  vv S 
[59DB9378-511829FD00001E62-B4E92B70|654FB424-511829FD00001E50-B4E92B70] Early, 
running, 1 UACTransPending, 0 usages vv
Feb 11 01:15:14 sars sems[27487]: [#b4e92b70] [bye, AmSipDialog.cpp:540] DEBUG: 
 bye(): we are not connected (status=Disconnected). do nothing!
Feb 11 01:15:14 sars sems[27487]: [#b4f93b70] [onB2BEvent, 
AmB2BSession.cpp:150] DEBUG:  AmB2BSession::onB2BEvent
Feb 11 01:15:14 sars sems[27487]: [#b4f93b70] [onB2BEvent, 
AmB2BSession.cpp:261] DEBUG:  terminateLeg()
Feb 11 01:15:14 sars sems[27487]: [#b4f93b70] [setStatus, 
AmBasicSipDialog.cpp:80] DEBUG:  setting SIP dialog status: Early->Cancelling

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to