[OpenSER-Devel] openserctl ping

Juha Heinanen jh at tutpro.com
Fri Aug 24 20:35:52 CEST 2007


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