One dial string to rule them all

Share your tips, tricks and best practise ideas for Fongo services in here!
laurent
*Go-To Guy*
Posts: 532
Joined: 08/06/2010
SIP Device Name: Grandstream HT-502
Firmware Version: 1.0.1.63
ISP Name: DSL TekSavvy
Computer OS: OSX Snow Leopard
Router: Linksys WRT54GL w/tomato

One dial string to rule them all

Post by laurent »

I am starting this thread in order for this to be eventually pinned by admins as a reference for the best possible Dial String (dial plan) for various devices.

I am rehashing here a long discussion from another thread, and will edit this top post as changes and improvements are made.

The phone numbers for 511 and 811 services are for Quebec. The number for 311 is for Montreal. I'll add new ones here as we discover them.

For GrandStream ATA devices:

Code: Select all

{911|<311=5148720311>|<411=18005551212>|<511=18883550511>|<811=18003613977>|x11|*xx|[2-9]xxxxxxxxx|1xxxxxxxxxx|011xxxxxxxxxxxx.|^1900x.|^1976x.}
For Linksys ATA devices:

Code: Select all

(911S0|<311:5148720311>S0|<411:18005551212>S0|<511:18883550511>S0|<811:18003613977>S0|x11S0|*xxS0|[2-9]xxxxxxxxxS0|1xxxxxxxxxxS0|011xxxxxxxxxxxx.|1900x.!|1976x.!)
Explanation of this dial string:
  • {911S0| Emergency service provided by FPL. Dial immediately.
    <311:5148720311>S0| Montreal's information line, dial immediately.
    <411:18005551212>S0| Phone directory services, dial immediately.
    <511:18883550511>S0| Quebec 511 service, dial immediately.
    <811:18003613977>S0| Quebec Info-Santé, dial immediately.
    x11S0| Any other x-1-1 number not covered above will be dialed anyway, so that if FPL implements them in the future, they'll work.
    *xxS0| All star-x-x numbers are dialed. Obvious case is voicemail *98, but certain features could be supported too.
    [2-9]xxxxxxxxxS0| All north american '"local" numbers, dialed immediately. This covers all free areas where FPL has access to.
    1xxxxxxxxxxS0| All of north america in long-distance (+1). Make sure you have a long distance plan with FPL to call those!
    011xxxxxxxxxxxx.| International calls. Requires a minimum of 12 digits, preceded by 011. No immediate dial because the length is unknown.
    1900x.!| BLOCK all 1-900 pay numbers.
    1976x!| BLOCK all 1-976 numbers.
    }
Important details:
Grandstream uses the caret (^) for blocking, Linksys uses the exclamation (!)
Grandstream uses the equal (=) for remapping numbers, Linksys uses colon (:)
Linksys supports immediate dial (S0), Grandstream does not.
Grandstream uses accolades around the string { } while Linksys uses parenthesis ( )

Update: Ottawa's 311 number is 613-580-2400, so the above strings can be adapted with <311=6135802400> or <311:6135802400>S0 respectively.
Red89GT
Active Poster
Posts: 79
Joined: 03/28/2010
SIP Device Name: PAP2T-NA
Firmware Version: DD-WRT v24-sp2
ISP Name: Shaw Cable
Computer OS: Win 7
Router: Asus RT-N16

Re: One dial string to rule them all

Post by Red89GT »

thanks for posting this, i may end up using this over my current dial string. (once i edit it for BC numbers)
laurent
*Go-To Guy*
Posts: 532
Joined: 08/06/2010
SIP Device Name: Grandstream HT-502
Firmware Version: 1.0.1.63
ISP Name: DSL TekSavvy
Computer OS: OSX Snow Leopard
Router: Linksys WRT54GL w/tomato

Re: One dial string to rule them all

Post by laurent »

Added Ottawa's 311 number, from this http://forum.freephoneline.ca/viewtopic ... t=73#p1497
Jairol
Just Passing Thru
Posts: 9
Joined: 05/26/2011

Re: One dial string to rule them all

Post by Jairol »

By the way, the 311 alternate phone in Gatineau is:

Urgence : 9-1-1
Police : 819 246-0222
Téléphone : 3-1-1 ou 819 595-2002 (extérieur de Gatineau)
Sans frais : 1 866 299-2002
ekster
Just Passing Thru
Posts: 10
Joined: 08/03/2010

Re: One dial string to rule them all

Post by ekster »

Thanks a lot for sharing this. I kept planning to figure out a better dial plan and to find all the x11 numbers to update it but I kept procrastinating. This will make things a lot easier!