<div dir="ltr"><div><div><div><div><div><div>Hi Roy, many thanks for responding.<br><br></div>I am simply trying to finishing configuring the server to make/receive calls from the PSTN.<br><br></div>My reference to the regex is from trying to configure an outbound route.<br><br></div>Can anyone offer any advice on a regex that will work for me to reach any of the following phone numbers:<br><br>International: <span><a href="tel:+64%2022%20333%204444" value="+64223334444" target="_blank">+64 22 333 4444</a></span><div>non-local: <span>022 333 4444</span></div><div>local: <span>333 4444</span></div><br></div>From the number assigned to my account? +64 9 xxx yyyy<br><br></div>Many many thanks!<br><br></div>Nate.<br><div><div><div><div><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 1, 2017 at 9:17 AM,  <span dir="ltr"><<a href="mailto:royj@yandex.ru" target="_blank">royj@yandex.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Not quite clear. What are you trying to achieve?</div><div> </div><div>30.06.2017, 11:11, "Nate" <<a href="mailto:nathan.port@gmail.com" target="_blank">nathan.port@gmail.com</a>>:</div><blockquote type="cite"><div><div class="gmail-h5"><div><div><div><div><div>Good day/evening everyone,<br> </div>Apologies for not being able to figure this out on my own. I've been searching and trying for several days to get inbound/outbound working but have yet to see success.<br> </div>At this stage I need help determining a proper regex expression for handling New Zealand phone numbers.<br> </div>For instance, there are three different ways of expressing numbers here in NZ:<br> </div>International: <span><a href="tel:+64%2022%20333%204444" value="+64223334444" target="_blank">+64 22 333 4444</a></span><div>non-local: <span>022 333 4444</span></div><div>local: <span>333 4444</span></div><div> </div><div>A couple questions related to the SIP proxy:<br> </div><div>If the SIP proxy is located in Hong Kong, but the phone number is a New Zealand number, does the location of the proxy have any impact on the number of characters in the string for inbound/outbound calls?<br> </div><div>Again, apologies for the rudimentary nature of these questions, but having nearly exhausted all other options (docs, searches, IRC), I am now spending a large amount of time guessing and trial and error without any progress.<br> </div><div>Many thanks for any feedback at all.<br> </div><div>Nate</div></div></div></div>,<p>______________________________<wbr>______________________________<wbr>_____________<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/" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org/" target="_blank">http://confluence.freeswitch.<wbr>org</a><br><a href="http://www.cluecon.com/" 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.<wbr>freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a></p></blockquote><br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>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.<wbr>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">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>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></div></div></div></div></div></div></div>