Module: sems
Branch: master
Commit: 889a9a12e035103caacebc0c078d95bd6bf403b2
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=889a9a12e035103caacebc0c078d95bd6bf403b2

Author: Juha Heinanen <[email protected]>
Committer: Juha Heinanen <[email protected]>
Date:   Sun Feb 10 09:06:03 2013 +0200

sems/sbc: try to correctly align call control api args

---

 apps/sbc/SBCCallLeg.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/apps/sbc/SBCCallLeg.cpp b/apps/sbc/SBCCallLeg.cpp
index 1957ce6..e3c51f7 100644
--- a/apps/sbc/SBCCallLeg.cpp
+++ b/apps/sbc/SBCCallLeg.cpp
@@ -1104,6 +1104,7 @@ void SBCCallLeg::CCConnect(const AmSipReply& reply) {
     di_args.push(cc_if.cc_name);                // cc name
     di_args.push(getLocalTag());                 // call ltag
     di_args.push((AmObject*)&call_profile);     // call profile
+    di_args.push(NULL);                          // there is no sip msg
     di_args.push(AmArg());                       // timestamps
     di_args.back().push((int)call_start_ts.tv_sec);
     di_args.back().push((int)call_start_ts.tv_usec);
@@ -1153,6 +1154,7 @@ void SBCCallLeg::CCEnd(const CCInterfaceListIteratorT& 
end_interface) {
     di_args.push(cc_if.cc_name);
     di_args.push(getLocalTag());                 // call ltag
     di_args.push((AmObject*)&call_profile);
+    di_args.push(NULL);                          // there is no sip msg
     di_args.push(AmArg());                       // timestamps
     di_args.back().push((int)call_start_ts.tv_sec);
     di_args.back().push((int)call_start_ts.tv_usec);

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

Reply via email to