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.}
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.!)
- {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.
}
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.