<div>Hi,</div>
<div>&nbsp;</div>
<div>I am trying to understand the &#39;exec_msg&#39; command as described in Section 4 of SER Admin Guide. I am just trying to echo the user name (1001) of the caller on the screen. I use the config file given at the end. On receiving the INVITE message, SER DOES echo the user name, but I also get some warning and error messages as shown below:</div>

<div>#&gt; /opt/ser-sems/sbin/ser -f /xxx.../voip/ser_expt.cfg<br>Listening on<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; udp: <a href="http://192.168.3.208">192.168.3.208</a> [192.168.3.208]:5070<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tcp: <a href="http://192.168.3.208">192.168.3.208</a> [192.168.3.208]:5070<br>
Aliases:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tcp: xxx:5070<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; udp: xxx:5070</div>
<div>WARNING: no fork mode<br>stateless - initializing<br>&nbsp;0(0) Maxfwd module- initializing<br>textops - initializing<br>exec - initializing<br>&nbsp;0(0) INFO: udp_init: SO_RCVBUF is initially 107520<br>&nbsp;0(0) INFO: udp_init: SO_RCVBUF is finally 262142<br>
&nbsp;2(0) INFO: fifo process starting: 2803<br>&nbsp;2(0) SER: open_uac_fifo: fifo server up at /tmp/ser_fifo...<br>&nbsp;2(0) WARNING: no fifo_db_url given - fifo DB commands disabled!<br>&nbsp;0(2801) Main Route...<br>&nbsp;0(2801) Inside search from-1001...<br>
1001<br>&nbsp;0(2801) child process 2805 exited normally, status=0<br>&nbsp;0(2801) INFO: dont_fork turned on, living on<br>&nbsp;0(2801) WARNING: SIGPIPE received and ignored<br>&nbsp;0(2801) ERROR: exec_msg: cmd echo &#39;1001&#39; failed. exit_status=-1, errno=10: No child processes<br>
&nbsp;0(2801) WARNING: receive_msg: error while trying script<br></div>
<div>&nbsp;</div>
<div>Can someone tell me how&nbsp;I can get rid of these messages. My aim was just to get the user name displayed, and this has been achieved. I just want to understand the reason for these warnings and error messages.</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>Frq</div>
<div>&nbsp;</div>
<div>PS: This is my config file:</div>
<div>&nbsp;</div>
<div># $Id: hello-world.cfg 46 2006-01-25 04:21:30Z /CN=Paul <a href="mailto:Hazlett/emailAddress=paul@onsip.org">Hazlett/emailAddress=paul@onsip.org</a> $<br>debug=3<br>fork=no<br>log_stderror=yes</div>
<div>listen=<a href="http://192.168.3.208">192.168.3.208</a>&nbsp;&nbsp;#2.13&nbsp;&nbsp;# put your server IP address here<br>port=5070<br>children=4</div>
<div>dns=no<br>rev_dns=no<br>fifo=&quot;/tmp/ser_fifo&quot;</div>
<div>unix_sock=&quot;/tmp/ser_sock&quot;<br># ------------------ module loading ----------------------------------</div>
<div># Uncomment this if you want to use SQL database<br>#loadmodule &quot;/opt/ser-sems/lib/ser/modules/mysql.so&quot;</div>
<div>loadmodule &quot;/opt/ser-sems/lib/ser/modules/sl.so&quot;<br>loadmodule &quot;/opt/ser-sems/lib/ser/modules/tm.so&quot;<br>loadmodule &quot;/opt/ser-sems/lib/ser/modules/rr.so&quot;<br>loadmodule &quot;/opt/ser-sems/lib/ser/modules/maxfwd.so&quot;<br>
loadmodule &quot;/opt/ser-sems/lib/ser/modules/usrloc.so&quot;<br>loadmodule &quot;/opt/ser-sems/lib/ser/modules/registrar.so&quot;<br>loadmodule &quot;/opt/ser-sems/lib/ser/modules/textops.so&quot;</div>
<div>loadmodule &quot;/opt/ser-sems/lib/ser/modules/exec.so&quot;</div>
<div>route {</div>
<div>&nbsp;log(1, &quot;Main Route...\n&quot;);</div>
<div>&nbsp;# sl_send_reply(&quot;404&quot;, &quot;User Not Found...:-(&quot;);</div>
<div>&nbsp;# if (uri=~&quot;^sip:200@&quot;) {<br>&nbsp;&nbsp;<br>&nbsp;# &nbsp;exec_msg(&quot;echo &#39;Frq&#39;&quot;);<br>&nbsp;# }</div>
<div>&nbsp;if (search(&quot;(f|From): .*1002@&quot;)) {<br>&nbsp;&nbsp;log(3, &quot;Inside search from-1002...\n&quot;);<br>&nbsp;&nbsp;exec_msg(&quot;echo &#39;1002&#39;&quot;);<br>&nbsp;};</div>
<div>&nbsp;if (search(&quot;(f|From): .*1000@&quot;)) {<br>&nbsp;&nbsp;log(3, &quot;Inside search from-1000...\n&quot;);<br>&nbsp;&nbsp;exec_msg(&quot;echo &#39;1000&#39;&quot;);<br>&nbsp;};</div>
<div>&nbsp;if (search(&quot;(f|From): .*1001@&quot;)) {<br>&nbsp;&nbsp;log(3, &quot;Inside search from-1001...\n&quot;);<br>&nbsp;&nbsp;exec_msg(&quot;echo 1001&quot;);<br>&nbsp;};</div>
<div>}</div>