<div dir="ltr">Ok, I found out how to debug in another thread here.<div><br></div><div>I'm getting this output where it fails to continue with the public dial plan:</div><div><p style="margin:0px;font-size:10px;font-family:Monaco;color:rgb(175,173,36);background-color:rgb(0,0,0)">Dialplan: sofia/internal/+<a href="mailto:44234456321@dialersipper.com">44234456321@dialersipper.com</a> parsing [public->gateway_inbound] continue=false</p>
<p style="margin:0px;font-size:10px;font-family:Monaco;color:rgb(175,173,36);background-color:rgb(0,0,0)">Dialplan: sofia/internal/+<a href="mailto:44234456321@dialersipper.com">44234456321@dialersipper.com</a> Regex (FAIL) [gateway_inbound] ${target_context}() =~ /^[a-z]/ break=on-false</p></div><div><br></div><div>However, my sip-profile contains this:</div><div><br></div><div><p style="margin:0px;font-size:10px;font-family:Monaco;color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="color:rgb(245,245,245)">...</span></p><p style="margin:0px;font-size:10px;font-family:Monaco;color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="color:rgb(245,245,245)"> </span><span style="color:rgb(52,187,199)"><param</span> name="register" value="false"/<span style="color:rgb(52,187,199)">></span></p>
<p style="margin:0px;font-size:10px;font-family:Monaco;color:rgb(52,187,199);background-color:rgb(0,0,0)"><span style="color:rgb(245,245,245)"> </span><variables></p>
<p style="margin:0px;font-size:10px;font-family:Monaco;color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="color:rgb(245,245,245)"> </span><span style="color:rgb(52,187,199)"><variable</span> name="domain" value="<a href="http://my-domain.com">my-domain.com</a>" direction="inbound"/<span style="color:rgb(52,187,199)">></span></p>
<p style="margin:0px;font-size:10px;font-family:Monaco;color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="color:rgb(245,245,245)"> </span><span style="color:rgb(52,187,199)"><variable</span> name="target_context" value="default" direction="inbound"/<span style="color:rgb(52,187,199)">></span></p>
<p style="margin:0px;font-size:10px;font-family:Monaco;color:rgb(52,187,199);background-color:rgb(0,0,0)"><span style="color:rgb(245,245,245)"> </span></variables></p>
<p style="margin:0px;font-size:10px;font-family:Monaco;color:rgb(52,187,199);background-color:rgb(0,0,0)"><span style="color:rgb(245,245,245)"> </span></gateway></p></div><div><br></div><div>and my dial plan this:</div><div><p style="margin:0px;font-size:10px;font-family:Monaco;color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="color:rgb(245,245,245)"> </span><span style="color:rgb(52,187,199)"><condition</span> field="${target_context}" expression="^[a-z]"/<span style="color:rgb(52,187,199)">></span></p>
<p style="margin:0px;font-size:10px;font-family:Monaco;color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="color:rgb(245,245,245)"> </span><span style="color:rgb(52,187,199)"><condition</span> field="${domain}" expression="^[a-z]"<span style="color:rgb(52,187,199)">></span></p></div><div><span style="color:rgb(52,187,199)"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 2, 2015 at 2:50 PM, Michael Nielsen <span dir="ltr"><<a href="mailto:mic.niel84@gmail.com" target="_blank">mic.niel84@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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?<div><br></div><div>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.</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 2, 2015 at 9:02 AM, Ken Rice <span dir="ltr"><<a href="mailto:krice@freeswitch.org" target="_blank">krice@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>^[a-z] just means first character should be an alpha char so it will match any proper fqdn or domain name<br><br>Sent from my iPhone</div><div><div><div><br>On Oct 2, 2015, at 1:53 AM, Michael Nielsen <<a href="mailto:mic.niel84@gmail.com" target="_blank">mic.niel84@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">In the doc's, should the 10_gateway_inbound.xml contain:<div><span style="color:rgb(121,93,163);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre-wrap">expression</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre-wrap">=</span><span style="color:rgb(24,54,145);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre-wrap"><span>"</span>^[a-z\.]<span>"</span></span><br></div><div><span style="color:rgb(24,54,145);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre-wrap"><span>instead of:</span></span></div><div><span style="color:rgb(24,54,145);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre-wrap"><span><span style="color:rgb(121,93,163);line-height:16.8px">expression</span><span style="color:rgb(51,51,51);line-height:16.8px">=</span><span style="line-height:16.8px"><span>"</span>^[a-z]<span>"</span></span><br></span></span></div><div><span style="color:rgb(24,54,145);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre-wrap"><span><span style="line-height:16.8px"><span><br></span></span></span></span></div><div><span style="color:rgb(24,54,145);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre-wrap"><span><span style="line-height:16.8px"><span>So it can catch the domain and context </span></span></span></span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:13.6px;line-height:21.76px;background-color:rgba(0,0,0,0.0392157)"><a href="http://int.example.net" target="_blank">int.example.net</a>.</span></div></div>
</div></blockquote></div></div><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services: </span><br><span><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span><br><span><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span></div></blockquote></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>