From viperlong at qq.com Tue Jun 6 03:26:02 2017 From: viperlong at qq.com (=?gb18030?B?wfo=?=) Date: Tue, 6 Jun 2017 15:26:02 +0800 Subject: [OpenSIPS-Devel] dispatcher dest memory state and database state not the same Message-ID: Hi,everyone: I use dispatcher module and set ds_persistent_state=1, I found some of my destination in the dispatcher table state is 2,while the MI cmd "opensipsctl dispatcher dump" show the destination is active. my opensips is 2.2.2 release。 does someone kowns where is the problem or does anyone has this problem? any help would be appreciated. liu jinlong -------------- next part -------------- An HTML attachment was scrubbed... URL: From liviu at opensips.org Tue Jun 6 04:21:57 2017 From: liviu at opensips.org (Liviu Chircu) Date: Tue, 06 Jun 2017 01:21:57 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a09dad: cachedb_mongodb: Fix pkg-config errors with missin... Message-ID: <593666251bad5_b3a3ffd496f1c3425382@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a09dada8642a6792d3da5e741a35283ca032a92b https://github.com/OpenSIPS/opensips/commit/a09dada8642a6792d3da5e741a35283ca032a92b Author: Liviu Chircu Date: 2017-06-06 (Tue, 06 Jun 2017) Changed paths: M modules/cachedb_mongodb/Makefile Log Message: ----------- cachedb_mongodb: Fix pkg-config errors with missing libraries From razvan at opensips.org Tue Jun 6 05:58:24 2017 From: razvan at opensips.org (Razvan Crainea) Date: Tue, 06 Jun 2017 02:58:24 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 402ff3: cgrates: add id in request Message-ID: <59367cc08daf3_63823fb17e4a1c342364b@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 402ff3411c52ee70e6cc97e1b559dd515159b146 https://github.com/OpenSIPS/opensips/commit/402ff3411c52ee70e6cc97e1b559dd515159b146 Author: Razvan Crainea Date: 2017-06-06 (Tue, 06 Jun 2017) Changed paths: M modules/cgrates/cgrates.c M modules/cgrates/cgrates_common.c M modules/cgrates/cgrates_common.h Log Message: ----------- cgrates: add id in request Add an identifier for the requests done to cgrates. Requested by cgrates/cgrates#674 From liviu at opensips.org Tue Jun 6 09:07:22 2017 From: liviu at opensips.org (Liviu Chircu) Date: Tue, 06 Jun 2017 06:07:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 53d620: cachedb_mongodb: Remove unused module parameters Message-ID: <5936a90a8ec45_33bd3fe5abe9dc40315a7@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 53d62036f8a92ed4305fd3c43c8a2a120a74f0cb https://github.com/OpenSIPS/opensips/commit/53d62036f8a92ed4305fd3c43c8a2a120a74f0cb Author: Liviu Chircu Date: 2017-06-06 (Tue, 06 Jun 2017) Changed paths: M modules/cachedb_mongodb/cachedb_mongodb.c M modules/cachedb_mongodb/cachedb_mongodb_dbase.c Log Message: ----------- cachedb_mongodb: Remove unused module parameters Commit: 99ebafdd7aa99ba23ee0248dfe0522c4fd2b2080 https://github.com/OpenSIPS/opensips/commit/99ebafdd7aa99ba23ee0248dfe0522c4fd2b2080 Author: Liviu Chircu Date: 2017-06-06 (Tue, 06 Jun 2017) Changed paths: M modules/cachedb_mongodb/README M modules/cachedb_mongodb/doc/cachedb_mongodb.xml M modules/cachedb_mongodb/doc/cachedb_mongodb_admin.xml Log Message: ----------- cachedb_mongodb: Update documentation Compare: https://github.com/OpenSIPS/opensips/compare/402ff3411c52...99ebafdd7aa9 From liviu at opensips.org Tue Jun 6 09:08:22 2017 From: liviu at opensips.org (Liviu Chircu) Date: Tue, 06 Jun 2017 06:08:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9b26f0: cachedb_mongodb: Fix pkg-config errors with missin... Message-ID: <5936a946dbefb_2ac63fa9b2b77c44316f@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 9b26f05e4e8b9606c8c7f604625c818c8b1eca41 https://github.com/OpenSIPS/opensips/commit/9b26f05e4e8b9606c8c7f604625c818c8b1eca41 Author: Liviu Chircu Date: 2017-06-06 (Tue, 06 Jun 2017) Changed paths: M modules/cachedb_mongodb/Makefile Log Message: ----------- cachedb_mongodb: Fix pkg-config errors with missing libraries (cherry picked from commit a09dada8642a6792d3da5e741a35283ca032a92b) Commit: f51ad4659c6574add3bf1b592e452b8410e6ef5f https://github.com/OpenSIPS/opensips/commit/f51ad4659c6574add3bf1b592e452b8410e6ef5f Author: Liviu Chircu Date: 2017-06-06 (Tue, 06 Jun 2017) Changed paths: M modules/cachedb_mongodb/cachedb_mongodb.c M modules/cachedb_mongodb/cachedb_mongodb_dbase.c Log Message: ----------- cachedb_mongodb: Remove unused module parameters (cherry picked from commit 53d62036f8a92ed4305fd3c43c8a2a120a74f0cb) Commit: d62a73a4d20a3022f6575591847b135a2bc7b379 https://github.com/OpenSIPS/opensips/commit/d62a73a4d20a3022f6575591847b135a2bc7b379 Author: Liviu Chircu Date: 2017-06-06 (Tue, 06 Jun 2017) Changed paths: M modules/cachedb_mongodb/README M modules/cachedb_mongodb/doc/cachedb_mongodb.xml M modules/cachedb_mongodb/doc/cachedb_mongodb_admin.xml Log Message: ----------- cachedb_mongodb: Update documentation (cherry picked from commit 99ebafdd7aa99ba23ee0248dfe0522c4fd2b2080) Compare: https://github.com/OpenSIPS/opensips/compare/cd919637386e...d62a73a4d20a From bogdan at opensips.org Wed Jun 7 06:12:51 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 07 Jun 2017 03:12:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0f9ccb: Fixed mem leaks and bogus err logs during contact ... Message-ID: <5937d1a378076_146aa3fb1bd7a1c3868749@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0f9ccb576db97af2fcc01cf4a783045ac259dc3e https://github.com/OpenSIPS/opensips/commit/0f9ccb576db97af2fcc01cf4a783045ac259dc3e Author: Bogdan-Andrei Iancu Date: 2017-06-07 (Wed, 07 Jun 2017) Changed paths: M modules/usrloc/ureplication.c Log Message: ----------- Fixed mem leaks and bogus err logs during contact replication. Reported by sekil on IRC. From bogdan at opensips.org Wed Jun 7 06:13:23 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 07 Jun 2017 03:13:23 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] db039a: Fixed mem leaks and bogus err logs during contact ... Message-ID: <5937d1c3d1055_2d353fd965fe7c3810509@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: db039aa57d34c6a71603fd99c83915baa987ddfc https://github.com/OpenSIPS/opensips/commit/db039aa57d34c6a71603fd99c83915baa987ddfc Author: Bogdan-Andrei Iancu Date: 2017-06-07 (Wed, 07 Jun 2017) Changed paths: M modules/usrloc/ureplication.c Log Message: ----------- Fixed mem leaks and bogus err logs during contact replication. Reported by sekil on IRC. (cherry picked from commit 0f9ccb576db97af2fcc01cf4a783045ac259dc3e) From razvan at opensips.org Wed Jun 7 07:54:53 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 07 Jun 2017 04:54:53 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8ab1de: cgrates: use an integer unique id rather than stri... Message-ID: <5937e98dca72d_168d3fe2a6333c2c1080d2@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8ab1deb473cdc505b48616b4b4bc2e031cd64d28 https://github.com/OpenSIPS/opensips/commit/8ab1deb473cdc505b48616b4b4bc2e031cd64d28 Author: Razvan Crainea Date: 2017-06-07 (Wed, 07 Jun 2017) Changed paths: M modules/cgrates/cgrates_common.c Log Message: ----------- cgrates: use an integer unique id rather than string From razvan at opensips.org Wed Jun 7 08:05:36 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 07 Jun 2017 05:05:36 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7935ad: cgrates: switch id from long to int for backward c... Message-ID: <5937ec1092e0a_13d83ff42f84fc341234a7@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 7935ad3c87b5e47ab39d591a89c49898677ac4de https://github.com/OpenSIPS/opensips/commit/7935ad3c87b5e47ab39d591a89c49898677ac4de Author: Razvan Crainea Date: 2017-06-07 (Wed, 07 Jun 2017) Changed paths: M modules/cgrates/cgrates_common.c Log Message: ----------- cgrates: switch id from long to int for backward compatibility From razvan at opensips.org Wed Jun 7 08:20:57 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 07 Jun 2017 05:20:57 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 52b7ec: ratelimit: clarify limits scope for timer_interval Message-ID: <5937efa98e686_68d53fd76f16bc38759b4@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 52b7ece216b55d5729340beaec50a90715fc51f7 https://github.com/OpenSIPS/opensips/commit/52b7ece216b55d5729340beaec50a90715fc51f7 Author: Razvan Crainea Date: 2017-06-07 (Wed, 07 Jun 2017) Changed paths: M modules/ratelimit/README M modules/ratelimit/doc/ratelimit_admin.xml Log Message: ----------- ratelimit: clarify limits scope for timer_interval Reported by Max Mühlbronner on mailing list From razvan at opensips.org Wed Jun 7 08:21:17 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 07 Jun 2017 05:21:17 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8bd0e5: ratelimit: clarify limits scope for timer_interval Message-ID: <5937efbd13f13_12083fbb36919c3c6759@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 8bd0e52e37831f858996bf11ff5954e60d1f2457 https://github.com/OpenSIPS/opensips/commit/8bd0e52e37831f858996bf11ff5954e60d1f2457 Author: Razvan Crainea Date: 2017-06-07 (Wed, 07 Jun 2017) Changed paths: M modules/ratelimit/README M modules/ratelimit/doc/ratelimit_admin.xml Log Message: ----------- ratelimit: clarify limits scope for timer_interval Reported by Max Mühlbronner on mailing list (cherry picked from commit 52b7ece216b55d5729340beaec50a90715fc51f7) From razvan at opensips.org Wed Jun 7 08:22:48 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 07 Jun 2017 05:22:48 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 67c1a0: ratelimit: clarify limits scope for timer_interval Message-ID: <5937f0181dab3_6b923fb9d160fc281397fe@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 67c1a0dc165cbf40b4e23678e502566a7eec3830 https://github.com/OpenSIPS/opensips/commit/67c1a0dc165cbf40b4e23678e502566a7eec3830 Author: Razvan Crainea Date: 2017-06-07 (Wed, 07 Jun 2017) Changed paths: M modules/ratelimit/README M modules/ratelimit/doc/ratelimit_admin.xml Log Message: ----------- ratelimit: clarify limits scope for timer_interval Reported by Max Mühlbronner on mailing list (cherry picked from commit 52b7ece216b55d5729340beaec50a90715fc51f7) From razvan at opensips.org Wed Jun 7 08:23:40 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 07 Jun 2017 05:23:40 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4727e8: ratelimit: clarify limits scope for timer_interval Message-ID: <5937f04cc456d_65093fa984e49c344757b@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 4727e88bd422728eb8607c3b60adfea001e2bc41 https://github.com/OpenSIPS/opensips/commit/4727e88bd422728eb8607c3b60adfea001e2bc41 Author: Razvan Crainea Date: 2017-06-07 (Wed, 07 Jun 2017) Changed paths: M modules/ratelimit/README M modules/ratelimit/doc/ratelimit_admin.xml Log Message: ----------- ratelimit: clarify limits scope for timer_interval Reported by Max Mühlbronner on mailing list (cherry picked from commit 52b7ece216b55d5729340beaec50a90715fc51f7) From bogdan at opensips.org Wed Jun 7 12:28:43 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 07 Jun 2017 09:28:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5ecf88: Add proper listing for XML module. Message-ID: <593829bb6d133_148003f7eef8dbc441179c9@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 5ecf882c65b66bae762d1b436e9329f7b29864a3 https://github.com/OpenSIPS/opensips/commit/5ecf882c65b66bae762d1b436e9329f7b29864a3 Author: Bogdan-Andrei Iancu Date: 2017-06-07 (Wed, 07 Jun 2017) Changed paths: M Makefile.conf.template Log Message: ----------- Add proper listing for XML module. Not being listed with full description make the menuconfig to ignore it. From bogdan at opensips.org Wed Jun 7 12:29:03 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 07 Jun 2017 09:29:03 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4cc5e2: Add proper listing for XML module. Message-ID: <593829cf98de6_327f3fc605709c38128732@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 4cc5e2ed1f8c58a8cf6b92432e11924517ea16be https://github.com/OpenSIPS/opensips/commit/4cc5e2ed1f8c58a8cf6b92432e11924517ea16be Author: Bogdan-Andrei Iancu Date: 2017-06-07 (Wed, 07 Jun 2017) Changed paths: M Makefile.conf.template Log Message: ----------- Add proper listing for XML module. Not being listed with full description make the menuconfig to ignore it. (cherry picked from commit 5ecf882c65b66bae762d1b436e9329f7b29864a3) From liviu at opensips.org Fri Jun 9 11:38:32 2017 From: liviu at opensips.org (Liviu Chircu) Date: Fri, 09 Jun 2017 08:38:32 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] af07e2: usrloc: Fix contact deletion bug with db_mode = 3 ... Message-ID: <593ac0f82d7f_3c5c3fb06c55bc3c151689@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: af07e238765e38518535278d1f9f1eaa02d1e8da https://github.com/OpenSIPS/opensips/commit/af07e238765e38518535278d1f9f1eaa02d1e8da Author: Liviu Chircu Date: 2017-06-09 (Fri, 09 Jun 2017) Changed paths: M modules/usrloc/urecord.c Log Message: ----------- usrloc: Fix contact deletion bug with db_mode = 3 (DB_ONLY) Fixes #1136 From bogdan at opensips.org Tue Jun 13 04:44:38 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 13 Jun 2017 01:44:38 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a90723: Intercept ECONNRESET and silently handle it as EO... Message-ID: <593fa5f65ed82_32253fb32bcb1c2c38456@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a90723d896dfdddf2e7f7b52fac7d7348ec740c0 https://github.com/OpenSIPS/opensips/commit/a90723d896dfdddf2e7f7b52fac7d7348ec740c0 Author: Bogdan-Andrei Iancu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M net/proto_tcp/proto_tcp.c Log Message: ----------- Intercept ECONNRESET and silently handle it as EOF From bogdan at opensips.org Tue Jun 13 04:48:22 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 13 Jun 2017 01:48:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cf8cae: Do not log EINTR and EAGAIN as errors during UDP w... Message-ID: <593fa6d634a2a_14973f9825015c3c103097@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: cf8caeb8ed35f221b06621f6123d8d4dbb878753 https://github.com/OpenSIPS/opensips/commit/cf8caeb8ed35f221b06621f6123d8d4dbb878753 Author: Bogdan-Andrei Iancu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M net/proto_udp/proto_udp.c Log Message: ----------- Do not log EINTR and EAGAIN as errors during UDP write. From bogdan at opensips.org Tue Jun 13 05:15:53 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 13 Jun 2017 02:15:53 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 69e357: Just code identation. Message-ID: <593fad4975211_2efc3f833a125c30109427@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 69e3576d884234271cbb9142d471dbcfbb95a34d https://github.com/OpenSIPS/opensips/commit/69e3576d884234271cbb9142d471dbcfbb95a34d Author: Bogdan-Andrei Iancu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M net/proto_tcp/proto_tcp.c Log Message: ----------- Just code identation. Commit: 27a36a940fba6b40b44951fe75d35082c27cb00e https://github.com/OpenSIPS/opensips/commit/27a36a940fba6b40b44951fe75d35082c27cb00e Author: Bogdan-Andrei Iancu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M modules/cgrates/cgrates_common.c M modules/proto_hep/proto_hep.c M modules/proto_ws/ws_tcp.c Log Message: ----------- Intercept ECONNRESET and silently handle it as EOF Compare: https://github.com/OpenSIPS/opensips/compare/cf8caeb8ed35...27a36a940fba From bogdan at opensips.org Tue Jun 13 05:19:50 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 13 Jun 2017 02:19:50 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4e7a14: Fix missing braken (introduced with previous commi... Message-ID: <593fae36ee5a7_4a933fc5f60c5c28100340@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 4e7a14bd7f8948bbfa5cf0057fcfc48d7c80d2ba https://github.com/OpenSIPS/opensips/commit/4e7a14bd7f8948bbfa5cf0057fcfc48d7c80d2ba Author: Bogdan-Andrei Iancu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M modules/proto_hep/proto_hep.c Log Message: ----------- Fix missing braken (introduced with previous commit) From bogdan at opensips.org Tue Jun 13 05:20:38 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 13 Jun 2017 02:20:38 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c0d67c: Intercept ECONNRESET and silently handle it as EO... Message-ID: <593fae66ce28d_70863fdb08bfdc2c10726f@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: c0d67c69733f3d3aa372c2abd64849ce439587e8 https://github.com/OpenSIPS/opensips/commit/c0d67c69733f3d3aa372c2abd64849ce439587e8 Author: Bogdan-Andrei Iancu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M net/proto_tcp/proto_tcp.c Log Message: ----------- Intercept ECONNRESET and silently handle it as EOF (cherry picked from commit a90723d896dfdddf2e7f7b52fac7d7348ec740c0) Commit: 1c86c9d82f5a30b237bc2b29653f313ea61fa8c9 https://github.com/OpenSIPS/opensips/commit/1c86c9d82f5a30b237bc2b29653f313ea61fa8c9 Author: Bogdan-Andrei Iancu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M net/proto_udp/proto_udp.c Log Message: ----------- Do not log EINTR and EAGAIN as errors during UDP write. (cherry picked from commit cf8caeb8ed35f221b06621f6123d8d4dbb878753) Commit: 3320576d743b045aa81726c4acac92dbd3467f8a https://github.com/OpenSIPS/opensips/commit/3320576d743b045aa81726c4acac92dbd3467f8a Author: Bogdan-Andrei Iancu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M net/proto_tcp/proto_tcp.c Log Message: ----------- Just code identation. (cherry picked from commit 69e3576d884234271cbb9142d471dbcfbb95a34d) Commit: 8b7d2e2ddbe8f77052caa794bf24e06a59e54155 https://github.com/OpenSIPS/opensips/commit/8b7d2e2ddbe8f77052caa794bf24e06a59e54155 Author: Bogdan-Andrei Iancu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M modules/cgrates/cgrates_common.c M modules/proto_hep/proto_hep.c M modules/proto_ws/ws_tcp.c Log Message: ----------- Intercept ECONNRESET and silently handle it as EOF (cherry picked from commit 27a36a940fba6b40b44951fe75d35082c27cb00e) Commit: e79a62c0e1609beac13e9193a25cb2ef4093453f https://github.com/OpenSIPS/opensips/commit/e79a62c0e1609beac13e9193a25cb2ef4093453f Author: Bogdan-Andrei Iancu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M modules/proto_hep/proto_hep.c Log Message: ----------- Fix missing braken (introduced with previous commit) (cherry picked from commit 4e7a14bd7f8948bbfa5cf0057fcfc48d7c80d2ba) Compare: https://github.com/OpenSIPS/opensips/compare/5ecf882c65b6...e79a62c0e160 From bogdan at opensips.org Tue Jun 13 05:30:48 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 13 Jun 2017 02:30:48 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0ca314: Intercept ECONNRESET and silently handle it as EO... Message-ID: <593fb0c85479b_6f1e3fd512347c3c1111f@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 0ca314423bc888eec77d62d9ed240f5adea16702 https://github.com/OpenSIPS/opensips/commit/0ca314423bc888eec77d62d9ed240f5adea16702 Author: Bogdan-Andrei Iancu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M net/proto_tcp/proto_tcp.c Log Message: ----------- Intercept ECONNRESET and silently handle it as EOF (cherry picked from commit a90723d896dfdddf2e7f7b52fac7d7348ec740c0) Commit: f0a5781474476ca8658032f9c3b1d04a1b31e6fe https://github.com/OpenSIPS/opensips/commit/f0a5781474476ca8658032f9c3b1d04a1b31e6fe Author: Bogdan-Andrei Iancu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M net/proto_udp/proto_udp.c Log Message: ----------- Do not log EINTR and EAGAIN as errors during UDP write. (cherry picked from commit cf8caeb8ed35f221b06621f6123d8d4dbb878753) Commit: 985bb087a55e8a4e8876f34f4c222a9d70aef5c1 https://github.com/OpenSIPS/opensips/commit/985bb087a55e8a4e8876f34f4c222a9d70aef5c1 Author: Bogdan-Andrei Iancu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M net/proto_tcp/proto_tcp.c Log Message: ----------- Just code identation. (cherry picked from commit 69e3576d884234271cbb9142d471dbcfbb95a34d) Commit: ca4294336063c013b62114522406ab75034fe266 https://github.com/OpenSIPS/opensips/commit/ca4294336063c013b62114522406ab75034fe266 Author: Bogdan-Andrei Iancu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M modules/proto_hep/proto_hep.c M modules/proto_ws/ws_tcp.c Log Message: ----------- Intercept ECONNRESET and silently handle it as EOF (cherry picked from commit 27a36a940fba6b40b44951fe75d35082c27cb00e) Commit: fa28637cf7226db70b13dc319ccf99f477a26a37 https://github.com/OpenSIPS/opensips/commit/fa28637cf7226db70b13dc319ccf99f477a26a37 Author: Bogdan-Andrei Iancu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M modules/proto_bin/proto_bin.c Log Message: ----------- Intercept ECONNRESET and silently handle it as EOF Compare: https://github.com/OpenSIPS/opensips/compare/af07e238765e...fa28637cf722 From liviu at opensips.org Tue Jun 13 08:29:18 2017 From: liviu at opensips.org (Liviu Chircu) Date: Tue, 13 Jun 2017 05:29:18 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] df2910: Do not exit startup sequences with unusable HP_MAL... Message-ID: <593fda9ea5c9f_2bbb3ff3acc63c40906f8@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: df29102e9d6c06ef73f112898dd5feac171985cf https://github.com/OpenSIPS/opensips/commit/df29102e9d6c06ef73f112898dd5feac171985cf Author: Liviu Chircu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M cfg.y Log Message: ----------- Do not exit startup sequences with unusable HP_MALLOC params From liviu at opensips.org Tue Jun 13 08:29:38 2017 From: liviu at opensips.org (Liviu Chircu) Date: Tue, 13 Jun 2017 05:29:38 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] dcbfbf: Do not exit startup sequences with unusable HP_MAL... Message-ID: <593fdab269730_66003f92c2e95c34713f2@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: dcbfbf65771d926676f212f7727dc5089f77bda7 https://github.com/OpenSIPS/opensips/commit/dcbfbf65771d926676f212f7727dc5089f77bda7 Author: Liviu Chircu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M cfg.y Log Message: ----------- Do not exit startup sequences with unusable HP_MALLOC params (cherry picked from commit df29102e9d6c06ef73f112898dd5feac171985cf) From liviu at opensips.org Tue Jun 13 08:36:14 2017 From: liviu at opensips.org (Liviu Chircu) Date: Tue, 13 Jun 2017 05:36:14 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d9d5ff: Do not exit startup sequences with unusable HP_MAL... Message-ID: <593fdc3e8f4be_1685e3fdc4d22fc40204eb@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: d9d5ffe0461a1597792cd78ec2fabc22434a7db3 https://github.com/OpenSIPS/opensips/commit/d9d5ffe0461a1597792cd78ec2fabc22434a7db3 Author: Liviu Chircu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M cfg.y Log Message: ----------- Do not exit startup sequences with unusable HP_MALLOC params (cherry picked from commit df29102e9d6c06ef73f112898dd5feac171985cf) From bogdan at opensips.org Tue Jun 13 10:57:30 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 13 Jun 2017 07:57:30 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0a3bfe: Intercept ECONNRESET and silently handle it as EOF Message-ID: <593ffd5aa35a0_64583ffcd2f09c2c4495d@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0a3bfed03d2d1166b1b4bbdf47de7c64fad5a5ea https://github.com/OpenSIPS/opensips/commit/0a3bfed03d2d1166b1b4bbdf47de7c64fad5a5ea Author: Bogdan-Andrei Iancu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M net/proto_tcp/proto_tcp.c Log Message: ----------- Intercept ECONNRESET and silently handle it as EOF From bogdan at opensips.org Tue Jun 13 11:03:20 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 13 Jun 2017 08:03:20 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f238b1: Intercept ECONNRESET and silently handle it as EOF Message-ID: <593ffeb816201_640f3fc920acbc2c757e3@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: f238b1634015d10665b5d7cd12789934e94c6698 https://github.com/OpenSIPS/opensips/commit/f238b1634015d10665b5d7cd12789934e94c6698 Author: Bogdan-Andrei Iancu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M net/proto_tcp/proto_tcp.c Log Message: ----------- Intercept ECONNRESET and silently handle it as EOF (cherry picked from commit 0a3bfed03d2d1166b1b4bbdf47de7c64fad5a5ea) From bogdan at opensips.org Tue Jun 13 11:04:55 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 13 Jun 2017 08:04:55 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4929bc: Added auto-healing for reactor. Message-ID: <593fff171ee1e_668b3fd25d49fc2c182aa@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 4929bcee6b69a809052d25f141a1849cd272a749 https://github.com/OpenSIPS/opensips/commit/4929bcee6b69a809052d25f141a1849cd272a749 Author: Bogdan-Andrei Iancu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M io_wait_loop.h Log Message: ----------- Added auto-healing for reactor. If the epoll() fires a fd with a removed fd_map, better do not trigger the handler and remove the fd from epoll and fd_array From bogdan at opensips.org Tue Jun 13 11:27:10 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 13 Jun 2017 08:27:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9dbce2: Added auto-healing for reactor. Message-ID: <5940044e7a462_6cb53f7e4957bc3094c7@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 9dbce2b13d2dd5880f5e7898bf1c9519016e072d https://github.com/OpenSIPS/opensips/commit/9dbce2b13d2dd5880f5e7898bf1c9519016e072d Author: Bogdan-Andrei Iancu Date: 2017-06-13 (Tue, 13 Jun 2017) Changed paths: M io_wait_loop.h Log Message: ----------- Added auto-healing for reactor. If the epoll() fires a fd with a removed fd_map, better do not trigger the handler and remove the fd from epoll and fd_array (cherry picked from commit 4929bcee6b69a809052d25f141a1849cd272a749) From vladp at opensips.org Wed Jun 14 09:07:29 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Wed, 14 Jun 2017 06:07:29 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a043ee: presence: improve subs_phtable_list MI command Message-ID: <59413511862fa_26193fa85b09fc3440521@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a043ee829bb4f5503fda032c0790a953f87588eb https://github.com/OpenSIPS/opensips/commit/a043ee829bb4f5503fda032c0790a953f87588eb Author: rvlad-patrascu Date: 2017-06-14 (Wed, 14 Jun 2017) Changed paths: M modules/presence/README M modules/presence/doc/presence_admin.xml M modules/presence/presence.c Log Message: ----------- presence: improve subs_phtable_list MI command * optionally filter listed subscriptions by "From" and "To" URIs * include Contact and first proxy from Record-Route in output From bogdan at opensips.org Wed Jun 14 12:14:46 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 14 Jun 2017 09:14:46 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3c0df8: Fix memory leak in do_routing() Message-ID: <594160f6a3c61_174bc3fbad0d5dc3c106514@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 3c0df80d3b5ec8dfb5e54e78cd84153266fbf0f7 https://github.com/OpenSIPS/opensips/commit/3c0df80d3b5ec8dfb5e54e78cd84153266fbf0f7 Author: Bogdan-Andrei Iancu Date: 2017-06-14 (Wed, 14 Jun 2017) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Fix memory leak in do_routing() From bogdan at opensips.org Wed Jun 14 12:42:54 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 14 Jun 2017 09:42:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] df9c76: Fix memory leak in do_routing() Message-ID: <5941678ecedf3_1678a3fe269b2dc30131736@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: df9c76f216b190e12d2eccd57e3eb1be1196094c https://github.com/OpenSIPS/opensips/commit/df9c76f216b190e12d2eccd57e3eb1be1196094c Author: Bogdan-Andrei Iancu Date: 2017-06-14 (Wed, 14 Jun 2017) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Fix memory leak in do_routing() (cherry picked from commit 3c0df80d3b5ec8dfb5e54e78cd84153266fbf0f7) From bogdan at opensips.org Wed Jun 14 12:43:19 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 14 Jun 2017 09:43:19 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] af584b: Fix memory leak in do_routing() Message-ID: <594167a76dd50_7cc73ffbc6b71c341080bd@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: af584bc8f4667e8b6eb6b5aaf4923c8103fcf628 https://github.com/OpenSIPS/opensips/commit/af584bc8f4667e8b6eb6b5aaf4923c8103fcf628 Author: Bogdan-Andrei Iancu Date: 2017-06-14 (Wed, 14 Jun 2017) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Fix memory leak in do_routing() (cherry picked from commit 3c0df80d3b5ec8dfb5e54e78cd84153266fbf0f7) (cherry picked from commit df9c76f216b190e12d2eccd57e3eb1be1196094c) From liviu at opensips.org Thu Jun 15 09:43:39 2017 From: liviu at opensips.org (Liviu Chircu) Date: Thu, 15 Jun 2017 06:43:39 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5d7771: Allow negative values for "memdump" and "memlog" Message-ID: <59428f0b4a9cf_5a353fcd3956dc4057948@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 5d77718da0d4595900ae19fea91a2907e16ce1d8 https://github.com/OpenSIPS/opensips/commit/5d77718da0d4595900ae19fea91a2907e16ce1d8 Author: Liviu Chircu Date: 2017-06-15 (Thu, 15 Jun 2017) Changed paths: M cfg.y M context.h Log Message: ----------- Allow negative values for "memdump" and "memlog" They should behave just as "log_level" does. (cherry picked from commit eb5c3d4ba5ef5c3ff9f17c093ad76c1067cc87ac) From liviu at opensips.org Thu Jun 15 11:53:39 2017 From: liviu at opensips.org (Liviu Chircu) Date: Thu, 15 Jun 2017 08:53:39 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f7a7fa: core statistics: Fix a bad logical condition Message-ID: <5942ad8320bb2_65793fa7d5793c381087b0@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f7a7fabcc9e31333cf4ffc4cbd962fc4894b7f56 https://github.com/OpenSIPS/opensips/commit/f7a7fabcc9e31333cf4ffc4cbd962fc4894b7f56 Author: Liviu Chircu Date: 2017-06-15 (Thu, 15 Jun 2017) Changed paths: M statistics.c Log Message: ----------- core statistics: Fix a bad logical condition (regression from e90ac3e937de8) From liviu at opensips.org Thu Jun 15 11:54:41 2017 From: liviu at opensips.org (Liviu Chircu) Date: Thu, 15 Jun 2017 08:54:41 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1d9b6c: core statistics: Fix a bad logical condition Message-ID: <5942adc19047b_5d013fa927a55c34958e@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 1d9b6cd6b77899e07d8d46e60c3dfae4c0b26682 https://github.com/OpenSIPS/opensips/commit/1d9b6cd6b77899e07d8d46e60c3dfae4c0b26682 Author: Liviu Chircu Date: 2017-06-15 (Thu, 15 Jun 2017) Changed paths: M statistics.c Log Message: ----------- core statistics: Fix a bad logical condition (regression from e90ac3e937de8) (cherry picked from commit f7a7fabcc9e31333cf4ffc4cbd962fc4894b7f56) From vladp at opensips.org Thu Jun 15 12:23:26 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Thu, 15 Jun 2017 09:23:26 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 24ad5d: clusterer: properly init node info structures(mems... Message-ID: <5942b47e24417_16d063f9e9891dc34106916@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 24ad5dbaece07ee594e51ec46189ad23753d892c https://github.com/OpenSIPS/opensips/commit/24ad5dbaece07ee594e51ec46189ad23753d892c Author: rvlad-patrascu Date: 2017-06-15 (Thu, 15 Jun 2017) Changed paths: M modules/clusterer/node_info.c Log Message: ----------- clusterer: properly init node info structures(memset to 0) Commit: edf519b9373cef2bae5a1b74a47114fe6cf9a25f https://github.com/OpenSIPS/opensips/commit/edf519b9373cef2bae5a1b74a47114fe6cf9a25f Author: rvlad-patrascu Date: 2017-06-15 (Thu, 15 Jun 2017) Changed paths: M modules/clusterer/clusterer_mod.c Log Message: ----------- clusterer: start even if unable to load provisioning info from DB Compare: https://github.com/OpenSIPS/opensips/compare/f7a7fabcc9e3...edf519b9373c From liviu at opensips.org Thu Jun 15 12:25:36 2017 From: liviu at opensips.org (Liviu Chircu) Date: Thu, 15 Jun 2017 09:25:36 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 96ba9e: exec: Fix incorrect pclose() calls on standard I/O... Message-ID: <5942b5001eaa0_7cb53ffc70975c3c11538a@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 96ba9ed03d2223f09b6fd25061d229c2c7ee5eb4 https://github.com/OpenSIPS/opensips/commit/96ba9ed03d2223f09b6fd25061d229c2c7ee5eb4 Author: Liviu Chircu Date: 2017-06-15 (Thu, 15 Jun 2017) Changed paths: M modules/exec/exec.c M modules/exec/kill.c Log Message: ----------- exec: Fix incorrect pclose() calls on standard I/O streams Many thanks to Walter Doekes for detailing this issue (also including some minor code improvements) From vladp at opensips.org Thu Jun 15 13:09:05 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Thu, 15 Jun 2017 10:09:05 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 030bed: clusterer: start only if DB info is invalid, shutd... Message-ID: <5942bf316dadf_7ac43f81d3effc381106ed@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 030bed9a88f17c8a63c2ec7dc7a136e747d7cdd7 https://github.com/OpenSIPS/opensips/commit/030bed9a88f17c8a63c2ec7dc7a136e747d7cdd7 Author: rvlad-patrascu Date: 2017-06-15 (Thu, 15 Jun 2017) Changed paths: M modules/clusterer/clusterer.c M modules/clusterer/clusterer_mod.c M modules/clusterer/node_info.c M modules/clusterer/node_info.h Log Message: ----------- clusterer: start only if DB info is invalid, shutdown for other errors when loading from DB 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-Devel] =?utf-8?q?=5BBlog=5D_Traffic_balancing_=E2=80=93?= =?utf-8?q?_load=2C_weights=2C_round_robin_=3F=3F?= 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 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-Devel] =?utf-8?q?=5BBlog=5D_Traffic_balancing_=E2=80=93?= =?utf-8?q?_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 bogdan at opensips.org Fri Jun 16 05:42:12 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Fri, 16 Jun 2017 02:42:12 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 911478: Fix leak in use_next_gw() Message-ID: <5943a7f46a9a_12693fc14430bc3c1037e8@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 911478b102576eb73e8c08989a0f6beb109821d9 https://github.com/OpenSIPS/opensips/commit/911478b102576eb73e8c08989a0f6beb109821d9 Author: Bogdan-Andrei Iancu Date: 2017-06-16 (Fri, 16 Jun 2017) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Fix leak in use_next_gw() The leak occurs only when doing fallback between rules. From bogdan at opensips.org Fri Jun 16 05:43:17 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Fri, 16 Jun 2017 02:43:17 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2a7489: Fix leak in use_next_gw() Message-ID: <5943a835a3a48_294d33fecfe14dc346682a@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 2a7489bf97a4ebd6f6ef29df4680f638ea0cace5 https://github.com/OpenSIPS/opensips/commit/2a7489bf97a4ebd6f6ef29df4680f638ea0cace5 Author: Bogdan-Andrei Iancu Date: 2017-06-16 (Fri, 16 Jun 2017) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Fix leak in use_next_gw() The leak occurs only when doing fallback between rules. (cherry picked from commit 911478b102576eb73e8c08989a0f6beb109821d9) From bogdan at opensips.org Fri Jun 16 05:43:54 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Fri, 16 Jun 2017 02:43:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 149d70: Fix leak in use_next_gw() Message-ID: <5943a85a1b023_16b33f87b22a7c30759e9@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 149d703c206c3a50ecb1ebc947232e66d38f2906 https://github.com/OpenSIPS/opensips/commit/149d703c206c3a50ecb1ebc947232e66d38f2906 Author: Bogdan-Andrei Iancu Date: 2017-06-16 (Fri, 16 Jun 2017) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Fix leak in use_next_gw() The leak occurs only when doing fallback between rules. (cherry picked from commit 911478b102576eb73e8c08989a0f6beb109821d9) 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-Devel] =?utf-8?q?=5BOpenSIPS-Users=5D__=5BBlog=5D_Traff?= =?utf-8?q?ic_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: 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 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-Devel] =?utf-8?q?=5BOpenSIPS-Users=5D__=5BBlog=5D_Traff?= =?utf-8?q?ic_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: 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 liviu at opensips.org Sat Jun 17 11:44:11 2017 From: liviu at opensips.org (Liviu Chircu) Date: Sat, 17 Jun 2017 08:44:11 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 78eaed: Required CRLF missing in 200 OK response Message-ID: <59454e4b75300_6bba3fb7e3279c34257e0@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 78eaed807adf636a9448a3a0f9f0a77b4c879096 https://github.com/OpenSIPS/opensips/commit/78eaed807adf636a9448a3a0f9f0a77b4c879096 Author: Chad Attermann Date: 2017-06-17 (Sat, 17 Jun 2017) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- Required CRLF missing in 200 OK response Addition of CRLF was mistakenly placed inside of check for Contact expires paramtere. Moved outside so that CRLF is always appended after last Contact header. Commit: 33d43262da179f3fe559edb04880537ef3c31a91 https://github.com/OpenSIPS/opensips/commit/33d43262da179f3fe559edb04880537ef3c31a91 Author: Liviu Chircu Date: 2017-06-17 (Sat, 17 Jun 2017) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- Merge pull request #1142 from attermann/2.3 mid_registrar: Required CRLF missing in 200 OK response Compare: https://github.com/OpenSIPS/opensips/compare/2a7489bf97a4...33d43262da17 From vladp at opensips.org Mon Jun 19 07:21:43 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Mon, 19 Jun 2017 04:21:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0e5c52: clusterer: properly init node info structures(mems... Message-ID: <5947b3c7eefe0_2ad53fa9d8aebc3c897c@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 0e5c526b84a04ea5d4303ae211b27d5042318ff0 https://github.com/OpenSIPS/opensips/commit/0e5c526b84a04ea5d4303ae211b27d5042318ff0 Author: rvlad-patrascu Date: 2017-06-19 (Mon, 19 Jun 2017) Changed paths: M modules/clusterer/node_info.c Log Message: ----------- clusterer: properly init node info structures(memset to 0) (cherry picked from commit 24ad5dbaece07ee594e51ec46189ad23753d892c) Commit: c046701642316a862b568fffb158cd5b82c48afe https://github.com/OpenSIPS/opensips/commit/c046701642316a862b568fffb158cd5b82c48afe Author: rvlad-patrascu Date: 2017-06-19 (Mon, 19 Jun 2017) Changed paths: M modules/clusterer/clusterer_mod.c Log Message: ----------- clusterer: start even if unable to load provisioning info from DB (cherry picked from commit edf519b9373cef2bae5a1b74a47114fe6cf9a25f) Commit: eb2b3e52cdc55bb3c0b776103709f0a777f1a934 https://github.com/OpenSIPS/opensips/commit/eb2b3e52cdc55bb3c0b776103709f0a777f1a934 Author: rvlad-patrascu Date: 2017-06-19 (Mon, 19 Jun 2017) Changed paths: M modules/clusterer/clusterer.c M modules/clusterer/clusterer_mod.c M modules/clusterer/node_info.c M modules/clusterer/node_info.h Log Message: ----------- clusterer: start only if DB info is invalid, shutdown for other errors when loading from DB (cherry picked from commit 030bed9a88f17c8a63c2ec7dc7a136e747d7cdd7) Compare: https://github.com/OpenSIPS/opensips/compare/33d43262da17...eb2b3e52cdc5 From vladp at opensips.org Mon Jun 19 10:47:25 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Mon, 19 Jun 2017 07:47:25 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 12f5fa: clusterer: start even if unable to load provisioni... Message-ID: <5947e3fd491d3_2f8a3fbd57ebfc2c999b4@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 12f5fa19995f5a718f903115a251494b89282618 https://github.com/OpenSIPS/opensips/commit/12f5fa19995f5a718f903115a251494b89282618 Author: rvlad-patrascu Date: 2017-06-19 (Mon, 19 Jun 2017) Changed paths: M modules/clusterer/clusterer.c Log Message: ----------- clusterer: start even if unable to load provisioning info from DB(invalid data) From bogdan at opensips.org Mon Jun 19 12:48:05 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Mon, 19 Jun 2017 09:48:05 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ab26d0: Added extra code for sanity checks over reactor da... Message-ID: <59480045b0a2f_6b0c3fd10d2edc2c585b0@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ab26d05599074e8ef4a5ba7f68e60c739be7cbfc https://github.com/OpenSIPS/opensips/commit/ab26d05599074e8ef4a5ba7f68e60c739be7cbfc Author: Bogdan-Andrei Iancu Date: 2017-06-19 (Mon, 19 Jun 2017) Changed paths: M io_wait.h M io_wait_loop.h Log Message: ----------- Added extra code for sanity checks over reactor data From bogdan at opensips.org Mon Jun 19 12:56:07 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Mon, 19 Jun 2017 09:56:07 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b90094: Fix prev commit - data may be null for valid fd ma... Message-ID: <59480227e8b29_133b3fc0da053c34815c2@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b90094c46bb8dadc3f6f13be6c394c6b7208190e https://github.com/OpenSIPS/opensips/commit/b90094c46bb8dadc3f6f13be6c394c6b7208190e Author: Bogdan-Andrei Iancu Date: 2017-06-19 (Mon, 19 Jun 2017) Changed paths: M io_wait.h M io_wait_loop.h Log Message: ----------- Fix prev commit - data may be null for valid fd maps (like timer jobs) From bogdan at opensips.org Mon Jun 19 13:03:21 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Mon, 19 Jun 2017 10:03:21 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0dfbad: Fix for prev+1 commit - fd=0 should be consider un... Message-ID: <594803d93896_67b13faf2db7dc2c97948@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0dfbad3861e6fb066db3a4aea4e78f17ab0b27f5 https://github.com/OpenSIPS/opensips/commit/0dfbad3861e6fb066db3a4aea4e78f17ab0b27f5 Author: Bogdan-Andrei Iancu Date: 2017-06-19 (Mon, 19 Jun 2017) Changed paths: M io_wait.h M io_wait_loop.h Log Message: ----------- Fix for prev+1 commit - fd=0 should be consider unset (as -1) From bogdan at opensips.org Mon Jun 19 13:32:25 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Mon, 19 Jun 2017 10:32:25 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 34d98d: Flag reset fixed; print flags as hexa Message-ID: <59480aa9cfab4_193a3fae91aefc3452495@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 34d98d82dc7cff162782b57af8e8f04e6719109c https://github.com/OpenSIPS/opensips/commit/34d98d82dc7cff162782b57af8e8f04e6719109c Author: Bogdan-Andrei Iancu Date: 2017-06-19 (Mon, 19 Jun 2017) Changed paths: M io_wait.h M io_wait_loop.h Log Message: ----------- Flag reset fixed; print flags as hexa From razvan at opensips.org Tue Jun 20 03:24:23 2017 From: razvan at opensips.org (Razvan Crainea) Date: Tue, 20 Jun 2017 00:24:23 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b0258f: dialplan: proper error when no partition is define... Message-ID: <5948cda76bce4_1a103fbd94b21c4096395@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b0258fa9d962cba867ac1db0c52f4a7a28922b33 https://github.com/OpenSIPS/opensips/commit/b0258fa9d962cba867ac1db0c52f4a7a28922b33 Author: Razvan Crainea Date: 2017-06-20 (Tue, 20 Jun 2017) Changed paths: M modules/dialplan/dp_db.c Log Message: ----------- dialplan: proper error when no partition is defined From razvan at opensips.org Tue Jun 20 03:31:42 2017 From: razvan at opensips.org (Razvan Crainea) Date: Tue, 20 Jun 2017 00:31:42 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 53a4f9: dialplan: fix typo in previous commit Message-ID: <5948cf5ef2e2a_19ad3fa64314fc34679d4@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 53a4f9473d2de123f676196c1e3b6c7c782cb555 https://github.com/OpenSIPS/opensips/commit/53a4f9473d2de123f676196c1e3b6c7c782cb555 Author: Razvan Crainea Date: 2017-06-20 (Tue, 20 Jun 2017) Changed paths: M modules/dialplan/dp_db.c Log Message: ----------- dialplan: fix typo in previous commit From razvan at opensips.org Tue Jun 20 04:43:42 2017 From: razvan at opensips.org (Razvan Crainea) Date: Tue, 20 Jun 2017 01:43:42 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6e796f: debian: add libbson-dev dependency Message-ID: <5948e03e710f5_1cd83fdd2fb7dc3812417a@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 6e796ff56262358a77a50c93a28573d904404cef https://github.com/OpenSIPS/opensips/commit/6e796ff56262358a77a50c93a28573d904404cef Author: Razvan Crainea Date: 2017-06-20 (Tue, 20 Jun 2017) Changed paths: M packaging/debian/stretch/control Log Message: ----------- debian: add libbson-dev dependency Reported by Nick Altman From razvan at opensips.org Tue Jun 20 04:44:00 2017 From: razvan at opensips.org (Razvan Crainea) Date: Tue, 20 Jun 2017 01:44:00 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 59947f: debian: add libbson-dev dependency Message-ID: <5948e0502555a_72dd3ff7c72d5c2c658c3@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 59947fbfa19e5dbe2babb1b26ea59c461cd99561 https://github.com/OpenSIPS/opensips/commit/59947fbfa19e5dbe2babb1b26ea59c461cd99561 Author: Razvan Crainea Date: 2017-06-20 (Tue, 20 Jun 2017) Changed paths: M packaging/debian/stretch/control Log Message: ----------- debian: add libbson-dev dependency Reported by Nick Altman (cherry picked from commit 6e796ff56262358a77a50c93a28573d904404cef) From liviu at opensips.org Wed Jun 21 01:06:03 2017 From: liviu at opensips.org (Liviu Chircu) Date: Tue, 20 Jun 2017 22:06:03 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a182a9: Parameter "use_domain" not imported from usrloc Message-ID: <5949febb3e606_65813f8b224c7c40907ef@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: a182a9445fcbc1679a7627bcc786c085fc304221 https://github.com/OpenSIPS/opensips/commit/a182a9445fcbc1679a7627bcc786c085fc304221 Author: Chad Attermann Date: 2017-06-20 (Tue, 20 Jun 2017) Changed paths: M modules/mid_registrar/mid_registrar.c Log Message: ----------- Parameter "use_domain" not imported from usrloc Variable reg_use_domain is initialized to 0, but not imported from usrloc module as eluded in docs. Added import of "use_domain" parameter from usrloc module to initialize reg_use_domain (taken from registrar module). Commit: a2a9b79c173504f3d3df8bd7fb843aa7af5dc335 https://github.com/OpenSIPS/opensips/commit/a2a9b79c173504f3d3df8bd7fb843aa7af5dc335 Author: Liviu Chircu Date: 2017-06-21 (Wed, 21 Jun 2017) Changed paths: M modules/mid_registrar/mid_registrar.c Log Message: ----------- Merge pull request #1146 from attermann/2.3 Parameter "use_domain" not imported from usrloc in mid-registrar module Compare: https://github.com/OpenSIPS/opensips/compare/59947fbfa19e...a2a9b79c1735 From liviu at opensips.org Wed Jun 21 03:41:16 2017 From: liviu at opensips.org (Liviu Chircu) Date: Wed, 21 Jun 2017 00:41:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 04e2d6: TCP engine: Fix ref counting bug in async writes Message-ID: <594a231ce64d6_6d243fb0f6f8bc2c278c8@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 04e2d6e5f46b98c481b2e810ea0aa73c7be36b40 https://github.com/OpenSIPS/opensips/commit/04e2d6e5f46b98c481b2e810ea0aa73c7be36b40 Author: Liviu Chircu Date: 2017-06-21 (Wed, 21 Jun 2017) Changed paths: M net/net_tcp.c M net/net_tcp_proc.c Log Message: ----------- TCP engine: Fix ref counting bug in async writes TCP writes done by TCP workers were subject to an extra dereferencing operation, potentially leading to memory corruption due to SHM overwriting on freed tcp_connection structs. This patch eliminates the extra dereferening operation, while also taking care not to break the code for non-TCP worker writers, which will now have their passed connections dereferenced by TCP main. Commit: 99181710c3f52b4ca97186623af0a7760191a276 https://github.com/OpenSIPS/opensips/commit/99181710c3f52b4ca97186623af0a7760191a276 Author: Liviu Chircu Date: 2017-06-21 (Wed, 21 Jun 2017) Changed paths: M net/net_tcp_proc.c Log Message: ----------- TCP engine: Fix a race condition related to con lifetime management Connections which received a read event concurrently with their expiration time could trigger an indefinitely long, CPU wasteful, rapid succession of back-forth passing of the connection object between TCP Main and a TCP worker process. The fix involves adding a TCP connection lifetime update in the TCP worker just after receiving the connection object from TCP Main (this is correct - there is some pending data, the connection is non-idle), before the expiration check is done. Thanks to Bogdan for helping with troubleshooting Commit: f30a658c46837a1396098c2028c7d02cf5fd5c3e https://github.com/OpenSIPS/opensips/commit/f30a658c46837a1396098c2028c7d02cf5fd5c3e Author: Liviu Chircu Date: 2017-06-21 (Wed, 21 Jun 2017) Changed paths: M Makefile M Makefile.conf.template M Makefile.sources A lib/dbg/struct_hist.c A lib/dbg/struct_hist.h Log Message: ----------- Add support for generic struct troubleshooting Optionally includible via the -DDBG_STRUCT_HIST compile flag Commit: 3da3e800847f7f903d01ac5c87ce6a8f20f985ad https://github.com/OpenSIPS/opensips/commit/3da3e800847f7f903d01ac5c87ce6a8f20f985ad Author: Liviu Chircu Date: 2017-06-21 (Wed, 21 Jun 2017) Changed paths: M modules/tm/h_table.h Log Message: ----------- tm: Remove unused/redundant tm_list_entry() macro Commit: 8ba454be756b583082ce98ce293968518ac95235 https://github.com/OpenSIPS/opensips/commit/8ba454be756b583082ce98ce293968518ac95235 Author: Liviu Chircu Date: 2017-06-21 (Wed, 21 Jun 2017) Changed paths: M Makefile.conf.template M net/net_tcp.c M net/net_tcp.h A net/net_tcp_dbg.h M net/net_tcp_proc.c M net/proto_tcp/proto_tcp.c M net/tcp_conn_defs.h Log Message: ----------- Add optional TCP connection debugging code To include this code, both -DDBG_STRUCT_HIST and -DDBG_TCPCON compile flags must be defined under Makefile.conf Compare: https://github.com/OpenSIPS/opensips/compare/8b52f1331ef2...8ba454be756b From liviu at opensips.org Wed Jun 21 04:06:09 2017 From: liviu at opensips.org (Liviu Chircu) Date: Wed, 21 Jun 2017 01:06:09 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 00d44e: regex transformation: Fix a double free bug Message-ID: <594a28f1a8101_1376e3fedd5509c38944f7@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 00d44e8bb17b7391fa0c7a18137d880ba0dff4ee https://github.com/OpenSIPS/opensips/commit/00d44e8bb17b7391fa0c7a18137d880ba0dff4ee Author: Liviu Chircu Date: 2017-06-21 (Wed, 21 Jun 2017) Changed paths: M re.c Log Message: ----------- regex transformation: Fix a double free bug Supplying a bad regular expression to {re.subst} would lead to a double pkg_free(). Credits to Nick Altmann for reporting / helping with troubleshooting From liviu at opensips.org Wed Jun 21 04:08:23 2017 From: liviu at opensips.org (Liviu Chircu) Date: Wed, 21 Jun 2017 01:08:23 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a839da: regex transformation: Fix a double free bug Message-ID: <594a297724bcc_5de03fdb071ddc3422777@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: a839da1da44f2b5b98d4e221d8eb321d72f9431d https://github.com/OpenSIPS/opensips/commit/a839da1da44f2b5b98d4e221d8eb321d72f9431d Author: Liviu Chircu Date: 2017-06-21 (Wed, 21 Jun 2017) Changed paths: M re.c Log Message: ----------- regex transformation: Fix a double free bug Supplying a bad regular expression to {re.subst} would lead to a double pkg_free(). Credits to Nick Altmann for reporting / helping with troubleshooting (cherry picked from commit 00d44e8bb17b7391fa0c7a18137d880ba0dff4ee) From liviu at opensips.org Wed Jun 21 04:09:20 2017 From: liviu at opensips.org (Liviu Chircu) Date: Wed, 21 Jun 2017 01:09:20 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c980b4: regex transformation: Fix a double free bug Message-ID: <594a29b0b35cc_5de03fdb071ddc342297d@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: c980b440c47d85b62df037bc256579cd00b44bce https://github.com/OpenSIPS/opensips/commit/c980b440c47d85b62df037bc256579cd00b44bce Author: Liviu Chircu Date: 2017-06-21 (Wed, 21 Jun 2017) Changed paths: M re.c Log Message: ----------- regex transformation: Fix a double free bug Supplying a bad regular expression to {re.subst} would lead to a double pkg_free(). Credits to Nick Altmann for reporting / helping with troubleshooting (cherry picked from commit 00d44e8bb17b7391fa0c7a18137d880ba0dff4ee) From bogdan at opensips.org Wed Jun 21 05:54:30 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 21 Jun 2017 02:54:30 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7249c9: Fixed MI printing of tid (trace ID) URLs. Message-ID: <594a425695f5e_135983fac8c1b5c2456669@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 7249c95f94c63e195e4e680b8bd6e73efa1421fd https://github.com/OpenSIPS/opensips/commit/7249c95f94c63e195e4e680b8bd6e73efa1421fd Author: Bogdan-Andrei Iancu Date: 2017-06-21 (Wed, 21 Jun 2017) Changed paths: M modules/siptrace/siptrace.c Log Message: ----------- Fixed MI printing of tid (trace ID) URLs. Discard on-stack buffer and use formated printing for IP + port. Use MI_DUP_VALUE flag for adding the DB URL From bogdan at opensips.org Wed Jun 21 05:58:39 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 21 Jun 2017 02:58:39 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f394ee: Fixed MI printing of tid (trace ID) URLs. Message-ID: <594a434fe0402_35183fb04cb6dc44339bb@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: f394ee511284378910bfa87e3aeed4f47f8e0a06 https://github.com/OpenSIPS/opensips/commit/f394ee511284378910bfa87e3aeed4f47f8e0a06 Author: Bogdan-Andrei Iancu Date: 2017-06-21 (Wed, 21 Jun 2017) Changed paths: M modules/siptrace/siptrace.c Log Message: ----------- Fixed MI printing of tid (trace ID) URLs. Discard on-stack buffer and use formated printing for IP + port. Use MI_DUP_VALUE flag for adding the DB URL (cherry picked from commit 7249c95f94c63e195e4e680b8bd6e73efa1421fd) From bogdan at opensips.org Wed Jun 21 06:03:08 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 21 Jun 2017 03:03:08 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0bef0f: Fixed MI printing of tid (trace ID) URLs. Message-ID: <594a445cb8fee_6953f89b13b3c2c731b9@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 0bef0f469fbd3138d4a60a84947c882102c00bdc https://github.com/OpenSIPS/opensips/commit/0bef0f469fbd3138d4a60a84947c882102c00bdc Author: Bogdan-Andrei Iancu Date: 2017-06-21 (Wed, 21 Jun 2017) Changed paths: M modules/siptrace/siptrace.c Log Message: ----------- Fixed MI printing of tid (trace ID) URLs. Discard on-stack buffer and use formated printing for IP + port. Use MI_DUP_VALUE flag for adding the DB URL (cherry picked from commit 7249c95f94c63e195e4e680b8bd6e73efa1421fd) From bogdan at opensips.org Wed Jun 21 06:44:50 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 21 Jun 2017 03:44:50 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 34a25b: Do not replicate if not configured so Message-ID: <594a4e22dfe1c_2c123fa7bb245c3c170f9@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 34a25b7337abaa8f6c7751ba00060f6b31acf220 https://github.com/OpenSIPS/opensips/commit/34a25b7337abaa8f6c7751ba00060f6b31acf220 Author: Bogdan-Andrei Iancu Date: 2017-06-21 (Wed, 21 Jun 2017) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Do not replicate if not configured so Test if replication was set before trying to replicate the change of carrier status From bogdan at opensips.org Wed Jun 21 06:45:12 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 21 Jun 2017 03:45:12 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 38f25f: Do not replicate if not configured so Message-ID: <594a4e38cdb20_13d553f89bc64dc3431767@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 38f25f8c84bff3f4a1c778c2f5416c3f9cbf6702 https://github.com/OpenSIPS/opensips/commit/38f25f8c84bff3f4a1c778c2f5416c3f9cbf6702 Author: Bogdan-Andrei Iancu Date: 2017-06-21 (Wed, 21 Jun 2017) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Do not replicate if not configured so Test if replication was set before trying to replicate the change of carrier status (cherry picked from commit 34a25b7337abaa8f6c7751ba00060f6b31acf220) From liviu at opensips.org Thu Jun 22 03:49:25 2017 From: liviu at opensips.org (Liviu Chircu) Date: Thu, 22 Jun 2017 00:49:25 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4fb158: Skipping proxy ip:port append when use_domain enab... Message-ID: <594b7685c554a_78653fde4f699c3c66739@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 4fb1581a42735483dc24658a6a7ba12d53ef20ab https://github.com/OpenSIPS/opensips/commit/4fb1581a42735483dc24658a6a7ba12d53ef20ab Author: Chad Attermann Date: 2017-06-21 (Wed, 21 Jun 2017) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- Skipping proxy ip:port append when use_domain enabled In aor-throttling mode, when usrloc use_domain is enabled the aor already includes the domain so there is no need to append the proxy ip:port to the aor in the Contact header that is relayed to the main registrar. Commit: 4dfaab9ca4f16d9ecac20fc1f46bda60ab478f34 https://github.com/OpenSIPS/opensips/commit/4dfaab9ca4f16d9ecac20fc1f46bda60ab478f34 Author: Liviu Chircu Date: 2017-06-22 (Thu, 22 Jun 2017) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- Merge pull request #1147 from attermann/2.3 Mid-registrar skipping appending of proxy ip:port to AOR usrloc use_domain is enabled Compare: https://github.com/OpenSIPS/opensips/compare/38f25f8c84bf...4dfaab9ca4f1 From chad at broadmind.com Sat Jun 17 11:46:22 2017 From: chad at broadmind.com (Chad Attermann) Date: Sat, 17 Jun 2017 08:46:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 01e37f: Required CRLF missing in 200 OK response Message-ID: <59454ecee7cb4_2a6b3f89642cfc2c1200ca@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 01e37f7569eea9fddaba8e50fb5116ab1b9fc375 https://github.com/OpenSIPS/opensips/commit/01e37f7569eea9fddaba8e50fb5116ab1b9fc375 Author: Chad Attermann Date: 2017-06-17 (Sat, 17 Jun 2017) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- Required CRLF missing in 200 OK response Addition of CRLF was mistakenly placed inside of check for Contact expires paramtere. Moved outside so that CRLF is always appended after last Contact header. (cherry picked from commit 78eaed807adf636a9448a3a0f9f0a77b4c879096) From chad at broadmind.com Wed Jun 21 01:06:30 2017 From: chad at broadmind.com (Chad Attermann) Date: Tue, 20 Jun 2017 22:06:30 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8b52f1: Parameter "use_domain" not imported from usrloc Message-ID: <5949fed6c4fbf_3aae3ffbb827dc301938e@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8b52f1331ef2ce09c50c1a50b93695b2619c1cf6 https://github.com/OpenSIPS/opensips/commit/8b52f1331ef2ce09c50c1a50b93695b2619c1cf6 Author: Chad Attermann Date: 2017-06-21 (Wed, 21 Jun 2017) Changed paths: M modules/mid_registrar/mid_registrar.c Log Message: ----------- Parameter "use_domain" not imported from usrloc Variable reg_use_domain is initialized to 0, but not imported from usrloc module as eluded in docs. Added import of "use_domain" parameter from usrloc module to initialize reg_use_domain (taken from registrar module). (cherry picked from commit a182a9445fcbc1679a7627bcc786c085fc304221) From chad at broadmind.com Thu Jun 22 03:50:28 2017 From: chad at broadmind.com (Chad Attermann) Date: Thu, 22 Jun 2017 00:50:28 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e325e3: Skipping proxy ip:port append when use_domain enab... Message-ID: <594b76c4347ff_9803fa4427cdc30841ee@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: e325e3eb2f451b7e6d4d7fd4ff8f54a0b63592c8 https://github.com/OpenSIPS/opensips/commit/e325e3eb2f451b7e6d4d7fd4ff8f54a0b63592c8 Author: Chad Attermann Date: 2017-06-22 (Thu, 22 Jun 2017) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- Skipping proxy ip:port append when use_domain enabled In aor-throttling mode, when usrloc use_domain is enabled the aor already includes the domain so there is no need to append the proxy ip:port to the aor in the Contact header that is relayed to the main registrar. (cherry picked from commit 4fb1581a42735483dc24658a6a7ba12d53ef20ab) From razvan at opensips.org Thu Jun 22 07:02:08 2017 From: razvan at opensips.org (Razvan Crainea) Date: Thu, 22 Jun 2017 04:02:08 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d5fca4: net/tcp: do not reset conn proc_no as a writer Message-ID: <594ba3b03caf1_60b83fa6e096fc2893253@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d5fca4482ab1746351157ee0353474a24b084f60 https://github.com/OpenSIPS/opensips/commit/d5fca4482ab1746351157ee0353474a24b084f60 Author: Razvan Crainea Date: 2017-06-22 (Thu, 22 Jun 2017) Changed paths: M net/net_tcp_proc.c Log Message: ----------- net/tcp: do not reset conn proc_no as a writer when releasing a conn as a writer, do not reset the process owner of the conn, otherwise a reader will have to re-take it back. From bogdan at opensips.org Thu Jun 22 07:37:21 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 22 Jun 2017 04:37:21 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ade9c9: Triggered fds with no fd_map are reported and remo... Message-ID: <594babf1f205_60a13fd57e4f9c304456e@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ade9c93d807abb97ababa0033589b46f70c040da https://github.com/OpenSIPS/opensips/commit/ade9c93d807abb97ababa0033589b46f70c040da Author: Bogdan-Andrei Iancu Date: 2017-06-22 (Thu, 22 Jun 2017) Changed paths: M io_wait_loop.h Log Message: ----------- Triggered fds with no fd_map are reported and removed from epoll If epoll triggers on a fd that has a cleared (removed) fd_map, remove it from epoll. From liviu at opensips.org Thu Jun 22 08:08:31 2017 From: liviu at opensips.org (Liviu Chircu) Date: Thu, 22 Jun 2017 05:08:31 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a7249f: TCP engine: Fix misleading logs Message-ID: <594bb33fcd764_6d9e3ff772195c2c807e0@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a7249f03d7a16221e21b8f57eb73540f0b8c4888 https://github.com/OpenSIPS/opensips/commit/a7249f03d7a16221e21b8f57eb73540f0b8c4888 Author: Liviu Chircu Date: 2017-06-22 (Thu, 22 Jun 2017) Changed paths: M net/net_tcp.c Log Message: ----------- TCP engine: Fix misleading logs Commit: 8845fd7950ec90fad7498b323745c86cac4070f6 https://github.com/OpenSIPS/opensips/commit/8845fd7950ec90fad7498b323745c86cac4070f6 Author: Liviu Chircu Date: 2017-06-22 (Thu, 22 Jun 2017) Changed paths: M net/net_tcp_proc.c M net/tcp_conn.h Log Message: ----------- TCP engine: Fix the TCP worker duplicate connection check Compare: https://github.com/OpenSIPS/opensips/compare/ade9c93d807a...8845fd7950ec From vladp at opensips.org Thu Jun 22 10:16:25 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Thu, 22 Jun 2017 07:16:25 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ad8fba: tls_mgm: properly start up even if there are inval... Message-ID: <594bd1395f918_44573fe116611c3c5687a@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ad8fbaf99bcac4e82d71f96d957432d9d689e78d https://github.com/OpenSIPS/opensips/commit/ad8fbaf99bcac4e82d71f96d957432d9d689e78d Author: rvlad-patrascu Date: 2017-06-22 (Thu, 22 Jun 2017) Changed paths: M modules/tls_mgm/tls_domain.c M modules/tls_mgm/tls_mgm.c Log Message: ----------- tls_mgm: properly start up even if there are invalid TLS domain definitions in DB From vladp at opensips.org Thu Jun 22 10:18:11 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Thu, 22 Jun 2017 07:18:11 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7a861f: tls_mgm: properly start up even if there are inval... Message-ID: <594bd1a3db9cb_39893ff883091c2486297@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 7a861fa0fa944fc3adb7929eedd028d6c15ae4d7 https://github.com/OpenSIPS/opensips/commit/7a861fa0fa944fc3adb7929eedd028d6c15ae4d7 Author: rvlad-patrascu Date: 2017-06-22 (Thu, 22 Jun 2017) Changed paths: M modules/tls_mgm/tls_domain.c M modules/tls_mgm/tls_mgm.c Log Message: ----------- tls_mgm: properly start up even if there are invalid TLS domain definitions in DB (cherry picked from commit ad8fbaf99bcac4e82d71f96d957432d9d689e78d) From vladp at opensips.org Thu Jun 22 12:05:50 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Thu, 22 Jun 2017 09:05:50 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9179e9: tls_mgm: start even if there are invalid TLS domai... Message-ID: <594beadecedd5_73853fb7ee979c2c400a2@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 9179e95d915598f2c042d1fb6d2b77314b6ad621 https://github.com/OpenSIPS/opensips/commit/9179e95d915598f2c042d1fb6d2b77314b6ad621 Author: rvlad-patrascu Date: 2017-06-22 (Thu, 22 Jun 2017) Changed paths: M modules/tls_mgm/tls_mgm.c Log Message: ----------- tls_mgm: start even if there are invalid TLS domain definitions in DB From liviu at opensips.org Fri Jun 23 10:50:37 2017 From: liviu at opensips.org (Liviu Chircu) Date: Fri, 23 Jun 2017 07:50:37 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 951f7e: Fix a bug in is_ws() Message-ID: <594d2abddbe69_47553fc0ec2e3c30871f8@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 951f7e10d1d79276f075bc9fd3cc16245b4a07d5 https://github.com/OpenSIPS/opensips/commit/951f7e10d1d79276f075bc9fd3cc16245b4a07d5 Author: Liviu Chircu Date: 2017-06-23 (Fri, 23 Jun 2017) Changed paths: M trim.h Log Message: ----------- Fix a bug in is_ws() Reported by Răzvan From liviu at opensips.org Fri Jun 23 10:52:27 2017 From: liviu at opensips.org (Liviu Chircu) Date: Fri, 23 Jun 2017 07:52:27 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0ba270: Fix a bug in is_ws() Message-ID: <594d2b2bc9e99_652d3ff52821bc381383bd@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 0ba2702a2db49d9529e16630289745aff202df45 https://github.com/OpenSIPS/opensips/commit/0ba2702a2db49d9529e16630289745aff202df45 Author: Liviu Chircu Date: 2017-06-23 (Fri, 23 Jun 2017) Changed paths: M trim.h Log Message: ----------- Fix a bug in is_ws() Reported by Răzvan (cherry picked from commit 951f7e10d1d79276f075bc9fd3cc16245b4a07d5) From liviu at opensips.org Fri Jun 23 10:55:50 2017 From: liviu at opensips.org (Liviu Chircu) Date: Fri, 23 Jun 2017 07:55:50 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6bd0cf: Fix a bug in is_ws() Message-ID: <594d2bf6a7efc_31603fca68c23c34990a0@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 6bd0cf8c931a607476f17e4561488c6f881b85b2 https://github.com/OpenSIPS/opensips/commit/6bd0cf8c931a607476f17e4561488c6f881b85b2 Author: Liviu Chircu Date: 2017-06-23 (Fri, 23 Jun 2017) Changed paths: M trim.h Log Message: ----------- Fix a bug in is_ws() Reported by Răzvan (cherry picked from commit 951f7e10d1d79276f075bc9fd3cc16245b4a07d5) From liviu at opensips.org Fri Jun 23 11:16:32 2017 From: liviu at opensips.org (Liviu Chircu) Date: Fri, 23 Jun 2017 08:16:32 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6b0302: TCP engine: Fix incorrect returned bytes on async ... Message-ID: <594d30d0452b9_7cb43fcea167fc3c13807b@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 6b03023d24b6096ddf61d3b2f2680b169f3ea98b https://github.com/OpenSIPS/opensips/commit/6b03023d24b6096ddf61d3b2f2680b169f3ea98b Author: Liviu Chircu Date: 2017-06-23 (Fri, 23 Jun 2017) Changed paths: M modules/proto_bin/proto_bin.c M modules/proto_hep/proto_hep.c M net/proto_tcp/proto_tcp.c Log Message: ----------- TCP engine: Fix incorrect returned bytes on async writes This isn't actually as bad of a bug as it would seem. By occasionally reporting _less_ written bytes than normal, the TCP write flow may trigger some false async write requests to TCP MAIN. The connection will eventually end up in a writer which simply sends it back, as it does not contain any chunks which require writing. From vladp at opensips.org Mon Jun 26 09:20:54 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Mon, 26 Jun 2017 06:20:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 71ca56: tls_mgm: fix skipping invalid TLS domain definitio... Message-ID: <59510a36e258e_4e2b3fa43698dc3461873@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 71ca5691c63ba48199326676aaf7cc7234f350d4 https://github.com/OpenSIPS/opensips/commit/71ca5691c63ba48199326676aaf7cc7234f350d4 Author: rvlad-patrascu Date: 2017-06-26 (Mon, 26 Jun 2017) Changed paths: M modules/tls_mgm/tls_mgm.c Log Message: ----------- tls_mgm: fix skipping invalid TLS domain definitions in the script From vladp at opensips.org Mon Jun 26 09:28:58 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Mon, 26 Jun 2017 06:28:58 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 05e6a0: tls_mgm: fix skipping invalid TLS domain definitio... Message-ID: <59510c1a2238a_8153fdbc12f9c34597a4@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 05e6a0abf9a9a80edbf6ff775bb37e4be1672dc9 https://github.com/OpenSIPS/opensips/commit/05e6a0abf9a9a80edbf6ff775bb37e4be1672dc9 Author: rvlad-patrascu Date: 2017-06-26 (Mon, 26 Jun 2017) Changed paths: M modules/tls_mgm/tls_mgm.c Log Message: ----------- tls_mgm: fix skipping invalid TLS domain definitions in the script (cherry picked from commit 71ca5691c63ba48199326676aaf7cc7234f350d4) From vladp at opensips.org Mon Jun 26 11:33:19 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Mon, 26 Jun 2017 08:33:19 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 37d98b: All script transformations now return NULL instead... Message-ID: <5951293f49af4_6a513fcc81f0dc4012082d@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 37d98b00e953d33e0c559c5e210a21f4d90138c8 https://github.com/OpenSIPS/opensips/commit/37d98b00e953d33e0c559c5e210a21f4d90138c8 Author: rvlad-patrascu Date: 2017-06-26 (Mon, 26 Jun 2017) Changed paths: M modules/sip_i/sip_i.c M transformations.c Log Message: ----------- All script transformations now return NULL instead of empty string for unsuccessful operation or errors. Also allow NULL as input in order to support chaining transformations. From razvan at opensips.org Mon Jun 26 12:28:58 2017 From: razvan at opensips.org (Razvan Crainea) Date: Mon, 26 Jun 2017 09:28:58 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b1dd0c: rtpproxy: allow module to specify the name of the ... Message-ID: <5951364aa64e2_5a943fa2f92dbc30292e7@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b1dd0cae3c11561dbc1cfbc0f01234530b8397ef https://github.com/OpenSIPS/opensips/commit/b1dd0cae3c11561dbc1cfbc0f01234530b8397ef Author: Razvan Crainea Date: 2017-06-26 (Mon, 26 Jun 2017) Changed paths: M modules/rtpproxy/README M modules/rtpproxy/doc/rtpproxy_admin.xml M modules/rtpproxy/rtpproxy.c M modules/rtpproxy/rtpproxy.h Log Message: ----------- rtpproxy: allow module to specify the name of the recording This also allows rtpproxy to stream media to a remote destination. From bogdan at opensips.org Tue Jun 27 12:15:48 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 27 Jun 2017 09:15:48 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0f9e65: Set proper UPDATED flag upon cloning. Message-ID: <595284b4134fa_8c53fcef39e3c28109059@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0f9e65fef33d2846eaf0d3f17a469c321796cee5 https://github.com/OpenSIPS/opensips/commit/0f9e65fef33d2846eaf0d3f17a469c321796cee5 Author: Bogdan-Andrei Iancu Date: 2017-06-27 (Tue, 27 Jun 2017) Changed paths: M modules/tm/sip_msg.c Log Message: ----------- Set proper UPDATED flag upon cloning. IF the cloning is full (with the updatable part too), set the UPDATED flag too From bogdan at opensips.org Tue Jun 27 13:00:41 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 27 Jun 2017 10:00:41 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 51859e: Do not expose the transaction when t_newtran() det... Message-ID: <59528f39ab39b_29b43ff2db1d7c3011259c@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 51859e0455595b445e60f687592bdbc0a6cf64c6 https://github.com/OpenSIPS/opensips/commit/51859e0455595b445e60f687592bdbc0a6cf64c6 Author: Bogdan-Andrei Iancu Date: 2017-06-27 (Tue, 27 Jun 2017) Changed paths: M modules/b2b_entities/dlg.c M modules/b2b_sca/sca_logic.c M modules/tm/t_lookup.c Log Message: ----------- Do not expose the transaction when t_newtran() detects a retransmission It is much safer and consistent to avoid exposing the transaction when retransmision is detected; t_newtran() anyhow is automatically taking care of the retransmission handling, so makes no sense to expose the transaction further. From bogdan at opensips.org Wed Jun 28 06:37:52 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 28 Jun 2017 03:37:52 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0f36c9: Fix granting permissions on the PK of location tab... Message-ID: <59538700701d7_79da3fd308561c2c129215@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0f36c9d0f7c31f30eaac6b16c11c71704022245b https://github.com/OpenSIPS/opensips/commit/0f36c9d0f7c31f30eaac6b16c11c71704022245b Author: Bogdan-Andrei Iancu Date: 2017-06-28 (Wed, 28 Jun 2017) Changed paths: M scripts/opensipsdbctl.pgsql Log Message: ----------- Fix granting permissions on the PK of location table. As the PK column has a custom name "contact_id", it needs special handling when granting permissions upon PSQL DB creation. From bogdan at opensips.org Wed Jun 28 06:42:21 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 28 Jun 2017 03:42:21 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 805c0e: Related to prev fix - dialog table has no PK Message-ID: <5953880d20d75_6bdc3fd92a713c28104533@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 805c0e2f3d4921e939edb142170278e7286934ee https://github.com/OpenSIPS/opensips/commit/805c0e2f3d4921e939edb142170278e7286934ee Author: Bogdan-Andrei Iancu Date: 2017-06-28 (Wed, 28 Jun 2017) Changed paths: M scripts/opensipsdbctl.pgsql Log Message: ----------- Related to prev fix - dialog table has no PK From bogdan at opensips.org Wed Jun 28 06:44:07 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 28 Jun 2017 03:44:07 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d8573c: Fix granting permissions on the PK of location tab... Message-ID: <595388777f4f7_6a303fc6a1991c34965af@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: d8573c0a17afdd7e4a4da3f4491ab49e6c4cf984 https://github.com/OpenSIPS/opensips/commit/d8573c0a17afdd7e4a4da3f4491ab49e6c4cf984 Author: Bogdan-Andrei Iancu Date: 2017-06-28 (Wed, 28 Jun 2017) Changed paths: M scripts/opensipsdbctl.pgsql Log Message: ----------- Fix granting permissions on the PK of location table. As the PK column has a custom name "contact_id", it needs special handling when granting permissions upon PSQL DB creation. (cherry picked from commit 0f36c9d0f7c31f30eaac6b16c11c71704022245b) Commit: fe0ebcb45463a5efe6f96d264a5c6fd2b9022329 https://github.com/OpenSIPS/opensips/commit/fe0ebcb45463a5efe6f96d264a5c6fd2b9022329 Author: Bogdan-Andrei Iancu Date: 2017-06-28 (Wed, 28 Jun 2017) Changed paths: M scripts/opensipsdbctl.pgsql Log Message: ----------- Related to prev fix - dialog table has no PK (cherry picked from commit 805c0e2f3d4921e939edb142170278e7286934ee) Compare: https://github.com/OpenSIPS/opensips/compare/05e6a0abf9a9...fe0ebcb45463 From bogdan at opensips.org Wed Jun 28 06:45:06 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 28 Jun 2017 03:45:06 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ed4a53: Fix granting permissions on the PK of location tab... Message-ID: <595388b2a34db_292a3feb9a985c2c1031af@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: ed4a531262b8b02c9466c9c62e4c2562448a9d7b https://github.com/OpenSIPS/opensips/commit/ed4a531262b8b02c9466c9c62e4c2562448a9d7b Author: Bogdan-Andrei Iancu Date: 2017-06-28 (Wed, 28 Jun 2017) Changed paths: M scripts/opensipsdbctl.pgsql Log Message: ----------- Fix granting permissions on the PK of location table. As the PK column has a custom name "contact_id", it needs special handling when granting permissions upon PSQL DB creation. (cherry picked from commit 0f36c9d0f7c31f30eaac6b16c11c71704022245b) Commit: 3893f836c6906d1722f692f6f8e6b6c29f89b2f3 https://github.com/OpenSIPS/opensips/commit/3893f836c6906d1722f692f6f8e6b6c29f89b2f3 Author: Bogdan-Andrei Iancu Date: 2017-06-28 (Wed, 28 Jun 2017) Changed paths: M scripts/opensipsdbctl.pgsql Log Message: ----------- Related to prev fix - dialog table has no PK (cherry picked from commit 805c0e2f3d4921e939edb142170278e7286934ee) Compare: https://github.com/OpenSIPS/opensips/compare/6bd0cf8c931a...3893f836c690 From liviu at opensips.org Wed Jun 28 08:16:04 2017 From: liviu at opensips.org (Liviu Chircu) Date: Wed, 28 Jun 2017 05:16:04 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9e07f3: cfg parser: Fix underflow with an empty mpath Message-ID: <59539e04819d8_1d7f3fbdb2ad3c341314b7@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9e07f3f3650607c3e0298182aa3bb08d377e8837 https://github.com/OpenSIPS/opensips/commit/9e07f3f3650607c3e0298182aa3bb08d377e8837 Author: Liviu Chircu Date: 2017-06-28 (Wed, 28 Jun 2017) Changed paths: M cfg.y Log Message: ----------- cfg parser: Fix underflow with an empty mpath From liviu at opensips.org Wed Jun 28 12:09:35 2017 From: liviu at opensips.org (Liviu Chircu) Date: Wed, 28 Jun 2017 19:09:35 +0300 Subject: [OpenSIPS-Devel] Pending OpenSIPS minor releases: Last minute bug fixes! Message-ID: <7509c9d9-a9bf-27a3-cce9-b6fb93b48304@opensips.org> Hi, all! We have planned an OpenSIPS minor release bump for 2.2 and 2.3 - due next week, July 5th.The headline of this release, however, is the long-awaited 2.3-compatible release for the OpenSIPS Control Panel! If you have any pending GitHub issues / mailing list bug threads concerning OpenSIPS 2.2+ or the Control Panel which are yet to be resolved, this would be a good time to bump them! Best regards, -- Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com From osas at voipembedded.com Wed Jun 28 15:13:24 2017 From: osas at voipembedded.com (Ovidiu Sas) Date: Wed, 28 Jun 2017 12:13:24 -0700 Subject: [OpenSIPS-Devel] =?utf-8?q?=5BOpenSIPS/opensips=5D_5cb01c=3A_tls?= =?utf-8?b?X21nbTogZml4IHdhcm5pbmc6IOKAmHBvcnTigJkgbWF5IGJlIHVzZWQgdW5p?= =?utf-8?b?bml0aWFsLi4u?= Message-ID: <5953ffd468840_448c3f90a3fcbc3c1323c6@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 5cb01c85f3a8e2fed6004291b80f08c2b4617f4c https://github.com/OpenSIPS/opensips/commit/5cb01c85f3a8e2fed6004291b80f08c2b4617f4c Author: Ovidiu Sas Date: 2017-06-28 (Wed, 28 Jun 2017) Changed paths: M modules/tls_mgm/tls_params.c Log Message: ----------- tls_mgm: fix warning: ‘port’ may be used uninitialized in this function [-Wmaybe-uninitialized] From osas at voipembedded.com Wed Jun 28 15:14:53 2017 From: osas at voipembedded.com (Ovidiu Sas) Date: Wed, 28 Jun 2017 12:14:53 -0700 Subject: [OpenSIPS-Devel] =?utf-8?q?=5BOpenSIPS/opensips=5D_ceaccd=3A_tls?= =?utf-8?b?X21nbTogZml4IHdhcm5pbmc6IOKAmHBvcnTigJkgbWF5IGJlIHVzZWQgdW5p?= =?utf-8?b?bml0aWFsLi4u?= Message-ID: <5954002dc15ef_5fd53fc347c87c34749a8@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: ceaccd46f8e45bc1249701f89623254322f2991a https://github.com/OpenSIPS/opensips/commit/ceaccd46f8e45bc1249701f89623254322f2991a Author: Ovidiu Sas Date: 2017-06-28 (Wed, 28 Jun 2017) Changed paths: M modules/tls_mgm/tls_params.c Log Message: ----------- tls_mgm: fix warning: ‘port’ may be used uninitialized in this function [-Wmaybe-uninitialized] (cherry picked from commit 5cb01c85f3a8e2fed6004291b80f08c2b4617f4c) 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-Devel] =?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-Devel] =?utf-8?q?=5BOpenSIPS-Users=5D_=5BBlog=5D_Traffi?= =?utf-8?q?c_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 liviu at opensips.org Thu Jun 29 04:30:44 2017 From: liviu at opensips.org (Liviu Chircu) Date: Thu, 29 Jun 2017 01:30:44 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5c407c: exec: Improve docs for "time_to_kill" Message-ID: <5954bab4876da_1c8d3f9743fc5c3c15729a@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 5c407c64cb8d68fbdbefb8779be9810a4760d66e https://github.com/OpenSIPS/opensips/commit/5c407c64cb8d68fbdbefb8779be9810a4760d66e Author: Liviu Chircu Date: 2017-06-29 (Thu, 29 Jun 2017) Changed paths: M modules/exec/README M modules/exec/doc/exec_admin.xml Log Message: ----------- exec: Improve docs for "time_to_kill" Reported by Tito Cumpen From liviu at opensips.org Thu Jun 29 05:41:21 2017 From: liviu at opensips.org (Liviu Chircu) Date: Thu, 29 Jun 2017 02:41:21 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9abaec: exec: Improve docs for "time_to_kill" Message-ID: <5954cb418bd5f_6b913fd808a27c343165b@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 9abaec121ab0668008ae82edda9c797cd0361e68 https://github.com/OpenSIPS/opensips/commit/9abaec121ab0668008ae82edda9c797cd0361e68 Author: Liviu Chircu Date: 2017-06-29 (Thu, 29 Jun 2017) Changed paths: M modules/exec/README M modules/exec/doc/exec_admin.xml Log Message: ----------- exec: Improve docs for "time_to_kill" Reported by Tito Cumpen (cherry picked from commit 5c407c64cb8d68fbdbefb8779be9810a4760d66e) From liviu at opensips.org Thu Jun 29 05:41:22 2017 From: liviu at opensips.org (Liviu Chircu) Date: Thu, 29 Jun 2017 02:41:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f2d0e2: exec: Improve docs for "time_to_kill" Message-ID: <5954cb426d423_f8e3fd6496b7c2c1087d3@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: f2d0e2084c3c3385a122aa171941e25b8cc232d6 https://github.com/OpenSIPS/opensips/commit/f2d0e2084c3c3385a122aa171941e25b8cc232d6 Author: Liviu Chircu Date: 2017-06-29 (Thu, 29 Jun 2017) Changed paths: M modules/exec/README M modules/exec/doc/exec_admin.xml Log Message: ----------- exec: Improve docs for "time_to_kill" Reported by Tito Cumpen (cherry picked from commit 5c407c64cb8d68fbdbefb8779be9810a4760d66e) From bogdan at opensips.org Thu Jun 29 10:52:09 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 29 Jun 2017 07:52:09 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b60780: Downgrade severity and extra loging on epoll self ... Message-ID: <59551419cf95a_52c53f7f33a8fc2c6819c@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b60780c502ae3b7b9f54f2047da04cb95d915e5b https://github.com/OpenSIPS/opensips/commit/b60780c502ae3b7b9f54f2047da04cb95d915e5b Author: Bogdan-Andrei Iancu Date: 2017-06-29 (Thu, 29 Jun 2017) Changed paths: M io_wait_loop.h Log Message: ----------- Downgrade severity and extra loging on epoll self healing From razvan at opensips.org Fri Jun 30 04:24:43 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 30 Jun 2017 01:24:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 802579: acc: fix substitutions typo Message-ID: <59560acbad4be_14e53fc66b7bdc2c58859@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8025792838edec6437f984556460efc206883c36 https://github.com/OpenSIPS/opensips/commit/8025792838edec6437f984556460efc206883c36 Author: Razvan Crainea Date: 2017-06-30 (Fri, 30 Jun 2017) Changed paths: M modules/acc/acc_logic.c Log Message: ----------- acc: fix substitutions typo From razvan at opensips.org Fri Jun 30 04:25:01 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 30 Jun 2017 01:25:01 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a5ce77: acc: fix substitutions typo Message-ID: <59560add25b71_1af3fdf033e5c34166875@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: a5ce7722ca98a1bcb2406f28173c0d68ed8760c2 https://github.com/OpenSIPS/opensips/commit/a5ce7722ca98a1bcb2406f28173c0d68ed8760c2 Author: Razvan Crainea Date: 2017-06-30 (Fri, 30 Jun 2017) Changed paths: M modules/acc/acc_logic.c Log Message: ----------- acc: fix substitutions typo (cherry picked from commit 8025792838edec6437f984556460efc206883c36) From razvan at opensips.org Fri Jun 30 04:25:24 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 30 Jun 2017 01:25:24 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4ab78a: acc: fix substitutions typo Message-ID: <59560af4eb3ce_597f3fbd37179c2c1814af@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 4ab78a7e69c77cfc667684edcd106cf2b82dd6e7 https://github.com/OpenSIPS/opensips/commit/4ab78a7e69c77cfc667684edcd106cf2b82dd6e7 Author: Razvan Crainea Date: 2017-06-30 (Fri, 30 Jun 2017) Changed paths: M modules/acc/acc_logic.c Log Message: ----------- acc: fix substitutions typo (cherry picked from commit 8025792838edec6437f984556460efc206883c36) From razvan at opensips.org Fri Jun 30 04:29:42 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 30 Jun 2017 01:29:42 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c49243: clusterer: prevent crash when calling send_to afte... Message-ID: <59560bf67072_25a23fef8db7dc2c9576c@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: c492436004fc5d92cffaa292eaf9b2dd28baf9d2 https://github.com/OpenSIPS/opensips/commit/c492436004fc5d92cffaa292eaf9b2dd28baf9d2 Author: Razvan Crainea Date: 2017-06-30 (Fri, 30 Jun 2017) Changed paths: M modules/clusterer/clusterer.c Log Message: ----------- clusterer: prevent crash when calling send_to after destroy From razvan at opensips.org Fri Jun 30 04:34:04 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 30 Jun 2017 01:34:04 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5928e4: clusterer: prevent crash when calling send_to afte... Message-ID: <59560cfc15f26_78873fd41c72bc3c149440@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 5928e4606f21522736f42874b251452ac1e2e24e https://github.com/OpenSIPS/opensips/commit/5928e4606f21522736f42874b251452ac1e2e24e Author: Razvan Crainea Date: 2017-06-30 (Fri, 30 Jun 2017) Changed paths: M modules/clusterer/clusterer.c M modules/clusterer/clusterer_mod.c Log Message: ----------- clusterer: prevent crash when calling send_to after destroy From razvan at opensips.org Fri Jun 30 04:34:16 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 30 Jun 2017 01:34:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2c9d86: clusterer: prevent crash when calling send_to afte... Message-ID: <59560d081aaf2_78873fd41c72bc3c149633@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2c9d86019aeefc77e7904995785caa8157be163e https://github.com/OpenSIPS/opensips/commit/2c9d86019aeefc77e7904995785caa8157be163e Author: Razvan Crainea Date: 2017-06-30 (Fri, 30 Jun 2017) Changed paths: M modules/clusterer/clusterer.c M modules/clusterer/clusterer_mod.c Log Message: ----------- clusterer: prevent crash when calling send_to after destroy (cherry picked from commit 5928e4606f21522736f42874b251452ac1e2e24e) From bogdan at opensips.org Fri Jun 30 11:28:00 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Fri, 30 Jun 2017 18:28:00 +0300 Subject: [OpenSIPS-Devel] [OpenSIPS-Users] Pending OpenSIPS minor releases: Last minute bug fixes! In-Reply-To: <7509c9d9-a9bf-27a3-cce9-b6fb93b48304@opensips.org> References: <7509c9d9-a9bf-27a3-cce9-b6fb93b48304@opensips.org> Message-ID: As next week we will release the OpenSIPS Control Panel version related to OpenSIPS 2.3 , we will also change the versioning policy for OpenSIPS Control Panel Why? we what to create a tight and direct relation between the version of OpenSIPS Control Panel and the corresponding version of OpenSIPS. Right now, OpenSIPS Control Panel 6.2 matches OpenSIPS 2.2....and as you can see, this is not so obvious when looking at the version numbers - unless you go and look into README files. So, from now on, the OpenSIPS X.Y will match the OpenSIPS Control Panel N.X.Y , where N is a major version specific to Control Panel. Shortly, OpenSIPS 2.3 will have OCP 7.2.3 ; and future OpenSIPS 2.4 will have OCP 7.2.4; and if we come up with some improvements in OCP and we need to bust the release, we will have 8.2.4 (OCP version 8 matching OpenSIPS 2.4) So, expect OpenSIPS Control Panel 7.2.3 to be the next release on Wednesday ;) 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/28/2017 07:09 PM, Liviu Chircu wrote: > Hi, all! > > We have planned an OpenSIPS minor release bump for 2.2 and 2.3 - due > next week, July 5th.The headline of this release, however, is the > long-awaited 2.3-compatible release for the OpenSIPS Control Panel! > > If you have any pending GitHub issues / mailing list bug threads > concerning OpenSIPS 2.2+ or the Control Panel which are yet to be > resolved, this would be a good time to bump them! > > Best regards, > From liviu at opensips.org Fri Jun 30 12:03:16 2017 From: liviu at opensips.org (Liviu Chircu) Date: Fri, 30 Jun 2017 09:03:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6b68fa: Allow config file to be read from stdin Message-ID: <595676445d5b2_40bf3fcc9e73bc34884e@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 6b68fa846a60990e34712c859cba73e503a485a9 https://github.com/OpenSIPS/opensips/commit/6b68fa846a60990e34712c859cba73e503a485a9 Author: Liviu Chircu Date: 2017-06-30 (Fri, 30 Jun 2017) Changed paths: M main.c Log Message: ----------- Allow config file to be read from stdin Via the "-f -" command-line option 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-Devel] =?utf-8?q?=5BOpenSIPS-Users=5D_=5BBlog=5D_Traffi?= =?utf-8?q?c_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. ________________________________