<div dir="ltr"><div style>First, there is no need to call both "set" and "export" on the same variable, because "export" will set the local variable as well as exporting it to the other leg, unless you do something fancy in the "export".</div>
<div style><br></div><div style>Second, we need to see the extension that is used for 12345 in default, because that may be also setting some variables.</div><div style><br></div><div style>Third, I'm new to FreeSwitch, so listen to somebody more experienced first, should they also reply. :-)</div>
<div style><br></div><div style>-- </div><div style>Steve</div><div><br></div>On Tue, Mar 26, 2013 at 10:49 AM, Erwan Hermouet <span dir="ltr"><<a href="mailto:ehermouet@bluetel.fr" target="_blank">ehermouet@bluetel.fr</a>></span> wrote:<br>
<div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="FR" link="blue" vlink="purple"><p class="MsoNormal"><u></u><br>
</p><p class="MsoNormal">I use freeswitch as voip server for other ipbx system. My freeswitch server is connected to gateway. Incoming calls works. I have extension, use as voip trunk for other server. Inbound rule redirect to this extension and it’s works, but we don’t received called number on extension (sip trunk).<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Caller ---- freeswitch ---- extension (other ipbx)<u></u><u></u></p><p class="MsoNormal">On extension we never receive original caller number, and like that on this ipbx we can’t forward inbound rules.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Here my public.xml<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New""><extension name="xx3278" continue="true"><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courier New""> <condition field="context" expression="public" /><u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none">
<span style="font-size:9.0pt;font-family:"Courier New""> <condition field="destination_number" expression="^xxx278$" ><u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none">
<span style="font-size:9.0pt;font-family:"Courier New""> <action application="set" data="dialed_ext=xxx3278"/><u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none">
<span style="font-size:9.0pt;font-family:"Courier New""> <action application="set" data="effective_callee_id_name=xxx3278" /><u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none">
<span style="font-size:9.0pt;font-family:"Courier New""> <action application="export" data="effective_callee_id_number=xxx3278" /><u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none">
<span style="font-size:9.0pt;font-family:"Courier New""> <action application="transfer" data="12345 XML default" /><u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none">
<span style="font-size:9.0pt;font-family:"Courier New""> </condition><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""></extension><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">On extension we only receive incomming call from extension 12345, which is my extension on freeswitch.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">Tks advance for your help<u></u><u></u></span></p>
<p class="MsoNormal"><br></p><p class="MsoNormal"><u></u></p></div></blockquote></div></div></div>