# Load balancing outbound call

**URL:** https://forums.vitalpbx.org/t/load-balancing-outbound-call/554
**Category:** VitalPBX
**Created:** [October 19, 2021, 4:11am UTC](https://forums.vitalpbx.org/t/load-balancing-outbound-call/554 "2021-10-19T04:11:57Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![MASTERING\_VOIP](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/mastering_voip/32/351_2.png) [@MASTERING\_VOIP](https://forums.vitalpbx.org/u/MASTERING_VOIP)
#### Post date: [October 19, 2021, 4:11am UTC](https://forums.vitalpbx.org/t/load-balancing-outbound-call/554/1 "2021-10-19T04:11:57Z")

</div>

.Hi Team Vital PBX,

I have 2 trunk providers (TrunkA & Trunk B). How to make a round robin?

Call 1 → Trunk A,  
Call2 → Trunk B,  
Call 3 → Trunk A,  
Call 4 → Trunk B

Do you have idea?

Thanks

---

<div class="post-metadata">

### Author: ![miguel](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/miguel/32/415_2.png) [@miguel](https://forums.vitalpbx.org/u/miguel)
#### Post date: [October 20, 2021, 4:11pm UTC](https://forums.vitalpbx.org/t/load-balancing-outbound-call/554/2 "2021-10-20T16:11:14Z")

</div>

@MASTERING_VOIP,

No, this is not possible on VitalPBX.

---

<div class="post-metadata">

### Author: ![chris](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/c/958977/32.png) [@chris](https://forums.vitalpbx.org/u/chris)
#### Post date: [October 21, 2021, 12:44am UTC](https://forums.vitalpbx.org/t/load-balancing-outbound-call/554/3 "2021-10-21T00:44:58Z")

</div>

You could do it real basic with your dialplan…

something like:

[0-4]X. → Sends to trunk A  
[5-9]X. → Sends to trunk B

So, basically any call starting with 0 through 4 goes to Trunk A and any starting with 5 through 9 goes to trunk B.

You can get more specific if your calls use specific dial patterns.

It’s basic, but also super easy to implement.

---

<div class="post-metadata">

### Author: ![MASTERING\_VOIP](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/mastering_voip/32/351_2.png) [@MASTERING\_VOIP](https://forums.vitalpbx.org/u/MASTERING_VOIP)
#### Post date: [October 21, 2021, 2:04am UTC](https://forums.vitalpbx.org/t/load-balancing-outbound-call/554/4 "2021-10-21T02:04:21Z")

</div>

Hi @chris

But is it possible to make 50%:50% trunk A dan B? May be with custom dialplan:)

Thanks

---

<div class="post-metadata">

### Author: ![PitzKey](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/pitzkey/32/420_2.png) [@PitzKey](https://forums.vitalpbx.org/u/PitzKey)
#### Post date: [October 21, 2021, 3:51pm UTC](https://forums.vitalpbx.org/t/load-balancing-outbound-call/554/5 "2021-10-21T15:51:12Z")

</div>

You can do that with Kamailio’s Dispatcher module

---

<div class="post-metadata">

### Author: ![system](https://forums.vitalpbx.org/uploads/default/original/1X/672b458a1d454755270c2c16adc5316b641c3c6a.png) [@system](https://forums.vitalpbx.org/u/system)
#### Post date: [November 20, 2021, 3:51pm UTC](https://forums.vitalpbx.org/t/load-balancing-outbound-call/554/6 "2021-11-20T15:51:49Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
