[sr-dev] [ openser-Bugs-2819457 ] dialog module. BYE with bad Cseq.

SourceForge.net noreply at sourceforge.net
Fri Jul 10 10:50:44 CEST 2009


Bugs item #2819457, was opened at 2009-07-10 10:47
Message generated for change (Comment added) made by baron76
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2819457&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver 1.5.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alexandr Dubovikov (baron76)
Assigned to: Nobody/Anonymous (nobody)
Summary: dialog module. BYE with bad Cseq.

Initial Comment:
the dialog module in timeout BYE request send thru tm_module Cseq number from INVITE.

dlg_req_within.c:
function:
 dlg_t * build_dlg_t(struct dlg_cell * cell, int dir){
line:
td->loc_seq.value = loc_seq;

if before final 200 OK, we will recieve PRACK/200 (new Cseq) , the dialog module will send bad Cseq number (loc_seq + 1);

Scenario:
----INVITE ( Cseq: 1)  -> 
<--- 183 ( Cseq: 1)  ----
---- PRACK ( Cseq: 3)  -> 
<---- 200 OK ( Cseq: 3)  -
---------- timeout ---->
---- BYE ( Cseq: 2)  -> 
<------ 503 (Bad CSeq number) -------

Quickly Solution:
td->loc_seq.value = loc_seq + 100;



----------------------------------------------------------------------

>Comment By: Alexandr Dubovikov (baron76)
Date: 2009-07-10 10:50

Message:
oops:
Scenario:
----INVITE ( Cseq: 1) ->
<--- 183 ( Cseq: 1) ----
---- PRACK ( Cseq: 3) ->
<---- 200 OK ( Cseq: 3 PRACK) -
<---- 200 OK ( Cseq: 1 INVITE) -
---------- timeout dialog ---->
---- BYE ( Cseq: 2) ->
<------ 503 (Bad CSeq number) -------

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2819457&group_id=139143



More information about the sr-dev mailing list