[sr-dev] git:4.0: dialog: fixed callee cseq reference

Daniel-Constantin Mierla miconda at gmail.com
Sun Aug 4 15:21:35 CEST 2013


Module: sip-router
Branch: 4.0
Commit: 573096ad14c34364dad160bffd7e7ed5d007f5f6
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=573096ad14c34364dad160bffd7e7ed5d007f5f6

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Jul  1 14:44:45 2013 +0200

dialog: fixed callee cseq reference

- part of patch by Halina Nowak

(cherry picked from commit ed6dbb0ca11206049bee9ab515ce071eb70e7b63)

---

 modules/dialog/dlg_handlers.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/dialog/dlg_handlers.c b/modules/dialog/dlg_handlers.c
index f98f36b..338dc44 100644
--- a/modules/dialog/dlg_handlers.c
+++ b/modules/dialog/dlg_handlers.c
@@ -220,7 +220,7 @@ int populate_leg_info( struct dlg_cell *dlg, struct sip_msg *msg,
 		cseq = (get_cseq(msg))->number;
 	} else {
 		/* use the same as in request */
-		cseq = dlg->cseq[DLG_CALLER_LEG];
+		cseq = dlg->cseq[DLG_CALLEE_LEG];
 	}
 
 	/* extract the contact address */




More information about the sr-dev mailing list