the {} list is part of the dial string

put it after "originate"

eg
bgapi originate {foo=bar}sofia/default/foo@bar.com


On Tue, Jul 8, 2008 at 7:45 PM, Cesar Cepeda <cesar@auronix.com> wrote:
Hi,

I'm trying to dial a call using XML-RPC, I need to set some variables on the
channel before the call starts. On the XML-RPC call I'm sending:

Cmd: bgapi
Args: {<variables>}originate sofia/<profile>/<destination> <extension>

I receive a Job ID but the call doesn't starts.  If I remove the
{<variables>} section the call starts correctly.  What am I doing wrong?

Thanks.

Cesar Cepeda.


_______________________________________________
Freeswitch-dev mailing list
Freeswitch-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400