[Freeswitch-users] Dialplan apps clarification transfer & execute_extension

Avi Marcus avi at avimarcus.net
Thu Jan 27 13:30:46 UTC 2022


I thought that was only if auto_hunt was turned on
https://freeswitch.org/confluence/display/FREESWITCH/XML+Dialplan



-Avi Marcus



On Wed, Jan 26, 2022 at 6:39 PM Piccinin Francesco <
francesco.piccinin at insiel.it> wrote:

> Hi guys,
>
> I really  don't understand well mod_dptools: transfer.
>
>
>
> In the documentation I read:
>
>
>
> *"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."*
>
>
>
> I have this instruction in my dialplan:
>
>
>
> <action application="transfer" data="extension_C XML calls"/>
>
>
>
> and a dialplan file like this:
>
>
>
> <include>
>
> <context name="calls">
>
>        <extension name="test_1" continue="true">
>
>             <condition>
>
>                   <action application="log" data="ERR ****** i'm in
> Test1"/>
>
>             </condition>
>
>        </extension>
>
>        <extension name="test_2" continue="true">
>
>             <condition>
>
>                   <action application="log" data="ERR ****** i'm in
> Test2"/>
>
>             </condition>
>
>        </extension>
>
>        <extension name="extension_C">
>
>             <condition>
>
>                   <action application="log" data="ERR ****** i'm in
> extension_C"/>
>
>             </condition>
>
>        </extension>
>
> </context>
>
> </include>
>
>
>
> isn't Freeswitch supposed to go stright to "extension_C"?
>
> in logs I can see that it executes all the extensions as they appears in
> the calls context.
>
> Maybe is there anything I’m missing?
>
>
>
> Thanks
>
> Regards
>
>
>
>
>
> *Francesco Piccinin*
>
> Telecomunicazioni
> Infrastrutture
>
>
> Insiel S.p.A.
>
> via San Francesco d'Assisi, 43
>
> 34133 - Trieste (TS) Italia
>
> tel +39 040 3737752
>
> mob +39 335 1329440
>
> francesco.piccinin at insiel.it
>
> www.insiel.it
>
>
>
> 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.
> 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.
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20220127/807a8133/attachment-0001.html>


More information about the FreeSWITCH-users mailing list