<div dir="ltr">A set that is purely used as a bridge variable never needs to be inline, because bridges are never inline.<div><br clear="all"><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif"><span style="font-size:small">-Avi</span></span></div>


<br><br><div class="gmail_quote">On Tue, May 15, 2012 at 6:34 PM, Brian Foster <span dir="ltr">&lt;<a href="mailto:bdfoster@endigotech.com" target="_blank">bdfoster@endigotech.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

couple of things,<br><br>1. effective_caller_id_* is already automatically exported to the next leg.<br>2. you need to be executing the change to the cid inline:<br>&lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=7777&quot; inline=&quot;true&quot;/&gt;<br>


3. if that doesnt work please submit a debug level log and a siptrace<br><a href="http://pastebin.freeswitch.org" target="_blank">http://pastebin.freeswitch.org</a><br><br>-BDF<div class="HOEnZb"><div class="h5"><br><br>

<div class="gmail_quote">On Tue, May 15, 2012 at 9:56 AM, Adrian Andrei <span dir="ltr">&lt;<a href="mailto:koralu@gmail.com" target="_blank">koralu@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">&lt;include&gt;<br>
  &lt;user id=&quot;1000&quot;&gt;<br>
    &lt;params&gt;<br>
      &lt;param name=&quot;password&quot; value=&quot;$${default_password}&quot;/&gt;<br>
      &lt;param name=&quot;vm-password&quot; value=&quot;1000&quot;/&gt;<br>
    &lt;/params&gt;<br>
    &lt;variables&gt;<br>
      &lt;variable name=&quot;toll_allow&quot; value=&quot;domestic,international,local&quot;/&gt;<br>
      &lt;variable name=&quot;accountcode&quot; value=&quot;1000&quot;/&gt;<br>
      &lt;variable name=&quot;user_context&quot; value=&quot;default&quot;/&gt;<br>
      &lt;variable name=&quot;effective_caller_id_name&quot; value=&quot;Extension 1000&quot;/&gt;<br>
      &lt;variable name=&quot;effective_caller_id_number&quot; value=&quot;1000&quot;/&gt;<br>
      &lt;variable name=&quot;outbound_caller_id_name&quot;<br>
value=&quot;$${outbound_caller_name}&quot;/&gt;<br>
      &lt;variable name=&quot;outbound_caller_id_number&quot;<br>
value=&quot;$${outbound_caller_id}&quot;/&gt;<br>
      &lt;variable name=&quot;callgroup&quot; value=&quot;techsupport&quot;/&gt;<br>
    &lt;/variables&gt;<br>
  &lt;/user&gt;<br>
&lt;/include&gt;<br>
<div><div><br>
<br>
On 5/15/12, Anton Kvashenkin &lt;<a href="mailto:anton.jugatsu@gmail.com" target="_blank">anton.jugatsu@gmail.com</a>&gt; wrote:<br>
&gt; Show your directory config for user 1000.<br>
&gt;<br>
&gt; 2012/5/15 Adrian Andrei &lt;<a href="mailto:koralu@gmail.com" target="_blank">koralu@gmail.com</a>&gt;<br>
&gt;<br>
&gt;&gt; I think my approch is wrong. Every modification to<br>
&gt;&gt; effective_caller_id_number or origination_caller_id_number makes the<br>
&gt;&gt; same result to cisco box.  It thinks that the caller number is 1001<br>
&gt;&gt; not 7777.<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m run out of ideas.<br>
&gt;&gt;<br>
&gt;&gt; On 5/15/12, Andrew Cassidy &lt;<a href="mailto:andrew@cassidywebservices.co.uk" target="_blank">andrew@cassidywebservices.co.uk</a>&gt; wrote:<br>
&gt;&gt; &gt; try application=&quot;export&quot; rather than application=&quot;set&quot;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On 15 May 2012 12:17, Adrian Andrei &lt;<a href="mailto:koralu@gmail.com" target="_blank">koralu@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; Doesn&#39;t work.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On 5/15/12, Avi Marcus &lt;<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt; I always use effective_caller_id_number<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; -Avi<br>
&gt;&gt; &gt;&gt; &gt; (This message was painstakingly thumbed out on my mobile, so<br>
&gt;&gt; &gt;&gt; &gt; apologies<br>
&gt;&gt; &gt;&gt; for<br>
&gt;&gt; &gt;&gt; &gt; brevity and errors.)<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; On May 15, 2012 1:10 PM, &quot;Adrian Andrei&quot; &lt;<a href="mailto:koralu@gmail.com" target="_blank">koralu@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Hello,<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; I have one xlite(1000), a FS and Cisco box that is registred as a<br>
&gt;&gt; &gt;&gt; &gt; user(1001) to FS.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; When I dial ^5555$ from user/1000  I want to bridge the call to<br>
&gt;&gt; &gt;&gt; &gt; user/1001 and change the number to 7777. My dial plan looks:<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;    &lt;extension name=&quot;test&quot;&gt;<br>
&gt;&gt; &gt;&gt; &gt;      &lt;condition field=&quot;destination_number&quot; expression=&quot;^5555$&quot;&gt;<br>
&gt;&gt; &gt;&gt; &gt;      &lt;action application=&quot;set&quot;<br>
&gt;&gt; &gt;&gt; &gt; data=&quot;origination_caller_id_number=7777&quot;/&gt;<br>
&gt;&gt; &gt;&gt; &gt;      &lt;action application=&quot;bridge&quot; data=&quot;user/1001&quot;/&gt;<br>
&gt;&gt; &gt;&gt; &gt;      &lt;/condition&gt;<br>
&gt;&gt; &gt;&gt; &gt;    &lt;/extension&gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; After the call is made, the cisco sees that the origination number =<br>
&gt;&gt; &gt;&gt; &gt; 1000 instead of 7777 and I think is fair because the sip call is<br>
&gt;&gt; &gt;&gt; &gt; 1000@ip_cisco:5060.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; But I want the cisco box to see 7777. Is any solution to make this<br>
&gt;&gt; &gt;&gt; &gt; setup?<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Ty<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; _________________________________________________________________________<br>
&gt;&gt; &gt;&gt; &gt; Professional FreeSWITCH Consulting Services:<br>
&gt;&gt; &gt;&gt; &gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
&gt;&gt; &gt;&gt; &gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt;&gt; &gt;&gt; &gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Official FreeSWITCH Sites<br>
&gt;&gt; &gt;&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt; &gt;&gt; &gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt;&gt; &gt;&gt; &gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; FreeSWITCH-users mailing list<br>
&gt;&gt; &gt;&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; &gt;&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; &gt;&gt; &gt; UNSUBSCRIBE:<br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; &gt;&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; _________________________________________________________________________<br>
&gt;&gt; &gt;&gt; Professional FreeSWITCH Consulting Services:<br>
&gt;&gt; &gt;&gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
&gt;&gt; &gt;&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt;&gt; &gt;&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Official FreeSWITCH Sites<br>
&gt;&gt; &gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt; &gt;&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt;&gt; &gt;&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; &gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; &gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; &gt;&gt; UNSUBSCRIBE:<br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; &gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; --<br>
&gt;&gt; &gt; *Andrew Cassidy BSc (Hons) MBCS SSCA*<br>
&gt;&gt; &gt; Managing Director<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; *T &lt;<a href="mailto:info@cassidywebservices.co.uk" target="_blank">info@cassidywebservices.co.uk</a>&gt; *03300 100 960<br>
&gt;&gt; &gt; *F&lt;<a href="mailto:info@cassidywebservices.co.uk" target="_blank">info@cassidywebservices.co.uk</a>&gt;<br>
&gt;&gt; &gt;  *03300 100 961<br>
&gt;&gt; &gt; *E &lt;<a href="mailto:info@cassidywebservices.co.uk" target="_blank">info@cassidywebservices.co.uk</a>&gt; *<a href="mailto:andrew@cassidywebservices.co.uk" target="_blank">andrew@cassidywebservices.co.uk</a><br>


&gt;&gt; &gt; *W &lt;<a href="mailto:info@cassidywebservices.co.uk" target="_blank">info@cassidywebservices.co.uk</a>&gt; *<a href="http://www.cassidywebservices.co.uk" target="_blank">www.cassidywebservices.co.uk</a><br>


&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; _________________________________________________________________________<br>
&gt;&gt; Professional FreeSWITCH Consulting Services:<br>
&gt;&gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
&gt;&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;&gt;<br>
&gt;&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt;&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;&gt;<br>
&gt;&gt; Official FreeSWITCH Sites<br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt;&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;&gt;<br>
&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&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;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;<br>
&gt;<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</div></div></blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br>Brian D. Foster<br>Endigo Computer LLC<br>Email: <a href="mailto:bdfoster@endigotech.com" target="_blank">bdfoster@endigotech.com</a><br>

Phone: <a href="tel:317-800-7876" value="+13178007876" target="_blank">317-800-7876</a><br>
Indianapolis, Indiana, USA<br><br>This message contains confidential information and is intended for those listed in the &quot;To:&quot;, &quot;CC:&quot;, and/or &quot;BCC:&quot; fields of the message header. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.<br>


<br>
</font></span><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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></blockquote></div><br></div></div>