I have followed this link and used

exec_msg("./test.sh '$$SIP_OUSER'");

Opensips is running, but i doubt whether it is the correct way to use it.
>From log file, i can see DBG:exec:w_exec_msg: executing [./test.sh
'$SIP_OUSER']

But, script action is not done.

My intention is to execute test.sh script and send Username has input to
test.sh.

How to use it using exec commands ?

Please help.

Thanks,
Prem


On Tue, Jul 6, 2010 at 12:02 PM, mayamatakeshi <[email protected]>wrote:

>
>
> On Tue, Jul 6, 2010 at 3:29 PM, Premalatha Kuppan <[email protected]
> > wrote:
>
>> Thanks.
>>
>> Can i call shell script from opensips.cfg ?
>>
>> Iam getting error, "parse error in config file,"
>>
>> Any idea ?
>>
>
> http://www.opensips.org/html/docs/modules/1.6.x/exec.html#id226438
>
>
>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to