Hi everyone! Well, since this is my first-ever post here I thought I would make it a helpful one.
I have been browsing the forums here for years and a common thread that keeps popping up is "Trunk settings not working for inbound or outbound calls"
I thought I would post the settings I have finally found that work correctly with Freephoneline.ca/Fongo and will probably work with almost all other SIP providers. (Please note the ALMOST.)
I ran a fresh install of PIAF Green with Asterisk 11.10.0 and FreePBX 2.11.0.37 today and aside from creating 2 DAHDI FXS extensions with my digium TDM400P and 2 SIP trunks along with inbound and outbound routes, everything else is stock vanilla. On to the good stuff:
Under the Trunk settings, fill out as per usual but when you get to the "Outgoing" section, try this:
username=1NXXNXXXXXX
secret=[insertSIPpasswordhere]
host=voip.freephoneline.ca
context=from-trunk
type=friend
insecure=port,invite
disallow=all
allow=ulaw&alaw&gsm&g729
fromdomain=freephoneline.ca
"Incoming" should be this:
secret=[insertSIPpasswordhere]
type=user
context=from-trunk
insecure=port,invite
fromdomain=freephoneline.ca
Registration string should be this:
1NXXNXXXXXX:[insertSIPpasswordhere]@voip.freephoneline.ca/1NXXNXXXXXX
Now a couple of notes:
Freephoneline, like most SIP/DID providers have a touchy registration timer. If it's too short they will hit you with a "Too many requests" error and prevent your trunk from registering. You will have to lengthen it under "Asterisk SIP Settings" to RegisterTimeout=45 and RegisterExpiry=240
Another note is that you must add under "Asterisk SIP Settings" at the bottom where it says "Other SIP settings" put in useragent and then after the equals (=) put Mozilla or WRTP54Gv3.0.6.1
I'm new here but I Hope this helps. Any criticism will be taken constructively unless you talk about my wife or my momma, thems' is fighting words bub! ![Wink]()
Cheers,
Repherb