<div dir="ltr">FreeSWITCH XML dialplan route by destination_number other than extension name. check the default config for examples.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 27, 2022 at 9:38 PM Avi Marcus <<a href="mailto:avi@avimarcus.net">avi@avimarcus.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I thought that was only if auto_hunt was turned on<br><a href="https://freeswitch.org/confluence/display/FREESWITCH/XML+Dialplan" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/XML+Dialplan</a><div><br></div><div><br></div><div><br clear="all"><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr">-Avi Marcus<br><br></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 26, 2022 at 6:39 PM Piccinin Francesco <<a href="mailto:francesco.piccinin@insiel.it" target="_blank">francesco.piccinin@insiel.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="IT">
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.5pt;color:rgb(29,28,29)">Hi guys,<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.5pt;color:rgb(29,28,29)">I really  don't understand well mod_dptools: transfer.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.5pt;color:rgb(29,28,29)"><u></u> <u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.5pt;color:rgb(29,28,29)">In the documentation I read:<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.5pt;color:rgb(29,28,29)"><u></u> <u></u></span></p>
<p class="MsoNormal" style="background:white"><i><span style="font-size:11.5pt;color:rgb(29,28,29)">"Immediately transfer the calling channel to a new context. If there happens to be an xml extension named <destination_number> then control
 is "warped" directly to that extension.  Otherwise it goes through the entire context checking for a match."<u></u><u></u></span></i></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.5pt;color:rgb(29,28,29)"><u></u> <u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.5pt;color:rgb(29,28,29)">I have this instruction in my dialplan:<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.5pt;font-family:Arial,sans-serif;color:rgb(29,28,29)"><u></u> <u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9pt;font-family:"Courier New";color:rgb(224,30,90)"><action application="transfer" data="extension_C XML calls"/><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9pt;font-family:"Courier New";color:rgb(224,30,90)"><u></u> <u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.5pt;color:rgb(29,28,29)">and a dialplan file like this:</span><span style="font-size:11.5pt;color:rgb(29,28,29)"><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.5pt;color:rgb(29,28,29)"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:3pt;margin-left:0cm">
<span style="font-size:9pt;font-family:"Courier New";color:rgb(29,28,29)"><include><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:3pt;margin-left:0cm">
<span style="font-size:9pt;font-family:"Courier New";color:rgb(29,28,29)"><context name="calls"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:3pt;margin-left:0cm">
<span style="font-size:9pt;font-family:"Courier New";color:rgb(29,28,29)">       <extension name="test_1" continue="true"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:3pt;margin-left:0cm">
<span style="font-size:9pt;font-family:"Courier New";color:rgb(29,28,29)">            <condition><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:3pt;margin-left:0cm">
<span style="font-size:9pt;font-family:"Courier New";color:rgb(29,28,29)">                  <action application="log" data="ERR ****** i'm in Test1"/><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:3pt;margin-left:0cm">
<span style="font-size:9pt;font-family:"Courier New";color:rgb(29,28,29)">            </condition>
<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:3pt;margin-left:0cm">
<span style="font-size:9pt;font-family:"Courier New";color:rgb(29,28,29)">       </extension><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:3pt;margin-left:0cm">
<span style="font-size:9pt;font-family:"Courier New";color:rgb(29,28,29)">       <extension name="test_2" continue="true"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:3pt;margin-left:0cm">
<span style="font-size:9pt;font-family:"Courier New";color:rgb(29,28,29)">            <condition><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:3pt;margin-left:0cm">
<span style="font-size:9pt;font-family:"Courier New";color:rgb(29,28,29)">                  <action application="log" data="ERR ****** i'm in Test2"/><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:3pt;margin-left:0cm">
<span style="font-size:9pt;font-family:"Courier New";color:rgb(29,28,29)">            </condition>
<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:3pt;margin-left:0cm">
<span style="font-size:9pt;font-family:"Courier New";color:rgb(29,28,29)">       </extension><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:3pt;margin-left:0cm">
<span style="font-size:9pt;font-family:"Courier New";color:rgb(29,28,29)">       <extension name="extension_C"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:3pt;margin-left:0cm">
<span style="font-size:9pt;font-family:"Courier New";color:rgb(29,28,29)">            <condition><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:3pt;margin-left:0cm">
<span style="font-size:9pt;font-family:"Courier New";color:rgb(29,28,29)">                  <action application="log" data="ERR ****** i'm in extension_C"/><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:3pt;margin-left:0cm">
<span style="font-size:9pt;font-family:"Courier New";color:rgb(29,28,29)">            </condition>
<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:3pt;margin-left:0cm">
<span style="font-size:9pt;font-family:"Courier New";color:rgb(29,28,29)">       </extension><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:3pt;margin-left:0cm">
<span style="font-size:9pt;font-family:"Courier New";color:rgb(29,28,29)"></context><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:3pt;margin-left:0cm">
<span style="font-size:9pt;font-family:"Courier New";color:rgb(29,28,29)"></include><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:3pt;margin-left:0cm">
<span style="font-size:9pt;font-family:"Courier New";color:rgb(29,28,29)"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-bottom:12pt;background:white"><span style="font-size:11.5pt;color:rgb(29,28,29)">isn't Freeswitch supposed to go stright to "extension_C"?</span><span style="font-size:11.5pt;color:rgb(29,28,29)"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:12pt;background:white"><span style="font-size:11.5pt;color:rgb(29,28,29)">in logs I can see that it executes all the extensions as they appears in the calls context.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.5pt;color:rgb(29,28,29)">Maybe is there anything I’m missing?<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.5pt;color:rgb(29,28,29)"><u></u> <u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.5pt;color:rgb(29,28,29)">Thanks<u></u><u></u></span></p>
<p class="MsoNormal">Regards<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b><span style="font-size:12pt;color:black">Francesco Piccinin</span></b><span style="color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black">Telecomunicazioni<br>
Infrastrutture</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black"><br>
Insiel S.p.A. </span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black">via San Francesco d'Assisi, 43</span><span style="color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:black">34133 - Trieste (TS) Italia</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:black">tel +39 040 3737752</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:black">mob +39 335 1329440</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><a href="mailto:francesco.piccinin@insiel.it" target="_blank"><span lang="EN-GB" style="font-size:11pt;font-family:Calibri,sans-serif;color:blue">francesco.piccinin@insiel.it</span></a></span><span lang="EN-GB" style="color:black"> </span><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif;color:black"><a href="http://www.insiel.it" target="_blank"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:blue">www.insiel.it</span></a> <u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<br>
AVVISO DI RISERVATEZZA Informazioni riservate possono essere contenute nel messaggio o nei suoi allegati. Se non siete i destinatari indicati nel messaggio, o responsabili per la sua consegna alla persona, o se avete ricevuto il messaggio per errore, siete
 pregati di non trascriverlo, copiarlo o inviarlo ad alcuno. In tal caso vi invitiamo a cancellare il messaggio ed i suoi allegati. Grazie.
<br>
CONFIDENTIALITY NOTICE Confidential information may be contained in this message or in its attachments. If you are not the addressee indicated in this message, or responsible for message delivering to that person, or if you have received this message in error,
 you may not transcribe, copy or deliver this message to anyone. In that case, you should delete this message and its attachments. Thank you.
</div>

_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">About: <a href="http://about.me/dujinfang" target="_blank">http://about.me/dujinfang</a><br>Blog: <a href="http://www.dujinfang.com" target="_blank">http://www.dujinfang.com</a><br>Proj:  <a href="http://www.freeswitch.org.cn" target="_blank">http://www.freeswitch.org.cn</a></div>