<br><div class="gmail_quote">On Tue, Jul 6, 2010 at 7:43 PM, Premalatha Kuppan <span dir="ltr"><<a href="mailto:premalatha@ngintech.com">premalatha@ngintech.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I have followed this link and used <br><br>exec_msg("./test.sh '$$SIP_OUSER'");<br><br>Opensips is running, but i doubt whether it is the correct way to use it.<br>From log file, i can see DBG:exec:w_exec_msg: executing [./test.sh '$SIP_OUSER']<br>
<br>But, script action is not done.<br><br>My intention is to execute test.sh script and send Username has input to test.sh.<br><br>How to use it using exec commands ?<br></blockquote></div><br>I have never used module exec myself. I know about it because I read the opensips docs a lot.<br>
<br>Try the sample commands. It they work, yours should too.<br><br>Then experiment passing the full path to the script instead of a relative path.<br><br>Keep trying, you will get there.<br>