Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

username=username

fromuser=username

secret=password

host=provideraddress.com

fromdomain=provideraddress.com

type=friend

context=from-trunk

insecure=port,invite

trustrpid=yes

sendrpid=yes

directmedia=no

qualify=yes

keepalive=45

nat=yes

dtmfmode=rfc2833

disallow=all

allow=ulaw

Registration String:  username:password@provideraddress.com

Notes:

  1. Replace "ProviderA" with whatever name you want to use for the provider.

  2. Replace "YOURCALLERIDHERE" with the Caller ID to be used on outgoing calls on this Trunk.  Note that most of the time, this Caller ID will not be used, as Caller IDs set in the Outbound Routes module and the Extensions Module usually take priority (unless the CID Options field is set to Force Trunk Caller ID).

  3. Replace "username" with the username assigned by your ITSP.

  4. Replace "password" with the password assigned by your ITSP.

  5. Replace provideraddress.com with the IP address or domain name supplied by your ITSP.

  6. If the Caller-ID on incoming calls come in with a + at the beginning and you don't want them to, change "from-trunk" to "from-pstn-e164-us".

  7. If your inbound calls have no Caller ID, delete trustrpid=yes.

  8. If your outbound calls never have the correct Caller ID, delete the fromuser= line.

  9. If your outbound calls always fail, try deleting the sendrpid= line.

  10. If your inbound calls always fail, try changing "from-trunk" to "from-pstn-toheader"

...

Connecting two FreePBX/Asterisk systems together requires configuring Trunks and Outbound Routes on both systems.  We've written a separate article on how to connect two systems.  Click here to read it.

What Does That Stuff in the PEER Details Mean?

...

  1. Double check your PEER details and Registration String.  Often, Trunk problems occur when the information in the PEER details or

Registration String is wrong

  1. Pull-down "Reports", select "Asterisk Info," and then select "Full Report" on right.  In many cases, the information in this report can guide you in the right direction.

  2. Refer to the General FreePBX Troubleshooting Instructions (link).