<div dir="ltr">That doesn&#39;t sound right.<div>I&#39;m not sure exactly what you are trying to do, but I&#39;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; "> &lt;param name=&quot;caller-id-in-from&quot; value=&quot;true&quot;/&gt;</span><br>

<meta http-equiv="content-type" content="text/html; charset=utf-8">in the gateway, and then &quot;set&quot; &quot;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>&quot;</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">&lt;<a href="mailto:grsingh750@gmail.com">grsingh750@gmail.com</a>&gt;</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 &lt;<a href="mailto:dunchan@freemail.hu">dunchan@freemail.hu</a>&gt; wrote:<br>
&gt; Hi!<br>
&gt;<br>
&gt; I have a simple question, how can i pass a varible from dialplan to the<br>
&gt; bridge?<br>
&gt; I want to fill the &#39;from-user&#39; field depends on sip user settings.<br>
&gt;<br>
&gt; I&#39;ve tryed the following in dialplan:<br>
&gt; ...<br>
&gt; some conditions<br>
&gt; ...<br>
&gt; &lt;action application=&quot;set&quot; data=&quot;from-user=${outbound_caller_id_number}&quot;/&gt;<br>
&gt; &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/upc/$1&quot;/&gt;<br>
&gt;<br>
&gt; in a gateway xml i tryed:<br>
&gt; &lt;gateway name=&quot;upc&quot;&gt;<br>
&gt;         &lt;param name=&quot;username&quot; value=&quot;...&quot;/&gt;<br>
&gt;         &lt;param name=&quot;password&quot; value=&quot;...&quot;/&gt;<br>
&gt;         &lt;param name=&quot;proxy&quot; value=&quot;...&quot;/&gt;<br>
&gt;         &lt;param name=&quot;register&quot; value=&quot;false&quot;/&gt;<br>
&gt;         &lt;param name=&quot;from-user&quot; value=&quot;${from-user}&quot;/&gt;<br>
&gt;     &lt;/gateway&gt;<br>
&gt;<br>
&gt; Above config ha no effect :(<br>
&gt; any suggestions?<br>
&gt;<br>
&gt; thx,<br>
&gt; Viktor<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<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>