20 Mar
2011
20 Mar
'11
7:57 a.m.
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