[pjsip] Accessing NOTIFY body from python

Benny Prijono bennylp at teluu.com
Mon Aug 24 16:45:58 EDT 2009


On Mon, Aug 24, 2009 at 5:59 PM, Saúl Ibarra<saghul at gmail.com> wrote:
>> Is the information you're looking for encoded inside the <tuple>
>> element? If so then there is hope. :)
>>
>
> I'd like to access <person> items, which aren't inside <tuple>... How
> much hope do we have left? :)
>

A bit less, but not impossible either. Incoming NOTIFY is handled by
pjsua_evsub_on_rx_notify() in pjsua_pres.c. You will have to define a
new callback to report this event and propagate it all the way to the
Python code.

I wouldn't mind if you send me a patch for this. ;-)

Cheers
 Benny




More information about the pjsip mailing list