Search found 8 matches

by nozyczek
Tue Jul 27, 2010 2:25 pm
Forum: Use Cases
Topic: Flexible table-controlled dialplan, Version 2
Replies: 56
Views: 147369

Re: Flexible table-controlled dialplan, Version 2

Could you satisfy my curiosity? I'm wondering why would one need wildcards in the WhiteList... typically WhiteList is quite short (a few relatives and, probably, the boss). I can't imagine why would one need to include 1000 numbers beginning with 1-403-222 ... I'm providing 24/7 support for the com...
by nozyczek
Tue Jul 27, 2010 1:42 am
Forum: Use Cases
Topic: Flexible table-controlled dialplan, Version 2
Replies: 56
Views: 147369

Re: Flexible table-controlled dialplan, Version 2

Great :) I will give it a try tomorrow and will report back
Thx
by nozyczek
Mon Jul 26, 2010 6:47 pm
Forum: Use Cases
Topic: Flexible table-controlled dialplan, Version 2
Replies: 56
Views: 147369

Re: Flexible table-controlled dialplan, Version 2

I would like to use both

specified number
'+1 (403) 223-1234'

and match all numbers that begins with 1403222xxxx
'+1 (403) 222'
by nozyczek
Mon Jul 26, 2010 5:33 pm
Forum: Use Cases
Topic: Flexible table-controlled dialplan, Version 2
Replies: 56
Views: 147369

Re: Flexible table-controlled dialplan, Version 2

I would like to make changes but I don't think I'm capable to do it myself.
by nozyczek
Mon Jul 26, 2010 4:28 pm
Forum: Use Cases
Topic: Flexible table-controlled dialplan, Version 2
Replies: 56
Views: 147369

Re: Flexible table-controlled dialplan, Version 2

OK, I see it now

Code: Select all

      num.gsub!(/[^0-9*+]/,'') # Delete all fancy chars (only digits, '+' and '*' allowed)
This is not a problem, I can always list all allowed numbers. Your dial plan is more than I expected.
Thanks again
nozyczek

Ps. It is time for me to learn some ruby
by nozyczek
Mon Jul 26, 2010 3:18 pm
Forum: Use Cases
Topic: Flexible table-controlled dialplan, Version 2
Replies: 56
Views: 147369

Re: Flexible table-controlled dialplan, Version 2

MikeTelis, Looks like everything will work as you said :) I still need to do more testing but everything looks good so far. I do have another question. I was wondering if there is any way to include a group of numbers ... something like this: WhiteList = [ '(403) 111-1111', # my cell '(403) 111-2222...
by nozyczek
Sun Jul 25, 2010 4:00 pm
Forum: Use Cases
Topic: Flexible table-controlled dialplan, Version 2
Replies: 56
Views: 147369

Re: Flexible table-controlled dialplan, Version 2

Thanks for your super fast response. I will follow your suggestions and will report back
by nozyczek
Sun Jul 25, 2010 1:47 pm
Forum: Use Cases
Topic: Flexible table-controlled dialplan, Version 2
Replies: 56
Views: 147369

Re: Flexible table-controlled dialplan, Version 2

MikeTelis, I would like to thank you for sharing this great dial plan. I have only one GV number and one Sipgate number but with your instructions and comments had no problems to make necessary changes to make it work. I'm completely new to all of this and would like to ask you two question. Both qu...