<div dir="ltr">That doesn't sound right.<div>I'm not sure exactly what you are trying to do, but I'm guessing you want the caller ID of this user in the FROM?</div><div>So simply set <span class="Apple-style-span" style="font-family: monospace; font-size: 10px; line-height: 11px; white-space: pre; "> <param name="caller-id-in-from" value="true"/></span><br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">in the gateway, and then "set" "effective_caller_id=<meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">${outbound_caller_id_number}</span>"</div>
<div><br></div><div>-Avi</div><div><br></div><div><div class="gmail_quote">On Sun, Mar 20, 2011 at 10:56 PM, guru singh <span dir="ltr"><<a href="mailto:grsingh750@gmail.com">grsingh750@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
Try export instead of set.<br>
<a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_export" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_export</a><br>
<br>
<br>
On Sun, Mar 20, 2011 at 1:27 PM, dunchan <<a href="mailto:dunchan@freemail.hu">dunchan@freemail.hu</a>> wrote:<br>
> Hi!<br>
><br>
> I have a simple question, how can i pass a varible from dialplan to the<br>
> bridge?<br>
> I want to fill the 'from-user' field depends on sip user settings.<br>
><br>
> I've tryed the following in dialplan:<br>
> ...<br>
> some conditions<br>
> ...<br>
> <action application="set" data="from-user=${outbound_caller_id_number}"/><br>
> <action application="bridge" data="sofia/gateway/upc/$1"/><br>
><br>
> in a gateway xml i tryed:<br>
> <gateway name="upc"><br>
> <param name="username" value="..."/><br>
> <param name="password" value="..."/><br>
> <param name="proxy" value="..."/><br>
> <param name="register" value="false"/><br>
> <param name="from-user" value="${from-user}"/><br>
> </gateway><br>
><br>
> Above config ha no effect :(<br>
> any suggestions?<br>
><br>
> thx,<br>
> Viktor<br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div></div>