LocalPhone.com Configuration with FreePBX
As of writing this article, LocalPhone.com has the cheapest inbound ($3 setup fee + $0.99/mo) and outbound ($.005/min) trunk rates available. For a basic PBX use, this is really all I was looking for.
LocalPhone Configuration
- Sign up for an account at LocalPhone.com.
- Add a minimum of $5 credit. This covers one incoming DID and an extra dollar for testing purposes.
- Once the credit has been applied (you'll receive an e-mail), go to Services>Incoming Numbers>See Our Incoming Number prices.
- Click on your country.
- Click on your state/province/territory.
- Choose a dialing code.
- Click "Get an Incoming Number from <your choice here>".
- The incoming number (AKA: DID) should be provisioned quickly after confirming details.
- Click My Account>Incoming Numbers to confirm it has been provisioned.
- Click Manage Number.
- Under "Forward incoming calls", choose forwarding to your Internet Phone service.
- Click My Account>Internet Phone.
- Take note of your SIP ID and SIP Password as you'll use them later.
- Ensure that Call Forwarding is set to Inactive.
- Change the Caller ID if you'd like from your internet phone number to your DID number.
FreePBX/Asterisk Configuration
Trunk
- Create a new SIP Trunk.
- Name: LocalPhone-<your incoming number>
- Dialed Number Manipulation Rules (blank prepend, blank prefix):
- 1NXXNXXXXXX
- NXXNXXXXXX
- SIP Settings (Outgoing)
- Trunk Name: LocalPhone-<your incoming number>
- PEER Details (copy and paste, then edit your ID and password):
type=friend
insecure=very
nat=no
canreinvite=no
authuser=<SIP ID>
username=<SIP ID>
fromuser=<SIP ID>
fromdomain=localphone.com
secret=<SIP Password>
host=localphone.com
dtmfmode=rfc2833
context=from-trunk
disallow=all
allow=ulaw&alaw - SIP Settings (Incoming)
- Register String: <SIP ID>:<SIP Password>@localphone.com/<SIP ID>
- Click Submit.
Inbound Route
- Create a new Inbound Route.
- Description: LocalPhone-<your incoming number>
- DID Number: <SIP ID>
- Destination: Any destination you'd like. Mine is routed directly to an extension that I've already configured.
- Click Submit.
Outbound Route
- Create a new Outbound Route
- Route Name: LocalPhone-<your incoming number>
- Trunk Sequence: Choose the trunk you previously created from the list.
- Dial Patterns (blank prepend, blank prefix):
- 1NXXNXXXXXX
- NXXNXXXXXX
- Click Submit.
Validate the Configuration
- Click the red Apply Config button in the top right corner of the admin portal.
- Click Reports>Asterisk Info from the top menu bar.
- Click Chan_Sip Info on the right-hand pane.
- In the Chan_Sip Registry, you should see localphone.com:5060 listed in a "Registered" state.
- You should now be able to place calls using your extension's phone as well as receive calls from external callers to the number.
Comments
Post a Comment