[OpenSIPS-Users] Function exec_msg() and exec module
Jennifer-4
jennybnkv at hotmail.com
Tue Nov 17 11:42:10 CET 2009
Thanks, now I can execute the echo command and store its result in a file.
exec_msg("echo HOLA > fich.txt")
But when I try to do something like "exec_msg("echo HOLA")", where is the
command being executed?
I can´t see the message of the echo. Do I need to do something more?
Regards,
Bogdan-Andrei Iancu wrote:
>
> you have them in modules/exec/
>
> Also, after doing "make all", you will get the exec.so lib there.
>
> By default, the "exec" modules is installed.
>
> Regards,
> Bogdan
>
> Jennifer-4 wrote:
>> I read the doc, but I think I need files like exec.h or exec.c, to load
>> the
>> module with exec.so
>>
>> Regards
>>
>>
>> Bogdan-Andrei Iancu wrote:
>>
>>> Hi,
>>>
>>> Jennifer-4 wrote:
>>>
>>>> Hi!
>>>>
>>>> I want to send a command from "opensips.cfg", so in the main route, I´m
>>>> trying to do:
>>>> exec_msg("echo HOLA");
>>>>
>>>>
>>> check the docs http://www.opensips.org/html/docs/modules/devel/exec.html
>>>
>>>> I have read that I need a module called "exec", but I don´t know where
>>>> I
>>>> can
>>>> find the files needed.
>>>>
>>>>
>>> What file are you referring at?
>>>
>>> Regards,
>>> Bogdan
>>>
>>>
>>> --
>>> Bogdan-Andrei Iancu
>>> www.voice-system.ro
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>
>>
>
>
> --
> Bogdan-Andrei Iancu
> www.voice-system.ro
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
--
View this message in context: http://n2.nabble.com/Function-exec-msg-and-exec-module-tp4012961p4017807.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
More information about the Users
mailing list