[Freeswitch-users] How to use variables in console/event socket
Anthony Minessale
anthony.minessale at gmail.com
Tue Apr 21 07:59:15 PDT 2009
if you update to r13101 or better you can use the new expand function to do
it
expand originate sofia/internal/1001%${domain} 9999
On Tue, Apr 21, 2009 at 8:27 AM, Brian West <brian at freeswitch.org> wrote:
> Variables aren't expanded on the command line. You'll have to put exactly
> what you want in.
> /b
>
> On Apr 21, 2009, at 3:48 AM, Szymon Olko wrote:
>
> Substitution of $ sign is not understood for me. Is it possible to use
> variables in that channels?
> Variable is defined:
>
> freeswitch at vertux> global_getvar domain
> API CALL [global_getvar(domain)] output:
> 192.168.77.248
>
>
> Brian West
> brian at freeswitch.org
>
> -- Meet us at ClueCon! http://www.cluecon.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/20090421/5945597f/attachment-0002.html
More information about the FreeSWITCH-users
mailing list