Hi, Try export instead of set. http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_export On Sun, Mar 20, 2011 at 1:27 PM, dunchan <dunchan@freemail.hu> wrote:
Hi!
I have a simple question, how can i pass a varible from dialplan to the bridge? I want to fill the 'from-user' field depends on sip user settings.
I've tryed the following in dialplan: ... some conditions ... <action application="set" data="from-user=${outbound_caller_id_number}"/> <action application="bridge" data="sofia/gateway/upc/$1"/>
in a gateway xml i tryed: <gateway name="upc"> <param name="username" value="..."/> <param name="password" value="..."/> <param name="proxy" value="..."/> <param name="register" value="false"/> <param name="from-user" value="${from-user}"/> </gateway>
Above config ha no effect :( any suggestions?
thx, Viktor
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org