Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Dialplan apps clarification transfer & execute_extension


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
francesco.piccinin at ...
Guest





PostPosted: Wed Jan 26, 2022 12:16 pm    Post subject: [Freeswitch-users] Dialplan apps clarification transfer & Reply with quote

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@insiel.it (francesco.piccinin@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.
Back to top
avi at avimarcus.net
Guest





PostPosted: Thu Jan 27, 2022 8:52 am    Post subject: [Freeswitch-users] Dialplan apps clarification transfer & Reply with quote

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@insiel.it (francesco.piccinin@insiel.it)> wrote:

Quote:

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@insiel.it (francesco.piccinin@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@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Back to top
dujinfang at gmail.com
Guest





PostPosted: Thu Jan 27, 2022 8:20 pm    Post subject: [Freeswitch-users] Dialplan apps clarification transfer & Reply with quote

FreeSWITCH XML dialplan route by destination_number other than extension name. check the default config for examples.

On Thu, Jan 27, 2022 at 9:38 PM Avi Marcus <avi@avimarcus.net (avi@avimarcus.net)> wrote:

Quote:
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@insiel.it (francesco.piccinin@insiel.it)> wrote:

Quote:

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@insiel.it (francesco.piccinin@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@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com

_________________________________________________________________________

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@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com



--
About: http://about.me/dujinfang
Blog: http://www.dujinfang.com
Proj:  http://www.freeswitch.org.cn
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services