Hey there,
I found that the function pjsip_tsx_get_inv_session(pjsip_transaction
*tsx); defined in sip_inv.h is defined nowhere.
Looks like somebody forgot it and nobody else ever needed it...
Anyways, here's what's missing from sip_inv.c:
PJ_DEF(pjsip_inv_session*) pjsip_tsx_get_inv_session(pjsip_transaction *tsx)
{
struct tsx_inv_data *inv_data = (struct tsx_inv_data
*)tsx->mod_data[mod_inv.mod.id];
return inv_data ? inv_data->inv : NULL;
}
Best Regards,
Andreas
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org