[Freeswitch-users] Export variables from originate command

Anthony Minessale anthony.minessale at gmail.com
Thu Jan 8 06:14:32 PST 2009


put them in {} comma separated.


{foo=bar,test=true}sofia/default/user at dom.com

if you are doing forked dial you can set them per leg with []

[var1=foo]sofia/default/user at dom.com,[var1=bar]sofia/default/user2 at dom.com




On Thu, Jan 8, 2009 at 12:50 AM, Kristian Kielhofner <
kristian.kielhofner at gmail.com> wrote:

> Hello everyone,
>
>  I'd like to give some variables to the originate command that pass
> (export) to the application I am calling.
>
>  So, if I am calling the transfer app (from originate) to go back
> into the dialplan I'd like to use the variables in the dialplan that
> were passed to my original originate command (via the transfer
> application).  Clear as mud, right? ;)
>
>  Is this possible?
>
> Thanks!
>
> --
> Kristian Kielhofner
> http://blog.krisk.org
> http://www.submityoursip.com
> http://www.astlinux.org
> http://www.star2star.com
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> 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>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090108/84afc1c3/attachment-0002.html 


More information about the FreeSWITCH-users mailing list