[kwlug-disc] Dial Plan

L.D. Paniak ldpaniak at fourpisolutions.com
Sat Oct 15 10:09:33 EDT 2011


The SPA dialplans execute on the first match so if you put the 1900
block ahead of the long-distance allow, you should be good.  In general,
place more specific rules (911S0) ahead of less (xxxxxxxx.).  You can
test this by changing your 1900 block to a 1905 block and try to call
someone in Hamilton.

I find it more secure (and easier to manage) to have a dialstring
without the wildcard xxxxxxx.  That way only what you have explicitly
defined is dis/allowed.  Add in a rule for international calling (if
desired) and that ought to cover all your bases. 

When possible, I like to deal with dialplans in Asterisk/FreePBX.  It is
easier and then all the dialplan info for your system is centrally
stored.  It doesn't sound like this is an option for you here.




On Sat, 2011-10-15 at 00:32 -0400, Chris Irwin wrote:
> Anybody familiar with Dial Plans?
> 
> This is the dial plan I'm entering on my Linksys SPA3102's line
> extension (so it would affect my handset, not the provider). My
> understanding is that having certain matches with the S0 will allow
> immediate dialing, rather than waiting for the timeout.
> 
> I started with some examples I found online, and continued from there.
> 
> Note that I have two providers: Primary is a landline, and secondary
> (for this handset) is VOIP, accessed by pressing '9'. Also note that I
> am '519' area code.
> 
> Call 911 directly           911S0
> Ten-digit local calls       519[2-9]xxxxxxS0
> Long-Distance               1[2-9]xx[2-9]xxxxxxS0
> VOIP Ten-digit local calls  9519[2-9]xxxxxxS0
> VOIP Long-Distance          91[2-9]xx[2-9]xxxxxxS0
> Internal Extensions         0000xxS0
> Phone provider stuff?       *xx
> Everything else w/timeout   xxxxxxxxxxxx.
> Married & poor. Block       1900xxxxxxx!
> 
> Also, I'm not sure if order matters. For exmaple, will the long-distance
> rule take precidence over the blocking of 900 numbers, since that looks
> like a long distance number? I don't know...
> 
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20111015/236298a4/attachment.sig>


More information about the kwlug-disc mailing list