[Serusers] exec_msg problem

Xavier TRENTIN xtrentin at softiphone.net
Fri Jul 29 10:12:48 CEST 2005


Try to quote the expression you want to echo :

exec_msg('echo "$SIP_HF_CSEQ : $SIP_HF_FROM to $SIP_HF_TO">> 
/var/log/syslog');

Xavier.

Sam Lee a écrit:

>***********************
>Pas de virus detecté dans l'attachement no filename
>Pas de virus detecté dans l'attachement no filename
>Pas de virus detecté dans l'attachement no filename
>
>Votre Mail a été vérifié par InterScan.
>***********-***********
>
>  
>
>
> ------------------------------------------------------------------------
>
> Sujet:
> [Serusers] exec_msg problem
> Expéditeur:
> "Sam Lee" <sam.lee at super.net.sg>
> Date:
> Fri, 29 Jul 2005 11:35:53 +0800
> Destinataire:
> <serusers at lists.iptel.org>
>
>
> Hi,
>  
> Have anyone seen this kind of error message before :
>  
> ERROR: exec_msg: cmd echo $SIP_HF_CSEQ : $SIP_HF_FROM to $SIP_HF_TO >> 
> /var/log/syslog failed. exit_status=-1, errno=32: Broken pipe
>  
> This command is actually in my ser.cfg where i capture this few 
> environmental variables and push them into my /var/log/syslog. It 
> effectively went in, but i still see this error message.
> Here is the original code in ser.cfg :
> exec_msg("echo $SIP_HF_CSEQ : $SIP_HF_FROM to $SIP_HF_TO >> 
> /var/log/syslog");
>  
> Please help!
>  
> Regards,
> Sam
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>  
>





More information about the sr-users mailing list