<div dir="ltr"><div style>First, there is no need to call both &quot;set&quot; and &quot;export&quot; on the same variable, because &quot;export&quot; will set the local variable as well as exporting it to the other leg, unless you do something fancy in the &quot;export&quot;.</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&#39;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">&lt;<a href="mailto:ehermouet@bluetel.fr" target="_blank">ehermouet@bluetel.fr</a>&gt;</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:&quot;Courier New&quot;">&lt;extension name=&quot;xx3278&quot; continue=&quot;true&quot;&gt;<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">   &lt;condition field=&quot;context&quot; expression=&quot;public&quot; /&gt;<u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none">
<span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">   &lt;condition field=&quot;destination_number&quot; expression=&quot;^xxx278$&quot; &gt;<u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none">
<span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">       &lt;action application=&quot;set&quot; data=&quot;dialed_ext=xxx3278&quot;/&gt;<u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none">
<span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">       &lt;action application=&quot;set&quot; data=&quot;effective_callee_id_name=xxx3278&quot; /&gt;<u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none">
<span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">       &lt;action application=&quot;export&quot; data=&quot;effective_callee_id_number=xxx3278&quot; /&gt;<u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none">
<span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">       &lt;action application=&quot;transfer&quot; data=&quot;12345 XML default&quot; /&gt;<u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none">
<span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">   &lt;/condition&gt;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&lt;/extension&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">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:&quot;Courier New&quot;"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">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>