Hi , I am trying to capture 200 Ok responses in My Module. I registered the Following module static pjsip_module mod_test = { NULL, NULL, /* prev, next. */ { "test-Module", 12 }, /* Name. */ -1, /* Id */ PJSIP_MOD_PRIORITY_APPLICATION, /* Priority */ NULL, /* load() */ NULL, /* start() */ NULL, /* stop() */ NULL, /* unload() */ &on_rx_request, /* on_rx_request() */ &on_rx_response, /* on_rx_response() */ NULL, /* on_tx_request. */ NULL, /* on_tx_response() */ NULL, /* on_tsx_state() */ }; status = pjsip_endpt_register_module( g_endpt, &mod_test); however the Function on_rx_response is not being Called when i receive 200 OK responses for my outgoing Invite. on_rx_request works Fine. Is there any other missing step I need to do? Thx --
Kind Regards,
|
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org