Juha Heinanen writes:
> thanks for the example. i got it working without issues.
one issue showed up. when i route invite two times via sbc_test_app (uac
-> sbc_test_app -> sip proxy -> sbc_test_app -> uas), sems crashes when
200 ok arrives from uas. perhaps it is because object argument 'this'
of setPayload call is 0x0.
-- juha
Core was generated by `/usr/sbin/sems -f /etc/sems/sems.conf -P
/var/run/sems/sems.pid -u 0 -g 0'.
Program terminated with signal 11, Segmentation fault.
#0 AmMimeBody::setPayload (this=0x0, buf=0xf93498 "<txt>and that's
more.</txt>", len=27) at AmMimeBody.cpp:664
664 AmMimeBody.cpp: No such file or directory.
(gdb) where
#0 AmMimeBody::setPayload (this=0x0, buf=0xf93498 "<txt>and that's
more.</txt>", len=27) at AmMimeBody.cpp:664
#1 0x00007f4231bcba0d in DLGAddReplyBodyPartAction::execute (this=<optimized
out>, sess=0xf51380, sc_sess=<optimized out>, event=<optimized out>,
event_params=0x7f423010fb50)
at ModDlg.cpp:548
#2 0x00007f4234b4b5a3 in DSMStateEngine::runactions (this=this@entry=0xf7c770,
from=..., to=..., sess=sess@entry=0xf51380, sc_sess=sc_sess@entry=0xf7c6e8,
event=event@entry=DSMCondition::B2BOtherReply,
event_params=event_params@entry=0x7f423010fb50, is_consumed=@0x7f423010e7ae:
true) at DSMStateEngine.cpp:249
#3 0x00007f4234b4fe42 in DSMStateEngine::runEvent (this=0xf7c770,
sess=0xf51380, sc_sess=0xf7c6e8, event=738371032, event_params=<optimized out>,
run_exception=false)
at DSMStateEngine.cpp:579
#4 0x00007f42326fb18c in SBCDSMInstance::onEvent (this=0xf7c6e0,
call=0xf51380, event=0x10204f0) at SBCDSMInstance.cpp:322
#5 0x00007f42326f2111 in CCDSMModule::onEvent (this=0xe292f0, call=0xf51380,
e=0x10204f0) at CCDSM.cpp:166
#6 0x00007f423718301c in SBCCallLeg::process (this=0xf51380, ev=0x10204f0) at
SBCCallLeg.cpp:736
#7 0x00000000004b7404 in AmEventQueue::processEvents (this=0xf513f8) at
AmEventQueue.cpp:86
#8 0x00000000004f33d4 in AmSession::processEventsCatchExceptions
(this=<optimized out>) at AmSession.cpp:347
#9 0x00000000004f5b7c in AmSession::processingCycle (this=0xf51380) at
AmSession.cpp:378
#10 0x00000000004f13a1 in AmSession::run (this=0xf51380) at AmSession.cpp:271
#11 0x0000000000523be9 in AmThread::_start (_t=0xf51388) at AmThread.cpp:66
#12 0x00007f423b1cab50 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#13 0x00007f423a3980ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
#14 0x0000000000000000 in ?? ()
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev