[Freeswitch-users] Executing multiple commands on the fs_cli or using mod XMLRPC
Pete Kelly
pkelly at gmail.com
Fri Nov 26 07:09:33 PST 2010
HI
I have an application which automatically calls a user on his request.
At the moment I am using the originate command to create these calls
using the XMLRPC interface into freeswitch.
The command I am effectively running is:
originate sofia/external/2000 at voip.example.com 2000
However the command does not return until the call is picked up or the
command times out, so I can not make more than one simultaneous
outbound call.
I found the same when I use mod xmlrpc, it seems to queue the requests
and waits for the first one to finish before executing the second.
Is there a way using mod XMLRPC I can tell these commands to run immediately?
I have the only way I seem to be able to create the calls
simultaneously is to use the fs_cli command:
/usr/local/freeswitch/bin/fs_cli --execute
"sofia/external/2000 at voip.example.com 2000"
Pete
More information about the FreeSWITCH-users
mailing list