That usually happens because the call got sent to voicemail or something, so you end up with a connected call to the voicemail server.? So it can't be detected from the sip level, because as far as the phone is concerned the call is a real call. Calls that really don't get connected will end up DISCONNCTD. -m@ >how can I detect that an outgoing call got declined in pjsip 1.12? ... >If the call was declined state should change to **PJSIP_INV_STATE_DISCONNECTED, >but that's not the case, I get **PJSIP_INV_STATE_CONNECTING and ** >PJSIP_INV_STATE_CONFIRMED*. That's identical to Accepted Calls. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111203/43b28fb7/attachment.html>