the {} list is part of the dial string

put it after "originate"

eg
bgapi originate {foo=bar}sofia/default/[EMAIL PROTECTED]


On Tue, Jul 8, 2008 at 7:45 PM, Cesar Cepeda <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
GTALK/JABBER/PAYPAL:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
iax:[EMAIL PROTECTED]/888
googletalk:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
pstn:213-799-1400
_______________________________________________
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

Reply via email to