IF you do not need full control you can use the engage_media_proxy() function. This function monitors the dialog and handles reINVITEs and BYEs and CANCELs automatically.
klaus
Krunal Patel wrote:
Hi,
Does anybody know how to detect whether use_media_proxy is called? What I want to do is: Do end_media_session for bye or cancel if & only if use_media_proxy has been called during invite or reply route.
Is it possible?
If it is then please let me know how to implement it?
Thanks in advance
-- Krunal Patel
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users