[OpenSIPS-Users] Send simultaneous commands with exec module
jennybnkv at hotmail.com
Sun Jan 3 13:13:26 CET 2010
Hi everybody and Happy New Year!!
I´m working with Opensips 1.4.
I need to send two commands simultaneously from Opensips, specifically I
want to send two flows with ITG.
If I write two sentences with exec_avp or exec_dset, the commands are sent
in order, not simultaneously.
So I´m trying to send the commands in the same exec sentence and launching
the first command in background:
exec_dset("ssh -l root 192.168.0.56 ./D-ITG-2.6.1d/bin/ITGSend -a
192.168.4.38 -rp 12003 -t 16000 -x
lograror VoIP -x G.729.2 -h RTP < /dev/null & ssh -l root 192.168.0.38
./D-ITG-2.6.1d/bin/ITGSend -a 192.168.2.56 -rp 11003 -t 16000 -x lograror2
VoIP -x G.729.2 -h RTP");
But with this sentence, only the first command is executed, and the second
Can anybody help me?
View this message in context: http://n2.nabble.com/Send-simultaneous-commands-with-exec-module-tp4245756p4245756.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
More information about the Users