How to find an extension in public.xml ?
I have an offsite phone in ( as described in http://wiki.freeswitch.org/wiki/Example_Offsite_phones): //freeswitch/conf/dialplan/public.xml: ============================= <extension name="remote_extension_2014"> <condition field="destination_number" expression="^2014$"> <action application="bridge" data="sofia/doublenat/$1%$${domain}"/> </condition> </extension> When I dial 2014, FS looks through the whole file in ../dialplan/default.xml, but can't find it there (because it's not definded in default.xml) (http://pastebin.freeswitch.org/6062) Q: How can I force FS to look in ../dialplan/public.xml if it can't find an entry in default.xml ? Henk -- View this message in context: http://www.nabble.com/How-to-find-an-extension-in-public.xml---tp20418918p20... Sent from the Freeswitch-users mailing list archive at Nabble.com.
Brian West-3 wrote:
You could transfer to public at the end of default.xml
/b
How do I do that ? ___________________ 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
-- View this message in context: http://www.nabble.com/How-to-find-an-extension-in-public.xml---tp20418918p20... Sent from the Freeswitch-users mailing list archive at Nabble.com.
Brian West-3 wrote:
You would use the transfer app.
/b
Just something like: <action application="transfer" data= "$1 public.xml"/> (??) at the end of the file default.xml ? -- View this message in context: http://www.nabble.com/How-to-find-an-extension-in-public.xml---tp20418918p20... Sent from the Freeswitch-users mailing list archive at Nabble.com.
<action application="transfer" data="$1 XML public"/> As per the wiki page http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_transfer /b On Nov 10, 2008, at 10:10 AM, henkoegema wrote:
Just something like: <action application="transfer" data= "$1 public.xml"/> (??) at the end of the file default.xml ?
Brian West-3 wrote:
<action application="transfer" data="$1 XML public"/>
As per the wiki page
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_transfer
This helps. :clap: -- View this message in context: http://www.nabble.com/How-to-find-an-extension-in-public.xml---tp20418918p20... Sent from the Freeswitch-users mailing list archive at Nabble.com.
participants (2)
-
Brian West
-
henkoegema