El Jueves, 18 de Diciembre de 2008 08:54, Krunal Patel escribió:
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?
Yes
If it is then please let me know how to implement it?
You have different options:
- Using a flag or branch_flag - Using an AVP - Using a Var ...
I suggest you to read the docs about the nat modules, you will find examples about how to do it.
Regards -- Raúl Alexis Betancor Santana