[pjsip] Receiving Bye

Dan Rabin dan.rabin.1975 at gmail.com
Wed Oct 7 16:25:04 EDT 2015


Sorry for this way of answering, I set my preferences to digest by mistake.
Anyway, thank you David.
My question was how to know when BYE arrived and David mentioned the
on_call_state.
I have a hook up to on_call_state:
{

pjsua_call_get_info(call_id, &ci);
printf("on_call_state %d", ci.last_status);
}

The problem that it prints 200 so I think the BYE is being processed at a
lower level.
Am I right?

Thanks,
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20151007/d18635df/attachment-0002.html>


More information about the pjsip mailing list