Custom runtime subscribe

I need to subscribe to a non-presence event at runtime in dialog. I have it working in chan_sip, but trying to move to pjsip. I am using “pjsip_evsub_create_uac” passing the dialog from the channel and also, pjsip_evsub_initiate and pjsip_evsub_send_request. The subscribe does go out, but when the OK comes back, I’m seeing in the log things like “res_pjsip_session.c: The inv session does NOT have an invite_tsx” and the notify does not come to the on_rx_notify of the callback. Any suggestions?

Nope, I don’t think anyone has done that and you’re also in PJSIP core territory - as that’s not functionality we wrap or do anything with.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.