Navigation

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Create the Skyetel Inbound Trunk

    FreePBX Guides, Hints, and Tricks
    freepbx guide setup skyetel trunk
    1
    1
    471
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Jared Busch
      Jared Busch last edited by Jared Busch

      Now that you have Skyetel setup to deliver calls to your PBX, it is time to setup FreePBX to accept those calls. This is done by creating a Trunk.

      1. Sign in to your FreePBX instance

      2. Click on Connectivity and then Trunks
        10f55a33-c15c-4d7d-9748-86b075c0c3da-image.png

      3. Click on the Add Trunk button to show a list of options and then click on Add SIP (chan_pjsip) Trunk

        • Be certain it says chan_pjsip or you will not have a working system.
        • Depending on your FreePBX configuration, you may still see the legacy chan_sip option. This will not work.
          f373e36b-9b18-4bcf-9b80-05fd415c1960-image.png
      4. You will get the Add Trunk screen with 3 tabs, we will start on the General tab.
        cb822399-4197-486a-b2ec-e006aeec22b1-image.png

      5. Trunk Name is a descriptive name for the trunk.

        • Name this one Skyetel_Inbound
        • It cannot have spaces, and FreePBX will auto populate an underscore (_) if you press space.
          0efb721f-a204-41f3-91ab-cfcd9ff0443f-image.png
      6. Hide CallerID should be set to No by default. Leave it that way.
        fb2d8c0e-c536-4c8e-939b-8238999ae1b0-image.png

      7. Outbound CallerID should always be populated on all trunks as whatever your main number is with Skyetel.

        • This value is the default to use if a call goes out this trunk without any other Caller ID defined.
        • We will use the E.164 format for the number
        • + then Country Code then Number
        • The name section should be limited to 15 characters, the maximum for legacy POTS Caller ID.
        • Also, do not expect the name portion to be seen by most recipients. Skyetel will pass along whatever name is entered here, but it is up the the other side to accept it.
          63e8eaab-64b1-4831-a5f9-838c442a7865-image.png
      8. CID Options should be left on the default of Allow Any CID. You can read the help text to learn more about how this works.
        455c199f-5d49-4093-ab02-0d80e5d3d681-image.png

      9. Maximum Channels should be set to at least one higher than you set in the Fraud Alert for the Endpoint in Skyetel.

        • Only outbound calls are counted towards this maximum.
          74f4c39f-2640-448f-8078-de266fe761d6-image.png
      10. Asterisk Trunk Dial Options should never be changed from System
        a2ba6c58-80dd-4b5a-89e6-bcdff9e48ede-image.png

      11. Continue if Busy can be left at No for the Skyetel_Inbound trunk as this only applies if the trunk is used in an Outbound Route
        58ec61bb-6710-4644-9426-ec654ad7e2c9-image.png

      12. Disable Trunk must be set to No or the system will not use the trunk.
        03c6a945-37f6-4eb0-9b3c-41f939d428d6-image.png

      13. Monitor Trunk Failures is an advanced setting and does not mean what most people think. Leave it set to No.
        04e11880-483e-4c7e-90ff-45ce0e562995-image.png

      14. Moving on to the Dialed Number Manipulation Rules tab, is easy as you will leave this all blank.

        • You do not do anything on this tab for a trunk, unless there are special circumstances.
        • More detail on this will be discussed in the Outbound Route setup.
          e1fb6454-d084-4323-956a-1ee45a068667-image.png

      15 On to the pjsip Settings tab, which has three sub tabs.
      4d25772c-c0bb-4f14-a765-c6294b160ccb-image.png

      1. The General sub tab is where you tell the trunk what it is connecting to. You will leave Username, Auth username, and Secret empty.
        c69dddd8-13cc-4050-bb07-f0fbf285782c-image.png

      2. Authentication will be changed to None, which cause the priors three fields to become disabled.
        90b013b7-53c0-4ee7-b5da-c0bff3d26e49-image.png

      3. Registration is also set to None. This also gets changed automatically when Authentication was changed.
        e94fb51c-9470-4305-9ed6-33e20f35d11e-image.png

      4. Language Code should be left on Default.

        • Trunk specific languages is an advanced task.
          9e9757f2-cd60-4266-b319-e71409f0e7ea-image.png
      5. Sip Server will be set to in.skyetel.com

        • Prior to October 8, 2021 this was na.skyetel.com
          c38fcf2d-ff12-4b88-8be7-60b9e12888a6-image.png
      6. SIP Server Port is 5060.

        • This is Skyetel's listening SIP port, not yours.
          3cccb9fe-599c-478b-b191-a4b1072bfbf0-image.png
      7. Context should be changed to from-pstn-e164-us, which matches the fact that our phone number in Skyetel will be sent in the E.164 standard.
        46b852b8-a50d-4aa0-84fc-4eb91682afb2-image.png

      8. Transport defaults to 0.0.0.0-udp and should be left that way.
        35624972-e273-4f00-a1de-6738f4f1c0a2-image.png

      9. Moving to the Advanced sub tab, most settings will be left at their default values.
        c7d57c92-ef21-43f5-824d-9e05b25266b0-image.png

      10. Match (Permit) is the first that needs changed.

        • On this Skyetel_Inbound route, we need to enter the full list of IP addresses or CIDR blocks that Skyetel could ever send a call from. Skyetel maintains that list on the Skyetel IP Addresses article.
        • You need to add the 4 Standard IP addresses that in.skyetel.com resolves to, as well as the list of Emergency IPs
          72a8c15e-861b-4865-ac82-30021fb7db0d-image.png
        • This must be added as a single comma separated line, here is a copy/paste version for you.
      52.41.52.34/32,52.60.138.31/32,50.17.48.216/32,52.8.201.128/32,44.199.94.192/27,3.144.141.64/27,3.101.177.224/27,35.85.225.96/27,3.99.65.224/27,35.215.45.65,35.209.126.210,35.212.222.157
      

      7d9c6bdb-9acb-4124-9372-49cd74612e40-image.png

      1. Trust RPID/PAI should be changed to Yes
        3c673e9c-3740-4893-b22a-ea4eab0cccaf-image.png

      2. Send RDPI/PAI should be changed to Both
        9b80b97e-fea3-4035-90fa-7fe419485555-image.png

      3. Inband Progress, Direct Media, Rewrite Contact, and RTP Symmetric should be the correct value by default, but verify that they are No, No, No, and Yes respectively.
        897267e7-311c-4678-ba9d-11f95547831b-image.png

      4. Final tab! Go to the Codecs tab and ensure that ulaw is in the list. By default it should be first.

        • Updating codecs is an advanced task not covered here.
          ade3b3d6-2b06-4488-8f4f-019b997b8893-image.png
      5. Click on the Submit button.
        8751a416-898f-4399-92cf-6465fc95c8f6-image.png

      6. Click on the Apply Config button.
        66257690-73e8-404b-9df6-030725f75003-image.png

      7. You will see your trunk listed in the list and show as Enabled. Inbound calls will now hit your PBX.
        39deff26-6997-4186-9b86-15e3e2d2ee4c-image.png

      1 Reply Last reply Reply Quote
      • First post
        Last post