Dialplan: sofia/internal/+44234456321@dialersipper.com parsing [public->gateway_inbound] continue=false
Dialplan: sofia/internal/+44234456321@dialersipper.com Regex (FAIL) [gateway_inbound] ${target_context}() =~ /^[a-z]/ break=on-false
...
<param name="register" value="false"/>
<variables>
<variable name="domain" value="my-domain.com" direction="inbound"/>
<variable name="target_context" value="default" direction="inbound"/>
</variables>
</gateway>
<condition field="${target_context}" expression="^[a-z]"/>
<condition field="${domain}" expression="^[a-z]">
Ok, I see. How can I debug to see if my incoming call from my SIP gateway hits that and get transferred to the correct context?I've tried to look at fs_cli and setting /debug 7, but I cannot tell if the dialplan gets executed and the call is transferred to the correct context.On Fri, Oct 2, 2015 at 9:02 AM, Ken Rice <krice@freeswitch.org> wrote:^[a-z] just means first character should be an alpha char so it will match any proper fqdn or domain name
Sent from my iPhoneIn the doc's, should the 10_gateway_inbound.xml contain:expression="^[a-z\.]"instead of:expression="^[a-z]"So it can catch the domain and context int.example.net._________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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