[OpenSER-Devel] openserctl ping

Edson 4lists at gmail.com
Fri Aug 24 21:10:32 CEST 2007


Sorry, Juha... my fault... :(

Please try:
	RET="$($CTLCMD "$CMD" | head -1)"

Edson

>-----Original Message-----
>From: Juha Heinanen [mailto:jh at tutpro.com]
>Sent: sexta-feira, 24 de agosto de 2007 15:36
>To: Edson
>Cc: daniel at voice-system.ro; devel at openser.org
>Subject: RE: [OpenSER-Devel] openserctl ping
>
>Edson writes:
>
> > I think that this can help You:
> >
> > 	RET="$($CTLCMD $CMD | head -1)"
> >
>
>edson,
>
>i tried, but \n chars in $CMD are still converted to spaces:
>
>Aug 24 21:35:18 localhost /usr/sbin/openser[10726]:
>DEBUG:mi_fifo:mi_parse_tree: adding node <> ; val <From:
>sip:daemon at taimen^M To: <sip:jh at test.fi>^M Contact: sip:daemon@!!>^M >
>
>-- juha




More information about the Devel mailing list