PJSUA BYE Reason header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm using the high level PJSUA library, is there an easy way to get the
Reason header from a BYE sent to me?

My call is getting rejected by a freeswitch server shortly after it is
answered. The server is rejecting it with a BYE, and using a Reason header.
The last status in pjsua_call_info is 200 because the BYE is successful,
but I want to know that it was rejected in my on_call_state callback. (Or
is there another callback I need to use?)

The BYE has this header:
    Reason: Q.850;cause=21;text="CALL_REJECTED"


Thanks,
Cameron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150610/b4764444/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux