<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"><<a href="mailto:bdfoster@endigotech.com" target="_blank">bdfoster@endigotech.com</a>></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><action application="set" data="effective_caller_id_number=7777" inline="true"/><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"><<a href="mailto:koralu@gmail.com" target="_blank">koralu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><include><br>
<user id="1000"><br>
<params><br>
<param name="password" value="$${default_password}"/><br>
<param name="vm-password" value="1000"/><br>
</params><br>
<variables><br>
<variable name="toll_allow" value="domestic,international,local"/><br>
<variable name="accountcode" value="1000"/><br>
<variable name="user_context" value="default"/><br>
<variable name="effective_caller_id_name" value="Extension 1000"/><br>
<variable name="effective_caller_id_number" value="1000"/><br>
<variable name="outbound_caller_id_name"<br>
value="$${outbound_caller_name}"/><br>
<variable name="outbound_caller_id_number"<br>
value="$${outbound_caller_id}"/><br>
<variable name="callgroup" value="techsupport"/><br>
</variables><br>
</user><br>
</include><br>
<div><div><br>
<br>
On 5/15/12, Anton Kvashenkin <<a href="mailto:anton.jugatsu@gmail.com" target="_blank">anton.jugatsu@gmail.com</a>> wrote:<br>
> Show your directory config for user 1000.<br>
><br>
> 2012/5/15 Adrian Andrei <<a href="mailto:koralu@gmail.com" target="_blank">koralu@gmail.com</a>><br>
><br>
>> I think my approch is wrong. Every modification to<br>
>> effective_caller_id_number or origination_caller_id_number makes the<br>
>> same result to cisco box. It thinks that the caller number is 1001<br>
>> not 7777.<br>
>><br>
>> I'm run out of ideas.<br>
>><br>
>> On 5/15/12, Andrew Cassidy <<a href="mailto:andrew@cassidywebservices.co.uk" target="_blank">andrew@cassidywebservices.co.uk</a>> wrote:<br>
>> > try application="export" rather than application="set"<br>
>> ><br>
>> > On 15 May 2012 12:17, Adrian Andrei <<a href="mailto:koralu@gmail.com" target="_blank">koralu@gmail.com</a>> wrote:<br>
>> ><br>
>> >> Doesn't work.<br>
>> >><br>
>> >> On 5/15/12, Avi Marcus <<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>> wrote:<br>
>> >> > I always use effective_caller_id_number<br>
>> >> ><br>
>> >> > -Avi<br>
>> >> > (This message was painstakingly thumbed out on my mobile, so<br>
>> >> > apologies<br>
>> >> for<br>
>> >> > brevity and errors.)<br>
>> >> ><br>
>> >> > On May 15, 2012 1:10 PM, "Adrian Andrei" <<a href="mailto:koralu@gmail.com" target="_blank">koralu@gmail.com</a>> wrote:<br>
>> >> ><br>
>> >> > Hello,<br>
>> >> ><br>
>> >> > I have one xlite(1000), a FS and Cisco box that is registred as a<br>
>> >> > user(1001) to FS.<br>
>> >> ><br>
>> >> > When I dial ^5555$ from user/1000 I want to bridge the call to<br>
>> >> > user/1001 and change the number to 7777. My dial plan looks:<br>
>> >> ><br>
>> >> > <extension name="test"><br>
>> >> > <condition field="destination_number" expression="^5555$"><br>
>> >> > <action application="set"<br>
>> >> > data="origination_caller_id_number=7777"/><br>
>> >> > <action application="bridge" data="user/1001"/><br>
>> >> > </condition><br>
>> >> > </extension><br>
>> >> ><br>
>> >> > After the call is made, the cisco sees that the origination number =<br>
>> >> > 1000 instead of 7777 and I think is fair because the sip call is<br>
>> >> > 1000@ip_cisco:5060.<br>
>> >> ><br>
>> >> > But I want the cisco box to see 7777. Is any solution to make this<br>
>> >> > setup?<br>
>> >> ><br>
>> >> > Ty<br>
>> >> ><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:<br>
>> <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>
>> _________________________________________________________________________<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:<br>
>> <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>
>> ><br>
>> > --<br>
>> > *Andrew Cassidy BSc (Hons) MBCS SSCA*<br>
>> > Managing Director<br>
>> ><br>
>> ><br>
>> > *T <<a href="mailto:info@cassidywebservices.co.uk" target="_blank">info@cassidywebservices.co.uk</a>> *03300 100 960<br>
>> > *F<<a href="mailto:info@cassidywebservices.co.uk" target="_blank">info@cassidywebservices.co.uk</a>><br>
>> > *03300 100 961<br>
>> > *E <<a href="mailto:info@cassidywebservices.co.uk" target="_blank">info@cassidywebservices.co.uk</a>> *<a href="mailto:andrew@cassidywebservices.co.uk" target="_blank">andrew@cassidywebservices.co.uk</a><br>
>> > *W <<a href="mailto:info@cassidywebservices.co.uk" target="_blank">info@cassidywebservices.co.uk</a>> *<a href="http://www.cassidywebservices.co.uk" target="_blank">www.cassidywebservices.co.uk</a><br>
>> ><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>
>><br>
><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 "To:", "CC:", and/or "BCC:" 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>