[Serusers] Used exec module

inge inge at legos.fr
Fri Jul 6 18:50:00 CEST 2007


I can bring a precision : I can do what I want if I have a parameters
wich contain username.

In fact, for the moment, when I have a BYE I launch a script with
SIP_OUSER in parameter. But the value change if it's USER A or USER B
who hang up. Moreover, I need it only when the user from subscriber
establish the call and not when he is the called party.

Thanks

Le vendredi 06 juillet 2007 à 14:49 +0200, inge a écrit :
> Hi all,
> 
> I find a way to execute an external script when I get a trigger. The
> trigger could be BYE or INVITE for example.
> 
> I read the documentation and some examples but I don't find tips to help
> me.
> 
> Is it possible to have a "return false" in the script wich is executed
> and use it in "if (exec())" in SER ? If it's possible I can do IF ELSE
> in ser.cfg according to the return of the script.
> 
> The best should be that I return a value in the script and I will able
> to test it in SER.
> 
> I run SER 0.9.6.
> 
> Thanks for your support and ideas.
> 
> Adrien
> 
> 
> 
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list