Author Topic: Routing extensions to different SIP trunks  (Read 1734 times)

Offline Timur

  • Contributer
  • *
  • Posts: 10
  • Country: kz
  • Karma: +1/-0
    • View Profile
Routing extensions to different SIP trunks
« on: November 30, 2020, 07:29:45 AM »
Hello,
totally stuck with routing a group of extensions to a specific SIP trunk.

Got 8 branches registered to one MCD. Also got 8 SIP trunks for each branch. Trunk access is by prefix "9" and it's same for all.

I'm need to set up routing for something like this:
Extensions 1000-1099 dial 9XXXXXX and uses trunk-1.
Extensions 1100-1199 dial 9XXXXXX and going through trunk-2.
And so on.

I was able to make this working for 6 groups, with CORs on ARS routes and assigning them to ARS route list on dialed "9".
But there is only 6 alternative routes in 1 ARS route List form.

How can I do the same for 8 and more routes?
I suspect there is a better solution, than the ARS route lists.

Would appreciate for any help!

Thanks,
regards, Tim


Offline sunspark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 986
  • Country: mx
  • Karma: +16/-1
    • View Profile
Re: Routing extensions to different SIP trunks
« Reply #1 on: November 30, 2020, 07:44:58 AM »
hello ,

you need to use network zone in this case , not COR/ARS

Offline Timur

  • Contributer
  • *
  • Posts: 10
  • Country: kz
  • Karma: +1/-0
    • View Profile
Re: Routing extensions to different SIP trunks
« Reply #2 on: November 30, 2020, 09:47:28 AM »
hello ,

you need to use network zone in this case , not COR/ARS
Hello, sunspark, thanks for reply!
You mean using location based routing?

Sorry, not clearly explained. Trunks are PSTN gateways. So, when group of users (group1) dial 9+local PSTN number they must go through trunk-1. Trunk2 for group2 etc.

Tried Location Based Routing, and its works for DNs and speedcalls. But when I try to use LBN as prefix - its fails.
For example, LBN is "9" (LBN pref - 100). Im dialing "9" + Local PSTN number (xxx-xx-xx).
Im expexting to have 100+9+xxx-xx-xx on ARS route. but getting SIP 404.
MCD catching only 100+9 instead of 100+9+xxx-xx-xx.

Offline sunspark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 986
  • Country: mx
  • Karma: +16/-1
    • View Profile
Re: Routing extensions to different SIP trunks
« Reply #3 on: November 30, 2020, 10:03:23 AM »
ok try to use in this cas another method : interconnect number.

trunk 1 : interconnect 1
trunk 2 : interconnect 2


group 1 : interconnect 3
group 2 : interconnect 4


group 1 can use only interconnect 1 and 4 ( 4 to be able to call internal number group2)
group 2 can use only interconnect 2 and 3 ( 3 to be able to call internal number group1)
« Last Edit: November 30, 2020, 10:05:54 AM by sunspark »

Offline Timur

  • Contributer
  • *
  • Posts: 10
  • Country: kz
  • Karma: +1/-0
    • View Profile
Re: Routing extensions to different SIP trunks
« Reply #4 on: November 30, 2020, 10:06:57 AM »
ok try to use in this cas another method : interconnect number.
Thanks, will google it out, try and reply :-D

Offline Timur

  • Contributer
  • *
  • Posts: 10
  • Country: kz
  • Karma: +1/-0
    • View Profile
Re: Routing extensions to different SIP trunks
« Reply #5 on: November 30, 2020, 10:54:02 AM »
ok try to use in this cas another method : interconnect number.

trunk 1 : interconnect 1
trunk 2 : interconnect 2


group 1 : interconnect 3
group 2 : interconnect 4


group 1 can use only interconnect 1 and 4 ( 4 to be able to call internal number group2)
group 2 can use only interconnect 2 and 3 ( 3 to be able to call internal number group1)
Ok, stuck again (facepalm)
Thanks sunspark!

I'm able to grant/block trunks access for groups. Also groups still able to call each other.

But I can't figure out how to route them to their trunks by same prefix.
I'm got ARS dig. dialed "9". And it can point only on one trunk.

As result:
Group1 allowed for Trunk1 and succesfully calling for "9"+PSTN.
Group2 is dialing for "9"+PSTN and simply getting dropped, as it forbidden for Trunk1 in Intercon.restrictions.

Sorry for lack of understanding.

Offline sunspark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 986
  • Country: mx
  • Karma: +16/-1
    • View Profile
Re: Routing extensions to different SIP trunks
« Reply #6 on: November 30, 2020, 12:43:52 PM »
ok no problem :

You have 8 sip trunk ( for example Carrier1 to carrier8) and all users use the same Ars 9+ xxxxxxxx

So give each Sip trunk , interconnect number , for example

Sip trunk 1 = interconnect number 1
Sip trunk 2 = interconnect number 2
.
.
.
Sip trunk 8 = interconnect number 8

now for users :

users group 1 = interconnect 10
users group 2 = interconnect 11
.
.
.
.
users group 8 = interconnect 18


Now ARS :

Ars digit dialed 9 + xxxxx   --> Rout list  20

In you Ars rout list 20 , put all your sip trunk rout ( choice 1 --> sip trunk 1 , choice 2 sip trunk 2 ........)

Now in the interconnect restriction :

users group 1 can interconnect only with 1 , and sip trunk 1 and all other interconnect users , but not other sip trunk
make the same thing for other users group.


When user group 1 dial 9+xxxxxx --> rout list 20 ---> then they will use the good Ars rout.

hope it's clear now

Online sarond

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1404
  • Country: au
  • Karma: +73/-0
    • View Profile
Re: Routing extensions to different SIP trunks
« Reply #7 on: November 30, 2020, 09:00:53 PM »
What version of software are you running?

ARS Route Lists routes increased from 6 to 20 in MiVB 8.0. If you are running an earlier version than that then you are limited to 6 routes per list.

Offline Timur

  • Contributer
  • *
  • Posts: 10
  • Country: kz
  • Karma: +1/-0
    • View Profile
Re: Routing extensions to different SIP trunks
« Reply #8 on: November 30, 2020, 11:39:51 PM »
Hello,
Yes, it's clear :-) Thanks sunspark!

Unfortunately sarond is right, I've got MCD 6.0 and limited on 6 routes per list.
Will try to upgrade asap.

Thank you gentlemen! You really helped a lot!
Regards, Tim


 

Sitemap 1 2 3 4 5 6 7 8 9 10