[Freeswitch-dev] Setting channel variables in originate with XML-RPC

Anthony Minessale anthony.minessale at gmail.com
Tue Jul 8 20:55:56 EDT 2008

the {} list is part of the dial string

put it after "originate"

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

On Tue, Jul 8, 2008 at 7:45 PM, Cesar Cepeda <cesar at 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 at 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 at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20080708/beac050b/attachment.html 

More information about the Freeswitch-dev mailing list