[Serusers] Start and fnish call

Klaus Darilion klaus.mailinglists at pernau.at
Tue Aug 2 22:58:51 CEST 2005


Andreas Granig wrote:
> 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>');
>   }

Does this work? I think the accounting CDR for the BYE will be made by 
the tm module during t_relay. Thus, the script will be called before the 
CDR is created.

regards,
klaus


> 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
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
> 
> 




More information about the sr-users mailing list