according to the wiki <http://wiki.freeswitch.org/wiki/Dialplan_XML#Context>the context name can be "any" in which case it would match any context. I tested it with context name="any" and it Doesn't seem to match so I wonder if this documentation is wrong or it's supposed to work. if someone can confirm to me that it's supposed to work that way I will file a Jira. Thanks
I believe that is incorrect. You can set the context in sofia to "_domain_" which will set the context dynamically to the value of the host in the From: header. On Mon, Apr 2, 2012 at 3:34 PM, Abaci <abaci64@gmail.com> wrote:
according to the wiki the context name can be "any" in which case it would match any context. I tested it with context name="any" and it Doesn't seem to match so I wonder if this documentation is wrong or it's supposed to work. if someone can confirm to me that it's supposed to work that way I will file a Jira. Thanks
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
On Mon, Apr 2, 2012 at 2:11 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
I believe that is incorrect.
You can set the context in sofia to "_domain_" which will set the context dynamically to the value of the host in the From: header.
Yeah, I can't find any reference anywhere in the code base to "context" ever being equal to "any". I specifically checked mod_dialplan_xml.c and the only place in the code that uses the word "any" is in reference to the "regex" tag. Abaci, please feel free to expunge that information from the wiki. If you can test what Anthony mentioned and confirm that it works then that would be a handy item to add to the wiki. Thanks, MC
Will do. On 4/2/2012 5:25 PM, Michael Collins wrote:
On Mon, Apr 2, 2012 at 2:11 PM, Anthony Minessale <anthony.minessale@gmail.com <mailto:anthony.minessale@gmail.com>> wrote:
I believe that is incorrect.
You can set the context in sofia to "_domain_" which will set the context dynamically to the value of the host in the From: header.
Yeah, I can't find any reference anywhere in the code base to "context" ever being equal to "any". I specifically checked mod_dialplan_xml.c and the only place in the code that uses the word "any" is in reference to the "regex" tag. Abaci, please feel free to expunge that information from the wiki. If you can test what Anthony mentioned and confirm that it works then that would be a handy item to add to the wiki.
Thanks, MC
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
participants (3)
-
Abaci
-
Anthony Minessale
-
Michael Collins