Computers & Electronics

Setting up VOIP - Freephoneline (FPL), Voip.ms and Google Voice (GV) using Sipsorcery

  • Last Updated:
  • May 10th, 2013 5:46 pm
Tags:
None
Deal Fanatic
May 13, 2005
5147 posts
5846 upvotes
Montreal
Shaf wrote: Thank you Nabeel
This is what I want it to do:

911 to go through FPL
Any 416 # to go through FPL
Any 647 # to go through FPL
Any number that starts with 1 to to through FPL
Any number that starts with 011 to go through Voip.ms
Any number that starts with #1 to go through Voip.ms
You can take advantage of free Canada long distance from FPL by dialing any free Canada cities without dial 1 (country code)...

Any number that starts with 1 to to through Voip.ms for long distance
Any number that starts with 011 to go through Voip.ms for long distance
Any other numbers to go through FPL because you can dial any other free Canada cities without dial 1...
Deal Addict
User avatar
Aug 12, 2006
3713 posts
51 upvotes
Shaf wrote: Thanks Gee.

Been trying to call the FPL line from my cell phone and seeting up to forward to my work phone. No dice.

...
As far as I know and my setting, it simple. It just works. I have no clue what mistakes you are doing.
Ban Steve Downie from NHL
Self Proclaimed PYwner Late Miss. Masco:My Gramma is gooder than your typos Says GrammerNazi.
smitty9999 on saving power: nooB Powers on the PC just to post stfu.
board123:when challenged runs away as fast as it can, hide behind mommy.
Banned
May 5, 2003
4879 posts
36 upvotes
Toronto, Ontario
X360 wrote: You can take advantage of free Canada long distance from FPL by dialing any free Canada cities without dial 1 (country code)...

Any number that starts with 1 to to through Voip.ms for long distance
Any number that starts with 011 to go through Voip.ms for long distance
Any other numbers to go through FPL because you can dial any other free Canada cities without dial 1...
Thanks! What would my dial plan be then?

The current one I am using (as per post above from Nabeel) is:

(911|416[2-9]xxxxxxS0|647[2-9]xxxxxxS0|1[2-9]xx[2-9]xxxxxxS0|011[2-9]xx.<:@gw1>|<#1,:>x.<:@gw1>)
champlinD wrote: As far as I know and my setting, it simple. It just works. I have no clue what mistakes you are doing.
I'm stumped too... It should be real simple... if 416 222-2222 calls fwd then to 416 333-3333 :mad:
Deal Addict
Nov 25, 2002
1048 posts
317 upvotes
Brampton
Shaf wrote: Is there a way to log a call and trace it to see exactly what happens when you dial? I wanted to try and test the dial plan to see how a call made to 011 or 416 or #1 actually makes it the right way...
If you watch the Info tab when making a call, it would say it it's going out a gateway besides the Line 1 default. More complicated than that is to install a syslog logger on your PC and point the Debug Server of the SPA3102 to your PC's IP - then you'll get a lot more info.
Deal Addict
Nov 25, 2002
1048 posts
317 upvotes
Brampton
Shaf wrote: I'm stumped too... It should be real simple... if 416 222-2222 calls fwd then to 416 333-3333 :mad:
Does the CLI come in as 10-digit or 11-digit?

For forwarding, you have to figure out if FPL allows forwarding in the first place. Does Call Forward All work as expected?
Banned
May 5, 2003
4879 posts
36 upvotes
Toronto, Ontario
nabeel wrote: Does the CLI come in as 10-digit or 11-digit?

For forwarding, you have to figure out if FPL allows forwarding in the first place. Does Call Forward All work as expected?
I just checked with FPL support and here is their response on setting up speed dial and call fwd:

Things like speed dial should work just fine, those features are independent of our SIP server. For call forwarding though, you'll need to stick with the follow-me functionality (on our website) because that's the only call forwarding we officially provide and support. It's possible that with some tinkering you might be able to get it working in the ATA, but right now we'll only officially troubleshoot the server-side follow-me.

Hmmm... I couldn't get speed dial to work either.

I have been thinking that maybe I should reset my ATA to factory defaults and start again. I have made so many changes to test different scenarios that It may be best to start afresh. Thoughts?

Also, is there a guide on recommended setting for the SPA3102 aside from the proxy and gateway settings?
Banned
May 5, 2003
4879 posts
36 upvotes
Toronto, Ontario
Thanks.

As dfor the dial plan, do I need to modify it slightly? Most calls within Canada are free so I don't think I need to use 416 and 647 as filters. Any calls that are not supported as free from FPL, I will dial through Voip.ms

(911|416[2-9]xxxxxxS0|647[2-9]xxxxxxS0|1[2-9]xx[2-9]xxxxxxS0|011[2-9]xx.<:@gw1>|<#1,:>x.<:@gw1>)

Also - can you please explain to me what this portion means?

<#1,:>x.<:@gw1>

What does :>x.<: mean?

Looking at the list of commands, I don't see :>x.<:

Dial Plan Syntax
( ) - The entire dial plan must be surrounded by an open and close bracket.
| - Each individual dial plan must be separated by a pipe | character.
0-9 - Treated as normal digits
x - Treated as any normal digit 0-9 on phone
* - Treated as normal * character on phone
# - Treated as normal # character on phone
. - Repetition
< : > - Replacement, eg <02:612> means replace 02 with 612
<:@gw0> - Gateway 0 is the PSTN line
<:@gw1> - Gateway 1 (Advanced Feature)
<:@gw2> - Gateway 2 (Advanced Feature)
<:@gw3> - Gateway 3 (Advanced Feature)
<:@gw4> - Gateway 4 (Advanced Feature)
S0 - Dial Immediately
! - Barring a number, place this at the end of the number to bar it
, - Provides a dial tone
[ ] - Limiting choices, eg [24] means either 2 or 4, [2-5] means 2,3,4 and 5, [24-68]
means 2,4,5,6,8
Deal Addict
Nov 25, 2002
1048 posts
317 upvotes
Brampton
Shaf wrote: <#1,:>x.<:@gw1>
<#1,:> - play second dialtone after #1 is dialed, replace #1 with nothing
x. - 1 digit or longer
<:@gw1> - send this call out gateway 1
Banned
May 5, 2003
4879 posts
36 upvotes
Toronto, Ontario
nabeel wrote: <#1,:> - play second dialtone after #1 is dialed, replace #1 with nothing
x. - 1 digit or longer
<:@gw1> - send this call out gateway 1
Perfect. Thank you so much!!! You have been a great help and I rellay appreciate it.

I am at work and will reset the ATA this evening and set it all up again (clean setup).

Any comments on the 416 and 647?
As for the dial plan, do I need to modify it slightly? Most calls within Canada are free so I don't think I need to use 416 and 647 as filters. Any calls that are not supported as free from FPL, I will dial through Voip.ms

(911|416[2-9]xxxxxxS0|647[2-9]xxxxxxS0|1[2-9]xx[2-9]xxxxxxS0|011[2-9]xx.<:@gw1>|<#1,:>x.<:@gw1>)
Deal Addict
Nov 25, 2002
1048 posts
317 upvotes
Brampton
Shaf wrote: Any comments on the 416 and 647?
Yeah, just have a rule for 10-digit dialing and a rule for 11-digit dialing, both going out FPL, and dial all other calls using #1.
Banned
May 5, 2003
4879 posts
36 upvotes
Toronto, Ontario
nabeel wrote: Yeah, just have a rule for 10-digit dialing and a rule for 11-digit dialing, both going out FPL, and dial all other calls using #1.
Thanks.

Is this correct?

(911|[2-9]xxxxxxxxxS0|1[2-9]xx[2-9]xxxxxxS0|18xxxxxxxxxS0|011[2-9]xx.<:@gw1>|<#1,:>x.<:@gw1>)
Deal Addict
Nov 25, 2002
1048 posts
317 upvotes
Brampton
Shaf wrote: Thanks.

Is this correct?

(911|[2-9]xxxxxxxxxS0|1[2-9]xx[2-9]xxxxxxS0|18xxxxxxxxxS0|011[2-9]xx.<:@gw1>|<#1,:>x.<:@gw1>)
Yes, except put an S0 after 911 so you're not waiting for the interdigit timeout, and the 18xx... is unnecessary because that's already part of 1[2-9]xx...

Also, some other rules to consider:

<:416>310xxxxS0 - to allow 310-calling
<:18004664>411S0 - to send 411 calls to 1-800-GOOG-411
Banned
May 5, 2003
4879 posts
36 upvotes
Toronto, Ontario
nabeel wrote: Yes, except put an S0 after 911 so you're not waiting for the interdigit timeout, and the 18xx... is unnecessary because that's already part of 1[2-9]xx...

Also, some other rules to consider:

<:416>310xxxxS0 - to allow 310-calling
<:18004664>411S0 - to send 411 calls to 1-800-GOOG-411
Thanks again Nabeel!!

(911S0|[2-9]xxxxxxxxxS0|1[2-9]xx[2-9]xxxxxxS0|011[2-9]xx.<:@gw1>|<#1,:>x.<:@gw1>|<:18004664>411S0|<:416>310xxxxS0)

Updated to include your suggestions.

Isn't <:416>310xxxxS0 already a part of [2-9]xx...??

What is 310 calling?

<:18004664>411S0 - What does this mean exactly? If I dial 18004664 it gets replaced with 1-800-GOOG-411???
Deal Addict
Nov 25, 2002
1048 posts
317 upvotes
Brampton
Shaf wrote: Isn't <:416>310xxxxS0 already a part of [2-9]xx...??
No.
Shaf wrote: What is 310 calling?
Ontario toll-free. Like 310BELL or 310DEBT.
Banned
May 5, 2003
4879 posts
36 upvotes
Toronto, Ontario
<:18004664>411S0 - What does this mean exactly? If I dial 18004664 it gets replaced with 1-800-GOOG-411???
Deal Addict
Nov 25, 2002
1048 posts
317 upvotes
Brampton
Shaf wrote: <:18004664>411S0 - What does this mean exactly? If I dial 18004664 it gets replaced with 1-800-GOOG-411???
Prepends 411 with 18004664.
Banned
May 5, 2003
4879 posts
36 upvotes
Toronto, Ontario
nabeel wrote: Prepends 411 with 18004664.
Thanks again!!!
Deal Expert
Oct 6, 2005
16872 posts
2557 upvotes
Shaf wrote: HI have purchased a Linksys SPA3102 and setting it up with Freephoneline.com (FPL). I will use FPL for all local calls (incoming and outgoing) and also want to setup VOIP.ms for only outgoing LD.
Your ATA out of the box cannot do what you want.

You'll need a SIP brokering service or a PBX to route calls to each gateway based on rules.

Or perhaps you can modify the dial plan - but that's getting ugly.
Deal Addict
Nov 25, 2002
1048 posts
317 upvotes
Brampton
coolspot wrote: Your ATA out of the box cannot do what you want.
Actually, the SPA3102 can do that.

Top