Anderson Alves de Albuquerque wrote:
I was thinking that I could use rtp proxy, is this a good idea?
No. Use something like
if(method == "BYE") { exec_msg('<path-to-script or shell-command>'); }
and have a look at the README in the exec-module.
But maybe there's a better solution if you tell us what you'd like to achieve.
Andy