Custom SIP INFO message parsing

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

 



Hi
I'm sending custom SIP INFO message from my PBX to my PJSIP client.

I'm able to hook on the reception of the SIP INFO message with the on_call_tsx_state pjsua callback.

I an see my custom data embedded in in the msg_bug, the whole INFO message.

However, I'm wondering as best  practice what is the correct way, using the various PJSIP parsing and pj_str functions, to extract my custom data from the SIP INFO message.

How should I extact "Custom_INFO_message: some_data" data whithin the SIP message body ?

J.G.
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[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