Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Trunk Specific Routing

    How can I route a dialed number over a specific trunk? For example I have a number that when dialed I would like it to route over a specific analog trunk.

    Do I have to add that routing entry into the dial plan manually and if so, what is the string?

    For example whenever any user on the system dials +1 905-609-XXXX I would like that call to route over an analog/sip trunk group.

  • #2
    Do you want any other numbers to go out that trunk or just that one? Either way you are up for some manual dial plan work. What other trunk group types are on your system? How many trunk groups do you have on the system? Are you multisite and if so how many sites is that number local or nearby to?

    Comment


    • #3
      What I am trying to do is create a trunk group to only route calls that are going to carrier specific cellular numbers. Therefore it is to help the customer reduce the cost of PBX to cellular costs. I figured it will be a manual process and fairly static as well, I was hoping that someone else has tried this.

      Comment


      • #4
        Couple of ways, one is to create different access codes and have them use the sip/analog trunk when dial specific #. If you have the same acces # for both trunk groups, you might be able to restrict the sip/analog trunk group to just those #'s.

        Comment


        • #5
          Then I have to rely on the end user using the correct access code and I for it to work it would have to be transparent to the user.

          Comment


          • #6
            I have a site that uses a SIP to GSM gateway that will only call employees mobile numbers. The SIP trunk group is set to fail all calls and we have manually added all the staff mobile numbers individually to allow calls to those numbers only. As the only SIP trunk it is the preferred trunk for all calls so it gets tried first, we have made another mannual edit to allow the call to go out the PRI trunks of all the SIP trunks are in use.

            Is there a common prefix to all the cell phones from this one carrier? Are you a single site or do you expect that this trunk group should be accessable from other sites on the system?

            Comment


            • #7
              This is exactly what I wanted to do. What GSM gateway are you using and is it working well? I assume that you are connecting to it via SIP from the Shoretel? I was thinking about connecting a FXS/FXO port to the GSM gateway before I tried SIP.

              I don't believe that there would be a common prefix and it would have to be manual entries.

              Is there an issue if you want to make the trunk accessible when using a GSM gateway?

              Is it possible to provide the custom string you added to your trunk group?

              Thanks
              Ken

              Comment


              • #8
                This should work.

                You have two trunks groups. Trunk All and Trunk 609.

                In trunk All, set your restrictions field to be: +1905609 (this blocks 905609xxx)

                In trunk 609 set it to be a local only trunk (I assume 905 is local area code) and set the permissions field to be: +1905609 and the restrictions field to be +1905.


                I think this should do what you want. You MAY have to change the trunk weighting to prefer Trunk 609 first (;-5A should suffice unless one is analog trunks and the other is digital... then we need to bump this up further).


                If not, might need to do some custom dial plan work.

                Comment


                • #9
                  I will give that a try. It is a manual process but I figured it would. Therefore I would restrict those called numbers from the primary digital trunk therefore they would be allowed over the secondary analog or SIP trunks.

                  Thanks

                  Comment


                  • #10
                    The gateway we are using is from a company called 2N. It works reasonably well but there are a few limitations specifically due to it being a SIP device. We can't do a transfer to an external number that goes out the GSM gateway if the first call is also through the gateway. Things like that. If you can afford the switch ports I'd probably recommend analogue trunks to the gateway.

                    The string looks like this <+M421639658>xm0X.%640G, bear in mind that this is a site in Australia. This will permit a call to +61 421 658 639. (The G means GOOD, same string with an F at the end would FAIL the call

                    We also wanted the call to go out the normal trunks if all the GSM trunks were in use so we had to enable call cost promotion with this string in the site plan:

                    ;1a

                    This works for us because SIP trunks are the lowest cost trunks in ShoreTel. If you use the analogue trunk method then you may need to use the string that cburgy suggested as well. I'm not sure if the restriction string mentioned will work because they are applied to *user* groups (we still want the user to be allowed to make the call). Having restrict and permit fields on trunk groups would be a great feature. To restrict the numbers on another trunk group would require a manual dialplan edit as well. I prefer to make the GSM trunks cheaper, this also allows the call cost promotion to work.

                    Good luck

                    Originally posted by Kennytlaloc
                    This is exactly what I wanted to do. What GSM gateway are you using and is it working well? I assume that you are connecting to it via SIP from the Shoretel? I was thinking about connecting a FXS/FXO port to the GSM gateway before I tried SIP.

                    I don't believe that there would be a common prefix and it would have to be manual entries.

                    Is there an issue if you want to make the trunk accessible when using a GSM gateway?

                    Is it possible to provide the custom string you added to your trunk group?

                    Thanks
                    Ken
                    Last edited by Jason Learmouth; 02-21-2008, 07:29 PM.

                    Comment

                    Working...
                    X