Browse code

sbc: keep original CSeq to support authentication case with Asterisk

Raphael Coeffic authored on 12/11/2013 12:13:12
Showing 1 changed files
... ...
@@ -146,6 +146,7 @@ SBCCallLeg::SBCCallLeg(SBCCallLeg* caller, AmSipDialog* p_dlg,
146 146
   if (call_profile.transparent_dlg_id && caller) {
147 147
     dlg->setCallid(caller->dlg->getCallid());
148 148
     dlg->setExtLocalTag(caller->dlg->getRemoteTag());
149
+    dlg->cseq = caller->dlg->r_cseq;
149 150
   }
150 151
 
151 152
   // copy RTP rate limit from caller leg