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 

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.