I am trying to mail shashwat user for any message that passes through my ser and destined for shashwat. I found that it could be done through existing exec module... so I added following lines to ser.cfg <br><br>loadmodule "/usr/local/lib/ser/modules/exec.so" along with other module of
ser.cfg<br><br>in route {} I added following lines <br clear="all"> <br><pre class="PROGRAMLISTING">if (uri=~"^sip:shashwat@") {<br> exec_msg("echo 'body: call arrived'|mail -s 'call for you' shashwat");
<br>}<br><br>but when I restart server I found that even then shashwat is not getting any mail from ser server....<br>I am not able to find out the possible reason ..any idea how can make I makei it work.. It will be great help for me
<br> thanks in advance<br></pre><br>-- <br>regards<br> <br>shashwat gupta <br>