Dear all, I am currently trying to use PJSUA2 in C++ to answer calls (version 2.7.2, compiled from source on Ubuntu 16.04). I created a minimalistic example using the documentation [1]. It registers successfully with the SIP provider (Spigate.de in this case). When I receive an incoming call, I receive an INVITE message and the onIncomingCall callback is called. That’s fine. Answering the call does not work. std::cout << "*** onIncomingCall callId=" << iprm.callId << std::endl; Call *call = new MyCall(*this, iprm.callId); CallOpParam op; op.statusCode = PJSIP_SC_RINGING; call->answer(op); Instead, pjsua is replying with 500 and I do not hear it ringing. Instead, I get a “The person you have called is temporarily not available." 11:38:08.548 pjsua_call.c .Incoming Request msg INVITE/cseq=103 (rdata0x7f69d4001d38) 11:38:08.548 pjsua_media.c ..Call 0: initializing media.. 11:38:08.548 pjsua_media.c ...RTP socket reachable at 172.18.0.2:4000 11:38:08.549 pjsua_media.c ...RTCP socket reachable at 172.18.0.2:4001 11:38:08.549 pjsua_media.c ...Media index 0 selected for audio call 0 *** onIncomingCall callId=0 11:38:08.550 pjsua_call.c ...Answering call 0: code=180 11:38:08.550 pjsua_call.c ....Pending answering call 0 upon completion of media transport 11:38:08.550 pjsua_call.c ...Call 0 hanging up: code=0.. 11:38:08.550 pjsua_call.c ....Pending call 0 hangup upon completion of media transport 11:38:08.550 pjsua_call.c ...Call 0 hanging up: code=500.. 11:38:08.550 pjsua_call.c ....Pending call 0 hangup upon completion of media transport 11:38:08.550 pjsua_core.c .....TX 690 bytes Response msg 100/INVITE/cseq=103 (tdta0x7f69d4013198) to UDP 217.10.79.9:5060: SIP/2.0 100 Trying There is a full log of the software running on the Gitlab CI. It actually was connected to Sipgate and I called the number during the run of the CI. Hope not do disclose too much personal information :-) You can find all the compile steps in the Dockerfile and build.sh. Hope this gives a reproducible environment with a full log. What is the correct way to answer a call? Thank you very much in advance. Sascha [1] https://github.com/strongly-typed/pjsua2-demo/blob/master/main.cpp [2] https://gitlab.com/strongly-typed/pjsua2-demo/-/jobs/64690392 _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org