Announcement

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

  • Route call to specific number to differnt site

    At one site (Site B) I have a phone number that we need to dial but our local telco is blocking all calls to that number (Let's not get into why or trying to get it unblocked). I have another site (Site A) that has no issue calling this number. I'd like Site B to route all calls to this number through any otherwise eligible trunk at site A. I have worked with custom dial plans but it's been a while and I could use some guidance.

    Thank you

  • #2
    I think I answered my own question (and surprisingly it was not nearly as difficult as I was anticipating)

    I started with the generated Long Distance routing:
    <+MX.>xmX.%540G

    Then added the specific phone number and set a fail condition:
    <+M2183392406>xmX.%540F

    This was then added to my custom routing for the trunk group. Being the only trunk group at site B the call goes out site A.

    At first I tried this which routed the call to Site A but also routed other similar numbers to site A too.
    <+MX.>xm2183392406%540F
    For future reference I'd still like to know the difference if anyone knows.

    Comment


    • #3
      Originally posted by pfp View Post
      I think I answered my own question (and surprisingly it was not nearly as difficult as I was anticipating)

      I started with the generated Long Distance routing:
      <+MX.>xmX.%540G

      Then added the specific phone number and set a fail condition:
      <+M2183392406>xmX.%540F

      This was then added to my custom routing for the trunk group. Being the only trunk group at site B the call goes out site A.

      At first I tried this which routed the call to Site A but also routed other similar numbers to site A too.
      <+MX.>xm2183392406%540F
      For future reference I'd still like to know the difference if anyone knows.
      The bit <+MX.> is the string to match (in this case all national numbers) and the bit after it is what actually gets dialled out the trunk (if it's permitted). The second string actually fails all long distance calls on that trunk and the xm2183392406 part is ignored, which is lucky because if it still had the G at the end you would have called 2183392406 for every LD call...


      Comment

      Working...
      X