Also check out http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_execute_extension. You would want to use it with the auto-hunt feature to skip extra pattern matching.
-Robert
From: Avi Marcus [mailto:avi@avimarcus.net]
Sent: Wednesday, May 25, 2011 6:27 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] transfer to extension without pattern matching
That sounds like it's describing http://wiki.freeswitch.org/wiki/Variable_auto_hunt
You need to turn that on. I'm not aware that even transfer does that automatically, so afaik, it is indeed wrong - but is a feature that FreeSWITCH possesses if you turn it on.
-Avi
On Wed, May 25, 2011 at 4:19 PM, Adam Kelloway <adam.kelloway@newpace.ca> wrote:
Hi there,
The wiki page describing transfer
(http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_transfer) states
the following:
"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."
Is this a correct statement? It seems that even when I try to transfer
control directly to an extension, the entire context is still checked
for a match.
I am using the following:
..
<application="transfer" data="test XML default"/>
..
<extension name="test">
<condition field="destination_number" expression="^test$">
...
</condition>
</extension>
Is there a way to disable the pattern matching/dial plan processing?
Thanks,
Adam
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org