From bogdan at opensips.org Thu Jun 15 14:00:46 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 15 Jun 2017 21:00:46 +0300 Subject: [OpenSIPS-Business] =?utf-8?q?=5BBlog=5D_Traffic_balancing_?= =?utf-8?b?4oCTIGxvYWQsIHdlaWdodHMsIHJvdW5kIHJvYmluID8/?= Message-ID: <6a130f8e-e3b2-9070-1ad8-25b632d54c9d@opensips.org> Many times, during discussion about various OpenSIPS based solutions, I noticed that people make a confusion when comes to the meaning of “load balancing”..... https://blog.opensips.org/2017/06/15/traffic-balancing-load-weights-round-robin/ Enjoy the reading :) -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Bootcamp 2017, Houston, US http://opensips.org/training/OpenSIPS_Bootcamp_2017.html From bogdan at opensips.org Fri Jun 16 10:47:21 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Fri, 16 Jun 2017 17:47:21 +0300 Subject: [OpenSIPS-Business] =?utf-8?q?=5BOpenSIPS-Users=5D_=5BOpenSIPS-De?= =?utf-8?q?vel=5D_=5BBlog=5D_Traffic_balancing_=E2=80=93_load=2C_weights?= =?utf-8?q?=2C_round_robin_=3F=3F?= In-Reply-To: References: <6a130f8e-e3b2-9070-1ad8-25b632d54c9d@opensips.org> Message-ID: Hi Robert, All the time there is space for more :). This blog post is the first from a set of docs trying to explain the routing with OpenSIPS. Including some feedback from you, I can draft as following chapters: 1) how to insert a balancer in your SIP traffic - like dialog statefull proxy, transaction statefull proxy, stateless proxy, etc.... 2) routing modules in opensips, like dispatcher versus drouting versus load-balancer.. In your classification, I noticed many missing features for Dynamic Routing: - in memory matching with prefix-tree - O(prefix_len) - has gui in Control Panel - destination pinging, failover, re-enable - clustering capabilities for the state of the GW/destinations - rule fallback (on matching) ...... Again, any feedback is more the welcome as it will give us some ideas about the hot topics from the user perspective. Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Bootcamp 2017, Houston, US http://opensips.org/training/OpenSIPS_Bootcamp_2017.html On 06/15/2017 09:36 PM, Mundkowsky, Robert wrote: > This is helpful. But would like a little more details there. Such as: > > 1) openSIPS when it actions as a Load Balancer is always a SIP proxy during the complete dialog. In other words, the caller RTP is direct connected backend gateway, but openSIPS is always between them for the SIP traffic. > 2) Some information for the traffic distributions modules is stored in the database, but some info is only in memory (e.g. which gateway is enabled, count of active dialogs) > > This might be naïve details for most telecom folks, but helpful for naïve users like myself. > > I haven't played with "Carrier Route","Dispatcher", and "Dynamic Routing", but similar notes for those would be helpful too. > > The following video was very helpful in describing the different traffic distributions modules openSIPS supports: > > https://www.youtube.com/watch?v=yTLPs1-X0SM > > Not sure if my notes are helpful, but they are below. > > Routing modules: > Carrier Route > - old module and not maintained, but seems to work > - features: routing, load balancing, blacklisting > - not installed by default > - no web GUI > > - performs longest prefix matching > - you use longest preefix to pull "least cost" route out of database table > - strips prefix, adds prefix/suffix > - probabilities to load balancer > > > Load Balancer > - light weight > - balancing based on load > - can config via GUI > - single database table > > - features: > - no prefix/suffix changing > - with version 1.8, you can keep counters in database > > - docs: > Tutorial > http://www.opensips.org/Documentation/Tutorials-LoadBalancing-1-9 > DB schema: > https://www.opensips.org/Documentation/Install-DBSchema-2-2#AEN6455 > module > http://www.opensips.org/html/docs/modules/2.2.x/load_balancer.html > > Dispatcher > - computes hash over parts of request and selects an address from the destination list > - can config via GUI > - CallerID, From URI, To URI, Request URI > - via config file or databaseas > - does not strip or append prefix/suffix > - out of service destinations detected by probing > - can mark as out of service > - can mark as in service when gateway comes back online > > Dynamic Routing > - heavy weight > - multiple criteria to determine route > - prefix, caller, group, time, priority > - databse only > 4 tables (groups, rules, carriers, gateways) > > - functions > - do_routing() uses all 4 tables > - route_to_carrier uses carriers & gateways tables > - route_to_gateway - uses gateways table > > > > > Robert Mundkowsky > > > -----Original Message----- > From: Devel [mailto:devel-bounces at lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu > Sent: Thursday, June 15, 2017 2:01 PM > To: users at lists.opensips.org; developensips ; news at lists.opensips.org; business at lists.opensips.org > Subject: [OpenSIPS-Devel] [Blog] Traffic balancing – load, weights, round robin ?? > > Many times, during discussion about various OpenSIPS based solutions, I noticed that people make a confusion when comes to the meaning of “load balancing”..... > > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.opensips.org%2F2017%2F06%2F15%2Ftraffic-balancing-load-weights-round-robin%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ce9218868262d4ce369ac08d4b4189373%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636331465027654678&sdata=0acaS2xE6vYbvzOIyBIJC48oMhOLKF7j3YqKnDp98nI%3D&reserved=0 > > Enjoy the reading :) > > -- > Bogdan-Andrei Iancu > OpenSIPS Founder and Developer > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.opensips-solutions.com&data=02%7C01%7Crmundkowsky%40ets.org%7Ce9218868262d4ce369ac08d4b4189373%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636331465027664682&sdata=lUNkjOnT%2FEZ%2FR%2Fvr%2B9wyPoECMq3B%2FFwU4OjzvlwN7yY%3D&reserved=0 > > OpenSIPS Bootcamp 2017, Houston, US > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fopensips.org%2Ftraining%2FOpenSIPS_Bootcamp_2017.html&data=02%7C01%7Crmundkowsky%40ets.org%7Ce9218868262d4ce369ac08d4b4189373%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636331465027664682&sdata=uT%2FNvQ3PfVFHXwSzRvis9FUw08RP%2Fwa5Uz0cj6by1Ec%3D&reserved=0 > > > _______________________________________________ > Devel mailing list > Devel at lists.opensips.org > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opensips.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fdevel&data=02%7C01%7Crmundkowsky%40ets.org%7Ce9218868262d4ce369ac08d4b4189373%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636331465027664682&sdata=Vx7JpSMTsxpa2hgUL%2FR1poHxfIYTJJ83iK6v0RqVU2U%3D&reserved=0 > > ________________________________ > > This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. > > > Thank you for your compliance. > > ________________________________ > _______________________________________________ > Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users From rmundkowsky at ets.org Thu Jun 15 14:36:21 2017 From: rmundkowsky at ets.org (Mundkowsky, Robert) Date: Thu, 15 Jun 2017 18:36:21 +0000 Subject: [OpenSIPS-Business] =?utf-8?q?=5BOpenSIPS-Devel=5D_=5BBlog=5D_Tra?= =?utf-8?q?ffic_balancing_=E2=80=93_load=2C_weights=2C_round_robin_=3F=3F?= In-Reply-To: <6a130f8e-e3b2-9070-1ad8-25b632d54c9d@opensips.org> References: <6a130f8e-e3b2-9070-1ad8-25b632d54c9d@opensips.org> Message-ID: This is helpful. But would like a little more details there. Such as: 1) openSIPS when it actions as a Load Balancer is always a SIP proxy during the complete dialog. In other words, the caller RTP is direct connected backend gateway, but openSIPS is always between them for the SIP traffic. 2) Some information for the traffic distributions modules is stored in the database, but some info is only in memory (e.g. which gateway is enabled, count of active dialogs) This might be naïve details for most telecom folks, but helpful for naïve users like myself. I haven't played with "Carrier Route","Dispatcher", and "Dynamic Routing", but similar notes for those would be helpful too. The following video was very helpful in describing the different traffic distributions modules openSIPS supports: https://www.youtube.com/watch?v=yTLPs1-X0SM Not sure if my notes are helpful, but they are below. Routing modules: Carrier Route - old module and not maintained, but seems to work - features: routing, load balancing, blacklisting - not installed by default - no web GUI - performs longest prefix matching - you use longest preefix to pull "least cost" route out of database table - strips prefix, adds prefix/suffix - probabilities to load balancer Load Balancer - light weight - balancing based on load - can config via GUI - single database table - features: - no prefix/suffix changing - with version 1.8, you can keep counters in database - docs: Tutorial http://www.opensips.org/Documentation/Tutorials-LoadBalancing-1-9 DB schema: https://www.opensips.org/Documentation/Install-DBSchema-2-2#AEN6455 module http://www.opensips.org/html/docs/modules/2.2.x/load_balancer.html Dispatcher - computes hash over parts of request and selects an address from the destination list - can config via GUI - CallerID, From URI, To URI, Request URI - via config file or databaseas - does not strip or append prefix/suffix - out of service destinations detected by probing - can mark as out of service - can mark as in service when gateway comes back online Dynamic Routing - heavy weight - multiple criteria to determine route - prefix, caller, group, time, priority - databse only 4 tables (groups, rules, carriers, gateways) - functions - do_routing() uses all 4 tables - route_to_carrier uses carriers & gateways tables - route_to_gateway - uses gateways table Robert Mundkowsky -----Original Message----- From: Devel [mailto:devel-bounces at lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu Sent: Thursday, June 15, 2017 2:01 PM To: users at lists.opensips.org; developensips ; news at lists.opensips.org; business at lists.opensips.org Subject: [OpenSIPS-Devel] [Blog] Traffic balancing – load, weights, round robin ?? Many times, during discussion about various OpenSIPS based solutions, I noticed that people make a confusion when comes to the meaning of “load balancing”..... https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.opensips.org%2F2017%2F06%2F15%2Ftraffic-balancing-load-weights-round-robin%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ce9218868262d4ce369ac08d4b4189373%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636331465027654678&sdata=0acaS2xE6vYbvzOIyBIJC48oMhOLKF7j3YqKnDp98nI%3D&reserved=0 Enjoy the reading :) -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.opensips-solutions.com&data=02%7C01%7Crmundkowsky%40ets.org%7Ce9218868262d4ce369ac08d4b4189373%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636331465027664682&sdata=lUNkjOnT%2FEZ%2FR%2Fvr%2B9wyPoECMq3B%2FFwU4OjzvlwN7yY%3D&reserved=0 OpenSIPS Bootcamp 2017, Houston, US https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fopensips.org%2Ftraining%2FOpenSIPS_Bootcamp_2017.html&data=02%7C01%7Crmundkowsky%40ets.org%7Ce9218868262d4ce369ac08d4b4189373%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636331465027664682&sdata=uT%2FNvQ3PfVFHXwSzRvis9FUw08RP%2Fwa5Uz0cj6by1Ec%3D&reserved=0 _______________________________________________ Devel mailing list Devel at lists.opensips.org https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opensips.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fdevel&data=02%7C01%7Crmundkowsky%40ets.org%7Ce9218868262d4ce369ac08d4b4189373%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636331465027664682&sdata=Vx7JpSMTsxpa2hgUL%2FR1poHxfIYTJJ83iK6v0RqVU2U%3D&reserved=0 ________________________________ This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance. ________________________________ From rmundkowsky at ets.org Fri Jun 16 12:52:36 2017 From: rmundkowsky at ets.org (Mundkowsky, Robert) Date: Fri, 16 Jun 2017 16:52:36 +0000 Subject: [OpenSIPS-Business] =?utf-8?q?=5BOpenSIPS-Devel=5D_=5BOpenSIPS-Us?= =?utf-8?q?ers=5D__=5BBlog=5D_Traffic_balancing_=E2=80=93_load=2C_weights?= =?utf-8?q?=2C_round_robin_=3F=3F?= In-Reply-To: References: <6a130f8e-e3b2-9070-1ad8-25b632d54c9d@opensips.org> Message-ID: Thanks. FYI, the main reason we decided to use openSIPS is that is a lot more documentation than other solutions. Anyways, I have read lot of the books ("Building Telephony..2nd and 1.6"), some of the website (modules, how to, ....); and the major missing things are: 1 - Need a "openSIPS CookBook of recipes" that has more route examples (e.g. how to setup user authentication, how to do HA, security (drop ghost calls, ...), setup to work with RTP proxies, ...) 2 - module documentation needs better details on how to pass in and pass out values. For example, some modules do not expand variables, so it is really hard to pass in values. Robert Mundkowsky -----Original Message----- From: Devel [mailto:devel-bounces at lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu Sent: Friday, June 16, 2017 10:47 AM To: OpenSIPS users mailling list Cc: business at lists.opensips.org; news at lists.opensips.org; OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel] [OpenSIPS-Users] [Blog] Traffic balancing – load, weights, round robin ?? Hi Robert, All the time there is space for more :). This blog post is the first from a set of docs trying to explain the routing with OpenSIPS. Including some feedback from you, I can draft as following chapters: 1) how to insert a balancer in your SIP traffic - like dialog statefull proxy, transaction statefull proxy, stateless proxy, etc.... 2) routing modules in opensips, like dispatcher versus drouting versus load-balancer.. In your classification, I noticed many missing features for Dynamic Routing: - in memory matching with prefix-tree - O(prefix_len) - has gui in Control Panel - destination pinging, failover, re-enable - clustering capabilities for the state of the GW/destinations - rule fallback (on matching) ...... Again, any feedback is more the welcome as it will give us some ideas about the hot topics from the user perspective. Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.opensips-solutions.com&data=02%7C01%7Crmundkowsky%40ets.org%7Ccb9609d3270b4091081108d4b4c6c079%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636332213102517343&sdata=ejvSuDmud%2FPcsYLuGhCjfEX3Zug1WSCwBmWblGUTcus%3D&reserved=0 OpenSIPS Bootcamp 2017, Houston, US https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fopensips.org%2Ftraining%2FOpenSIPS_Bootcamp_2017.html&data=02%7C01%7Crmundkowsky%40ets.org%7Ccb9609d3270b4091081108d4b4c6c079%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636332213102517343&sdata=30yqvccNVQZmoeGjEWkjWQC2n7CZ7KgzccZxoRtPBek%3D&reserved=0 On 06/15/2017 09:36 PM, Mundkowsky, Robert wrote: > This is helpful. But would like a little more details there. Such as: > > 1) openSIPS when it actions as a Load Balancer is always a SIP proxy during the complete dialog. In other words, the caller RTP is direct connected backend gateway, but openSIPS is always between them for the SIP traffic. > 2) Some information for the traffic distributions modules is stored in > the database, but some info is only in memory (e.g. which gateway is > enabled, count of active dialogs) > > This might be naïve details for most telecom folks, but helpful for naïve users like myself. > > I haven't played with "Carrier Route","Dispatcher", and "Dynamic Routing", but similar notes for those would be helpful too. > > The following video was very helpful in describing the different traffic distributions modules openSIPS supports: > > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.y > outube.com%2Fwatch%3Fv%3DyTLPs1-X0SM&data=02%7C01%7Crmundkowsky%40ets. > org%7Ccb9609d3270b4091081108d4b4c6c079%7C0ba6e9b760b34fae92f37e6ddd9e9 > b65%7C0%7C0%7C636332213102517343&sdata=mDlSlzbtLQ%2FL3uDq67VkOa%2B8FPG > 20nNx4AZ9duHVi1s%3D&reserved=0 > > Not sure if my notes are helpful, but they are below. > > Routing modules: > Carrier Route > - old module and not maintained, but seems to work > - features: routing, load balancing, blacklisting > - not installed by default > - no web GUI > > - performs longest prefix matching > - you use longest preefix to pull "least cost" route out of database > table > - strips prefix, adds prefix/suffix > - probabilities to load balancer > > > Load Balancer > - light weight > - balancing based on load > - can config via GUI > - single database table > > - features: > - no prefix/suffix changing > - with version 1.8, you can keep counters in database > > - docs: > Tutorial > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.op > ensips.org%2FDocumentation%2FTutorials-LoadBalancing-1-9&data=02%7C01% > 7Crmundkowsky%40ets.org%7Ccb9609d3270b4091081108d4b4c6c079%7C0ba6e9b76 > 0b34fae92f37e6ddd9e9b65%7C0%7C0%7C636332213102517343&sdata=TpUc3EXNX1N > 0lGf4UCuQsHBceQQYu%2FkdtGxOpYWe8MM%3D&reserved=0 > DB schema: > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.o > pensips.org%2FDocumentation%2FInstall-DBSchema-2-2%23AEN6455&data=02%7 > C01%7Crmundkowsky%40ets.org%7Ccb9609d3270b4091081108d4b4c6c079%7C0ba6e > 9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636332213102517343&sdata=Huu9Utg > 8OJhqcEB4Vu4MFrX507%2F5Eew0pbZONE83OHg%3D&reserved=0 > module > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.op > ensips.org%2Fhtml%2Fdocs%2Fmodules%2F2.2.x%2Fload_balancer.html&data=0 > 2%7C01%7Crmundkowsky%40ets.org%7Ccb9609d3270b4091081108d4b4c6c079%7C0b > a6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636332213102517343&sdata=Cqj8 > S8eWWRFku23mo7CBLVw1EFit2akpxnfZW6naxZo%3D&reserved=0 > > Dispatcher > - computes hash over parts of request and selects an address from the > destination list > - can config via GUI > - CallerID, From URI, To URI, Request URI > - via config file or databaseas > - does not strip or append prefix/suffix > - out of service destinations detected by probing > - can mark as out of service > - can mark as in service when gateway comes back online > > Dynamic Routing > - heavy weight > - multiple criteria to determine route > - prefix, caller, group, time, priority > - databse only > 4 tables (groups, rules, carriers, gateways) > > - functions > - do_routing() uses all 4 tables > - route_to_carrier uses carriers & gateways tables > - route_to_gateway - uses gateways table > > > > > Robert Mundkowsky > > > -----Original Message----- > From: Devel [mailto:devel-bounces at lists.opensips.org] On Behalf Of > Bogdan-Andrei Iancu > Sent: Thursday, June 15, 2017 2:01 PM > To: users at lists.opensips.org; developensips > ; news at lists.opensips.org; > business at lists.opensips.org > Subject: [OpenSIPS-Devel] [Blog] Traffic balancing – load, weights, round robin ?? > > Many times, during discussion about various OpenSIPS based solutions, I noticed that people make a confusion when comes to the meaning of “load balancing”..... > > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog. > opensips.org%2F2017%2F06%2F15%2Ftraffic-balancing-load-weights-round-r > obin%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ce9218868262d4ce369ac08d > 4b4189373%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636331465027654 > 678&sdata=0acaS2xE6vYbvzOIyBIJC48oMhOLKF7j3YqKnDp98nI%3D&reserved=0 > > Enjoy the reading :) > > -- > Bogdan-Andrei Iancu > OpenSIPS Founder and Developer > > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.op > ensips-solutions.com&data=02%7C01%7Crmundkowsky%40ets.org%7Ce921886826 > 2d4ce369ac08d4b4189373%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C63 > 6331465027664682&sdata=lUNkjOnT%2FEZ%2FR%2Fvr%2B9wyPoECMq3B%2FFwU4Ojzv > lwN7yY%3D&reserved=0 > > OpenSIPS Bootcamp 2017, Houston, US > > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fopensi > ps.org%2Ftraining%2FOpenSIPS_Bootcamp_2017.html&data=02%7C01%7Crmundko > wsky%40ets.org%7Ce9218868262d4ce369ac08d4b4189373%7C0ba6e9b760b34fae92 > f37e6ddd9e9b65%7C0%7C0%7C636331465027664682&sdata=uT%2FNvQ3PfVFHXwSzRv > is9FUw08RP%2Fwa5Uz0cj6by1Ec%3D&reserved=0 > > > _______________________________________________ > Devel mailing list > Devel at lists.opensips.org > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists. > opensips.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fdevel&data=02%7C01%7Crmu > ndkowsky%40ets.org%7Ce9218868262d4ce369ac08d4b4189373%7C0ba6e9b760b34f > ae92f37e6ddd9e9b65%7C0%7C0%7C636331465027664682&sdata=Vx7JpSMTsxpa2hgU > L%2FR1poHxfIYTJJ83iK6v0RqVU2U%3D&reserved=0 > > ________________________________ > > This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. > > > Thank you for your compliance. > > ________________________________ > _______________________________________________ > Users mailing list > Users at lists.opensips.org > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists. > opensips.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fusers&data=02%7C01%7Crmu > ndkowsky%40ets.org%7Ccb9609d3270b4091081108d4b4c6c079%7C0ba6e9b760b34f > ae92f37e6ddd9e9b65%7C0%7C0%7C636332213102517343&sdata=jRH8DZKOg%2BBjsX > ZiIgXuDMXxBfKpoMOprkmXmi1bpm8%3D&reserved=0 _______________________________________________ Devel mailing list Devel at lists.opensips.org https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opensips.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fdevel&data=02%7C01%7Crmundkowsky%40ets.org%7Ccb9609d3270b4091081108d4b4c6c079%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636332213102517343&sdata=JrkYu76QK2Zl5Idz9qEynfIx6uZaY7%2Fn0OqOtbmfF7s%3D&reserved=0 ________________________________ This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance. ________________________________ From bogdan at opensips.org Wed Jun 28 15:19:17 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 28 Jun 2017 22:19:17 +0300 Subject: [OpenSIPS-Business] =?utf-8?q?_=5BBlog=5D_Traffic_balancing_?= =?utf-8?q?=E2=80=93_the_insertion_into_the_SIP_flow?= Message-ID: <4231c314-8e8b-aa8d-afe0-31754ab93458@opensips.org> In the last post we talked about the different available flavors of traffic balancing with OpenSIPS. But picking the right balancing logic is just the first step. The next step, and an important one, is to decide how you want to have the balancer inserted into the SIP flow (between the end-points and the main servers).... https://blog.opensips.org/2017/06/28/traffic-balancing-the-insertion-into-the-sip-flow/ Enjoy this follow up on the balancing topic -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Bootcamp 2017, Houston, US http://opensips.org/training/OpenSIPS_Bootcamp_2017.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From bogdan at opensips.org Wed Jun 28 15:42:46 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 28 Jun 2017 22:42:46 +0300 Subject: [OpenSIPS-Business] =?utf-8?q?=5BOpenSIPS-Users=5D_=5BBlog=5D_Tra?= =?utf-8?q?ffic_balancing_=E2=80=93_load=2C_weights=2C_round_robin_=3F=3F?= In-Reply-To: References: <6a130f8e-e3b2-9070-1ad8-25b632d54c9d@opensips.org> Message-ID: <505fc672-b3b5-f87b-a534-6ee214d72d66@opensips.org> Hi Robert, See the new blog post about how a balancer should be inserted into the SIP flow: https://blog.opensips.org/2017/06/28/traffic-balancing-the-insertion-into-the-sip-flow/ Thanks for the idea of the post ;) Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Bootcamp 2017, Houston, US http://opensips.org/training/OpenSIPS_Bootcamp_2017.html On 06/16/2017 07:52 PM, Mundkowsky, Robert wrote: > Thanks. > > FYI, the main reason we decided to use openSIPS is that is a lot more documentation than other solutions. > > Anyways, I have read lot of the books ("Building Telephony..2nd and 1.6"), some of the website (modules, how to, ....); and the major missing things are: > 1 - Need a "openSIPS CookBook of recipes" that has more route examples (e.g. how to setup user authentication, how to do HA, security (drop ghost calls, ...), setup to work with RTP proxies, ...) > 2 - module documentation needs better details on how to pass in and pass out values. For example, some modules do not expand variables, so it is really hard to pass in values. > > > > Robert Mundkowsky > > -----Original Message----- > From: Devel [mailto:devel-bounces at lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu > Sent: Friday, June 16, 2017 10:47 AM > To: OpenSIPS users mailling list > Cc: business at lists.opensips.org; news at lists.opensips.org; OpenSIPS devel mailling list > Subject: Re: [OpenSIPS-Devel] [OpenSIPS-Users] [Blog] Traffic balancing – load, weights, round robin ?? > > Hi Robert, > > All the time there is space for more :). This blog post is the first from a set of docs trying to explain the routing with OpenSIPS. > > Including some feedback from you, I can draft as following chapters: > 1) how to insert a balancer in your SIP traffic - like dialog statefull proxy, transaction statefull proxy, stateless proxy, etc.... > 2) routing modules in opensips, like dispatcher versus drouting versus load-balancer.. > > > In your classification, I noticed many missing features for Dynamic Routing: > - in memory matching with prefix-tree - O(prefix_len) > - has gui in Control Panel > - destination pinging, failover, re-enable > - clustering capabilities for the state of the GW/destinations > - rule fallback (on matching) > ...... > > Again, any feedback is more the welcome as it will give us some ideas about the hot topics from the user perspective. > > Best regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developer > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.opensips-solutions.com&data=02%7C01%7Crmundkowsky%40ets.org%7Ccb9609d3270b4091081108d4b4c6c079%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636332213102517343&sdata=ejvSuDmud%2FPcsYLuGhCjfEX3Zug1WSCwBmWblGUTcus%3D&reserved=0 > > OpenSIPS Bootcamp 2017, Houston, US > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fopensips.org%2Ftraining%2FOpenSIPS_Bootcamp_2017.html&data=02%7C01%7Crmundkowsky%40ets.org%7Ccb9609d3270b4091081108d4b4c6c079%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636332213102517343&sdata=30yqvccNVQZmoeGjEWkjWQC2n7CZ7KgzccZxoRtPBek%3D&reserved=0 > > On 06/15/2017 09:36 PM, Mundkowsky, Robert wrote: >> This is helpful. But would like a little more details there. Such as: >> >> 1) openSIPS when it actions as a Load Balancer is always a SIP proxy during the complete dialog. In other words, the caller RTP is direct connected backend gateway, but openSIPS is always between them for the SIP traffic. >> 2) Some information for the traffic distributions modules is stored in >> the database, but some info is only in memory (e.g. which gateway is >> enabled, count of active dialogs) >> >> This might be naïve details for most telecom folks, but helpful for naïve users like myself. >> >> I haven't played with "Carrier Route","Dispatcher", and "Dynamic Routing", but similar notes for those would be helpful too. >> >> The following video was very helpful in describing the different traffic distributions modules openSIPS supports: >> >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.y >> outube.com%2Fwatch%3Fv%3DyTLPs1-X0SM&data=02%7C01%7Crmundkowsky%40ets. >> org%7Ccb9609d3270b4091081108d4b4c6c079%7C0ba6e9b760b34fae92f37e6ddd9e9 >> b65%7C0%7C0%7C636332213102517343&sdata=mDlSlzbtLQ%2FL3uDq67VkOa%2B8FPG >> 20nNx4AZ9duHVi1s%3D&reserved=0 >> >> Not sure if my notes are helpful, but they are below. >> >> Routing modules: >> Carrier Route >> - old module and not maintained, but seems to work >> - features: routing, load balancing, blacklisting >> - not installed by default >> - no web GUI >> >> - performs longest prefix matching >> - you use longest preefix to pull "least cost" route out of database >> table >> - strips prefix, adds prefix/suffix >> - probabilities to load balancer >> >> >> Load Balancer >> - light weight >> - balancing based on load >> - can config via GUI >> - single database table >> >> - features: >> - no prefix/suffix changing >> - with version 1.8, you can keep counters in database >> >> - docs: >> Tutorial >> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.op >> ensips.org%2FDocumentation%2FTutorials-LoadBalancing-1-9&data=02%7C01% >> 7Crmundkowsky%40ets.org%7Ccb9609d3270b4091081108d4b4c6c079%7C0ba6e9b76 >> 0b34fae92f37e6ddd9e9b65%7C0%7C0%7C636332213102517343&sdata=TpUc3EXNX1N >> 0lGf4UCuQsHBceQQYu%2FkdtGxOpYWe8MM%3D&reserved=0 >> DB schema: >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.o >> pensips.org%2FDocumentation%2FInstall-DBSchema-2-2%23AEN6455&data=02%7 >> C01%7Crmundkowsky%40ets.org%7Ccb9609d3270b4091081108d4b4c6c079%7C0ba6e >> 9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636332213102517343&sdata=Huu9Utg >> 8OJhqcEB4Vu4MFrX507%2F5Eew0pbZONE83OHg%3D&reserved=0 >> module >> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.op >> ensips.org%2Fhtml%2Fdocs%2Fmodules%2F2.2.x%2Fload_balancer.html&data=0 >> 2%7C01%7Crmundkowsky%40ets.org%7Ccb9609d3270b4091081108d4b4c6c079%7C0b >> a6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636332213102517343&sdata=Cqj8 >> S8eWWRFku23mo7CBLVw1EFit2akpxnfZW6naxZo%3D&reserved=0 >> >> Dispatcher >> - computes hash over parts of request and selects an address from the >> destination list >> - can config via GUI >> - CallerID, From URI, To URI, Request URI >> - via config file or databaseas >> - does not strip or append prefix/suffix >> - out of service destinations detected by probing >> - can mark as out of service >> - can mark as in service when gateway comes back online >> >> Dynamic Routing >> - heavy weight >> - multiple criteria to determine route >> - prefix, caller, group, time, priority >> - databse only >> 4 tables (groups, rules, carriers, gateways) >> >> - functions >> - do_routing() uses all 4 tables >> - route_to_carrier uses carriers & gateways tables >> - route_to_gateway - uses gateways table >> >> >> >> >> Robert Mundkowsky >> >> >> -----Original Message----- >> From: Devel [mailto:devel-bounces at lists.opensips.org] On Behalf Of >> Bogdan-Andrei Iancu >> Sent: Thursday, June 15, 2017 2:01 PM >> To: users at lists.opensips.org; developensips >> ; news at lists.opensips.org; >> business at lists.opensips.org >> Subject: [OpenSIPS-Devel] [Blog] Traffic balancing – load, weights, round robin ?? >> >> Many times, during discussion about various OpenSIPS based solutions, I noticed that people make a confusion when comes to the meaning of “load balancing”..... >> >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog. >> opensips.org%2F2017%2F06%2F15%2Ftraffic-balancing-load-weights-round-r >> obin%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ce9218868262d4ce369ac08d >> 4b4189373%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636331465027654 >> 678&sdata=0acaS2xE6vYbvzOIyBIJC48oMhOLKF7j3YqKnDp98nI%3D&reserved=0 >> >> Enjoy the reading :) >> >> -- >> Bogdan-Andrei Iancu >> OpenSIPS Founder and Developer >> >> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.op >> ensips-solutions.com&data=02%7C01%7Crmundkowsky%40ets.org%7Ce921886826 >> 2d4ce369ac08d4b4189373%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C63 >> 6331465027664682&sdata=lUNkjOnT%2FEZ%2FR%2Fvr%2B9wyPoECMq3B%2FFwU4Ojzv >> lwN7yY%3D&reserved=0 >> >> OpenSIPS Bootcamp 2017, Houston, US >> >> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fopensi >> ps.org%2Ftraining%2FOpenSIPS_Bootcamp_2017.html&data=02%7C01%7Crmundko >> wsky%40ets.org%7Ce9218868262d4ce369ac08d4b4189373%7C0ba6e9b760b34fae92 >> f37e6ddd9e9b65%7C0%7C0%7C636331465027664682&sdata=uT%2FNvQ3PfVFHXwSzRv >> is9FUw08RP%2Fwa5Uz0cj6by1Ec%3D&reserved=0 >> >> >> _______________________________________________ >> Devel mailing list >> Devel at lists.opensips.org >> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists. >> opensips.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fdevel&data=02%7C01%7Crmu >> ndkowsky%40ets.org%7Ce9218868262d4ce369ac08d4b4189373%7C0ba6e9b760b34f >> ae92f37e6ddd9e9b65%7C0%7C0%7C636331465027664682&sdata=Vx7JpSMTsxpa2hgU >> L%2FR1poHxfIYTJJ83iK6v0RqVU2U%3D&reserved=0 >> >> ________________________________ >> >> This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. >> >> >> Thank you for your compliance. >> >> ________________________________ >> _______________________________________________ >> Users mailing list >> Users at lists.opensips.org >> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists. >> opensips.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fusers&data=02%7C01%7Crmu >> ndkowsky%40ets.org%7Ccb9609d3270b4091081108d4b4c6c079%7C0ba6e9b760b34f >> ae92f37e6ddd9e9b65%7C0%7C0%7C636332213102517343&sdata=jRH8DZKOg%2BBjsX >> ZiIgXuDMXxBfKpoMOprkmXmi1bpm8%3D&reserved=0 > > _______________________________________________ > Devel mailing list > Devel at lists.opensips.org > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opensips.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fdevel&data=02%7C01%7Crmundkowsky%40ets.org%7Ccb9609d3270b4091081108d4b4c6c079%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636332213102517343&sdata=JrkYu76QK2Zl5Idz9qEynfIx6uZaY7%2Fn0OqOtbmfF7s%3D&reserved=0 > > ________________________________ > > This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. > > > Thank you for your compliance. > > ________________________________ > _______________________________________________ > News mailing list > News at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/news From rmundkowsky at ets.org Fri Jun 30 14:52:24 2017 From: rmundkowsky at ets.org (Mundkowsky, Robert) Date: Fri, 30 Jun 2017 18:52:24 +0000 Subject: [OpenSIPS-Business] =?utf-8?q?=5BOpenSIPS-Users=5D_=5BBlog=5D_Tra?= =?utf-8?q?ffic_balancing_=E2=80=93_load=2C_weights=2C_round_robin_=3F=3F?= In-Reply-To: <505fc672-b3b5-f87b-a534-6ee214d72d66@opensips.org> References: <6a130f8e-e3b2-9070-1ad8-25b632d54c9d@opensips.org> <505fc672-b3b5-f87b-a534-6ee214d72d66@opensips.org> Message-ID: Yeah, saw that. Looks real good. Robert Mundkowsky -----Original Message----- From: Bogdan-Andrei Iancu [mailto:bogdan at opensips.org] Sent: Wednesday, June 28, 2017 3:43 PM To: Mundkowsky, Robert ; OpenSIPS devel mailling list ; OpenSIPS users mailling list Cc: business at lists.opensips.org; news at lists.opensips.org Subject: Re: [OpenSIPS-Users] [Blog] Traffic balancing – load, weights, round robin ?? Hi Robert, See the new blog post about how a balancer should be inserted into the SIP flow: https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.opensips.org%2F2017%2F06%2F28%2Ftraffic-balancing-the-insertion-into-the-sip-flow%2F&data=02%7C01%7Crmundkowsky%40ets.org%7C82012f772567476f77a308d4be5ddf7d%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636342757777029125&sdata=xseFlfBeoa0hoS1sp01WsrFIeO71etgACzp9BPj6KcY%3D&reserved=0 Thanks for the idea of the post ;) Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.opensips-solutions.com&data=02%7C01%7Crmundkowsky%40ets.org%7C82012f772567476f77a308d4be5ddf7d%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636342757777029125&sdata=SfQLAan3rPA%2FfN%2Ftyr8c0WfvFKQ%2BAv1P2rGvQLlYig0%3D&reserved=0 OpenSIPS Bootcamp 2017, Houston, US https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fopensips.org%2Ftraining%2FOpenSIPS_Bootcamp_2017.html&data=02%7C01%7Crmundkowsky%40ets.org%7C82012f772567476f77a308d4be5ddf7d%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636342757777029125&sdata=M6Ms4t4ks5P3Ex228Ye6iDagl%2BT7%2FrfnG%2Fg4BM5xD8c%3D&reserved=0 On 06/16/2017 07:52 PM, Mundkowsky, Robert wrote: > Thanks. > > FYI, the main reason we decided to use openSIPS is that is a lot more documentation than other solutions. > > Anyways, I have read lot of the books ("Building Telephony..2nd and 1.6"), some of the website (modules, how to, ....); and the major missing things are: > 1 - Need a "openSIPS CookBook of recipes" that has more route examples > (e.g. how to setup user authentication, how to do HA, security (drop > ghost calls, ...), setup to work with RTP proxies, ...) > 2 - module documentation needs better details on how to pass in and pass out values. For example, some modules do not expand variables, so it is really hard to pass in values. > > > > Robert Mundkowsky > > -----Original Message----- > From: Devel [mailto:devel-bounces at lists.opensips.org] On Behalf Of > Bogdan-Andrei Iancu > Sent: Friday, June 16, 2017 10:47 AM > To: OpenSIPS users mailling list > Cc: business at lists.opensips.org; news at lists.opensips.org; OpenSIPS > devel mailling list > Subject: Re: [OpenSIPS-Devel] [OpenSIPS-Users] [Blog] Traffic balancing – load, weights, round robin ?? > > Hi Robert, > > All the time there is space for more :). This blog post is the first from a set of docs trying to explain the routing with OpenSIPS. > > Including some feedback from you, I can draft as following chapters: > 1) how to insert a balancer in your SIP traffic - like dialog statefull proxy, transaction statefull proxy, stateless proxy, etc.... > 2) routing modules in opensips, like dispatcher versus drouting versus load-balancer.. > > > In your classification, I noticed many missing features for Dynamic Routing: > - in memory matching with prefix-tree - O(prefix_len) > - has gui in Control Panel > - destination pinging, failover, re-enable > - clustering capabilities for the state of the GW/destinations > - rule fallback (on matching) > ...... > > Again, any feedback is more the welcome as it will give us some ideas about the hot topics from the user perspective. > > Best regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developer > > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.op > ensips-solutions.com&data=02%7C01%7Crmundkowsky%40ets.org%7Ccb9609d327 > 0b4091081108d4b4c6c079%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C63 > 6332213102517343&sdata=ejvSuDmud%2FPcsYLuGhCjfEX3Zug1WSCwBmWblGUTcus%3 > D&reserved=0 > > OpenSIPS Bootcamp 2017, Houston, US > > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fopensi > ps.org%2Ftraining%2FOpenSIPS_Bootcamp_2017.html&data=02%7C01%7Crmundko > wsky%40ets.org%7Ccb9609d3270b4091081108d4b4c6c079%7C0ba6e9b760b34fae92 > f37e6ddd9e9b65%7C0%7C0%7C636332213102517343&sdata=30yqvccNVQZmoeGjEWkj > WQC2n7CZ7KgzccZxoRtPBek%3D&reserved=0 > > On 06/15/2017 09:36 PM, Mundkowsky, Robert wrote: >> This is helpful. But would like a little more details there. Such as: >> >> 1) openSIPS when it actions as a Load Balancer is always a SIP proxy during the complete dialog. In other words, the caller RTP is direct connected backend gateway, but openSIPS is always between them for the SIP traffic. >> 2) Some information for the traffic distributions modules is stored >> in the database, but some info is only in memory (e.g. which gateway >> is enabled, count of active dialogs) >> >> This might be naïve details for most telecom folks, but helpful for naïve users like myself. >> >> I haven't played with "Carrier Route","Dispatcher", and "Dynamic Routing", but similar notes for those would be helpful too. >> >> The following video was very helpful in describing the different traffic distributions modules openSIPS supports: >> >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww. >> y >> outube.com%2Fwatch%3Fv%3DyTLPs1-X0SM&data=02%7C01%7Crmundkowsky%40ets. >> org%7Ccb9609d3270b4091081108d4b4c6c079%7C0ba6e9b760b34fae92f37e6ddd9e >> 9 >> b65%7C0%7C0%7C636332213102517343&sdata=mDlSlzbtLQ%2FL3uDq67VkOa%2B8FP >> G >> 20nNx4AZ9duHVi1s%3D&reserved=0 >> >> Not sure if my notes are helpful, but they are below. >> >> Routing modules: >> Carrier Route >> - old module and not maintained, but seems to work >> - features: routing, load balancing, blacklisting >> - not installed by default >> - no web GUI >> >> - performs longest prefix matching >> - you use longest preefix to pull "least cost" route out of database >> table >> - strips prefix, adds prefix/suffix >> - probabilities to load balancer >> >> >> Load Balancer >> - light weight >> - balancing based on load >> - can config via GUI >> - single database table >> >> - features: >> - no prefix/suffix changing >> - with version 1.8, you can keep counters in database >> >> - docs: >> Tutorial >> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.o >> p >> ensips.org%2FDocumentation%2FTutorials-LoadBalancing-1-9&data=02%7C01 >> % >> 7Crmundkowsky%40ets.org%7Ccb9609d3270b4091081108d4b4c6c079%7C0ba6e9b7 >> 6 >> 0b34fae92f37e6ddd9e9b65%7C0%7C0%7C636332213102517343&sdata=TpUc3EXNX1 >> N >> 0lGf4UCuQsHBceQQYu%2FkdtGxOpYWe8MM%3D&reserved=0 >> DB schema: >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww. >> o >> pensips.org%2FDocumentation%2FInstall-DBSchema-2-2%23AEN6455&data=02% >> 7 >> C01%7Crmundkowsky%40ets.org%7Ccb9609d3270b4091081108d4b4c6c079%7C0ba6 >> e >> 9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636332213102517343&sdata=Huu9Ut >> g >> 8OJhqcEB4Vu4MFrX507%2F5Eew0pbZONE83OHg%3D&reserved=0 >> module >> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.o >> p >> ensips.org%2Fhtml%2Fdocs%2Fmodules%2F2.2.x%2Fload_balancer.html&data= >> 0 >> 2%7C01%7Crmundkowsky%40ets.org%7Ccb9609d3270b4091081108d4b4c6c079%7C0 >> b >> a6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636332213102517343&sdata=Cqj >> 8 >> S8eWWRFku23mo7CBLVw1EFit2akpxnfZW6naxZo%3D&reserved=0 >> >> Dispatcher >> - computes hash over parts of request and selects an address from the >> destination list >> - can config via GUI >> - CallerID, From URI, To URI, Request URI >> - via config file or databaseas >> - does not strip or append prefix/suffix >> - out of service destinations detected by probing >> - can mark as out of service >> - can mark as in service when gateway comes back online >> >> Dynamic Routing >> - heavy weight >> - multiple criteria to determine route >> - prefix, caller, group, time, priority >> - databse only >> 4 tables (groups, rules, carriers, gateways) >> >> - functions >> - do_routing() uses all 4 tables >> - route_to_carrier uses carriers & gateways tables >> - route_to_gateway - uses gateways table >> >> >> >> >> Robert Mundkowsky >> >> >> -----Original Message----- >> From: Devel [mailto:devel-bounces at lists.opensips.org] On Behalf Of >> Bogdan-Andrei Iancu >> Sent: Thursday, June 15, 2017 2:01 PM >> To: users at lists.opensips.org; developensips >> ; news at lists.opensips.org; >> business at lists.opensips.org >> Subject: [OpenSIPS-Devel] [Blog] Traffic balancing – load, weights, round robin ?? >> >> Many times, during discussion about various OpenSIPS based solutions, I noticed that people make a confusion when comes to the meaning of “load balancing”..... >> >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog. >> opensips.org%2F2017%2F06%2F15%2Ftraffic-balancing-load-weights-round- >> r >> obin%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ce9218868262d4ce369ac08 >> d >> 4b4189373%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C63633146502765 >> 4 >> 678&sdata=0acaS2xE6vYbvzOIyBIJC48oMhOLKF7j3YqKnDp98nI%3D&reserved=0 >> >> Enjoy the reading :) >> >> -- >> Bogdan-Andrei Iancu >> OpenSIPS Founder and Developer >> >> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.o >> p >> ensips-solutions.com&data=02%7C01%7Crmundkowsky%40ets.org%7Ce92188682 >> 6 >> 2d4ce369ac08d4b4189373%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C6 >> 3 >> 6331465027664682&sdata=lUNkjOnT%2FEZ%2FR%2Fvr%2B9wyPoECMq3B%2FFwU4Ojz >> v >> lwN7yY%3D&reserved=0 >> >> OpenSIPS Bootcamp 2017, Houston, US >> >> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fopens >> i >> ps.org%2Ftraining%2FOpenSIPS_Bootcamp_2017.html&data=02%7C01%7Crmundk >> o >> wsky%40ets.org%7Ce9218868262d4ce369ac08d4b4189373%7C0ba6e9b760b34fae9 >> 2 >> f37e6ddd9e9b65%7C0%7C0%7C636331465027664682&sdata=uT%2FNvQ3PfVFHXwSzR >> v >> is9FUw08RP%2Fwa5Uz0cj6by1Ec%3D&reserved=0 >> >> >> _______________________________________________ >> Devel mailing list >> Devel at lists.opensips.org >> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists. >> opensips.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fdevel&data=02%7C01%7Crm >> u >> ndkowsky%40ets.org%7Ce9218868262d4ce369ac08d4b4189373%7C0ba6e9b760b34 >> f >> ae92f37e6ddd9e9b65%7C0%7C0%7C636331465027664682&sdata=Vx7JpSMTsxpa2hg >> U >> L%2FR1poHxfIYTJJ83iK6v0RqVU2U%3D&reserved=0 >> >> ________________________________ >> >> This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. >> >> >> Thank you for your compliance. >> >> ________________________________ >> _______________________________________________ >> Users mailing list >> Users at lists.opensips.org >> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists. >> opensips.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fusers&data=02%7C01%7Crm >> u >> ndkowsky%40ets.org%7Ccb9609d3270b4091081108d4b4c6c079%7C0ba6e9b760b34 >> f >> ae92f37e6ddd9e9b65%7C0%7C0%7C636332213102517343&sdata=jRH8DZKOg%2BBjs >> X >> ZiIgXuDMXxBfKpoMOprkmXmi1bpm8%3D&reserved=0 > > _______________________________________________ > Devel mailing list > Devel at lists.opensips.org > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists. > opensips.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fdevel&data=02%7C01%7Crmu > ndkowsky%40ets.org%7Ccb9609d3270b4091081108d4b4c6c079%7C0ba6e9b760b34f > ae92f37e6ddd9e9b65%7C0%7C0%7C636332213102517343&sdata=JrkYu76QK2Zl5Idz > 9qEynfIx6uZaY7%2Fn0OqOtbmfF7s%3D&reserved=0 > > ________________________________ > > This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. > > > Thank you for your compliance. > > ________________________________ > _______________________________________________ > News mailing list > News at lists.opensips.org > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists. > opensips.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fnews&data=02%7C01%7Crmun > dkowsky%40ets.org%7C82012f772567476f77a308d4be5ddf7d%7C0ba6e9b760b34fa > e92f37e6ddd9e9b65%7C0%7C0%7C636342757777029125&sdata=UIKUkrshc4mfzEKBX > 1Z3obzEJvVT3vCmmxurD6O53iM%3D&reserved=0 ________________________________ This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance. ________________________________