FreePBX Configuration Settings for VoIP.ms and Vitelity

Hello All,

I have migrated from FPBX 15/16 to v17. I have been able to create the extensions I have, however, I am having an issue with creating pjsip trunks. I am using VoIP.ms and Vitelity, for both incoming and outgoing calling.

Does anyone have configuration notes as to what information goes into which fields? If someone can point me to configuration notes, I will try and use the form to complete the configuration and post a visual aide to configuring the trunks.

Thanks in advance for any help you may be able to provide.

Andrew Stock

Hello Andrew,

I use both. I am testing 17 with with an updated SCCP-Manager I am working on (I have a lot of old Cisco devices..ha) and setup both trunk on it and took some notes. Call tested fine.

In VoIP.MS

  1. Create a sub account → <account_number>_ (i.e. 123456_home)
    a. this is the field to match in FreePBX pjsip settings #2
  2. Authentication Type → User/Password
  3. Password → give it a password
    a. this is the field to match in FreePBX pjsip settings #3
  4. Device Type → Asterisk, IP PBX, Gateway or VoIP Switch
  5. CallerID Number → Choose one of your DID’s. (anything else is tricky as they need to verify your DID)

FreePBX - VoIP.MS
General Tab

  1. Add pjsip trunk
  2. Give the trunk a name (voip.ms)
  3. Outbound CallerID (should match the DID you are using in Voip.MS)
  4. Asterisk Trunk Dial Options → Tr (gives FreePBX device ringback)

pjsip settings tab

  1. username → (I match that of the account name in Voip.MS)
  2. auth username → account/sub account in Voip.MS
  3. secret → VoIP.MS account password
  4. sip server → your prefered POP in Voip.MS (example: atlanta2.voip.ms)
  5. sip server port → 5060
  6. in the advanced tab → From Domain → shoudl be your external IP. (if you encounter outbound call issues, this may be why)

Outbound Route

  1. Route Name → give it a name (i.e. voip.ms)
  2. Route CID → the CID/DID matching VoIP.MS
  3. Trunk Sequence for Matched Routes → voip.ms (trunk name given in Step #2 when creating the trunk0
  4. Dial Pattern → U.S. example would be NXXNXXXXXX (if using non E.164 dialing)

Inbound Route

  1. Description → give it a name (i.e. voip.ms)
  2. DID Number → the CID/DID matching VoIP.MS
  3. Set Destination → Choose extension or group to ring

Vitelity

  1. create a sub account.
  2. fill in the blanks. pretty straight forward.
  3. username, password, and CID used in FreePBX trunk

FreePBX - Vitelity
General Tab

  1. Add pjsip trunk
  2. Trunk Name → needs to be the sub account name used in Vitelity
  3. Outbound CallerID (should match the DID you are using in vitelity)
  4. Asterisk Trunk Dial Options → Tr (gives FreePBX device ringback)

pjsip settings tab

  1. Secret → the password to your Vitelity Sub Account
  2. Authentication → Both
  3. Registration → Send
  4. sip server → inbound41.vitelity.net
  5. sip server port → 5060

Outbound

  1. Route Name → give it a name (i.e. vitelity)
  2. Trunk Sequence → choose the vitelity trunk

Inbound

  1. Description → vitelity
  2. DID Number → if you have specific DID’s for this inbound, but the CID from Vitelity, otherwise “ANY”
  3. Destination → choose extension or group, etc.