[Freeswitch-users] pass variable from dialplan to bridge
dunchan
dunchan at freemail.hu
Sun Mar 20 10:57:57 MSK 2011
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
More information about the FreeSWITCH-users
mailing list