[Freeswitch-users] need help on variable and param

Michael Collins msc at freeswitch.org
Fri Apr 9 10:18:54 PDT 2010


2010/4/9 false <cucku.cucku at yahoo.com.vn>

> Hi all
>
> i am confuse the param and variable in freeswitch, sometimes param is used
> for gateway, sometime variable is used for users
>

Remember that variables in this case are "channel variables" and are almost
always associated with a specific phone call. These variables for a user are
set whenever that user makes a phone call.

Parameters a generally used for configuration purposes. The "dial-string"
parameter is related to the user channel, so when you do something like:
originate user/1001 &park()

It will use the dial-string parameter to turn "user/1001" into a proper
dialstring. If it makes your brain hurt then don't worry about it. :)

Parameters are used in lots of configurations. The most obvious examples are
in the SIP profiles and gateways. Are you working on something specific
where the differences between params and variables are causing you trouble?

-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100409/6f418972/attachment-0001.html 


More information about the FreeSWITCH-users mailing list