ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    FreePBX outbound call routing

    Scheduled Pinned Locked Moved IT Discussion
    64 Posts 4 Posters 5.3k Views
    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.
    • brandon220B
      brandon220
      last edited by

      I have a scenario where a FreePBX system has 2 separate groups of users. Inbound calls are fine and routed to the appropriate persons (ring group) by the incoming DID. There is a separate voip.ms trunk for each of the user groups. My issue - I cannot figure out how to route each group out of a separate trunk for outbound calls. The main reason for this is so that if a person calls out from group A it will show the appropriate CID. Think of it as 2 separate companies utilizing the same phone system but wanting to keep inbound and outbound calls separate. Also, this is a small system. We are talking about less than 30 users total on the entire system. I know this should be simple and a basic task for FreePBX but I may be overlooking something.

      1 Reply Last reply Reply Quote 1
      • CCWTechC
        CCWTech
        last edited by

        Have you looked at this:
        https://community.freepbx.org/t/multiple-outbound-routes-trunks/25091/13

        1 Reply Last reply Reply Quote 0
        • CCWTechC
          CCWTech
          last edited by

          Also, there is a module for outbound routes as well:

          https://wiki.freepbx.org/display/FPG/Outbound+Routes+Module+User+Guide

          1 Reply Last reply Reply Quote 0
          • DashrenderD
            Dashrender
            last edited by

            Here's how I do it.
            On the Outbound call routes tab, Dial patterns, the last field is a match to the phone's extension. I put all users into a similar extension range, in this case all ext that start with 11 go out this trunk.

            Ho2R9KA.png

            brandon220B 1 Reply Last reply Reply Quote 1
            • DashrenderD
              Dashrender
              last edited by

              Also - you shouldn't need two different SIP trunks to have two different outgoing CIDs. you can make multiple outgoing routes, all using the same SIP trunk, just with different CIDs and assign them based on ext like I did.

              brandon220B 1 Reply Last reply Reply Quote 2
              • brandon220B
                brandon220 @Dashrender
                last edited by

                @dashrender The reason for the separate trunks is for separate billing for phone service. Granted it is a minimal amount, they still argue over who is paying for what. It is comical to me because they did not split the cost of the phones and the system itself.

                CCWTechC JaredBuschJ 2 Replies Last reply Reply Quote 1
                • CCWTechC
                  CCWTech @brandon220
                  last edited by

                  @brandon220 said in FreePBX outbound call routing:

                  @dashrender The reason for the separate trunks is for separate billing for phone service. Granted it is a minimal amount, they still argue over who is paying for what. It is comical to me because they did not split the cost of the phones and the system itself.

                  Doesn't your ITSP have the ability to show # of minutes from each trunk?

                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                  • brandon220B
                    brandon220 @Dashrender
                    last edited by

                    @dashrender This might be the easiest. They only have 2-digit extensions. of the 30 extensions, only 4 or 5 would need alternate routes. I'm still pondering this method.

                    JaredBuschJ 1 Reply Last reply Reply Quote 1
                    • JaredBuschJ
                      JaredBusch @brandon220
                      last edited by

                      @brandon220 said in FreePBX outbound call routing:

                      @dashrender The reason for the separate trunks is for separate billing for phone service. Granted it is a minimal amount, they still argue over who is paying for what. It is comical to me because they did not split the cost of the phones and the system itself.

                      I am totally with you on this argument. I have a client with 4 locations and I have 4 SIP trunks so they can bill everything to the appropriate cost center easily.

                      1 Reply Last reply Reply Quote 1
                      • JaredBuschJ
                        JaredBusch @CCWTech
                        last edited by

                        @ccwtech said in FreePBX outbound call routing:

                        @brandon220 said in FreePBX outbound call routing:

                        @dashrender The reason for the separate trunks is for separate billing for phone service. Granted it is a minimal amount, they still argue over who is paying for what. It is comical to me because they did not split the cost of the phones and the system itself.

                        Doesn't your ITSP have the ability to show # of minutes from each trunk?

                        The point would be to only have 1 trunk.

                        1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch @brandon220
                          last edited by

                          @brandon220 said in FreePBX outbound call routing:

                          @dashrender This might be the easiest. They only have 2-digit extensions. of the 30 extensions, only 4 or 5 would need alternate routes. I'm still pondering this method.

                          Not the easiest, but the proper option. This is how it is designed to work.

                          brandon220B 1 Reply Last reply Reply Quote 0
                          • brandon220B
                            brandon220 @JaredBusch
                            last edited by

                            @jaredbusch Now I just have to sit down and figure out how to set it up so that it works correctly. So far, they love everything about the system compared to what they had before. The best is how much the phone bills went down. I still have a couple numbers to port over.

                            1 Reply Last reply Reply Quote 0
                            • brandon220B
                              brandon220
                              last edited by

                              @Dashrender Lets say my extensions that will use the special route are 60 through 65 - would my dial pattern start with the extension number? That is what I'm guessing by the image you posted above. I do not use codes to grab an "outside line" like dialing 9 then the number. They have however learned to follow the number with # so the call goes out faster.

                              JaredBuschJ 1 Reply Last reply Reply Quote 0
                              • JaredBuschJ
                                JaredBusch @brandon220
                                last edited by JaredBusch

                                @brandon220 said in FreePBX outbound call routing:

                                @Dashrender Lets say my extensions that will use the special route are 60 through 65 - would my dial pattern start with the extension number? That is what I'm guessing by the image you posted above. I do not use codes to grab an "outside line" like dialing 9 then the number. They have however learned to follow the number with # so the call goes out faster.

                                The part that @Dashrender highlighted will hold this 6[0-5] it has nothing to do with the dialpattern.

                                brandon220B 1 Reply Last reply Reply Quote 1
                                • brandon220B
                                  brandon220 @JaredBusch
                                  last edited by

                                  @jaredbusch Ok. I have to figure out where to insert the extensions for the route.

                                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                                  • JaredBuschJ
                                    JaredBusch @brandon220
                                    last edited by

                                    @brandon220 said in FreePBX outbound call routing:

                                    @jaredbusch Ok. I have to figure out where to insert the extensions for the route.

                                    Huh?

                                    You nmake a new outbound route. setup the normal pattern match, and then add the extension pattern in the final box. done.

                                    Nothing to figure out.

                                    If your extensions are not in a group, you need to either rearrange extensions to put them all together, or you have to duplicate the pattern match in the route for each extension.

                                    1 Reply Last reply Reply Quote 0
                                    • brandon220B
                                      brandon220
                                      last edited by

                                      I could be reading into this wrong.... Do I need to prepend the dialed number with a number to force the calls out a specific trunk?

                                      JaredBuschJ 1 Reply Last reply Reply Quote 0
                                      • JaredBuschJ
                                        JaredBusch @brandon220
                                        last edited by

                                        @brandon220 said in FreePBX outbound call routing:

                                        I could be reading into this wrong.... Do I need to prepend the dialed number with a number to force the calls out a specific trunk?

                                        No. look at the screenshot again..

                                        1 Reply Last reply Reply Quote 0
                                        • brandon220B
                                          brandon220
                                          last edited by

                                          The extensions are not in a group.

                                          JaredBuschJ 1 Reply Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch @brandon220
                                            last edited by

                                            @brandon220 said in FreePBX outbound call routing:

                                            The extensions are not in a group.

                                            K. screenshot inc...

                                            JaredBuschJ 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 1 / 4
                                            • First post
                                              Last post