From liviu at opensips.org Mon Apr 3 04:03:45 2017 From: liviu at opensips.org (Liviu Chircu) Date: Mon, 03 Apr 2017 01:03:45 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ed5b39: mid_registrar: Fix a NULL pointer dereferencing bu... Message-ID: <58e201e13a06b_103f3fb70a291c3c965d4@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ed5b3900878bdc165a72a8a69ccfd70217f7c87c https://github.com/OpenSIPS/opensips/commit/ed5b3900878bdc165a72a8a69ccfd70217f7c87c Author: Liviu Chircu Date: 2017-04-03 (Mon, 03 Apr 2017) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- mid_registrar: Fix a NULL pointer dereferencing bug Properly parse message headers before working on them Fixes #1088 From liviu at opensips.org Mon Apr 3 04:04:14 2017 From: liviu at opensips.org (Liviu Chircu) Date: Mon, 03 Apr 2017 01:04:14 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6b5ae2: mid_registrar: Fix a NULL pointer dereferencing bu... Message-ID: <58e201fe8b92_5dac3faf38803c305587f@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 6b5ae24c3c732fd0bfc063257ef77601394ffcc8 https://github.com/OpenSIPS/opensips/commit/6b5ae24c3c732fd0bfc063257ef77601394ffcc8 Author: Liviu Chircu Date: 2017-04-03 (Mon, 03 Apr 2017) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- mid_registrar: Fix a NULL pointer dereferencing bug Properly parse message headers before working on them Fixes #1088 (cherry picked from commit ed5b3900878bdc165a72a8a69ccfd70217f7c87c) From ionutionita at opensips.org Mon Apr 3 09:53:00 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Mon, 03 Apr 2017 06:53:00 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d67ab1: [sipcapture] free allocated structures from sip_ms... Message-ID: <58e253bc54126_dda3fd4485ebc38442e9@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: d67ab1cd266b5e9f6d2205e14a16bd7d2d6093a8 https://github.com/OpenSIPS/opensips/commit/d67ab1cd266b5e9f6d2205e14a16bd7d2d6093a8 Author: ionutrazvanionita Date: 2017-04-03 (Mon, 03 Apr 2017) Changed paths: M modules/sipcapture/sipcapture.c Log Message: ----------- [sipcapture] free allocated structures from sip_msg if no script (cherry picked from commit da840cc7e0ff5f27372fcce0022987ef80560f46) Commit: 77db32066b4868591d2d4bc774d85f4f9ef2f4a1 https://github.com/OpenSIPS/opensips/commit/77db32066b4868591d2d4bc774d85f4f9ef2f4a1 Author: ionutrazvanionita Date: 2017-04-03 (Mon, 03 Apr 2017) Changed paths: M modules/proto_hep/proto_hep.c Log Message: ----------- [proto_hep] fix memleak if script is passed (cherry picked from commit b8842cee29fa22f659fbb2e91b56c9a128d8fce4) Compare: https://github.com/OpenSIPS/opensips/compare/6b5ae24c3c73...77db32066b48 From ionutionita at opensips.org Mon Apr 3 09:53:01 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Mon, 03 Apr 2017 06:53:01 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a08f82: [proto_hep] fix memleak if script is passed Message-ID: <58e253bd58bb4_236d3ff69377bc3480834@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a08f8256e6ea34e0a1312da3e6ff028b02f37a0d https://github.com/OpenSIPS/opensips/commit/a08f8256e6ea34e0a1312da3e6ff028b02f37a0d Author: ionutrazvanionita Date: 2017-04-03 (Mon, 03 Apr 2017) Changed paths: M modules/proto_hep/proto_hep.c Log Message: ----------- [proto_hep] fix memleak if script is passed Commit: 2745e1aba04f3aa701e41b88c56b6692e81454f2 https://github.com/OpenSIPS/opensips/commit/2745e1aba04f3aa701e41b88c56b6692e81454f2 Author: ionutrazvanionita Date: 2017-04-03 (Mon, 03 Apr 2017) Changed paths: M modules/sipcapture/sipcapture.c Log Message: ----------- [sipcapture] free allocated structures from sip_msg if no script Compare: https://github.com/OpenSIPS/opensips/compare/ed5b3900878b...2745e1aba04f From ionutionita at opensips.org Mon Apr 3 09:53:05 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Mon, 03 Apr 2017 06:53:05 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8dad4f: [proto_hep] fix memleak if script is passed Message-ID: <58e253c144a5d_5583f8a2bfe5c2868273@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 8dad4f030065496ab405ce3a2317822cd596a7d9 https://github.com/OpenSIPS/opensips/commit/8dad4f030065496ab405ce3a2317822cd596a7d9 Author: ionutrazvanionita Date: 2017-04-03 (Mon, 03 Apr 2017) Changed paths: M modules/proto_hep/proto_hep.c Log Message: ----------- [proto_hep] fix memleak if script is passed (cherry picked from commit b8842cee29fa22f659fbb2e91b56c9a128d8fce4) Commit: 1768ffb3d2b5fde4f3ca23c06941f75431fdf8ae https://github.com/OpenSIPS/opensips/commit/1768ffb3d2b5fde4f3ca23c06941f75431fdf8ae Author: ionutrazvanionita Date: 2017-04-03 (Mon, 03 Apr 2017) Changed paths: M modules/sipcapture/sipcapture.c Log Message: ----------- [sipcapture] free allocated structures from sip_msg if no script (cherry picked from commit da840cc7e0ff5f27372fcce0022987ef80560f46) Compare: https://github.com/OpenSIPS/opensips/compare/50641b3625a8...1768ffb3d2b5 From vladp at opensips.org Mon Apr 3 10:48:10 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Mon, 03 Apr 2017 07:48:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a02855: clusterer: don't shutdown at startup or MI reload ... Message-ID: <58e260aa2cd75_5d1a3f8c6c0c7c30321b1@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a028550c53adf207eca61674e3a2099aab5d9ae8 https://github.com/OpenSIPS/opensips/commit/a028550c53adf207eca61674e3a2099aab5d9ae8 Author: rvlad-patrascu Date: 2017-04-03 (Mon, 03 Apr 2017) Changed paths: M modules/clusterer/clusterer_mod.c M modules/clusterer/node_info.c M modules/clusterer/node_info.h Log Message: ----------- clusterer: don't shutdown at startup or MI reload if DB is empty From vladp at opensips.org Mon Apr 3 10:49:43 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Mon, 03 Apr 2017 07:49:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ec96b9: clusterer: don't shutdown at startup or MI reload ... Message-ID: <58e26107434e_751f3f99f2f2fc449712a@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: ec96b93107c19d11592a4fed9b1e0cb019fbe1c4 https://github.com/OpenSIPS/opensips/commit/ec96b93107c19d11592a4fed9b1e0cb019fbe1c4 Author: rvlad-patrascu Date: 2017-04-03 (Mon, 03 Apr 2017) Changed paths: M modules/clusterer/clusterer_mod.c M modules/clusterer/node_info.c M modules/clusterer/node_info.h Log Message: ----------- clusterer: don't shutdown at startup or MI reload if DB is empty (cherry picked from commit a028550c53adf207eca61674e3a2099aab5d9ae8) From razvan at opensips.org Tue Apr 4 12:02:54 2017 From: razvan at opensips.org (Razvan Crainea) Date: Tue, 04 Apr 2017 09:02:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bad5ec: net:tcp: make sure commands are sent through corre... Message-ID: <58e3c3ae81ae6_1f203fe2a1247c3c67082@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: bad5ec802f8950274a45b15e5dc633fe911c4962 https://github.com/OpenSIPS/opensips/commit/bad5ec802f8950274a45b15e5dc633fe911c4962 Author: Razvan Crainea Date: 2017-04-04 (Tue, 04 Apr 2017) Changed paths: M net/net_tcp.c M net/net_tcp_proc.c M net/tcp_conn_defs.h Log Message: ----------- net:tcp: make sure commands are sent through correct unix socket Also prevent trying to delete fd's from hash when they are not registered for reading/writing Commit: 9c08cfe487fc3bd871e47f58d6382a3802bbe414 https://github.com/OpenSIPS/opensips/commit/9c08cfe487fc3bd871e47f58d6382a3802bbe414 Author: Razvan Crainea Date: 2017-04-04 (Tue, 04 Apr 2017) Changed paths: M modules/dialog/dlg_handlers.c M modules/dialog/dlg_hash.c M modules/dialog/dlg_hash.h M modules/dialog/dlg_replication.c Log Message: ----------- dialog: make replication more robust * keep the dialog locked while building the replication buffer * mark replicated dialogs to prevent them from being created twice * fix replication statistics Compare: https://github.com/OpenSIPS/opensips/compare/a028550c53ad...9c08cfe487fc From razvan at opensips.org Tue Apr 4 12:03:08 2017 From: razvan at opensips.org (Razvan Crainea) Date: Tue, 04 Apr 2017 09:03:08 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a8691b: net:tcp: make sure commands are sent through corre... Message-ID: <58e3c3bc4cde3_1a57c3fdb87655c2866010@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: a8691b48559d9630f29520970a10f28130bee424 https://github.com/OpenSIPS/opensips/commit/a8691b48559d9630f29520970a10f28130bee424 Author: Razvan Crainea Date: 2017-04-04 (Tue, 04 Apr 2017) Changed paths: M net/net_tcp.c M net/net_tcp_proc.c M net/tcp_conn_defs.h Log Message: ----------- net:tcp: make sure commands are sent through correct unix socket Also prevent trying to delete fd's from hash when they are not registered for reading/writing (cherry picked from commit 7bab7e35e7ff02f1844acfb523db8e6a7e6275cc) From razvan at opensips.org Tue Apr 4 12:03:51 2017 From: razvan at opensips.org (Razvan Crainea) Date: Tue, 04 Apr 2017 09:03:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] aefdc1: net:tcp: make sure commands are sent through corre... Message-ID: <58e3c3e77d133_29323ff5e3ae9c3c13205b@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: aefdc19c61afa7708bfa70e0cc6e0e187f24fddc https://github.com/OpenSIPS/opensips/commit/aefdc19c61afa7708bfa70e0cc6e0e187f24fddc Author: Razvan Crainea Date: 2017-04-04 (Tue, 04 Apr 2017) Changed paths: M net/net_tcp.c M net/net_tcp_proc.c M net/tcp_conn_defs.h Log Message: ----------- net:tcp: make sure commands are sent through correct unix socket Also prevent trying to delete fd's from hash when they are not registered for reading/writing (cherry picked from commit 7bab7e35e7ff02f1844acfb523db8e6a7e6275cc) Commit: 5de6cebe57d70f7f6b2c9fe5ceb40b48dc2e54aa https://github.com/OpenSIPS/opensips/commit/5de6cebe57d70f7f6b2c9fe5ceb40b48dc2e54aa Author: Razvan Crainea Date: 2017-04-04 (Tue, 04 Apr 2017) Changed paths: M modules/dialog/dlg_handlers.c M modules/dialog/dlg_hash.c M modules/dialog/dlg_hash.h M modules/dialog/dlg_replication.c Log Message: ----------- dialog: make replication more robust * keep the dialog locked while building the replication buffer * mark replicated dialogs to prevent them from being created twice * fix replication statistics (cherry picked from commit f94c3137637f1e1f3113ae1500c876405877a616) Compare: https://github.com/OpenSIPS/opensips/compare/1768ffb3d2b5...5de6cebe57d7 From bogdan at opensips.org Tue Apr 4 13:29:01 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 4 Apr 2017 20:29:01 +0300 Subject: [OpenSIPS-Devel] OpenSIPS Summit 2017: sponsors and more speakers Message-ID: <370d5762-422e-d427-b54a-c6735f91fb26@opensips.org> Since thelast week announcement , the list of presenters for theOpenSIPS 2017 Summit got even larger, adding new valuable speakers like /David Duffett/(Digium Inc.), /Norman Brandinger/(Vonage) , /David Casem and Jason Craft/(Telnyx) and/Peter Kelly/(Sourcevox Ltd). Let’s give them warm welcomes to OpenSIPS 2017 Summit, May 2-5 at the Radisson Blu Hotel in Amsterdam, The Netherlands! Still, this Summit became possible thanks to our generous sponsors, who believe in Open Source, inOpenSIPS and its ability to be provide trust and progress in the VoIP world: *Platinum Sponsors* logo_telnyx *Silver Sponsors* voipgrid voicetel_logo mottonl *Media Sponsors and Partners* didx voicenter *Organizers* opensips qxip_logo logo_main More details and the full list of Speakers and presentations is available on the event website:opensips.org/events See you all in Amsterdam !!! -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Summit May 2017 Amsterdam http://www.opensips.org/events/Summit-2017Amsterdam.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logo_telnyx.png Type: image/png Size: 1652 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: voipgrid.png Type: image/png Size: 5673 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: voicetel_logo.png Type: image/png Size: 2424 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: mottonl.png Type: image/png Size: 11224 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: didx.png Type: image/png Size: 8838 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: voicenter.png Type: image/png Size: 3850 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: opensips.png Type: image/png Size: 4322 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: qxip_logo.png Type: image/png Size: 2478 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logo_main.png Type: image/png Size: 6163 bytes Desc: not available URL: From liviu at opensips.org Wed Apr 5 05:05:18 2017 From: liviu at opensips.org (Liviu Chircu) Date: Wed, 05 Apr 2017 02:05:18 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 571783: opensipsctl: Supress random "path not found" error... Message-ID: <58e4b34ea3405_1b333f85ffdd7c2c1009bb@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 5717839d265bd97d040634bb371ed1e7fecf33c5 https://github.com/OpenSIPS/opensips/commit/5717839d265bd97d040634bb371ed1e7fecf33c5 Author: Liviu Chircu Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M scripts/opensipsctl.base Log Message: ----------- opensipsctl: Supress random "path not found" errors In case a binary is not found (e.g. gdb), opensipsctl will properly report this by default when its related command is called. From liviu at opensips.org Wed Apr 5 05:07:18 2017 From: liviu at opensips.org (Liviu Chircu) Date: Wed, 05 Apr 2017 02:07:18 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8ff5cf: opensipsctl: Supress random "path not found" error... Message-ID: <58e4b3c6d06c4_2d823ff9a23a7c2c1087dd@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 8ff5cf741b8e8844521fd174d39d06b7806c5dd4 https://github.com/OpenSIPS/opensips/commit/8ff5cf741b8e8844521fd174d39d06b7806c5dd4 Author: Liviu Chircu Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M scripts/opensipsctl.base Log Message: ----------- opensipsctl: Supress random "path not found" errors In case a binary is not found (e.g. gdb), opensipsctl will properly report this by default when its related command is called. (cherry picked from commit 5717839d265bd97d040634bb371ed1e7fecf33c5) From liviu at opensips.org Wed Apr 5 05:07:51 2017 From: liviu at opensips.org (Liviu Chircu) Date: Wed, 05 Apr 2017 02:07:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f3666f: opensipsctl: Supress random "path not found" error... Message-ID: <58e4b3e7250e0_2a5d3f9431037c3013533f@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: f3666f57ac2cc8861ec29ae70bb3f8449b422756 https://github.com/OpenSIPS/opensips/commit/f3666f57ac2cc8861ec29ae70bb3f8449b422756 Author: Liviu Chircu Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M scripts/opensipsctl.base Log Message: ----------- opensipsctl: Supress random "path not found" errors In case a binary is not found (e.g. gdb), opensipsctl will properly report this by default when its related command is called. (cherry picked from commit 5717839d265bd97d040634bb371ed1e7fecf33c5) From liviu at opensips.org Wed Apr 5 05:08:50 2017 From: liviu at opensips.org (Liviu Chircu) Date: Wed, 05 Apr 2017 02:08:50 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7d8abc: opensipsctl: Supress random "path not found" error... Message-ID: <58e4b42259b1b_29323ff5e3ae9c3c154836@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: 7d8abcd6274c602a125f4ee46f417e684b2692d7 https://github.com/OpenSIPS/opensips/commit/7d8abcd6274c602a125f4ee46f417e684b2692d7 Author: Liviu Chircu Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M scripts/opensipsctl.base Log Message: ----------- opensipsctl: Supress random "path not found" errors In case a binary is not found (e.g. gdb), opensipsctl will properly report this by default when its related command is called. (cherry picked from commit 5717839d265bd97d040634bb371ed1e7fecf33c5) From bogdan at opensips.org Wed Apr 5 07:13:10 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 05 Apr 2017 04:13:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ab477d: Fixed upating SIP msg changes into transaction in ... Message-ID: <58e4d146f2467_13b53fc758089c247842e@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: ab477d07994e393b4174eb471e4eb44627666d49 https://github.com/OpenSIPS/opensips/commit/ab477d07994e393b4174eb471e4eb44627666d49 Author: Bogdan-Andrei Iancu Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M modules/tm/tm.c Log Message: ----------- Fixed upating SIP msg changes into transaction in failure route. Do auto transaction update only in request route, otherwise we may end up storing local changes (per-branch). From bogdan at opensips.org Wed Apr 5 07:15:18 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 05 Apr 2017 04:15:18 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 68bcf2: Fixed upating SIP msg changes into transaction in ... Message-ID: <58e4d1c66adb8_753c3f909c251c34110653@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 68bcf2857ebaf5a19e627dca6c00891733b1e4e1 https://github.com/OpenSIPS/opensips/commit/68bcf2857ebaf5a19e627dca6c00891733b1e4e1 Author: Bogdan-Andrei Iancu Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M modules/tm/tm.c Log Message: ----------- Fixed upating SIP msg changes into transaction in failure route. Do auto transaction update only in request route, otherwise we may end up storing local changes (per-branch). (cherry picked from commit ab477d07994e393b4174eb471e4eb44627666d49) From bogdan at opensips.org Wed Apr 5 07:15:41 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 05 Apr 2017 04:15:41 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 43ed8e: Fixed upating SIP msg changes into transaction in ... Message-ID: <58e4d1dd5fe13_13243f940f087c3471835@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 43ed8ed1c91a74346b18b68ed6c85ea5cb9fa8c9 https://github.com/OpenSIPS/opensips/commit/43ed8ed1c91a74346b18b68ed6c85ea5cb9fa8c9 Author: Bogdan-Andrei Iancu Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M modules/tm/tm.c Log Message: ----------- Fixed upating SIP msg changes into transaction in failure route. Do auto transaction update only in request route, otherwise we may end up storing local changes (per-branch). (cherry picked from commit ab477d07994e393b4174eb471e4eb44627666d49) From bogdan at opensips.org Wed Apr 5 07:16:15 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 05 Apr 2017 04:16:15 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 88380a: Fixed upating SIP msg changes into transaction in ... Message-ID: <58e4d1ffba0ab_fe53fd7038a5c40768d7@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 88380a8d0baf0633e6f075ac8dc5d5715b721895 https://github.com/OpenSIPS/opensips/commit/88380a8d0baf0633e6f075ac8dc5d5715b721895 Author: Bogdan-Andrei Iancu Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M modules/tm/tm.c Log Message: ----------- Fixed upating SIP msg changes into transaction in failure route. Do auto transaction update only in request route, otherwise we may end up storing local changes (per-branch). (cherry picked from commit ab477d07994e393b4174eb471e4eb44627666d49) From bogdan at opensips.org Wed Apr 5 07:49:03 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 05 Apr 2017 04:49:03 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 981209: Fixed mixing of return code. Message-ID: <58e4d9af364f2_639e3fc78b10fc3870713@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 981209748cd07b876a29e0fb0e5b991ac39a99a7 https://github.com/OpenSIPS/opensips/commit/981209748cd07b876a29e0fb0e5b991ac39a99a7 Author: Bogdan-Andrei Iancu Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Fixed mixing of return code. Do not re-use the "ret" return code variable when comes to testing the running of the script route (per rule) - it may stay stay to 0 and stop the whole script execution. From bogdan at opensips.org Wed Apr 5 07:49:56 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 05 Apr 2017 04:49:56 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 23cdab: Fixed mixing of return code. Message-ID: <58e4d9e49236_2d823ff9a23a7c2c110984@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 23cdab75cfc0f7d3f6ebffca0986f70ceb81098a https://github.com/OpenSIPS/opensips/commit/23cdab75cfc0f7d3f6ebffca0986f70ceb81098a Author: Bogdan-Andrei Iancu Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Fixed mixing of return code. Do not re-use the "ret" return code variable when comes to testing the running of the script route (per rule) - it may stay stay to 0 and stop the whole script execution. (cherry picked from commit 981209748cd07b876a29e0fb0e5b991ac39a99a7) From bogdan at opensips.org Wed Apr 5 07:50:20 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 05 Apr 2017 04:50:20 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 99aa81: Fixed mixing of return code. Message-ID: <58e4d9fce7462_775c3fcc6d57bc2c52466@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 99aa81d047f529995ad54cfe83d263fe564ea7e7 https://github.com/OpenSIPS/opensips/commit/99aa81d047f529995ad54cfe83d263fe564ea7e7 Author: Bogdan-Andrei Iancu Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Fixed mixing of return code. Do not re-use the "ret" return code variable when comes to testing the running of the script route (per rule) - it may stay stay to 0 and stop the whole script execution. (cherry picked from commit 981209748cd07b876a29e0fb0e5b991ac39a99a7) From bogdan at opensips.org Wed Apr 5 07:52:15 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 05 Apr 2017 04:52:15 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] da68b9: Fix printing the RURI value in debug log Message-ID: <58e4da6f2914d_62633fc07a943c3c182767@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: da68b9b5fca83588b0fe3c2dc2ec490e88618cb5 https://github.com/OpenSIPS/opensips/commit/da68b9b5fca83588b0fe3c2dc2ec490e88618cb5 Author: Bogdan-Andrei Iancu Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Fix printing the RURI value in debug log From bogdan at opensips.org Wed Apr 5 07:54:37 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 05 Apr 2017 04:54:37 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f0992d: Fixed mixing of return code. Message-ID: <58e4dafde56b2_1aecc3fbf1742bc4098643@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: f0992d5efea4d283be8e4d482654e400c326dd81 https://github.com/OpenSIPS/opensips/commit/f0992d5efea4d283be8e4d482654e400c326dd81 Author: Bogdan-Andrei Iancu Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Fixed mixing of return code. Do not re-use the "ret" return code variable when comes to testing the running of the script route (per rule) - it may stay stay to 0 and stop the whole script execution. (cherry picked from commit 981209748cd07b876a29e0fb0e5b991ac39a99a7) From bogdan at opensips.org Wed Apr 5 07:58:30 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 05 Apr 2017 04:58:30 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5475cd: Fix couple of debug logs. Message-ID: <58e4dbe65d11b_4e63f9a018b3c44126290@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 5475cd5b8a8edf82569411c464aee2d601d9e6ac https://github.com/OpenSIPS/opensips/commit/5475cd5b8a8edf82569411c464aee2d601d9e6ac Author: Bogdan-Andrei Iancu Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Fix couple of debug logs. From bogdan at opensips.org Wed Apr 5 07:59:02 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 05 Apr 2017 04:59:02 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5339b9: Fix couple of debug logs. Message-ID: <58e4dc0625765_9e03ff50dc5fc3c1240f1@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 5339b9b23e5ef47a93d8af1ef7cab08bb882bf34 https://github.com/OpenSIPS/opensips/commit/5339b9b23e5ef47a93d8af1ef7cab08bb882bf34 Author: Bogdan-Andrei Iancu Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Fix couple of debug logs. (cherry picked from commit 5475cd5b8a8edf82569411c464aee2d601d9e6ac) From bogdan at opensips.org Wed Apr 5 07:59:17 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 05 Apr 2017 04:59:17 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 875f9c: Fix couple of debug logs. Message-ID: <58e4dc15e3332_1833fe7f92f7c2474388@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 875f9cabd696091dde9947e4127c51a55413c75b https://github.com/OpenSIPS/opensips/commit/875f9cabd696091dde9947e4127c51a55413c75b Author: Bogdan-Andrei Iancu Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Fix couple of debug logs. (cherry picked from commit 5475cd5b8a8edf82569411c464aee2d601d9e6ac) From razvan at opensips.org Wed Apr 5 10:23:16 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 05 Apr 2017 07:23:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d15472: Supress errors when gracefully timing out Message-ID: <58e4fdd46865a_16163f8de9375c388865b@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d15472598499564161cb22283eb1a40cdabd7cb0 https://github.com/OpenSIPS/opensips/commit/d15472598499564161cb22283eb1a40cdabd7cb0 Author: Razvan Crainea Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M modules/proto_ws/proto_ws.c M modules/proto_wss/proto_wss.c Log Message: ----------- Supress errors when gracefully timing out Thanks Chris Maciejewski for reporting and providing testing environment From razvan at opensips.org Wed Apr 5 10:23:32 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 05 Apr 2017 07:23:32 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a49a76: Supress errors when gracefully timing out Message-ID: <58e4fde42b44a_7aa53fd7dac79c2c914a2@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: a49a76209681c8bd34b57862f8be0207b3f3a114 https://github.com/OpenSIPS/opensips/commit/a49a76209681c8bd34b57862f8be0207b3f3a114 Author: Razvan Crainea Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M modules/proto_ws/proto_ws.c M modules/proto_wss/proto_wss.c Log Message: ----------- Supress errors when gracefully timing out Thanks Chris Maciejewski for reporting and providing testing environment (cherry picked from commit 87e42b38fc8def1f3202b8036c4aa560ea69bee9) From razvan at opensips.org Wed Apr 5 10:37:09 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 05 Apr 2017 07:37:09 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c89d38: net: add marker for tcp main Message-ID: <58e5011555f08_2a8b3fb1081b3c3c1555e8@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: c89d383fcfa0cd9bf2b31bbfcc5640a25818040f https://github.com/OpenSIPS/opensips/commit/c89d383fcfa0cd9bf2b31bbfcc5640a25818040f Author: Razvan Crainea Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M net/net_tcp.c Log Message: ----------- net: add marker for tcp main Commit: ef09a3f35105209b9b6c885bacbad55af19c9a42 https://github.com/OpenSIPS/opensips/commit/ef09a3f35105209b9b6c885bacbad55af19c9a42 Author: Razvan Crainea Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M modules/proto_ws/proto_ws.c M modules/proto_wss/proto_wss.c Log Message: ----------- Supress errors when gracefully timing out Thanks Chris Maciejewski for reporting and providing testing environment (cherry picked from commit d15472598499564161cb22283eb1a40cdabd7cb0) Compare: https://github.com/OpenSIPS/opensips/compare/875f9cabd696...ef09a3f35105 From ionutionita at opensips.org Wed Apr 5 11:56:35 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Wed, 05 Apr 2017 08:56:35 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8c1993: tracing by default off; fix report condition Message-ID: <58e513b360303_ba03fcb27ad7c301309eb@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8c1993f765f1f1b48c307126a07d0fd21b78e423 https://github.com/OpenSIPS/opensips/commit/8c1993f765f1f1b48c307126a07d0fd21b78e423 Author: ionutrazvanionita Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M modules/proto_tls/README M modules/proto_tls/doc/proto_tls_admin.xml M modules/proto_tls/proto_tls.c M modules/proto_ws/README M modules/proto_ws/doc/proto_ws_admin.xml M modules/proto_ws/proto_ws.c M modules/proto_wss/README M modules/proto_wss/doc/proto_wss_admin.xml M modules/proto_wss/proto_wss.c M net/proto_tcp/README M net/proto_tcp/doc/proto_tcp_admin.xml M net/proto_tcp/proto_tcp.c Log Message: ----------- tracing by default off; fix report condition From ionutionita at opensips.org Wed Apr 5 11:56:37 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Wed, 05 Apr 2017 08:56:37 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 764c64: tracing by default off; fix report condition Message-ID: <58e513b59b469_7c6c3fa95e633c3c668a2@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 764c6417e8f152f9228678740b5ce74c5e5b1a1d https://github.com/OpenSIPS/opensips/commit/764c6417e8f152f9228678740b5ce74c5e5b1a1d Author: ionutrazvanionita Date: 2017-04-05 (Wed, 05 Apr 2017) Changed paths: M modules/proto_tls/README M modules/proto_tls/doc/proto_tls_admin.xml M modules/proto_tls/proto_tls.c M modules/proto_ws/README M modules/proto_ws/doc/proto_ws_admin.xml M modules/proto_ws/proto_ws.c M modules/proto_wss/README M modules/proto_wss/doc/proto_wss_admin.xml M modules/proto_wss/proto_wss.c M net/proto_tcp/README M net/proto_tcp/doc/proto_tcp_admin.xml M net/proto_tcp/proto_tcp.c Log Message: ----------- tracing by default off; fix report condition (cherry picked from commit 8c1993f765f1f1b48c307126a07d0fd21b78e423) From bogdan at opensips.org Thu Apr 6 05:00:31 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 06 Apr 2017 02:00:31 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cf2bbd: Fixed looping through subscriptions. Message-ID: <58e603af2a5eb_45a3f98b5b05c381649bd@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: cf2bbda10cc9c97c42fd30e251d6baafdfd1f8cd https://github.com/OpenSIPS/opensips/commit/cf2bbda10cc9c97c42fd30e251d6baafdfd1f8cd Author: Bogdan-Andrei Iancu Date: 2017-04-06 (Thu, 06 Apr 2017) Changed paths: M modules/event_routing/ebr_data.c Log Message: ----------- Fixed looping through subscriptions. Fix determining the next suscription when removing an exprired subscription which is actually the only one in list. Closes #1093 From bogdan at opensips.org Thu Apr 6 05:01:07 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 06 Apr 2017 02:01:07 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] de086e: Fixed looping through subscriptions. Message-ID: <58e603d33c399_13b53fc758089c2496461@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: de086eb2d8769406f7fd0b74358322897de55701 https://github.com/OpenSIPS/opensips/commit/de086eb2d8769406f7fd0b74358322897de55701 Author: Bogdan-Andrei Iancu Date: 2017-04-06 (Thu, 06 Apr 2017) Changed paths: M modules/event_routing/ebr_data.c Log Message: ----------- Fixed looping through subscriptions. Fix determining the next suscription when removing an exprired subscription which is actually the only one in list. Closes #1093 (cherry picked from commit cf2bbda10cc9c97c42fd30e251d6baafdfd1f8cd) From ionutionita at opensips.org Thu Apr 6 05:58:01 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Thu, 06 Apr 2017 02:58:01 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 62f278: [siptrace] set context for all failure route reque... Message-ID: <58e61129ed2cc_62103f81e0f6dc4498718@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 62f278f96e516f09edfd1a3611fb6a9ae82a5d02 https://github.com/OpenSIPS/opensips/commit/62f278f96e516f09edfd1a3611fb6a9ae82a5d02 Author: ionutrazvanionita Date: 2017-04-06 (Thu, 06 Apr 2017) Changed paths: M modules/siptrace/siptrace.c Log Message: ----------- [siptrace] set context for all failure route requests The siptrace context pointer was handled via the processing context. In failure route the context was not set thus not knowing if the tracing was activated or not. Because of this internally generated requests were not traced. Now each time a request is sent the context is set from tm callback parameter. From ionutionita at opensips.org Thu Apr 6 05:58:04 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Thu, 06 Apr 2017 02:58:04 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 39d777: [siptrace] set context for all failure route reque... Message-ID: <58e6112c86624_5ff73faecf979c2c120899@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 39d77788a7da935811da5948ead430d7d45800d8 https://github.com/OpenSIPS/opensips/commit/39d77788a7da935811da5948ead430d7d45800d8 Author: ionutrazvanionita Date: 2017-04-06 (Thu, 06 Apr 2017) Changed paths: M modules/siptrace/siptrace.c Log Message: ----------- [siptrace] set context for all failure route requests The siptrace context pointer was handled via the processing context. In failure route the context was not set thus not knowing if the tracing was activated or not. Because of this internally generated requests were not traced. Now each time a request is sent the context is set from tm callback parameter. (cherry picked from commit 086b3caf8b87e4916bbfca134c2d119d3ee78e5c) From bogdan at opensips.org Thu Apr 6 06:47:05 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 06 Apr 2017 03:47:05 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4b0ab2: Arm in-dilaog pinger _after_ ACK. Message-ID: <58e61ca9df00_61eb3fe50443dc3412444a@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 4b0ab27431a65e1ed01d54e6585279e9e8a21dca https://github.com/OpenSIPS/opensips/commit/4b0ab27431a65e1ed01d54e6585279e9e8a21dca Author: Bogdan-Andrei Iancu Date: 2017-04-06 (Thu, 06 Apr 2017) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- Arm in-dilaog pinger _after_ ACK. By doing this we avoid any possible conflict (in terms of overlapping) with a delayed ACK. Reported by Schneur Rosenberg Fixes #1034 (cherry picked from commit 8816636a41dc6f9439b159acba6c9acdf70a8205) From bogdan at opensips.org Fri Apr 7 06:47:35 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Fri, 07 Apr 2017 03:47:35 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6455cc: Fixed updating transaction if no relay done in req... Message-ID: <58e76e4774de0_1b6973fcea2f21c2c7561f@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 6455ccba84539d91d7575161989bf9ef41c392e9 https://github.com/OpenSIPS/opensips/commit/6455ccba84539d91d7575161989bf9ef41c392e9 Author: Bogdan-Andrei Iancu Date: 2017-04-07 (Fri, 07 Apr 2017) Changed paths: M modules/tm/sip_msg.c M modules/tm/tm.c M parser/msg_parser.h Log Message: ----------- Fixed updating transaction if no relay done in request route. If the request route ends without any t_relay() (like in the PN scenario, where there are no contact registered at the time of INVITE handling), we need to force upating the cloned request (in the UAS side of the transaction) with all the changes done over the request in script (normally this is done at the t_relay() time). Reported by Nick Altmann. From ionutionita at opensips.org Fri Apr 7 09:07:45 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Fri, 07 Apr 2017 06:07:45 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 257507: [net tracing filtering] clarify connection filteri... Message-ID: <58e78f212fc8d_2d4d3faee65cdc38884f0@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 257507ee62397c788b0f7767a791c77b48194e46 https://github.com/OpenSIPS/opensips/commit/257507ee62397c788b0f7767a791c77b48194e46 Author: ionutrazvanionita Date: 2017-04-07 (Fri, 07 Apr 2017) Changed paths: M modules/proto_tls/README M modules/proto_tls/doc/proto_tls_admin.xml M modules/proto_ws/README M modules/proto_ws/doc/proto_ws_admin.xml M modules/proto_wss/README M modules/proto_wss/doc/proto_wss_admin.xml M net/proto_tcp/README M net/proto_tcp/doc/proto_tcp_admin.xml Log Message: ----------- [net tracing filtering] clarify connection filtering tools From ionutionita at opensips.org Fri Apr 7 09:07:47 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Fri, 07 Apr 2017 06:07:47 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0e1351: [net tracing filtering] clarify connection filteri... Message-ID: <58e78f2358907_4e63f9a018b3c44192480@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 0e1351d53862d166bbed716319ca6f7c9c88a97d https://github.com/OpenSIPS/opensips/commit/0e1351d53862d166bbed716319ca6f7c9c88a97d Author: ionutrazvanionita Date: 2017-04-07 (Fri, 07 Apr 2017) Changed paths: M modules/proto_tls/README M modules/proto_tls/doc/proto_tls_admin.xml M modules/proto_ws/README M modules/proto_ws/doc/proto_ws_admin.xml M modules/proto_wss/README M modules/proto_wss/doc/proto_wss_admin.xml M net/proto_tcp/README M net/proto_tcp/doc/proto_tcp_admin.xml Log Message: ----------- [net tracing filtering] clarify connection filtering tools (cherry picked from commit d858411ad26b6c95e54e0633df0ec1db47e919d1) From bogdan at opensips.org Fri Apr 7 11:24:05 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Fri, 7 Apr 2017 18:24:05 +0300 Subject: [OpenSIPS-Devel] OpenSIPS Summit content or what is all about Message-ID: <03535508-9fa3-a238-bd43-6f10ed0111a6@opensips.org> The 2017 edition of theOpenSIPS Summit comes with a great enhancement when looking at its content and its structure. The event expanded in order to address a larger variety of needs, from beginners to experts, from theoretical to practical, from group to one-to-one interactions. So, what is all about and what has OpenSIPS Summit 2017 to offer ? The Conference – 2nd to 4th of May Presentations – 2nd and 3rd of May Two full days of presentations, advertising21 speakers from different areas – industry, research, education and development. Speakers covering different topics about usage cases, about their experience or plans in VoIP area. I say VoIP as it is more about*OpenSIPS*, it is also about*Homer/SIPCapture*,*Asterisk*,*FreeSWITCH*,*CGRates*,*Atlassian*, *Janus*and many other interesting projects. Round Tables – 2nd and 3rd of May After the presentations we host the*Round Tables discussion*– these are open discussions around given topics – usually new or interesting subjects . Each tables has its own topic and the discussion is moderated by a person with advance knowledge and experience on the topic. People should join to a Round Table either to share, either to learn the latest news and tricks on the discussed topic. Such discussion are a*real melting pots of the real-life experiences*. Interactive Demos – 4th of May Interesting ideas must be backed up by practices – the Interactive Demos are 100% practical lessons, in from of the monitors, on how to installed, configure and run certain setups. Everything is A to Z explained and then shown in realtime, to the audience. Why is it interactive ? The participants will have the opportunity to see for real how things are done, they can ask questions and debate aspects related to the demo case. Design Clinics – 4th of May Design Clinics are*one-2-one informal whiteboard discussions*that give you the opportunity to explain your situation, in detail, to an*OpenSIPS Expert*. It is your chance to talk regarding your project or application and receive their opinions and perspectives on the best strategy to your concerns and suggestions for solutions you may not have considered. Do not forget o opt in for the Design Clinics session when you register for the Summit, as the number of seats is very limited !!! The OpenSIPS Training – 5th of May A one day training focused on OpenSIPS front-ending for a FreeSWITCH cluster. Starting from a basic configuration, the training will walk you and teach you how to address certain aspects related to front-ending a Class5 FreeSWITCH cluster with OpenSIPS: * performing mid-registration on OpenSIPS * load-balancing calls to FreeSWITCH with real-time load feedback * perform fault detection and re-routing for the FreeSWITCH cluster * handling special cases as Call Transfer or Conferencing * routing outbound calls to carrier (with failover) * monitoring and tracing with Homer Does it sound interesting ? Thenregister here – and do not forget – the first 50 participants are invite for a free boat event on the Amsterdam canals on the 2nd of May evening. -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Summit May 2017 Amsterdam http://www.opensips.org/events/Summit-2017Amsterdam.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From razvan at opensips.org Mon Apr 10 09:37:12 2017 From: razvan at opensips.org (Razvan Crainea) Date: Mon, 10 Apr 2017 06:37:12 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cc9a76: trans: always indicate that WS is a TCP based conn... Message-ID: <58eb8a8866f60_255f3faea1ef5c247775b@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: cc9a767fa5458b1bc1abbab557c7a0451e2cef35 https://github.com/OpenSIPS/opensips/commit/cc9a767fa5458b1bc1abbab557c7a0451e2cef35 Author: Razvan Crainea Date: 2017-04-10 (Mon, 10 Apr 2017) Changed paths: M net/trans.h Log Message: ----------- trans: always indicate that WS is a TCP based connection This sorts out the issue where only WSS is used, but its clients are advertising transport=ws in URI's param, according to RFC 7118. From razvan at opensips.org Mon Apr 10 09:37:36 2017 From: razvan at opensips.org (Razvan Crainea) Date: Mon, 10 Apr 2017 06:37:36 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ca6804: trans: always indicate that WS is a TCP based conn... Message-ID: <58eb8aa0a48a0_5af93ff4761f3c40103248@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: ca6804f2ed37b9f53ff8692da13171c5d0785312 https://github.com/OpenSIPS/opensips/commit/ca6804f2ed37b9f53ff8692da13171c5d0785312 Author: Razvan Crainea Date: 2017-04-10 (Mon, 10 Apr 2017) Changed paths: M net/trans.h Log Message: ----------- trans: always indicate that WS is a TCP based connection This sorts out the issue where only WSS is used, but its clients are advertising transport=ws in URI's param, according to RFC 7118. (cherry picked from commit cc9a767fa5458b1bc1abbab557c7a0451e2cef35) From razvan at opensips.org Mon Apr 10 09:37:53 2017 From: razvan at opensips.org (Razvan Crainea) Date: Mon, 10 Apr 2017 06:37:53 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9bc50a: trans: always indicate that WS is a TCP based conn... Message-ID: <58eb8ab15d053_138ab3f875a0c7c388337c@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 9bc50af7bf27adf8bb5cf9a4071b7146409a726e https://github.com/OpenSIPS/opensips/commit/9bc50af7bf27adf8bb5cf9a4071b7146409a726e Author: Razvan Crainea Date: 2017-04-10 (Mon, 10 Apr 2017) Changed paths: M net/trans.h Log Message: ----------- trans: always indicate that WS is a TCP based connection This sorts out the issue where only WSS is used, but its clients are advertising transport=ws in URI's param, according to RFC 7118. (cherry picked from commit cc9a767fa5458b1bc1abbab557c7a0451e2cef35) From liviu at opensips.org Tue Apr 11 04:15:27 2017 From: liviu at opensips.org (Liviu Chircu) Date: Tue, 11 Apr 2017 01:15:27 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 92ccfc: HP_MALLOC: Do not abort on oom Message-ID: <58ec909f76fe8_48de3fd60f3ddc34524e3@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 92ccfc3b32d28f6cc3af982515820fbc337d9073 https://github.com/OpenSIPS/opensips/commit/92ccfc3b32d28f6cc3af982515820fbc337d9073 Author: Liviu Chircu Date: 2017-04-11 (Tue, 11 Apr 2017) Changed paths: M mem/hp_malloc.c Log Message: ----------- HP_MALLOC: Do not abort on oom From liviu at opensips.org Tue Apr 11 04:17:15 2017 From: liviu at opensips.org (Liviu Chircu) Date: Tue, 11 Apr 2017 01:17:15 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5c5e68: HP_MALLOC: Do not abort on oom Message-ID: <58ec910bad60c_38a93fa932d75c3861519@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 5c5e68531e50341339a233d774acbf80815e677e https://github.com/OpenSIPS/opensips/commit/5c5e68531e50341339a233d774acbf80815e677e Author: Liviu Chircu Date: 2017-04-11 (Tue, 11 Apr 2017) Changed paths: M mem/hp_malloc.c Log Message: ----------- HP_MALLOC: Do not abort on oom (cherry picked from commit 92ccfc3b32d28f6cc3af982515820fbc337d9073) From liviu at opensips.org Tue Apr 11 04:17:40 2017 From: liviu at opensips.org (Liviu Chircu) Date: Tue, 11 Apr 2017 01:17:40 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 33c414: HP_MALLOC: Do not abort on oom Message-ID: <58ec9124d6015_70cd3fd48e8d5c28611df@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 33c414430230392bc6cce7106e79d6cd1ef78020 https://github.com/OpenSIPS/opensips/commit/33c414430230392bc6cce7106e79d6cd1ef78020 Author: Liviu Chircu Date: 2017-04-11 (Tue, 11 Apr 2017) Changed paths: M mem/hp_malloc.c Log Message: ----------- HP_MALLOC: Do not abort on oom (cherry picked from commit 92ccfc3b32d28f6cc3af982515820fbc337d9073) From ionutionita at opensips.org Tue Apr 11 06:43:38 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Tue, 11 Apr 2017 03:43:38 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f9ca59: [statistics mod] fix stat lookup for $stat variabl... Message-ID: <58ecb35a8ceb5_60ec3f82e9c33c2c68546@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/statistics-patch Home: https://github.com/OpenSIPS/opensips Commit: f9ca59f7baa20701f21ec9c7912c21e13580f8c3 https://github.com/OpenSIPS/opensips/commit/f9ca59f7baa20701f21ec9c7912c21e13580f8c3 Author: ionutrazvanionita Date: 2017-04-11 (Tue, 11 Apr 2017) Changed paths: M modules/statistics/statistics.c Log Message: ----------- [statistics mod] fix stat lookup for $stat variable From liviu at opensips.org Tue Apr 11 07:17:57 2017 From: liviu at opensips.org (Liviu Chircu) Date: Tue, 11 Apr 2017 04:17:57 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f9ca59: [statistics mod] fix stat lookup for $stat variabl... Message-ID: <58ecbb65e2c23_74653fd27eca1c241168c5@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f9ca59f7baa20701f21ec9c7912c21e13580f8c3 https://github.com/OpenSIPS/opensips/commit/f9ca59f7baa20701f21ec9c7912c21e13580f8c3 Author: ionutrazvanionita Date: 2017-04-11 (Tue, 11 Apr 2017) Changed paths: M modules/statistics/statistics.c Log Message: ----------- [statistics mod] fix stat lookup for $stat variable Commit: e44d51374c554bb14f5c64dc700f2aaab927ac0c https://github.com/OpenSIPS/opensips/commit/e44d51374c554bb14f5c64dc700f2aaab927ac0c Author: Liviu Chircu Date: 2017-04-11 (Tue, 11 Apr 2017) Changed paths: M modules/statistics/statistics.c Log Message: ----------- statistics: Code refactoring Commit: 1ff48b21615f3e13bdee1925c74451c9c5c1ba3b https://github.com/OpenSIPS/opensips/commit/1ff48b21615f3e13bdee1925c74451c9c5c1ba3b Author: Liviu Chircu Date: 2017-04-11 (Tue, 11 Apr 2017) Changed paths: M modules/statistics/statistics.c Log Message: ----------- Merge branch 'statistics-patch' Compare: https://github.com/OpenSIPS/opensips/compare/92ccfc3b32d2...1ff48b21615f From liviu at opensips.org Tue Apr 11 08:35:48 2017 From: liviu at opensips.org (Liviu Chircu) Date: Tue, 11 Apr 2017 05:35:48 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d8a3be: statistics: Fix a $stat bug Message-ID: <58eccda4d7a70_49443fd22c6d5c34122149@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d8a3be9913409e9e69ec0f75566f09ce1cc83e85 https://github.com/OpenSIPS/opensips/commit/d8a3be9913409e9e69ec0f75566f09ce1cc83e85 Author: Liviu Chircu Date: 2017-04-11 (Tue, 11 Apr 2017) Changed paths: M modules/statistics/statistics.c Log Message: ----------- statistics: Fix a $stat bug Properly register a statistic (and attach it to static storage) even when it's first used in a $stat statement. From liviu at opensips.org Tue Apr 11 08:36:39 2017 From: liviu at opensips.org (Liviu Chircu) Date: Tue, 11 Apr 2017 05:36:39 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 06f96c: [statistics mod] fix stat lookup for $stat variabl... Message-ID: <58eccdd7f1897_19883f9dbe279c3c107926@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 06f96cb8d67ba937e626ea61dfb1d4e6a647b8ea https://github.com/OpenSIPS/opensips/commit/06f96cb8d67ba937e626ea61dfb1d4e6a647b8ea Author: ionutrazvanionita Date: 2017-04-11 (Tue, 11 Apr 2017) Changed paths: M modules/statistics/statistics.c Log Message: ----------- [statistics mod] fix stat lookup for $stat variable (cherry picked from commit f9ca59f7baa20701f21ec9c7912c21e13580f8c3) Commit: 66bd23dc0e9ad57bbe6b5d673856c7fef1a1b3f9 https://github.com/OpenSIPS/opensips/commit/66bd23dc0e9ad57bbe6b5d673856c7fef1a1b3f9 Author: Liviu Chircu Date: 2017-04-11 (Tue, 11 Apr 2017) Changed paths: M modules/statistics/statistics.c Log Message: ----------- statistics: Code refactoring (cherry picked from commit e44d51374c554bb14f5c64dc700f2aaab927ac0c) Commit: b044b721c7ac103c8b7bfcf792eb7968afebc0ad https://github.com/OpenSIPS/opensips/commit/b044b721c7ac103c8b7bfcf792eb7968afebc0ad Author: Liviu Chircu Date: 2017-04-11 (Tue, 11 Apr 2017) Changed paths: M modules/statistics/statistics.c Log Message: ----------- statistics: Fix a $stat bug Properly register a statistic (and attach it to static storage) even when it's first used in a $stat statement. (cherry picked from commit d8a3be9913409e9e69ec0f75566f09ce1cc83e85) Compare: https://github.com/OpenSIPS/opensips/compare/5c5e68531e50...b044b721c7ac From ionutionita at opensips.org Tue Apr 11 09:26:56 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Tue, 11 Apr 2017 06:26:56 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] Message-ID: <58ecd9a08d50_b383f9b6e8f9c301054ab@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/statistics-patch Home: https://github.com/OpenSIPS/opensips From bogdan at opensips.org Wed Apr 12 06:32:18 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 12 Apr 2017 03:32:18 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b90ec0: Expose a processing context in all routes. Message-ID: <58ee023278d14_13ac3fd5323afc40460da@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b90ec06e7a0cebfe6415e145afcfa799363a726f https://github.com/OpenSIPS/opensips/commit/b90ec06e7a0cebfe6415e145afcfa799363a726f Author: Bogdan-Andrei Iancu Date: 2017-04-12 (Wed, 12 Apr 2017) Changed paths: M action.c Log Message: ----------- Expose a processing context in all routes. If the underlaying code does not set a context when executing a script route, allocate a temporary one in run_top_route. Related to #1097 and #1100 From razvan at opensips.org Wed Apr 12 09:08:17 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 12 Apr 2017 06:08:17 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9e251c: topology_hiding: remove bogus prev_crt check in co... Message-ID: <58ee26c191258_3a103ff7b38f3c301054b0@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9e251cefbf9129d8ae5ade74ee297e18fc5907b6 https://github.com/OpenSIPS/opensips/commit/9e251cefbf9129d8ae5ade74ee297e18fc5907b6 Author: Razvan Crainea Date: 2017-04-12 (Wed, 12 Apr 2017) Changed paths: M modules/topology_hiding/topo_hiding_logic.c Log Message: ----------- topology_hiding: remove bogus prev_crt check in contact removal From bogdan at opensips.org Wed Apr 12 09:26:35 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 12 Apr 2017 06:26:35 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7a7626: Fixed updating transaction if no relay done in req... Message-ID: <58ee2b0b230e3_13ef23fdf0b80bc3411079e@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 7a762610bbe916c8aba783cdac27b174f408626c https://github.com/OpenSIPS/opensips/commit/7a762610bbe916c8aba783cdac27b174f408626c Author: Bogdan-Andrei Iancu Date: 2017-04-12 (Wed, 12 Apr 2017) Changed paths: M modules/tm/sip_msg.c M modules/tm/tm.c M parser/msg_parser.h Log Message: ----------- Fixed updating transaction if no relay done in request route. If the request route ends without any t_relay() (like in the PN scenario, where there are no contact registered at the time of INVITE handling), we need to force upating the cloned request (in the UAS side of the transaction) with all the changes done over the request in script (normally this is done at the t_relay() time). Reported by Nick Altmann. (cherry picked from commit 6455ccba84539d91d7575161989bf9ef41c392e9) Commit: 097f800ef0582e6a28e33b10f58ee8e090790186 https://github.com/OpenSIPS/opensips/commit/097f800ef0582e6a28e33b10f58ee8e090790186 Author: Bogdan-Andrei Iancu Date: 2017-04-12 (Wed, 12 Apr 2017) Changed paths: M action.c Log Message: ----------- Expose a processing context in all routes. If the underlaying code does not set a context when executing a script route, allocate a temporary one in run_top_route. Related to #1097 and #1100 (cherry picked from commit b90ec06e7a0cebfe6415e145afcfa799363a726f) Compare: https://github.com/OpenSIPS/opensips/compare/b044b721c7ac...097f800ef058 From razvan at opensips.org Wed Apr 12 11:10:23 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 12 Apr 2017 08:10:23 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 77b37f: tm: update branch route only if it was specified i... Message-ID: <58ee435f12604_13f003f920aabfc301382cc@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 77b37f5316623e0e55da4b798e6e0549100ff2f2 https://github.com/OpenSIPS/opensips/commit/77b37f5316623e0e55da4b798e6e0549100ff2f2 Author: Razvan Crainea Date: 2017-04-12 (Wed, 12 Apr 2017) Changed paths: M modules/tm/t_fwd.c Log Message: ----------- tm: update branch route only if it was specified in branch route From razvan at opensips.org Wed Apr 12 12:20:32 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 12 Apr 2017 09:20:32 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 69d705: tm: update branch route only if it was specified i... Message-ID: <58ee53d06996d_5bec3f8006369c441046fe@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 69d705b71dc3285300c1a2f950f8a0daf0321792 https://github.com/OpenSIPS/opensips/commit/69d705b71dc3285300c1a2f950f8a0daf0321792 Author: Razvan Crainea Date: 2017-04-12 (Wed, 12 Apr 2017) Changed paths: M modules/tm/t_fwd.c Log Message: ----------- tm: update branch route only if it was specified in branch route (cherry picked from commit 77b37f5316623e0e55da4b798e6e0549100ff2f2) From razvan at opensips.org Wed Apr 12 12:20:52 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 12 Apr 2017 09:20:52 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7acaf6: topology_hiding: remove bogus prev_crt check in co... Message-ID: <58ee53e41e50_9603fdf55cf7c309861b@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 7acaf63443604fc4d01a846761677892e3dc78a2 https://github.com/OpenSIPS/opensips/commit/7acaf63443604fc4d01a846761677892e3dc78a2 Author: Razvan Crainea Date: 2017-04-12 (Wed, 12 Apr 2017) Changed paths: M modules/topology_hiding/topo_hiding_logic.c Log Message: ----------- topology_hiding: remove bogus prev_crt check in contact removal Closes #1095 reported by hydrosine (cherry picked from commit 9e251cefbf9129d8ae5ade74ee297e18fc5907b6) Commit: e35a6907c2a35c1995c1f2d83a4fc4d774a728de https://github.com/OpenSIPS/opensips/commit/e35a6907c2a35c1995c1f2d83a4fc4d774a728de Author: Razvan Crainea Date: 2017-04-12 (Wed, 12 Apr 2017) Changed paths: M modules/tm/t_fwd.c Log Message: ----------- tm: update branch route only if it was specified in branch route (cherry picked from commit 77b37f5316623e0e55da4b798e6e0549100ff2f2) Compare: https://github.com/OpenSIPS/opensips/compare/097f800ef058...e35a6907c2a3 From razvan at opensips.org Wed Apr 12 12:22:21 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 12 Apr 2017 09:22:21 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6843ee: tm: update branch route only if it was specified i... Message-ID: <58ee543dcbf5d_268d3fd598dcdc3487268@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: 6843ee0993941a68baddd32a4ca935f93d12ff39 https://github.com/OpenSIPS/opensips/commit/6843ee0993941a68baddd32a4ca935f93d12ff39 Author: Razvan Crainea Date: 2017-04-12 (Wed, 12 Apr 2017) Changed paths: M modules/tm/t_fwd.c Log Message: ----------- tm: update branch route only if it was specified in branch route (cherry picked from commit 77b37f5316623e0e55da4b798e6e0549100ff2f2) From bogdan at opensips.org Thu Apr 13 04:44:33 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 13 Apr 2017 01:44:33 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b7b871: Fix wrong BUG log, downgrading it to ERR Message-ID: <58ef3a719e48a_5f3a3fedb03d3c30123019@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b7b8717d87ff898fd68ed76f1e9b6ef63c8cb5a0 https://github.com/OpenSIPS/opensips/commit/b7b8717d87ff898fd68ed76f1e9b6ef63c8cb5a0 Author: Bogdan-Andrei Iancu Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M forward.h M socket_info.h Log Message: ----------- Fix wrong BUG log, downgrading it to ERR Also improved the log messages by printing the proto name (not only its index) From bogdan at opensips.org Thu Apr 13 04:45:26 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 13 Apr 2017 01:45:26 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 54637e: Fix wrong BUG log, downgrading it to ERR Message-ID: <58ef3aa6d995b_130cc3fe59d72bc2c1376ea@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 54637ec8a966ef3393f90680d904e76602208b02 https://github.com/OpenSIPS/opensips/commit/54637ec8a966ef3393f90680d904e76602208b02 Author: Bogdan-Andrei Iancu Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M forward.h M socket_info.h Log Message: ----------- Fix wrong BUG log, downgrading it to ERR Also improved the log messages by printing the proto name (not only its index) (cherry picked from commit b7b8717d87ff898fd68ed76f1e9b6ef63c8cb5a0) From bogdan at opensips.org Thu Apr 13 04:45:58 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 13 Apr 2017 01:45:58 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 48afe5: Fix wrong BUG log, downgrading it to ERR Message-ID: <58ef3ac6b895f_223b3ff749775c38107149@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 48afe505eb8d666a0a9fe22f45625c3165094449 https://github.com/OpenSIPS/opensips/commit/48afe505eb8d666a0a9fe22f45625c3165094449 Author: Bogdan-Andrei Iancu Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M forward.h M socket_info.h Log Message: ----------- Fix wrong BUG log, downgrading it to ERR Also improved the log messages by printing the proto name (not only its index) (cherry picked from commit b7b8717d87ff898fd68ed76f1e9b6ef63c8cb5a0) From razvan at opensips.org Thu Apr 13 05:06:48 2017 From: razvan at opensips.org (Razvan Crainea) Date: Thu, 13 Apr 2017 02:06:48 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b4ce51: tls_mgm: fix kerberos error log Message-ID: <58ef3fa8adfc1_7a153fc6ae637c3411326f@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b4ce514b0a22fb3d301126723cd455aa33e516dd https://github.com/OpenSIPS/opensips/commit/b4ce514b0a22fb3d301126723cd455aa33e516dd Author: Razvan Crainea Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M modules/tls_mgm/tls_mgm.c Log Message: ----------- tls_mgm: fix kerberos error log From razvan at opensips.org Thu Apr 13 05:07:10 2017 From: razvan at opensips.org (Razvan Crainea) Date: Thu, 13 Apr 2017 02:07:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5cddcf: tls_mgm: fix kerberos error log Message-ID: <58ef3fbee7236_b1e3ffbf9167c381135e6@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 5cddcf3901337a2bea411bbcb2ced4c5d9e651be https://github.com/OpenSIPS/opensips/commit/5cddcf3901337a2bea411bbcb2ced4c5d9e651be Author: Razvan Crainea Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M modules/tls_mgm/tls_mgm.c Log Message: ----------- tls_mgm: fix kerberos error log (cherry picked from commit b4ce514b0a22fb3d301126723cd455aa33e516dd) From razvan at opensips.org Thu Apr 13 05:07:38 2017 From: razvan at opensips.org (Razvan Crainea) Date: Thu, 13 Apr 2017 02:07:38 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 07cf31: tls_mgm: fix kerberos error log Message-ID: <58ef3fdadb4b1_11ef3fe681f51c3c62891@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 07cf310d8581faf09fa5ac9dd83ed6452a5c04b3 https://github.com/OpenSIPS/opensips/commit/07cf310d8581faf09fa5ac9dd83ed6452a5c04b3 Author: Razvan Crainea Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M modules/tls_mgm/tls_mgm.c Log Message: ----------- tls_mgm: fix kerberos error log (cherry picked from commit b4ce514b0a22fb3d301126723cd455aa33e516dd) From razvan at opensips.org Thu Apr 13 05:09:13 2017 From: razvan at opensips.org (Razvan Crainea) Date: Thu, 13 Apr 2017 02:09:13 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d8bf1a: tls_mgm: fix kerberos error log Message-ID: <58ef40393df2f_13bdb3fb4a19c5c301915b@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: d8bf1acdd5f2aefd58cb72753dba8219625d3caf https://github.com/OpenSIPS/opensips/commit/d8bf1acdd5f2aefd58cb72753dba8219625d3caf Author: Razvan Crainea Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M tls/tls_init.c Log Message: ----------- tls_mgm: fix kerberos error log (cherry picked from commit b4ce514b0a22fb3d301126723cd455aa33e516dd) From vladp at opensips.org Thu Apr 13 08:55:18 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Thu, 13 Apr 2017 05:55:18 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c6083f: xml: downgrade logs to DBG when retrieving an unex... Message-ID: <58ef75362164e_73d73fa06cd8fc38143030@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c6083fca7d7ad29949dba56d5ece4fb92bb542ad https://github.com/OpenSIPS/opensips/commit/c6083fca7d7ad29949dba56d5ece4fb92bb542ad Author: rvlad-patrascu Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M modules/xml/xml.c Log Message: ----------- xml: downgrade logs to DBG when retrieving an unexisting node or attribute From vladp at opensips.org Thu Apr 13 08:56:23 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Thu, 13 Apr 2017 05:56:23 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e00b03: xml: downgrade logs to DBG when retrieving an unex... Message-ID: <58ef75772ae19_71833fbfcc9ddc3c1189a1@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: e00b03a9a1b37e32058e037aac08d0bd9266c45b https://github.com/OpenSIPS/opensips/commit/e00b03a9a1b37e32058e037aac08d0bd9266c45b Author: rvlad-patrascu Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M modules/xml/xml.c Log Message: ----------- xml: downgrade logs to DBG when retrieving an unexisting node or attribute (cherry picked from commit c6083fca7d7ad29949dba56d5ece4fb92bb542ad) From liviu at opensips.org Thu Apr 13 09:02:53 2017 From: liviu at opensips.org (Liviu Chircu) Date: Thu, 13 Apr 2017 06:02:53 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3d2abb: Fix several binary interface bugs Message-ID: <58ef76fd960d7_139553f9790aebc3c994a3@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 3d2abb23ce0063150e2a945d876bec03b079b6cf https://github.com/OpenSIPS/opensips/commit/3d2abb23ce0063150e2a945d876bec03b079b6cf Author: Liviu Chircu Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M bin_interface.c Log Message: ----------- Fix several binary interface bugs * badly handled empty str pushes * buggy str pop operations * missing safety check * addition instead of subtraction bug :| * bad limit check * fix guaranteed crash if out of pkg mem Fixes #1084 Commit: 8ebca4bfbebb49f5598bb9079b24368c85afb84e https://github.com/OpenSIPS/opensips/commit/8ebca4bfbebb49f5598bb9079b24368c85afb84e Author: Liviu Chircu Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- dialog replication: Avoid potential crash when debugging ("log_level = 4") Commit: 06bc4ba4d560606ddd8299754e03ef1b3c1f4007 https://github.com/OpenSIPS/opensips/commit/06bc4ba4d560606ddd8299754e03ef1b3c1f4007 Author: Liviu Chircu Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M bin_interface.c M bin_interface.h Log Message: ----------- binary interface: Improve coding style * fix missing "\n" in log messages * improve readability of buffer safety checks * bin_extend(), rather than bin_realloc() * fix some line lengths * fix typos Compare: https://github.com/OpenSIPS/opensips/compare/c6083fca7d7a...06bc4ba4d560 From razvan at opensips.org Thu Apr 13 09:25:53 2017 From: razvan at opensips.org (Razvan Crainea) Date: Thu, 13 Apr 2017 06:25:53 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c00a67: tm: regenerate local route message if body has cha... Message-ID: <58ef7c6192e64_3d7b3fc65e62bc2c165447@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c00a670ff7ae3fef88e0f7f0cbfa6f7b2bf10602 https://github.com/OpenSIPS/opensips/commit/c00a670ff7ae3fef88e0f7f0cbfa6f7b2bf10602 Author: Razvan Crainea Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M modules/tm/uac.c M parser/parse_body.c M parser/parse_body.h Log Message: ----------- tm: regenerate local route message if body has changed From razvan at opensips.org Thu Apr 13 09:35:50 2017 From: razvan at opensips.org (Razvan Crainea) Date: Thu, 13 Apr 2017 06:35:50 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b0bc85: make sure a body exists Message-ID: <58ef7eb665cb6_62b83fec8b6d3c3099439@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b0bc85aa09ef88446b01cc3b7652b7dc02f18a02 https://github.com/OpenSIPS/opensips/commit/b0bc85aa09ef88446b01cc3b7652b7dc02f18a02 Author: Razvan Crainea Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M parser/parse_body.c Log Message: ----------- make sure a body exists From liviu at opensips.org Thu Apr 13 11:05:36 2017 From: liviu at opensips.org (Liviu Chircu) Date: Thu, 13 Apr 2017 08:05:36 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0067a7: Fix several binary interface bugs Message-ID: <58ef93c0b7d4d_7d6f3fa8d8c35c241883f0@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 0067a77a1659ea59068203ac23c9d93acf81d6fb https://github.com/OpenSIPS/opensips/commit/0067a77a1659ea59068203ac23c9d93acf81d6fb Author: Liviu Chircu Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M bin_interface.c Log Message: ----------- Fix several binary interface bugs * badly handled empty str pushes * buggy str pop operations * missing safety check * addition instead of subtraction bug :| * bad limit check * fix guaranteed crash if out of pkg mem Fixes #1084 (cherry picked from commit 3d2abb23ce0063150e2a945d876bec03b079b6cf) Commit: a8f20907b122b1bff0ac21bf751683daef3e31ca https://github.com/OpenSIPS/opensips/commit/a8f20907b122b1bff0ac21bf751683daef3e31ca Author: Liviu Chircu Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- dialog replication: Avoid potential crash when debugging ("log_level = 4") (cherry picked from commit 8ebca4bfbebb49f5598bb9079b24368c85afb84e) Commit: 8851cef1b1654f3c958fee64fa3e86eda52b3722 https://github.com/OpenSIPS/opensips/commit/8851cef1b1654f3c958fee64fa3e86eda52b3722 Author: Liviu Chircu Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M bin_interface.c M bin_interface.h Log Message: ----------- binary interface: Improve coding style * fix missing "\n" in log messages * improve readability of buffer safety checks * bin_extend(), rather than bin_realloc() * fix some line lengths * fix typos (cherry picked from commit 06bc4ba4d560606ddd8299754e03ef1b3c1f4007) Compare: https://github.com/OpenSIPS/opensips/compare/e00b03a9a1b3...8851cef1b165 From vladp at opensips.org Thu Apr 13 12:11:29 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Thu, 13 Apr 2017 09:11:29 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a8b74d: xml: fix missing XML declaration when dumping enti... Message-ID: <58efa33157db5_22c43fa4e08afc2c12339a@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a8b74d0fc22f8dbb4d6edbe35621ab9e708d8abc https://github.com/OpenSIPS/opensips/commit/a8b74d0fc22f8dbb4d6edbe35621ab9e708d8abc Author: rvlad-patrascu Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M modules/xml/xml.c Log Message: ----------- xml: fix missing XML declaration when dumping entire document From vladp at opensips.org Thu Apr 13 12:12:32 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Thu, 13 Apr 2017 09:12:32 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 46a3dc: xml: fix missing XML declaration when dumping enti... Message-ID: <58efa370e9fa3_42e83fefe9083c3414901a@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 46a3dca24008c7af8a40a151051d14d2b2b53760 https://github.com/OpenSIPS/opensips/commit/46a3dca24008c7af8a40a151051d14d2b2b53760 Author: rvlad-patrascu Date: 2017-04-13 (Thu, 13 Apr 2017) Changed paths: M modules/xml/xml.c Log Message: ----------- xml: fix missing XML declaration when dumping entire document (cherry picked from commit a8b74d0fc22f8dbb4d6edbe35621ab9e708d8abc) Conflicts: modules/xml/xml.c From razvan at opensips.org Fri Apr 14 11:53:09 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 14 Apr 2017 08:53:09 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5aaf8b: bump version to 2.4 Message-ID: <58f0f065ef3ad_13f93fa824815c341754d2@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 5aaf8bf5aa139d862b2b35ef050dd1a9cc3c17c4 https://github.com/OpenSIPS/opensips/commit/5aaf8bf5aa139d862b2b35ef050dd1a9cc3c17c4 Author: Razvan Crainea Date: 2017-04-14 (Fri, 14 Apr 2017) Changed paths: M packaging/debian/common/changelog Log Message: ----------- bump version to 2.4 Commit: b73fbaf0fcb632d4a81ce79fb3e084795dceb315 https://github.com/OpenSIPS/opensips/commit/b73fbaf0fcb632d4a81ce79fb3e084795dceb315 Author: Razvan Crainea Date: 2017-04-14 (Fri, 14 Apr 2017) Changed paths: M modules/tls_mgm/tls_conn_server.h Log Message: ----------- tls_mgm: add support for openssl 1.1.0 for master-key Commit: a86ddf28464e024379c2d51d67872d83904fe624 https://github.com/OpenSIPS/opensips/commit/a86ddf28464e024379c2d51d67872d83904fe624 Author: Razvan Crainea Date: 2017-04-14 (Fri, 14 Apr 2017) Changed paths: A packaging/debian/jessie/control A packaging/debian/jessie/rules Log Message: ----------- add packaging for debian jessie Commit: dceb1db63f8c739a775c6325fd343868dc738c8b https://github.com/OpenSIPS/opensips/commit/dceb1db63f8c739a775c6325fd343868dc738c8b Author: Razvan Crainea Date: 2017-04-14 (Fri, 14 Apr 2017) Changed paths: M packaging/debian/common/changelog M packaging/debian/common/control M packaging/debian/common/copyright M packaging/debian/common/opensips.lintian-overrides M packaging/debian/common/opensips.service M packaging/debian/common/rules Log Message: ----------- sync debian packaging with official packages Commit: b3ec00e634354cfa17781b6a1160c60f194ad4fd https://github.com/OpenSIPS/opensips/commit/b3ec00e634354cfa17781b6a1160c60f194ad4fd Author: Razvan Crainea Date: 2017-04-14 (Fri, 14 Apr 2017) Changed paths: M async.c M mem/shm_mem.h M modules/aaa_radius/README M modules/aaa_radius/doc/aaa_radius_admin.xml M modules/cachedb_local/cachedb_local.c M modules/cgrates/cgrates_common.c M modules/compression/README M modules/compression/doc/compression_admin.xml M modules/dialog/dlg_handlers.c M modules/dialog/dlg_replication.c M modules/dialplan/README M modules/dialplan/doc/dialplan_admin.xml M modules/dispatcher/README M modules/dispatcher/dispatcher.c M modules/dispatcher/doc/dispatcher_admin.xml M modules/emergency/emergency_methods.c M modules/event_routing/ebr_data.c M modules/freeswitch/fs_proc.c M modules/mangler/mangler.cfg M modules/mi_json/README M modules/mi_json/doc/mi_json_admin.xml M modules/mid_registrar/ulcb.c M modules/presence_callinfo/presence_callinfo.c M modules/presence_dialoginfo/presence_dialoginfo.c M modules/presence_mwi/presence_mwi.c M modules/proto_bin/proto_bin.c M modules/proto_hep/hep.c M modules/proto_hep/proto_hep.c M modules/proto_ws/ws_handshake_common.h M modules/pua_dialoginfo/README M modules/pua_dialoginfo/doc/pua_dialoginfo_admin.xml M modules/rtpengine/README M modules/rtpengine/doc/rtpengine_admin.xml M modules/rtpengine/doc/rtpengine_faq.xml M modules/rtpengine/rtpengine.c M modules/rtpproxy/README M modules/rtpproxy/doc/rtpproxy_admin.xml M modules/sip_i/README M modules/sip_i/doc/sip_i_admin.xml M modules/sip_i/isup.c M modules/sip_i/sip_i.c M modules/siptrace/siptrace.c M modules/tm/async.c M net/proto_tcp/proto_tcp.c M net/trans_trace.c M scripts/opensipsdbctl M scripts/opensipsdbctl.sqlite Log Message: ----------- fix several typos Compare: https://github.com/OpenSIPS/opensips/compare/a8b74d0fc22f...b3ec00e63435 From razvan at opensips.org Fri Apr 14 12:23:46 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 14 Apr 2017 09:23:46 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fbd54c: Always overwrite DEFS variable but provide an init Message-ID: <58f0f79260fc5_70b13fbc11fd7c3c2112b1@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: fbd54c4a599299da93fc54626766ad34d1afa97a https://github.com/OpenSIPS/opensips/commit/fbd54c4a599299da93fc54626766ad34d1afa97a Author: Razvan Crainea Date: 2017-04-14 (Fri, 14 Apr 2017) Changed paths: M Makefile Log Message: ----------- Always overwrite DEFS variable but provide an init This is a better solution to 5324464234 for providing DEFS from outside the building environment From razvan at opensips.org Fri Apr 14 13:06:38 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 14 Apr 2017 10:06:38 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 040e73: timerfd: only linux supports timerfd Message-ID: <58f1019efc7d_21ed3fe63234dc288496e@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 040e73a7e2ffe25bf32ef0c6c8f49eaef781c992 https://github.com/OpenSIPS/opensips/commit/040e73a7e2ffe25bf32ef0c6c8f49eaef781c992 Author: Razvan Crainea Date: 2017-04-14 (Fri, 14 Apr 2017) Changed paths: M lib/timerfd.h Log Message: ----------- timerfd: only linux supports timerfd From razvan at opensips.org Fri Apr 14 13:25:04 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 14 Apr 2017 10:25:04 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 50c406: Remove useless includes Message-ID: <58f105f0385ea_1301b3ffcfdfb1c441175b5@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 50c406bc4fd4975c63f5754a8bcdc49d3fa80876 https://github.com/OpenSIPS/opensips/commit/50c406bc4fd4975c63f5754a8bcdc49d3fa80876 Author: Razvan Crainea Date: 2017-04-14 (Fri, 14 Apr 2017) Changed paths: M modules/auth_aaa/Makefile M modules/cachedb_couchbase/Makefile M modules/cachedb_memcached/Makefile M modules/cachedb_redis/Makefile M modules/db_berkeley/Makefile M modules/db_http/Makefile M modules/db_unixodbc/Makefile M modules/event_rabbitmq/Makefile M modules/jabber/Makefile M modules/lua/Makefile M modules/mmgeoip/Makefile M modules/peering/Makefile M modules/presence/Makefile M modules/presence_xml/Makefile M modules/pua_dialoginfo/Makefile M modules/snmpstats/Makefile M modules/xmpp/Makefile M utils/db_berkeley/Makefile Log Message: ----------- Remove useless includes These useless includes prevented compile on kfreebsd Close #1002 From razvan at opensips.org Fri Apr 14 13:35:02 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 14 Apr 2017 10:35:02 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b24bff: xml: remove useless include that breaks kfreebsd Message-ID: <58f1084628cc6_70713fc9b2293c341264c8@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b24bffb4702aabf8a908776a9dee44a2632e3c34 https://github.com/OpenSIPS/opensips/commit/b24bffb4702aabf8a908776a9dee44a2632e3c34 Author: Razvan Crainea Date: 2017-04-14 (Fri, 14 Apr 2017) Changed paths: M modules/xml/Makefile Log Message: ----------- xml: remove useless include that breaks kfreebsd From razvan at opensips.org Fri Apr 14 13:40:16 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 14 Apr 2017 10:40:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a56a74: tls_mgm: add support for openssl 1.1.0 for master-... Message-ID: <58f10980e1aab_132703fc5521b1c44860db@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: a56a7438baed0345a346c7998021b857cd29da7b https://github.com/OpenSIPS/opensips/commit/a56a7438baed0345a346c7998021b857cd29da7b Author: Razvan Crainea Date: 2017-04-14 (Fri, 14 Apr 2017) Changed paths: M modules/tls_mgm/tls_conn_server.h Log Message: ----------- tls_mgm: add support for openssl 1.1.0 for master-key (cherry picked from commit b73fbaf0fcb632d4a81ce79fb3e084795dceb315) Commit: 571991770c87c42538dc9494f0cce681e7bd7ef8 https://github.com/OpenSIPS/opensips/commit/571991770c87c42538dc9494f0cce681e7bd7ef8 Author: Razvan Crainea Date: 2017-04-14 (Fri, 14 Apr 2017) Changed paths: A packaging/debian/jessie/control A packaging/debian/jessie/rules Log Message: ----------- add packaging for debian jessie (cherry picked from commit a86ddf28464e024379c2d51d67872d83904fe624) Commit: c022d67f0d18e03a50468315ef8fdfc47d6cd488 https://github.com/OpenSIPS/opensips/commit/c022d67f0d18e03a50468315ef8fdfc47d6cd488 Author: Razvan Crainea Date: 2017-04-14 (Fri, 14 Apr 2017) Changed paths: M packaging/debian/common/changelog M packaging/debian/common/control M packaging/debian/common/copyright M packaging/debian/common/opensips.lintian-overrides M packaging/debian/common/opensips.service M packaging/debian/common/rules Log Message: ----------- sync debian packaging with official packages (cherry picked from commit dceb1db63f8c739a775c6325fd343868dc738c8b) Commit: bcaa5324baa188bc1547e107f10a3c4b3e7de8d2 https://github.com/OpenSIPS/opensips/commit/bcaa5324baa188bc1547e107f10a3c4b3e7de8d2 Author: Razvan Crainea Date: 2017-04-14 (Fri, 14 Apr 2017) Changed paths: M async.c M mem/shm_mem.h M modules/aaa_radius/README M modules/aaa_radius/doc/aaa_radius_admin.xml M modules/cachedb_local/cachedb_local.c M modules/cgrates/cgrates_common.c M modules/compression/README M modules/compression/doc/compression_admin.xml M modules/dialog/dlg_handlers.c M modules/dialog/dlg_replication.c M modules/dialplan/README M modules/dialplan/doc/dialplan_admin.xml M modules/dispatcher/README M modules/dispatcher/dispatcher.c M modules/dispatcher/doc/dispatcher_admin.xml M modules/emergency/emergency_methods.c M modules/event_routing/ebr_data.c M modules/freeswitch/fs_proc.c M modules/mangler/mangler.cfg M modules/mi_json/README M modules/mi_json/doc/mi_json_admin.xml M modules/mid_registrar/ulcb.c M modules/presence_callinfo/presence_callinfo.c M modules/presence_dialoginfo/presence_dialoginfo.c M modules/presence_mwi/presence_mwi.c M modules/proto_bin/proto_bin.c M modules/proto_hep/hep.c M modules/proto_hep/proto_hep.c M modules/proto_ws/ws_handshake_common.h M modules/pua_dialoginfo/README M modules/pua_dialoginfo/doc/pua_dialoginfo_admin.xml M modules/rtpengine/README M modules/rtpengine/doc/rtpengine_admin.xml M modules/rtpengine/doc/rtpengine_faq.xml M modules/rtpengine/rtpengine.c M modules/rtpproxy/README M modules/rtpproxy/doc/rtpproxy_admin.xml M modules/sip_i/README M modules/sip_i/doc/sip_i_admin.xml M modules/sip_i/isup.c M modules/sip_i/sip_i.c M modules/siptrace/siptrace.c M modules/tm/async.c M net/proto_tcp/proto_tcp.c M net/trans_trace.c M scripts/opensipsdbctl M scripts/opensipsdbctl.sqlite Log Message: ----------- fix several typos (cherry picked from commit b3ec00e634354cfa17781b6a1160c60f194ad4fd) Commit: e7d26699fc85d569c389b3a9ea7b31daff0c513c https://github.com/OpenSIPS/opensips/commit/e7d26699fc85d569c389b3a9ea7b31daff0c513c Author: Razvan Crainea Date: 2017-04-14 (Fri, 14 Apr 2017) Changed paths: M Makefile Log Message: ----------- Always overwrite DEFS variable but provide an init This is a better solution to 5324464234 for providing DEFS from outside the building environment (cherry picked from commit fbd54c4a599299da93fc54626766ad34d1afa97a) Commit: e9e0891f02a31d4037039c85059e12144a85381f https://github.com/OpenSIPS/opensips/commit/e9e0891f02a31d4037039c85059e12144a85381f Author: Razvan Crainea Date: 2017-04-14 (Fri, 14 Apr 2017) Changed paths: M lib/timerfd.h Log Message: ----------- timerfd: only linux supports timerfd (cherry picked from commit 040e73a7e2ffe25bf32ef0c6c8f49eaef781c992) Commit: f72350973dc187453524628d5dc299d3f6dcaf6d https://github.com/OpenSIPS/opensips/commit/f72350973dc187453524628d5dc299d3f6dcaf6d Author: Razvan Crainea Date: 2017-04-14 (Fri, 14 Apr 2017) Changed paths: M modules/auth_aaa/Makefile M modules/cachedb_couchbase/Makefile M modules/cachedb_memcached/Makefile M modules/cachedb_redis/Makefile M modules/db_berkeley/Makefile M modules/db_http/Makefile M modules/db_unixodbc/Makefile M modules/event_rabbitmq/Makefile M modules/jabber/Makefile M modules/lua/Makefile M modules/mmgeoip/Makefile M modules/peering/Makefile M modules/presence/Makefile M modules/presence_xml/Makefile M modules/pua_dialoginfo/Makefile M modules/snmpstats/Makefile M modules/xmpp/Makefile M utils/db_berkeley/Makefile Log Message: ----------- Remove useless includes These useless includes prevented compile on kfreebsd Close #1002 (cherry picked from commit 50c406bc4fd4975c63f5754a8bcdc49d3fa80876) Commit: fc9e725814c222dfd3872c37b187edec9d1a1db9 https://github.com/OpenSIPS/opensips/commit/fc9e725814c222dfd3872c37b187edec9d1a1db9 Author: Razvan Crainea Date: 2017-04-14 (Fri, 14 Apr 2017) Changed paths: M modules/xml/Makefile Log Message: ----------- xml: remove useless include that breaks kfreebsd (cherry picked from commit b24bffb4702aabf8a908776a9dee44a2632e3c34) Compare: https://github.com/OpenSIPS/opensips/compare/46a3dca24008...fc9e725814c2 From razvan at opensips.org Fri Apr 14 13:40:25 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 14 Apr 2017 10:40:25 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8a362b: timerfd: only linux supports timerfd Message-ID: <58f1098972b84_e143fa6816c9c30201355@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 8a362b63486e86f5a98505ff121e2d17a55aad2a https://github.com/OpenSIPS/opensips/commit/8a362b63486e86f5a98505ff121e2d17a55aad2a Author: Razvan Crainea Date: 2017-04-14 (Fri, 14 Apr 2017) Changed paths: M modules/cfgutils/cfgutils.c Log Message: ----------- timerfd: only linux supports timerfd (cherry picked from commit e9e0891f02a31d4037039c85059e12144a85381f) From razvan at opensips.org Fri Apr 14 14:03:36 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 14 Apr 2017 11:03:36 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 688e5f: add packaging for the mongodb module Message-ID: <58f10ef8a09d7_b063ffd6e819c2c1454a1@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 688e5fef9b8ecbe9e6182e5912fcf421c6d9b7d4 https://github.com/OpenSIPS/opensips/commit/688e5fef9b8ecbe9e6182e5912fcf421c6d9b7d4 Author: Razvan Crainea Date: 2017-04-14 (Fri, 14 Apr 2017) Changed paths: M packaging/debian/common/changelog M packaging/debian/common/control M packaging/debian/common/copyright M packaging/debian/common/rules Log Message: ----------- add packaging for the mongodb module From razvan at opensips.org Sun Apr 16 09:34:10 2017 From: razvan at opensips.org (Razvan Crainea) Date: Sun, 16 Apr 2017 06:34:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0c718a: debian: add stretch files and make jessie default Message-ID: <58f372d2ba26_13b1b3fb579ff1c34177160@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0c718ad9dd04a59e96a32c7680ea91bf9a915c3f https://github.com/OpenSIPS/opensips/commit/0c718ad9dd04a59e96a32c7680ea91bf9a915c3f Author: Razvan Crainea Date: 2017-04-16 (Sun, 16 Apr 2017) Changed paths: M Makefile A packaging/debian/stretch/control A packaging/debian/stretch/rules Log Message: ----------- debian: add stretch files and make jessie default From razvan at opensips.org Sun Apr 16 09:34:40 2017 From: razvan at opensips.org (Razvan Crainea) Date: Sun, 16 Apr 2017 06:34:40 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6ff098: debian: add stretch files and make jessie default Message-ID: <58f372f03044a_70593fb9c9cb3c4414832f@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 6ff098e6565b596db452d41badf447d0d3c99797 https://github.com/OpenSIPS/opensips/commit/6ff098e6565b596db452d41badf447d0d3c99797 Author: Razvan Crainea Date: 2017-04-16 (Sun, 16 Apr 2017) Changed paths: M Makefile A packaging/debian/stretch/control A packaging/debian/stretch/rules Log Message: ----------- debian: add stretch files and make jessie default (cherry picked from commit 0c718ad9dd04a59e96a32c7680ea91bf9a915c3f) From razvan at opensips.org Tue Apr 18 03:29:14 2017 From: razvan at opensips.org (Razvan Crainea) Date: Tue, 18 Apr 2017 00:29:14 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d60f70: add support for gcc 6.x compilers Message-ID: <58f5c04a71f2f_704e3fbf52393c342141ef@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: d60f70f701dfbe5bd4502c0470ffc9dd78f35569 https://github.com/OpenSIPS/opensips/commit/d60f70f701dfbe5bd4502c0470ffc9dd78f35569 Author: Razvan Crainea Date: 2017-04-18 (Tue, 18 Apr 2017) Changed paths: M Makefile.defs Log Message: ----------- add support for gcc 6.x compilers From razvan at opensips.org Tue Apr 18 11:31:22 2017 From: razvan at opensips.org (Razvan Crainea) Date: Tue, 18 Apr 2017 08:31:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4c7161: rtpengine: fix direction specification Message-ID: <58f6314ad7900_1316f3fae928e3c3c1213e7@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 4c71612b477af1a2c42d946ed56a94311e150ddf https://github.com/OpenSIPS/opensips/commit/4c71612b477af1a2c42d946ed56a94311e150ddf Author: Razvan Crainea Date: 2017-04-18 (Tue, 18 Apr 2017) Changed paths: M modules/rtpengine/rtpengine.c Log Message: ----------- rtpengine: fix direction specification Reported by volga629 on GitHub Close #1107 From razvan at opensips.org Tue Apr 18 11:31:37 2017 From: razvan at opensips.org (Razvan Crainea) Date: Tue, 18 Apr 2017 08:31:37 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3ddb5f: rtpengine: fix direction specification Message-ID: <58f63159efacd_7ad73ffb5ba61c382218d4@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 3ddb5fe5513283c31d5707a2af1991dc8b07ee11 https://github.com/OpenSIPS/opensips/commit/3ddb5fe5513283c31d5707a2af1991dc8b07ee11 Author: Razvan Crainea Date: 2017-04-18 (Tue, 18 Apr 2017) Changed paths: M modules/rtpengine/rtpengine.c Log Message: ----------- rtpengine: fix direction specification Reported by volga629 on GitHub Close #1107 (cherry picked from commit 4c71612b477af1a2c42d946ed56a94311e150ddf) From razvan at opensips.org Wed Apr 19 04:31:00 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 19 Apr 2017 01:31:00 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f9f46d: debian: add wheezy packaging Message-ID: <58f720442a874_47c83fbac7fefc38777c2@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f9f46d560f143c3c8cffb8a6ce1dbaf7dcab8aff https://github.com/OpenSIPS/opensips/commit/f9f46d560f143c3c8cffb8a6ce1dbaf7dcab8aff Author: Razvan Crainea Date: 2017-04-19 (Wed, 19 Apr 2017) Changed paths: A packaging/debian/wheezy/control A packaging/debian/wheezy/rules Log Message: ----------- debian: add wheezy packaging From razvan at opensips.org Wed Apr 19 04:31:08 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 19 Apr 2017 01:31:08 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e26491: debian: add wheezy packaging Message-ID: <58f7204cda577_7bae3fe745713c2c13205d@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: e264919e9b6b5929becbe44dcdf70073b5239e5f https://github.com/OpenSIPS/opensips/commit/e264919e9b6b5929becbe44dcdf70073b5239e5f Author: Razvan Crainea Date: 2017-04-19 (Wed, 19 Apr 2017) Changed paths: A packaging/debian/wheezy/control A packaging/debian/wheezy/rules Log Message: ----------- debian: add wheezy packaging (cherry picked from commit f9f46d560f143c3c8cffb8a6ce1dbaf7dcab8aff) From razvan at opensips.org Wed Apr 19 04:37:10 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 19 Apr 2017 01:37:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2a8cbb: add packaging files for stretch Message-ID: <58f721b65d6b4_45ce3f84a0449c2417121c@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 2a8cbb4dd45150e628c71379826269b4ffd2b605 https://github.com/OpenSIPS/opensips/commit/2a8cbb4dd45150e628c71379826269b4ffd2b605 Author: Razvan Crainea Date: 2017-04-18 (Tue, 18 Apr 2017) Changed paths: M Makefile M packaging/debian/common/control M packaging/debian/common/rules A packaging/debian/jessie/control A packaging/debian/jessie/rules A packaging/debian/stretch/control A packaging/debian/stretch/rules Log Message: ----------- add packaging files for stretch Commit: 7d37e01f7ed87ddb7da75c4cc860d128f4b5e1e5 https://github.com/OpenSIPS/opensips/commit/7d37e01f7ed87ddb7da75c4cc860d128f4b5e1e5 Author: Razvan Crainea Date: 2017-04-18 (Tue, 18 Apr 2017) Changed paths: M packaging/debian/stretch/rules Log Message: ----------- remove RADIUS for stretch since it is not supported Commit: f99506c3a5de74adb81331e62957de2f0291c17b https://github.com/OpenSIPS/opensips/commit/f99506c3a5de74adb81331e62957de2f0291c17b Author: Razvan Crainea Date: 2017-04-18 (Tue, 18 Apr 2017) Changed paths: M packaging/debian/stretch/rules Log Message: ----------- debian: stretch: remove proto_tls tls_mgm proto_wss and identity Debian stretch has only ssl 1.1.0, which is incompatible with our code for now Commit: 8981b7a4cf33afd8d097b61ceb2cd9768a4ab567 https://github.com/OpenSIPS/opensips/commit/8981b7a4cf33afd8d097b61ceb2cd9768a4ab567 Author: Razvan Crainea Date: 2017-04-19 (Wed, 19 Apr 2017) Changed paths: A packaging/debian/wheezy/control A packaging/debian/wheezy/rules Log Message: ----------- debian: add wheezy files Compare: https://github.com/OpenSIPS/opensips/compare/8a362b63486e...8981b7a4cf33 From razvan at opensips.org Wed Apr 19 09:19:23 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 19 Apr 2017 06:19:23 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 938b08: tm: re-point contact buffer to the fixed contact Message-ID: <58f763db7fa01_60593fd037fb5c38228767@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 938b08c1b5ca6ac430f9a1cf468757e3dd6a7663 https://github.com/OpenSIPS/opensips/commit/938b08c1b5ca6ac430f9a1cf468757e3dd6a7663 Author: Razvan Crainea Date: 2017-04-19 (Wed, 19 Apr 2017) Changed paths: M modules/nathelper/nathelper.c M modules/tm/t_msgbuilder.h Log Message: ----------- tm: re-point contact buffer to the fixed contact Before this change, if async was used, the fixed contact was lost. This fix repoints the Contact URI to the fixed contact. From liviu at opensips.org Wed Apr 19 18:05:33 2017 From: liviu at opensips.org (Liviu Chircu) Date: Wed, 19 Apr 2017 15:05:33 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0b1961: mid_registrar: Improve function docs Message-ID: <58f7df2d2b55e_64983fece0aefc381491da@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0b19616ec60c389643a5503e26cfc19af748640a https://github.com/OpenSIPS/opensips/commit/0b19616ec60c389643a5503e26cfc19af748640a Author: Liviu Chircu Date: 2017-04-19 (Wed, 19 Apr 2017) Changed paths: M modules/mid_registrar/mid_registrar.c M modules/mid_registrar/save.c Log Message: ----------- mid_registrar: Improve function docs Commit: 82873f5720513d13319bd518f09be6869d2a5f87 https://github.com/OpenSIPS/opensips/commit/82873f5720513d13319bd518f09be6869d2a5f87 Author: Liviu Chircu Date: 2017-04-19 (Wed, 19 Apr 2017) Changed paths: M Makefile.sources A lib/reg/ci.c A lib/reg/ci.h A lib/reg/config.h A lib/reg/path.c A lib/reg/path.h A lib/reg/regtime.c A lib/reg/regtime.h M lib/reg/rerrno.h M lib/reg/sip_msg.c M lib/reg/sip_msg.h M modules/mid_registrar/Makefile M modules/mid_registrar/lookup.c M modules/mid_registrar/mid_registrar.c M modules/mid_registrar/mid_registrar.h M modules/mid_registrar/save.c M modules/registrar/Makefile M modules/registrar/common.c M modules/registrar/lookup.c R modules/registrar/path.c R modules/registrar/path.h M modules/registrar/reg_mod.h R modules/registrar/regtime.c R modules/registrar/regtime.h M modules/registrar/reply.c M modules/registrar/save.c M modules/registrar/sip_msg.c M modules/registrar/sip_msg.h Log Message: ----------- Move common registrar code under lib/reg Also add distinct compilation logic for it, so as not to be included in the "opensips" binary. Commit: 1f9aa6d61333346c3935ce57a674defb977629a0 https://github.com/OpenSIPS/opensips/commit/1f9aa6d61333346c3935ce57a674defb977629a0 Author: Liviu Chircu Date: 2017-04-19 (Wed, 19 Apr 2017) Changed paths: M lib/reg/ci.c M modules/mid_registrar/gruu.c M modules/mid_registrar/mid_registrar.c M modules/mid_registrar/mid_registrar.h M modules/registrar/lookup.c M modules/registrar/reply.c M modules/registrar/save.c M modules/registrar/sip_msg.c Log Message: ----------- Move common registrar time-keeping code under lib/reg Compare: https://github.com/OpenSIPS/opensips/compare/938b08c1b5ca...1f9aa6d61333 From bogdan at opensips.org Thu Apr 20 03:40:23 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 20 Apr 2017 00:40:23 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9021fc: Fix compile error (skip some bogus dbg log) Message-ID: <58f865e744520_70b13fbc11fd7c3c298673@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9021fc7f213c4602c9e1839cc1a8d39d7c6e7153 https://github.com/OpenSIPS/opensips/commit/9021fc7f213c4602c9e1839cc1a8d39d7c6e7153 Author: Bogdan-Andrei Iancu Date: 2017-04-20 (Thu, 20 Apr 2017) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- Fix compile error (skip some bogus dbg log) From bogdan at opensips.org Thu Apr 20 07:10:14 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 20 Apr 2017 04:10:14 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] dee4d1: Fixed t_check_trans() not to report end-2-end ACKs Message-ID: <58f89716d11dc_223b3ff749775c381891e@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: dee4d12f8e99adbb6e46476eaeaf2b80130cb5a9 https://github.com/OpenSIPS/opensips/commit/dee4d12f8e99adbb6e46476eaeaf2b80130cb5a9 Author: Bogdan-Andrei Iancu Date: 2017-04-20 (Thu, 20 Apr 2017) Changed paths: M modules/tm/README M modules/tm/doc/tm_admin.xml M modules/tm/tm.c Log Message: ----------- Fixed t_check_trans() not to report end-2-end ACKs end-2-end ACKs are sequential requests (in dialog) forming a separate transaction than the INVITE; In terms of ACK matching, the t_check_trans() reports only hop-by-hop ACKs (to negative replies) which are part of the INVITE transaction. From liviu at opensips.org Thu Apr 20 07:30:26 2017 From: liviu at opensips.org (Liviu Chircu) Date: Thu, 20 Apr 2017 04:30:26 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ad71e0: Improve memory allocation error reporting Message-ID: <58f89bd278456_b113f84b311bc382324c0@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ad71e0e9e3e7bae6d5f45091aeddbb674c04ab1c https://github.com/OpenSIPS/opensips/commit/ad71e0e9e3e7bae6d5f45091aeddbb674c04ab1c Author: Liviu Chircu Date: 2017-04-20 (Thu, 20 Apr 2017) Changed paths: M mem/common.h M mem/f_malloc.c M mem/hp_malloc.c M mem/q_malloc.c Log Message: ----------- Improve memory allocation error reporting Reporting "bytes needed" may speed up troubleshooting broken code which attempts to allocate bogus amounts of memory. From liviu at opensips.org Thu Apr 20 07:31:10 2017 From: liviu at opensips.org (Liviu Chircu) Date: Thu, 20 Apr 2017 04:31:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] aeacc2: Improve memory allocation error reporting Message-ID: <58f89bfecf59e_13533feba03f5c34314232@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: aeacc2d44eff266836a3fd277472eb1f3c0b2fcb https://github.com/OpenSIPS/opensips/commit/aeacc2d44eff266836a3fd277472eb1f3c0b2fcb Author: Liviu Chircu Date: 2017-04-20 (Thu, 20 Apr 2017) Changed paths: M mem/common.h M mem/f_malloc.c M mem/hp_malloc.c M mem/q_malloc.c Log Message: ----------- Improve memory allocation error reporting Reporting "bytes needed" may speed up troubleshooting broken code which attempts to allocate bogus amounts of memory. (cherry picked from commit ad71e0e9e3e7bae6d5f45091aeddbb674c04ab1c) From liviu at opensips.org Thu Apr 20 07:32:12 2017 From: liviu at opensips.org (Liviu Chircu) Date: Thu, 20 Apr 2017 04:32:12 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a667b4: Improve memory allocation error reporting Message-ID: <58f89c3c33cc5_139553f9790aebc3c2120e5@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: a667b46b4e49bbe8accc77187203549180705e83 https://github.com/OpenSIPS/opensips/commit/a667b46b4e49bbe8accc77187203549180705e83 Author: Liviu Chircu Date: 2017-04-20 (Thu, 20 Apr 2017) Changed paths: M mem/common.h M mem/f_malloc.c M mem/hp_malloc.c M mem/q_malloc.c Log Message: ----------- Improve memory allocation error reporting Reporting "bytes needed" may speed up troubleshooting broken code which attempts to allocate bogus amounts of memory. (cherry picked from commit ad71e0e9e3e7bae6d5f45091aeddbb674c04ab1c) From bogdan at opensips.org Thu Apr 20 08:00:38 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 20 Apr 2017 05:00:38 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c393ee: Update cfg scripts with a cleaner logic in ACK han... Message-ID: <58f8a2e6ac96b_7a523fad23addc382607d4@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c393ee982291fab560bdc679c9dfcd7e01f0549b https://github.com/OpenSIPS/opensips/commit/c393ee982291fab560bdc679c9dfcd7e01f0549b Author: Bogdan-Andrei Iancu Date: 2017-04-20 (Thu, 20 Apr 2017) Changed paths: M etc/opensips.cfg M menuconfig/configs/opensips_loadbalancer.m4 M menuconfig/configs/opensips_residential.m4 M menuconfig/configs/opensips_trunking.m4 Log Message: ----------- Update cfg scripts with a cleaner logic in ACK handling Discard ASAP the hop-by-hop ACKs. From bogdan at opensips.org Thu Apr 20 08:04:31 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 20 Apr 2017 05:04:31 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 527017: Fixed bogus returned code for sl_send_reply() Message-ID: <58f8a3cfe4443_2f243faed1ac7c30202768@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 527017104058deb253ba5be6b32239483f834839 https://github.com/OpenSIPS/opensips/commit/527017104058deb253ba5be6b32239483f834839 Author: Bogdan-Andrei Iancu Date: 2017-04-20 (Thu, 20 Apr 2017) Changed paths: M modules/sl/sl_funcs.c Log Message: ----------- Fixed bogus returned code for sl_send_reply() If called for an ACK request, the sl_send_reply() func returns 0, terminated the script execution; Changed to return success (1). From razvan at opensips.org Thu Apr 20 11:13:22 2017 From: razvan at opensips.org (Razvan Crainea) Date: Thu, 20 Apr 2017 08:13:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7057e6: registrar: is_ip_registered() also checks contact ... Message-ID: <58f8d012f2389_1379e3ff6c4a3dc34208576@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 7057e6765779eeb55155827d843c483c4c8e2a65 https://github.com/OpenSIPS/opensips/commit/7057e6765779eeb55155827d843c483c4c8e2a65 Author: Razvan Crainea Date: 2017-04-20 (Thu, 20 Apr 2017) Changed paths: M modules/registrar/README M modules/registrar/doc/registrar_admin.xml M modules/registrar/lookup.c Log Message: ----------- registrar: is_ip_registered() also checks contact host The is_ip_registered() function should match the IPs to the registered parameter, if it exists, or to the contact's host otherwise. Thanks go to Ovidiu Sas for reporting this. Close #1086 From bogdan at opensips.org Thu Apr 20 13:59:55 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 20 Apr 2017 10:59:55 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c9cf64: Fixed testing the return code for pv_set_value() Message-ID: <58f8f71ba229c_7a413ffa4a92dc342427aa@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c9cf64084aabf8c967b068ecbf2dd10e68f5a8b1 https://github.com/OpenSIPS/opensips/commit/c9cf64084aabf8c967b068ecbf2dd10e68f5a8b1 Author: Bogdan-Andrei Iancu Date: 2017-04-20 (Thu, 20 Apr 2017) Changed paths: M modules/dialog/dialog.c Log Message: ----------- Fixed testing the return code for pv_set_value() From razvan at opensips.org Fri Apr 21 04:54:44 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 21 Apr 2017 01:54:44 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4bba4d: topo hiding: replace contact lumps with NOP Message-ID: <58f9c8d4ac7ac_12e0e3f97b420bc3839008a@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 4bba4d800cdb76c64c6a3b66b0849a0ff1eb90a2 https://github.com/OpenSIPS/opensips/commit/4bba4d800cdb76c64c6a3b66b0849a0ff1eb90a2 Author: Razvan Crainea Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/topology_hiding/topo_hiding_logic.c Log Message: ----------- topo hiding: replace contact lumps with NOP This prevents possible dangling pointers in the contact uri (changed by the fix_nated_contact() function). Instead of deleting the lumps that alter the contact, we replace them with a NOP and COND_FALSE. From razvan at opensips.org Fri Apr 21 04:55:51 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 21 Apr 2017 01:55:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3371f8: dialog: split contact and route_set buffers Message-ID: <58f9c9176bb7e_135133fe502cdbc44168393@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 3371f80cdbc6b6ac05e8c88756239a306a21d580 https://github.com/OpenSIPS/opensips/commit/3371f80cdbc6b6ac05e8c88756239a306a21d580 Author: Razvan Crainea Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/dialog/dlg_hash.c Log Message: ----------- dialog: split contact and route_set buffers This allows changing each of the contact/route set individually From razvan at opensips.org Fri Apr 21 04:57:06 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 21 Apr 2017 01:57:06 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] df59d0: dialog: update contact at the end of initial req p... Message-ID: <58f9c962c65a8_2fee3fd42856bc381986ba@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: df59d0dcf595c0fe4538b873ee0c113891a0e98e https://github.com/OpenSIPS/opensips/commit/df59d0dcf595c0fe4538b873ee0c113891a0e98e Author: Razvan Crainea Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: update contact at the end of initial req processing This makes the fix_nated_contact() changes visible throughout the entire processing of the initial request. From razvan at opensips.org Fri Apr 21 05:19:55 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 21 Apr 2017 02:19:55 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c63dd1: rabbitmq: fix documentation copy&paste error Message-ID: <58f9cebbd34bf_44e13fb3e957dc442417e9@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c63dd1626e3407ad5d38a064cf7fd4b3c2bfb64b https://github.com/OpenSIPS/opensips/commit/c63dd1626e3407ad5d38a064cf7fd4b3c2bfb64b Author: Razvan Crainea Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/rabbitmq/README M modules/rabbitmq/doc/rabbitmq_admin.xml Log Message: ----------- rabbitmq: fix documentation copy&paste error From razvan at opensips.org Fri Apr 21 05:41:52 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 21 Apr 2017 02:41:52 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 03dc42: registrar: is_ip_registered() also checks contact ... Message-ID: <58f9d3e0f4121_44923f8e1e503c3c200843@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 03dc422caafbf50cc2e8a96529672814d5183b17 https://github.com/OpenSIPS/opensips/commit/03dc422caafbf50cc2e8a96529672814d5183b17 Author: Razvan Crainea Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/registrar/README M modules/registrar/doc/registrar_admin.xml M modules/registrar/lookup.c Log Message: ----------- registrar: is_ip_registered() also checks contact host The is_ip_registered() function should match the IPs to the registered parameter, if it exists, or to the contact's host otherwise. Thanks go to Ovidiu Sas for reporting this. Close #1086 (cherry picked from commit 7057e6765779eeb55155827d843c483c4c8e2a65) From razvan at opensips.org Fri Apr 21 05:46:35 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 21 Apr 2017 02:46:35 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0f0397: registrar: is_ip_registered() also checks contact ... Message-ID: <58f9d4fbdf98c_59ec3f918802fc34379884@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 0f03976f2b62291533328513846c425e95b7531b https://github.com/OpenSIPS/opensips/commit/0f03976f2b62291533328513846c425e95b7531b Author: Razvan Crainea Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/registrar/README M modules/registrar/doc/registrar_admin.xml M modules/registrar/lookup.c Log Message: ----------- registrar: is_ip_registered() also checks contact host The is_ip_registered() function should match the IPs to the registered parameter, if it exists, or to the contact's host otherwise. Thanks go to Ovidiu Sas for reporting this. Close #1086 (cherry picked from commit 7057e6765779eeb55155827d843c483c4c8e2a65) From razvan at opensips.org Fri Apr 21 05:47:47 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 21 Apr 2017 02:47:47 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0967d6: rabbitmq: fix documentation copy&paste error Message-ID: <58f9d543552fe_61e23fc012913c34304317@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 0967d6f8225154b43d453799cd1da3343f85c709 https://github.com/OpenSIPS/opensips/commit/0967d6f8225154b43d453799cd1da3343f85c709 Author: Razvan Crainea Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/rabbitmq/README M modules/rabbitmq/doc/rabbitmq_admin.xml Log Message: ----------- rabbitmq: fix documentation copy&paste error (cherry picked from commit c63dd1626e3407ad5d38a064cf7fd4b3c2bfb64b) From razvan at opensips.org Fri Apr 21 05:48:34 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 21 Apr 2017 02:48:34 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] adb59d: rabbitmq: do not exit script if command is success... Message-ID: <58f9d572ef971_135133fe502cdbc441693fe@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: adb59dd5c1bbfaafe50dc0e24e21f36d372d0a3a https://github.com/OpenSIPS/opensips/commit/adb59dd5c1bbfaafe50dc0e24e21f36d372d0a3a Author: Razvan Crainea Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/rabbitmq/rabbitmq.c Log Message: ----------- rabbitmq: do not exit script if command is successful From razvan at opensips.org Fri Apr 21 05:48:51 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 21 Apr 2017 02:48:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4f067d: rabbitmq: do not exit script if command is success... Message-ID: <58f9d583c71b5_1301b3ffcfdfb1c441851de@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 4f067d82772374df6ca47e346473b3a0897e4e1e https://github.com/OpenSIPS/opensips/commit/4f067d82772374df6ca47e346473b3a0897e4e1e Author: Razvan Crainea Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/rabbitmq/rabbitmq.c Log Message: ----------- rabbitmq: do not exit script if command is successful (cherry picked from commit adb59dd5c1bbfaafe50dc0e24e21f36d372d0a3a) From razvan at opensips.org Fri Apr 21 06:09:40 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 21 Apr 2017 03:09:40 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 51c23a: topo hiding: replace contact lumps with NOP Message-ID: <58f9da641948e_73f73faf7981dc344439cb@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 51c23aaf0b62893c01f458eea3dc65d7098ce526 https://github.com/OpenSIPS/opensips/commit/51c23aaf0b62893c01f458eea3dc65d7098ce526 Author: Razvan Crainea Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/topology_hiding/topo_hiding_logic.c Log Message: ----------- topo hiding: replace contact lumps with NOP This prevents possible dangling pointers in the contact uri (changed by the fix_nated_contact() function). Instead of deleting the lumps that alter the contact, we replace them with a NOP and COND_FALSE. (cherry picked from commit 4bba4d800cdb76c64c6a3b66b0849a0ff1eb90a2) Commit: 23a9a746760ef7074ac5ae674007c0f1c09afe69 https://github.com/OpenSIPS/opensips/commit/23a9a746760ef7074ac5ae674007c0f1c09afe69 Author: Razvan Crainea Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/dialog/dlg_hash.c Log Message: ----------- dialog: split contact and route_set buffers This allows changing each of the contact/route set individually (cherry picked from commit 3371f80cdbc6b6ac05e8c88756239a306a21d580) Commit: 29367735acaca27ea321eb98924725b59e292a29 https://github.com/OpenSIPS/opensips/commit/29367735acaca27ea321eb98924725b59e292a29 Author: Razvan Crainea Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: update contact at the end of initial req processing This makes the fix_nated_contact() changes visible throughout the entire processing of the initial request. (cherry picked from commit df59d0dcf595c0fe4538b873ee0c113891a0e98e) Compare: https://github.com/OpenSIPS/opensips/compare/4f067d827723...29367735acac From razvan at opensips.org Fri Apr 21 06:35:23 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 21 Apr 2017 03:35:23 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e5bf14: topo hiding: replace contact lumps with NOP Message-ID: <58f9e06bbcd0d_71e23fa902c27c44234780@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: e5bf141ca4d73f712af1afc380558b7d989dee67 https://github.com/OpenSIPS/opensips/commit/e5bf141ca4d73f712af1afc380558b7d989dee67 Author: Razvan Crainea Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/topology_hiding/topo_hiding_logic.c Log Message: ----------- topo hiding: replace contact lumps with NOP This prevents possible dangling pointers in the contact uri (changed by the fix_nated_contact() function). Instead of deleting the lumps that alter the contact, we replace them with a NOP and COND_FALSE. (cherry picked from commit 4bba4d800cdb76c64c6a3b66b0849a0ff1eb90a2) Commit: fdff64124a40eee26c11e7dfb8ac8d3244594b3d https://github.com/OpenSIPS/opensips/commit/fdff64124a40eee26c11e7dfb8ac8d3244594b3d Author: Razvan Crainea Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/dialog/dlg_hash.c Log Message: ----------- dialog: split contact and route_set buffers This allows changing each of the contact/route set individually (cherry picked from commit 3371f80cdbc6b6ac05e8c88756239a306a21d580) Commit: 8089b0209c9d73333b2e0f53e796db05e2446a3a https://github.com/OpenSIPS/opensips/commit/8089b0209c9d73333b2e0f53e796db05e2446a3a Author: Razvan Crainea Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: update contact at the end of initial req processing This makes the fix_nated_contact() changes visible throughout the entire processing of the initial request. (cherry picked from commit df59d0dcf595c0fe4538b873ee0c113891a0e98e) Compare: https://github.com/OpenSIPS/opensips/compare/0f03976f2b62...8089b0209c9d From liviu at opensips.org Fri Apr 21 09:42:41 2017 From: liviu at opensips.org (Liviu Chircu) Date: Fri, 21 Apr 2017 06:42:41 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c9901f: registrar library: Fix nat flag management Message-ID: <58fa0c51b5c5_7f443f81a8a81c2c2086d0@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c9901f6138748d28d0b948aab700a15e1ae4b940 https://github.com/OpenSIPS/opensips/commit/c9901f6138748d28d0b948aab700a15e1ae4b940 Author: Liviu Chircu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M lib/reg/ci.c M lib/reg/ci.h M modules/mid_registrar/save.c M modules/registrar/save.c Log Message: ----------- registrar library: Fix nat flag management Commit: 6d683cef0abe023540fdf86d0ec2b7f85d7c916b https://github.com/OpenSIPS/opensips/commit/6d683cef0abe023540fdf86d0ec2b7f85d7c916b Author: Liviu Chircu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/mid_registrar/lookup.c M parser/parse_uri.c Log Message: ----------- Fix a print_uri() parameter issue The parameter fields of a parsed (struct sip_uri) actually contain the entire value (e.g. .transport = "transport=tcp", .transport_val = "tcp") Compare: https://github.com/OpenSIPS/opensips/compare/adb59dd5c1bb...6d683cef0abe From liviu at opensips.org Fri Apr 21 10:08:36 2017 From: liviu at opensips.org (Liviu Chircu) Date: Fri, 21 Apr 2017 07:08:36 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 484f0d: mid_registrar: Simplify data structures Message-ID: <58fa126438151_402f3f8dd258dc4425308d@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 484f0de804c242af2a627b0b9743f69bb9d8d4e0 https://github.com/OpenSIPS/opensips/commit/484f0de804c242af2a627b0b9743f69bb9d8d4e0 Author: Liviu Chircu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/mid_registrar/mid_registrar.c M modules/mid_registrar/mid_registrar.h M modules/mid_registrar/save.c M modules/mid_registrar/ulcb.c Log Message: ----------- mid_registrar: Simplify data structures From liviu at opensips.org Fri Apr 21 11:05:46 2017 From: liviu at opensips.org (Liviu Chircu) Date: Fri, 21 Apr 2017 08:05:46 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bae111: mid_registrar: Fix reply handling when routing by ... Message-ID: <58fa1fcab009_4a3a3f97badbbc30189265@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: bae111ba3de7c75c9a2c15fe3048e6343b3f1417 https://github.com/OpenSIPS/opensips/commit/bae111ba3de7c75c9a2c15fe3048e6343b3f1417 Author: Liviu Chircu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- mid_registrar: Fix reply handling when routing by Path From liviu at opensips.org Fri Apr 21 11:19:07 2017 From: liviu at opensips.org (Liviu Chircu) Date: Fri, 21 Apr 2017 08:19:07 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 858796: mid_registrar: Improve function docs Message-ID: <58fa22eb578de_44e13fb3e957dc4424699@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 858796ce134a3e19f0101cb5784424adf44a0ebe https://github.com/OpenSIPS/opensips/commit/858796ce134a3e19f0101cb5784424adf44a0ebe Author: Liviu Chircu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/mid_registrar/mid_registrar.c M modules/mid_registrar/save.c Log Message: ----------- mid_registrar: Improve function docs (cherry picked from commit 0b19616ec60c389643a5503e26cfc19af748640a) Commit: 70aeb654f9a37f51c28757260aec90e767a0aefd https://github.com/OpenSIPS/opensips/commit/70aeb654f9a37f51c28757260aec90e767a0aefd Author: Liviu Chircu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M Makefile.sources A lib/reg/ci.c A lib/reg/ci.h A lib/reg/config.h A lib/reg/path.c A lib/reg/path.h A lib/reg/regtime.c A lib/reg/regtime.h M lib/reg/rerrno.h M lib/reg/sip_msg.c M lib/reg/sip_msg.h M modules/mid_registrar/Makefile M modules/mid_registrar/lookup.c M modules/mid_registrar/mid_registrar.c M modules/mid_registrar/mid_registrar.h M modules/mid_registrar/save.c M modules/registrar/Makefile M modules/registrar/common.c M modules/registrar/lookup.c R modules/registrar/path.c R modules/registrar/path.h M modules/registrar/reg_mod.h R modules/registrar/regtime.c R modules/registrar/regtime.h M modules/registrar/reply.c M modules/registrar/save.c M modules/registrar/sip_msg.c M modules/registrar/sip_msg.h Log Message: ----------- Move common registrar code under lib/reg Also add distinct compilation logic for it, so as not to be included in the "opensips" binary. (cherry picked from commit 82873f5720513d13319bd518f09be6869d2a5f87) Commit: 767973e4ccac736e6950313d1a0b8e0574d9f41c https://github.com/OpenSIPS/opensips/commit/767973e4ccac736e6950313d1a0b8e0574d9f41c Author: Liviu Chircu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M lib/reg/ci.c M modules/mid_registrar/gruu.c M modules/mid_registrar/mid_registrar.c M modules/mid_registrar/mid_registrar.h M modules/registrar/lookup.c M modules/registrar/reply.c M modules/registrar/save.c M modules/registrar/sip_msg.c Log Message: ----------- Move common registrar time-keeping code under lib/reg (cherry picked from commit 1f9aa6d61333346c3935ce57a674defb977629a0) Commit: 99380dc15828edb5836bccdef39b4465beea3b1a https://github.com/OpenSIPS/opensips/commit/99380dc15828edb5836bccdef39b4465beea3b1a Author: Liviu Chircu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M lib/reg/ci.c M lib/reg/ci.h M modules/mid_registrar/save.c M modules/registrar/save.c Log Message: ----------- registrar library: Fix nat flag management (cherry picked from commit c9901f6138748d28d0b948aab700a15e1ae4b940) Commit: 2e0de6fac4468b97c3f7e55051cc6d316016bad9 https://github.com/OpenSIPS/opensips/commit/2e0de6fac4468b97c3f7e55051cc6d316016bad9 Author: Liviu Chircu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/mid_registrar/lookup.c M parser/parse_uri.c Log Message: ----------- Fix a print_uri() parameter issue The parameter fields of a parsed (struct sip_uri) actually contain the entire value (e.g. .transport = "transport=tcp", .transport_val = "tcp") (cherry picked from commit 6d683cef0abe023540fdf86d0ec2b7f85d7c916b) Commit: 257c37c70ecf9a2d94163cb87a73ac70d9e0233f https://github.com/OpenSIPS/opensips/commit/257c37c70ecf9a2d94163cb87a73ac70d9e0233f Author: Liviu Chircu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/mid_registrar/mid_registrar.c M modules/mid_registrar/mid_registrar.h M modules/mid_registrar/save.c M modules/mid_registrar/ulcb.c Log Message: ----------- mid_registrar: Simplify data structures (cherry picked from commit 484f0de804c242af2a627b0b9743f69bb9d8d4e0) Commit: 1604502f544192e771b7855aa1d930f2d2e7bc96 https://github.com/OpenSIPS/opensips/commit/1604502f544192e771b7855aa1d930f2d2e7bc96 Author: Liviu Chircu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- mid_registrar: Fix reply handling when routing by Path (cherry picked from commit bae111ba3de7c75c9a2c15fe3048e6343b3f1417) Compare: https://github.com/OpenSIPS/opensips/compare/29367735acac...1604502f5441 From bogdan at opensips.org Fri Apr 21 12:21:14 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Fri, 21 Apr 2017 09:21:14 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8cba5e: Fix sequential lookups of the DID separator. Message-ID: <58fa317a633f5_44543fd36af85c3c2103c7@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8cba5ecc0ea7b95daaf702d023e9de2ec8b26daf https://github.com/OpenSIPS/opensips/commit/8cba5ecc0ea7b95daaf702d023e9de2ec8b26daf Author: Bogdan-Andrei Iancu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/dialog/dialog.c Log Message: ----------- Fix sequential lookups of the DID separator. From bogdan at opensips.org Fri Apr 21 12:28:13 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Fri, 21 Apr 2017 09:28:13 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4cef80: Fixed bogus returned code for sl_send_reply() Message-ID: <58fa331d3fbab_70cd3fd48e8d5c282337c4@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: 4cef80fb411178c45d49c98bcf7f54299798a091 https://github.com/OpenSIPS/opensips/commit/4cef80fb411178c45d49c98bcf7f54299798a091 Author: Bogdan-Andrei Iancu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/sl/sl_funcs.c Log Message: ----------- Fixed bogus returned code for sl_send_reply() If called for an ACK request, the sl_send_reply() func returns 0, terminated the script execution; Changed to return success (1). (cherry picked from commit 527017104058deb253ba5be6b32239483f834839) Commit: f4576ba76e599f2ace2e3d5af3bcc0be1437bbdd https://github.com/OpenSIPS/opensips/commit/f4576ba76e599f2ace2e3d5af3bcc0be1437bbdd Author: Bogdan-Andrei Iancu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/tm/README M modules/tm/doc/tm_admin.xml M modules/tm/tm.c Log Message: ----------- Fixed t_check_trans() not to report end-2-end ACKs end-2-end ACKs are sequential requests (in dialog) forming a separate transaction than the INVITE; In terms of ACK matching, the t_check_trans() reports only hop-by-hop ACKs (to negative replies) which are part of the INVITE transaction. (cherry picked from commit dee4d12f8e99adbb6e46476eaeaf2b80130cb5a9) Compare: https://github.com/OpenSIPS/opensips/compare/d60f70f701df...f4576ba76e59 From bogdan at opensips.org Fri Apr 21 12:29:29 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Fri, 21 Apr 2017 09:29:29 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cf73b6: Fixed bogus returned code for sl_send_reply() Message-ID: <58fa3369478ee_46de3ff3477ffc2c2066bb@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: cf73b681dcff5448287ac2a5abff0017d03e823c https://github.com/OpenSIPS/opensips/commit/cf73b681dcff5448287ac2a5abff0017d03e823c Author: Bogdan-Andrei Iancu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/sl/sl_funcs.c Log Message: ----------- Fixed bogus returned code for sl_send_reply() If called for an ACK request, the sl_send_reply() func returns 0, terminated the script execution; Changed to return success (1). (cherry picked from commit 527017104058deb253ba5be6b32239483f834839) Commit: 7a6a453653b8ae3b38ab3ae9f33b1bf501c4ea85 https://github.com/OpenSIPS/opensips/commit/7a6a453653b8ae3b38ab3ae9f33b1bf501c4ea85 Author: Bogdan-Andrei Iancu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/dialog/dialog.c Log Message: ----------- Fixed testing the return code for pv_set_value() (cherry picked from commit c9cf64084aabf8c967b068ecbf2dd10e68f5a8b1) Commit: d568d2116d2f9ba6e0b360a42cdbfde497e47736 https://github.com/OpenSIPS/opensips/commit/d568d2116d2f9ba6e0b360a42cdbfde497e47736 Author: Bogdan-Andrei Iancu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/dialog/dialog.c Log Message: ----------- Fix sequential lookups of the DID separator. (cherry picked from commit 8cba5ecc0ea7b95daaf702d023e9de2ec8b26daf) Commit: 5022725c47a1e3857ee83fd0563199b06a40b21a https://github.com/OpenSIPS/opensips/commit/5022725c47a1e3857ee83fd0563199b06a40b21a Author: Bogdan-Andrei Iancu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/tm/README M modules/tm/doc/tm_admin.xml M modules/tm/tm.c Log Message: ----------- Fixed t_check_trans() not to report end-2-end ACKs end-2-end ACKs are sequential requests (in dialog) forming a separate transaction than the INVITE; In terms of ACK matching, the t_check_trans() reports only hop-by-hop ACKs (to negative replies) which are part of the INVITE transaction. (cherry picked from commit dee4d12f8e99adbb6e46476eaeaf2b80130cb5a9) Compare: https://github.com/OpenSIPS/opensips/compare/1604502f5441...5022725c47a1 From bogdan at opensips.org Fri Apr 21 12:30:55 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Fri, 21 Apr 2017 09:30:55 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 887bc4: Fixed bogus returned code for sl_send_reply() Message-ID: <58fa33bf340df_7a153fc6ae637c341782cb@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 887bc4b36df69244efe8b701ddc921a9e5ece580 https://github.com/OpenSIPS/opensips/commit/887bc4b36df69244efe8b701ddc921a9e5ece580 Author: Bogdan-Andrei Iancu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/sl/sl_funcs.c Log Message: ----------- Fixed bogus returned code for sl_send_reply() If called for an ACK request, the sl_send_reply() func returns 0, terminated the script execution; Changed to return success (1). (cherry picked from commit 527017104058deb253ba5be6b32239483f834839) Commit: 4e3ae9214b83722c22f0fd2c800ab1525cd9ee1f https://github.com/OpenSIPS/opensips/commit/4e3ae9214b83722c22f0fd2c800ab1525cd9ee1f Author: Bogdan-Andrei Iancu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/tm/README M modules/tm/doc/tm_admin.xml M modules/tm/tm.c Log Message: ----------- Fixed t_check_trans() not to report end-2-end ACKs end-2-end ACKs are sequential requests (in dialog) forming a separate transaction than the INVITE; In terms of ACK matching, the t_check_trans() reports only hop-by-hop ACKs (to negative replies) which are part of the INVITE transaction. (cherry picked from commit dee4d12f8e99adbb6e46476eaeaf2b80130cb5a9) Compare: https://github.com/OpenSIPS/opensips/compare/8089b0209c9d...4e3ae9214b83 From razvan at opensips.org Fri Apr 21 12:31:44 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 21 Apr 2017 09:31:44 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 017c5e: topo_hiding: fix COND_FAILED insertion for after a... Message-ID: <58fa33f0bb5f7_5af93ff4761f3c403704fe@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 017c5e40d3bd5b8fd08cb2184f884ad9f668a268 https://github.com/OpenSIPS/opensips/commit/017c5e40d3bd5b8fd08cb2184f884ad9f668a268 Author: Razvan Crainea Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/topology_hiding/topo_hiding_logic.c Log Message: ----------- topo_hiding: fix COND_FAILED insertion for after and before From razvan at opensips.org Fri Apr 21 12:32:07 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 21 Apr 2017 09:32:07 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ab9838: topo_hiding: fix COND_FAILED insertion for after a... Message-ID: <58fa34076bf55_54f43fb77c0f3c282370e4@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: ab9838794093ce47f33863f3adff825ce70e7fe2 https://github.com/OpenSIPS/opensips/commit/ab9838794093ce47f33863f3adff825ce70e7fe2 Author: Razvan Crainea Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/topology_hiding/topo_hiding_logic.c Log Message: ----------- topo_hiding: fix COND_FAILED insertion for after and before (cherry picked from commit 017c5e40d3bd5b8fd08cb2184f884ad9f668a268) From razvan at opensips.org Fri Apr 21 12:32:25 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 21 Apr 2017 09:32:25 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bc7a9d: topo_hiding: fix COND_FAILED insertion for after a... Message-ID: <58fa34192cd67_26143fbbb7711c3844465b@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: bc7a9dbb2d70edd2d2a260e260a707a09bd925c7 https://github.com/OpenSIPS/opensips/commit/bc7a9dbb2d70edd2d2a260e260a707a09bd925c7 Author: Razvan Crainea Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/topology_hiding/topo_hiding_logic.c Log Message: ----------- topo_hiding: fix COND_FAILED insertion for after and before (cherry picked from commit 017c5e40d3bd5b8fd08cb2184f884ad9f668a268) From rmundkowsky at ets.org Fri Apr 21 12:32:37 2017 From: rmundkowsky at ets.org (Mundkowsky, Robert) Date: Fri, 21 Apr 2017 16:32:37 +0000 Subject: [OpenSIPS-Devel] [OpenSIPS-Users] python module - bug and questions In-Reply-To: References: Message-ID: Python 2.7.13 on Ubuntu 16.04.2 LTS. How do you link using pthreads? Do you add flags to Makefile, or will setting “USE_PTHREAD_MUTEX” and “USE_POSIX_SEM” via menuconfig do it? Since openSIPS is not multithread, seems like it would be a lot cleaner to not use threads at all on C/C++. Then threads could still be used on Python side if needed. Robert Mundkowsky From: Maxim Sobolev [mailto:sobomax at sippysoft.com] Sent: Friday, April 21, 2017 11:57 AM To: Bogdan-Andrei Iancu Cc: OpenSIPS users mailling list ; Mundkowsky, Robert Subject: Re: [OpenSIPS-Users] python module - bug and questions Robert, what Bogdan says is essentially correct. The OpenSIPS itself is not using any threads AFAIK, therefore python module code is kept as simple as possible. Now back to the original question: we use quite a lot of python code in our routing and some of the python modules that are running are actually creating threads on their own and it appears to be pretty stable. What OS / python version are you using? What could be different in our case is that we link our OpenSIPS binary with pthreads always (which may or may not be the case on your build), so there might be some vital threads runtime infrastructure that is not getting initialized in your case. -Max On Fri, Apr 21, 2017 at 1:25 AM, Bogdan-Andrei Iancu > wrote: Hi Robert, The only question I can answer is 1) - OpenSIPS it is a multi-process application (and not using threads). How the python module is design (from threading perspective), I do not know - maybe Maxim, the author of this module can help with this. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Summit May 2017 Amsterdam http://www.opensips.org/events/Summit-2017Amsterdam.html On 04/19/2017 08:43 PM, Mundkowsky, Robert wrote: Hi, This email should likely go to your other dev forum, but I don’t have access yet. I am using openSIPS 2.2.3 on Ubuntu 16.04.2 LTS. I am using the python module. The python script called works fine when called from outside openSIPS and it works fine when called inside openSIPS, if it is triggered once at a time. But if the python script is triggered twice by two phone calls or more or even one call after another in short order, then there are weird errors which show up in different places in the code like: ERROR:python:python_handle_exception: #011TypeError: an integer is required I am guessing the openSIP python module has some problem/s related to threading. Questions: 1) I am guessing that OpenSIPS uses a multi-threaded architecture? 2) Is the python module meant to be a single thread? Or multi-threaded? a. If it is meant to be single threaded then why use python library thread functions? Just use python library without multi-threaded stuff. b. If it is meant to be multi-threaded then why is there only one call to PyThreadState_New and myThreadState is a global used everywhere? i. I would think a thread per call to python_exec would make more sense and make the code easier to understand? 3) Also why is there no clean up code (PyThreadState_Clear, PyThreadState_Delete, Py_Finalize)? a. I am guessing the idea is you do not need clean up, because it only happens when openSIPS is turned off. Robert For reference: https://www.codeproject.com/articles/11805/embedding-python-in-c-c-part-i http://www.awasu.com/weblog/embedding-python/threads/ http://stackoverflow.com/questions/26061298/python-multi-thread-multi-interpreter-c-api ________________________________ 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 -- Maksym Sobolyev Sippy Software, Inc. Internet Telephony (VoIP) Experts Tel (Canada): +1-778-783-0474 Tel (Toll-Free): +1-855-747-7779 Fax: +1-866-857-6942 Web: http://www.sippysoft.com MSN: sales at sippysoft.com Skype: SippySoft ________________________________ 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. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From razvan at opensips.org Fri Apr 21 12:38:30 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 21 Apr 2017 09:38:30 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 38fd4a: sql_cacher: fix uninitialized return code in case ... Message-ID: <58fa358628d5f_2e223f7f5b939c38275637@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 38fd4a6335e31303a0075a3d202a89cc3c2e9e03 https://github.com/OpenSIPS/opensips/commit/38fd4a6335e31303a0075a3d202a89cc3c2e9e03 Author: Razvan Crainea Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/sql_cacher/sql_cacher.c Log Message: ----------- sql_cacher: fix uninitialized return code in case of error From razvan at opensips.org Fri Apr 21 12:39:12 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 21 Apr 2017 09:39:12 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f5d572: sql_cacher: fix uninitialized return code in case ... Message-ID: <58fa35b0d4ac6_61163f9645751c30372419@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: f5d572df77e541df34aa62199afeb05e2b0cd4f7 https://github.com/OpenSIPS/opensips/commit/f5d572df77e541df34aa62199afeb05e2b0cd4f7 Author: Razvan Crainea Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/sql_cacher/sql_cacher.c Log Message: ----------- sql_cacher: fix uninitialized return code in case of error (cherry picked from commit 38fd4a6335e31303a0075a3d202a89cc3c2e9e03) From razvan at opensips.org Fri Apr 21 12:39:54 2017 From: razvan at opensips.org (Razvan Crainea) Date: Fri, 21 Apr 2017 09:39:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f7cf28: sql_cacher: fix uninitialized return code in case ... Message-ID: <58fa35da6bb3e_29863f88635f5c3c214367@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: f7cf28b4ebe357972ddca6c7d800bbd1084b1e2c https://github.com/OpenSIPS/opensips/commit/f7cf28b4ebe357972ddca6c7d800bbd1084b1e2c Author: Razvan Crainea Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M modules/sql_cacher/sql_cacher.c Log Message: ----------- sql_cacher: fix uninitialized return code in case of error (cherry picked from commit 38fd4a6335e31303a0075a3d202a89cc3c2e9e03) From liviu at opensips.org Fri Apr 21 13:32:58 2017 From: liviu at opensips.org (Liviu Chircu) Date: Fri, 21 Apr 2017 10:32:58 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 00906d: opensipsctl: Fix PostgreSQL login Message-ID: <58fa424adf207_47c83fbac7fefc38113556@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 00906dec7df55d9feb117af53e059943a229993b https://github.com/OpenSIPS/opensips/commit/00906dec7df55d9feb117af53e059943a229993b Author: Liviu Chircu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M scripts/opensipsctl.pgsql Log Message: ----------- opensipsctl: Fix PostgreSQL login Closes #1089 From liviu at opensips.org Fri Apr 21 13:33:37 2017 From: liviu at opensips.org (Liviu Chircu) Date: Fri, 21 Apr 2017 10:33:37 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e9a1ed: opensipsctl: Fix PostgreSQL login Message-ID: <58fa4271278aa_310d3fc98ce2fc304162f8@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: e9a1ed8618dd1ae9b66269a78c0cf8f4c0a40173 https://github.com/OpenSIPS/opensips/commit/e9a1ed8618dd1ae9b66269a78c0cf8f4c0a40173 Author: Liviu Chircu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M scripts/opensipsctl.pgsql Log Message: ----------- opensipsctl: Fix PostgreSQL login Closes #1089 (cherry picked from commit 00906dec7df55d9feb117af53e059943a229993b) From liviu at opensips.org Fri Apr 21 13:33:45 2017 From: liviu at opensips.org (Liviu Chircu) Date: Fri, 21 Apr 2017 10:33:45 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5e5be4: opensipsctl: Fix PostgreSQL login Message-ID: <58fa427973d34_2a5c3fee6fbefc382052e5@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 5e5be4a9eb191442273fc4f8522417f8c0711c77 https://github.com/OpenSIPS/opensips/commit/5e5be4a9eb191442273fc4f8522417f8c0711c77 Author: Liviu Chircu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M scripts/opensipsctl.pgsql Log Message: ----------- opensipsctl: Fix PostgreSQL login Closes #1089 (cherry picked from commit 00906dec7df55d9feb117af53e059943a229993b) From liviu at opensips.org Fri Apr 21 13:34:13 2017 From: liviu at opensips.org (Liviu Chircu) Date: Fri, 21 Apr 2017 10:34:13 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9f0e7e: opensipsctl: Fix PostgreSQL login Message-ID: <58fa42957faf7_2a5c3fee6fbefc3820541c@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: 9f0e7ee970efe30855552ee8604973fac85523c2 https://github.com/OpenSIPS/opensips/commit/9f0e7ee970efe30855552ee8604973fac85523c2 Author: Liviu Chircu Date: 2017-04-21 (Fri, 21 Apr 2017) Changed paths: M scripts/opensipsctl.pgsql Log Message: ----------- opensipsctl: Fix PostgreSQL login Closes #1089 (cherry picked from commit 00906dec7df55d9feb117af53e059943a229993b) Conflicts: scripts/opensipsctl.pgsql From bogdan at opensips.org Sun Apr 23 16:14:53 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Sun, 23 Apr 2017 13:14:53 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 478d3f: Fix bug in GW pinging. Message-ID: <58fd0b3d2a34c_a0b3f87c1911c3818423@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 478d3f33cce65996a627613345c77fe5373b717f https://github.com/OpenSIPS/opensips/commit/478d3f33cce65996a627613345c77fe5373b717f Author: Bogdan-Andrei Iancu Date: 2017-04-23 (Sun, 23 Apr 2017) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Fix bug in GW pinging. Disable the destination if the ping sending fails. If we cannot ping it, for sure we will not be able to send call to it too. Closes #982 From bogdan at opensips.org Sun Apr 23 16:16:12 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Sun, 23 Apr 2017 13:16:12 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4ab6f3: Fix bug in GW pinging. Message-ID: <58fd0b8cd5463_1c453fbe3ca39c3095195@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 4ab6f3f2d4cb4b695622bc29f152560debdaf827 https://github.com/OpenSIPS/opensips/commit/4ab6f3f2d4cb4b695622bc29f152560debdaf827 Author: Bogdan-Andrei Iancu Date: 2017-04-23 (Sun, 23 Apr 2017) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Fix bug in GW pinging. Disable the destination if the ping sending fails. If we cannot ping it, for sure we will not be able to send call to it too. Closes #982 (cherry picked from commit 478d3f33cce65996a627613345c77fe5373b717f) From bogdan at opensips.org Sun Apr 23 16:21:32 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Sun, 23 Apr 2017 13:21:32 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2bd1ad: Fix bug in GW pinging. Message-ID: <58fd0ccc5d8f0_8be3f821e863c441352c@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 2bd1adfaf54ffbfee034ae17da9ebb600ea0b288 https://github.com/OpenSIPS/opensips/commit/2bd1adfaf54ffbfee034ae17da9ebb600ea0b288 Author: Bogdan-Andrei Iancu Date: 2017-04-23 (Sun, 23 Apr 2017) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Fix bug in GW pinging. Disable the destination if the ping sending fails. If we cannot ping it, for sure we will not be able to send call to it too. Closes #982 (cherry picked from commit 478d3f33cce65996a627613345c77fe5373b717f) Commit: d88c1abf9fb90ec488de111a8aee28703c8338c8 https://github.com/OpenSIPS/opensips/commit/d88c1abf9fb90ec488de111a8aee28703c8338c8 Author: Bogdan-Andrei Iancu Date: 2017-04-23 (Sun, 23 Apr 2017) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Adapt code for 2.2 Compare: https://github.com/OpenSIPS/opensips/compare/5e5be4a9eb19...d88c1abf9fb9 From ionutionita at opensips.org Mon Apr 24 04:21:49 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Mon, 24 Apr 2017 01:21:49 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ac2846: [tls_mgm] fix uninit variable usage Message-ID: <58fdb59dcaa15_8983fe6cc93fc2c181b3@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: ac28466ace01f239caa8a2ed4d49c51c1962089a https://github.com/OpenSIPS/opensips/commit/ac28466ace01f239caa8a2ed4d49c51c1962089a Author: ionutrazvanionita Date: 2017-04-24 (Mon, 24 Apr 2017) Changed paths: M modules/tls_mgm/tls_conn.h Log Message: ----------- [tls_mgm] fix uninit variable usage (cherry picked from commit 8d3aaddf1e10b76a2434f60e1802863107b62f39) From ionutionita at opensips.org Mon Apr 24 04:21:50 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Mon, 24 Apr 2017 01:21:50 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 509b8d: [tls_mgm] fix uninit variable usage Message-ID: <58fdb59ecfe4b_154a3fc12f9a5c382546c@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 509b8d1745e7aa4d3016d7f521469b369a85e10b https://github.com/OpenSIPS/opensips/commit/509b8d1745e7aa4d3016d7f521469b369a85e10b Author: ionutrazvanionita Date: 2017-04-24 (Mon, 24 Apr 2017) Changed paths: M modules/tls_mgm/tls_conn.h Log Message: ----------- [tls_mgm] fix uninit variable usage From razvan at opensips.org Mon Apr 24 04:24:25 2017 From: razvan at opensips.org (Razvan Crainea) Date: Mon, 24 Apr 2017 01:24:25 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 809df8: sql_cacher: fix bogus return check Message-ID: <58fdb639a5cfe_6f673f93ac179c2c896a7@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 809df8d5842a1bf098666058657149d54d6136ff https://github.com/OpenSIPS/opensips/commit/809df8d5842a1bf098666058657149d54d6136ff Author: Razvan Crainea Date: 2017-04-24 (Mon, 24 Apr 2017) Changed paths: M modules/sql_cacher/sql_cacher.c Log Message: ----------- sql_cacher: fix bogus return check Fixes Coverity CID 167552 From razvan at opensips.org Mon Apr 24 04:24:43 2017 From: razvan at opensips.org (Razvan Crainea) Date: Mon, 24 Apr 2017 01:24:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d02562: sql_cacher: fix bogus return check Message-ID: <58fdb64b40974_17683faac1ff5c34556aa@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: d02562d6122e2f84d4c8b343e41512aabe39ec9c https://github.com/OpenSIPS/opensips/commit/d02562d6122e2f84d4c8b343e41512aabe39ec9c Author: Razvan Crainea Date: 2017-04-24 (Mon, 24 Apr 2017) Changed paths: M modules/sql_cacher/sql_cacher.c Log Message: ----------- sql_cacher: fix bogus return check Fixes Coverity CID 167552 (cherry picked from commit 809df8d5842a1bf098666058657149d54d6136ff) From razvan at opensips.org Mon Apr 24 04:25:03 2017 From: razvan at opensips.org (Razvan Crainea) Date: Mon, 24 Apr 2017 01:25:03 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a638bd: sql_cacher: fix bogus return check Message-ID: <58fdb65f3e9a0_11a23fe1d0bb5c28107433@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: a638bd574be70ef201a675d105098d99fede42b9 https://github.com/OpenSIPS/opensips/commit/a638bd574be70ef201a675d105098d99fede42b9 Author: Razvan Crainea Date: 2017-04-24 (Mon, 24 Apr 2017) Changed paths: M modules/sql_cacher/sql_cacher.c Log Message: ----------- sql_cacher: fix bogus return check Fixes Coverity CID 167552 (cherry picked from commit 809df8d5842a1bf098666058657149d54d6136ff) From bogdan at opensips.org Mon Apr 24 04:33:28 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Mon, 24 Apr 2017 01:33:28 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 705fde: Fix new sequential routing in script. Message-ID: <58fdb858c6585_2ed8a3fb6fdc0bc341036bd@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 705fdec8d2a1aa8409cf2b3e9d7965ba8fee7660 https://github.com/OpenSIPS/opensips/commit/705fdec8d2a1aa8409cf2b3e9d7965ba8fee7660 Author: Bogdan-Andrei Iancu Date: 2017-04-24 (Mon, 24 Apr 2017) Changed paths: M etc/opensips.cfg M menuconfig/configs/opensips_loadbalancer.m4 M menuconfig/configs/opensips_residential.m4 M menuconfig/configs/opensips_trunking.m4 Log Message: ----------- Fix new sequential routing in script. Add missing "exit" after consuming the hop-by-hop ACKs. From liviu at opensips.org Mon Apr 24 06:44:04 2017 From: liviu at opensips.org (Liviu Chircu) Date: Mon, 24 Apr 2017 03:44:04 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8ea908: tm: Assume ASYNC_DONE also when forcibly resuming ... Message-ID: <58fdd6f458c30_d043fe29ec47c3038667@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8ea9082b85d97065b4c49932233d87f51bffd0f8 https://github.com/OpenSIPS/opensips/commit/8ea9082b85d97065b4c49932233d87f51bffd0f8 Author: Liviu Chircu Date: 2017-04-24 (Mon, 24 Apr 2017) Changed paths: M modules/tm/async.c Log Message: ----------- tm: Assume ASYNC_DONE also when forcibly resuming async operations Fixes #1074 From liviu at opensips.org Mon Apr 24 06:53:11 2017 From: liviu at opensips.org (Liviu Chircu) Date: Mon, 24 Apr 2017 03:53:11 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d8f1bc: tm: Document async_resume_f behavior Message-ID: <58fdd91747a9c_13633f9cd2465c2c11953@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d8f1bc4481d590dc3315bd535b0825de3eb42458 https://github.com/OpenSIPS/opensips/commit/d8f1bc4481d590dc3315bd535b0825de3eb42458 Author: Liviu Chircu Date: 2017-04-24 (Mon, 24 Apr 2017) Changed paths: M modules/tm/async.h Log Message: ----------- tm: Document async_resume_f behavior From liviu at opensips.org Mon Apr 24 07:05:53 2017 From: liviu at opensips.org (Liviu Chircu) Date: Mon, 24 Apr 2017 04:05:53 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4c7c2c: Improve various async function comments Message-ID: <58fddc11668b7_7cf3fb47fda3c34201cf@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 4c7c2c4cf9ad6ab1396d141087c6c84326d5787d https://github.com/OpenSIPS/opensips/commit/4c7c2c4cf9ad6ab1396d141087c6c84326d5787d Author: Liviu Chircu Date: 2017-04-24 (Mon, 24 Apr 2017) Changed paths: M async.h M modules/rest_client/rest_methods.c M modules/tm/async.h Log Message: ----------- Improve various async function comments From liviu at opensips.org Mon Apr 24 09:08:41 2017 From: liviu at opensips.org (Liviu Chircu) Date: Mon, 24 Apr 2017 06:08:41 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1eb3ff: fraud_detection: Fix sequential_calls stat Message-ID: <58fdf8d975637_679e3fcfa05ebc3028217@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 1eb3ff4ad9eeda17ad713400ec6142d210a07fdd https://github.com/OpenSIPS/opensips/commit/1eb3ff4ad9eeda17ad713400ec6142d210a07fdd Author: Liviu Chircu Date: 2017-04-24 (Mon, 24 Apr 2017) Changed paths: M modules/fraud_detection/fraud_detection.c M modules/fraud_detection/frd_stats.h M ut.h Log Message: ----------- fraud_detection: Fix sequential_calls stat Fixes #888 From liviu at opensips.org Mon Apr 24 09:22:36 2017 From: liviu at opensips.org (Liviu Chircu) Date: Mon, 24 Apr 2017 06:22:36 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 191fa7: fraud_detection: Fix sequential_calls stat Message-ID: <58fdfc1c6c103_15ad3f96221abc2c3547d@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 191fa7e2c45bc8a9d7818478fc69c030d76f415a https://github.com/OpenSIPS/opensips/commit/191fa7e2c45bc8a9d7818478fc69c030d76f415a Author: Liviu Chircu Date: 2017-04-24 (Mon, 24 Apr 2017) Changed paths: M modules/fraud_detection/fraud_detection.c M modules/fraud_detection/frd_stats.h M ut.h Log Message: ----------- fraud_detection: Fix sequential_calls stat Fixes #888 (cherry picked from commit 1eb3ff4ad9eeda17ad713400ec6142d210a07fdd) From liviu at opensips.org Mon Apr 24 09:22:38 2017 From: liviu at opensips.org (Liviu Chircu) Date: Mon, 24 Apr 2017 06:22:38 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c64349: fraud_detection: Fix sequential_calls stat Message-ID: <58fdfc1ea5858_19533fd5a4e07c34103462@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: c64349791d3807aa0f5f39a651b361fbf4abb6c8 https://github.com/OpenSIPS/opensips/commit/c64349791d3807aa0f5f39a651b361fbf4abb6c8 Author: Liviu Chircu Date: 2017-04-24 (Mon, 24 Apr 2017) Changed paths: M modules/fraud_detection/fraud_detection.c M modules/fraud_detection/frd_stats.h M ut.h Log Message: ----------- fraud_detection: Fix sequential_calls stat Fixes #888 (cherry picked from commit 1eb3ff4ad9eeda17ad713400ec6142d210a07fdd) Conflicts: ut.h From bogdan at opensips.org Mon Apr 24 10:14:57 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Mon, 24 Apr 2017 07:14:57 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] aad5b8: Extend 8ea908 fix to the async support via core. Message-ID: <58fe086153680_a0b3f87c1911c38278b4@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: aad5b82afd3f12c1ae1dc5b208dbdcba798f84f6 https://github.com/OpenSIPS/opensips/commit/aad5b82afd3f12c1ae1dc5b208dbdcba798f84f6 Author: Bogdan-Andrei Iancu Date: 2017-04-24 (Mon, 24 Apr 2017) Changed paths: M async.c Log Message: ----------- Extend 8ea908 fix to the async support via core. Assume ASYNC_DONE also when forcibly resuming async operations From bogdan at opensips.org Mon Apr 24 10:43:40 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Mon, 24 Apr 2017 17:43:40 +0300 Subject: [OpenSIPS-Devel] Heads-up - OpenSIPS 2.3.0 stable release Message-ID: <9123bcd8-bc61-a5fc-b9b1-4ecfafc73fab@opensips.org> Hi all, Following a full month of testing and fixing, we are on the right tracks in order to go from beta to stable and to release OpenSIPS 2.3.0 on Wednesday 26th of April. So, please take advantage of the last 2 days if there are things still to be reported. Otherwise, let's welcome OpenSIPS 2.3.0 stable !!! And do not forget, the General Availability is to be become official during the OpenSIPS Summit in Amsterdam ;) Best Regards, Bogdan -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Summit May 2017 Amsterdam http://www.opensips.org/events/Summit-2017Amsterdam.html From ionutionita at opensips.org Mon Apr 24 10:53:46 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Mon, 24 Apr 2017 07:53:46 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 65c5b3: [db datetime parsing] parse only date if date-time... Message-ID: <58fe117ad7bd9_1afe3fb377da9c3c772d@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: 65c5b34ea0d9ca7a6396338152a5ba9945b99919 https://github.com/OpenSIPS/opensips/commit/65c5b34ea0d9ca7a6396338152a5ba9945b99919 Author: ionutrazvanionita Date: 2017-04-24 (Mon, 24 Apr 2017) Changed paths: M db/db_ut.c Log Message: ----------- [db datetime parsing] parse only date if date-time format parsing fails (cherry picked from commit 334c67a9fb93fefe724292bd883f30ba722b2aa3) From ionutionita at opensips.org Mon Apr 24 10:53:48 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Mon, 24 Apr 2017 07:53:48 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 645f71: [db datetime parsing] parse only date if date-time... Message-ID: <58fe117c389cc_9863fafac8c9c2c4889a@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 645f71b1d7375fc3fa72403044605595d021aded https://github.com/OpenSIPS/opensips/commit/645f71b1d7375fc3fa72403044605595d021aded Author: ionutrazvanionita Date: 2017-04-24 (Mon, 24 Apr 2017) Changed paths: M db/db_ut.c Log Message: ----------- [db datetime parsing] parse only date if date-time format parsing fails (cherry picked from commit 334c67a9fb93fefe724292bd883f30ba722b2aa3) From ionutionita at opensips.org Mon Apr 24 10:53:49 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Mon, 24 Apr 2017 07:53:49 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4f8cf5: [db datetime parsing] parse only date if date-time... Message-ID: <58fe117d4255e_e523f95fa23dc303246e@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 4f8cf58bddd3046d1911f76b5499fd3c5c83bf71 https://github.com/OpenSIPS/opensips/commit/4f8cf58bddd3046d1911f76b5499fd3c5c83bf71 Author: ionutrazvanionita Date: 2017-04-24 (Mon, 24 Apr 2017) Changed paths: M db/db_ut.c Log Message: ----------- [db datetime parsing] parse only date if date-time format parsing fails (cherry picked from commit 334c67a9fb93fefe724292bd883f30ba722b2aa3) From ionutionita at opensips.org Mon Apr 24 10:53:50 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Mon, 24 Apr 2017 07:53:50 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4f88a2: [db datetime parsing] parse only date if date-time... Message-ID: <58fe117eb9383_cde3fe346245c345012@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 4f88a23f69d241e052916c49880dc85cbbcbf797 https://github.com/OpenSIPS/opensips/commit/4f88a23f69d241e052916c49880dc85cbbcbf797 Author: ionutrazvanionita Date: 2017-04-24 (Mon, 24 Apr 2017) Changed paths: M db/db_ut.c Log Message: ----------- [db datetime parsing] parse only date if date-time format parsing fails (cherry picked from commit 334c67a9fb93fefe724292bd883f30ba722b2aa3) From ionutionita at opensips.org Mon Apr 24 10:53:52 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Mon, 24 Apr 2017 07:53:52 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0fac95: [db datetime parsing] parse only date if date-time... Message-ID: <58fe11805443_101b3fd861471c3c38770@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0fac958226df077d35f81170ca41c66e458f8377 https://github.com/OpenSIPS/opensips/commit/0fac958226df077d35f81170ca41c66e458f8377 Author: ionutrazvanionita Date: 2017-04-24 (Mon, 24 Apr 2017) Changed paths: M db/db_ut.c Log Message: ----------- [db datetime parsing] parse only date if date-time format parsing fails From bogdan at opensips.org Mon Apr 24 11:20:18 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Mon, 24 Apr 2017 08:20:18 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b2edc7: tm: Assume ASYNC_DONE also when forcibly resuming ... Message-ID: <58fe17b29c65b_6c5d3f860dc65c3c7097@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: b2edc7798a9d07bbef8f28f45e048f9253aa656a https://github.com/OpenSIPS/opensips/commit/b2edc7798a9d07bbef8f28f45e048f9253aa656a Author: Liviu Chircu Date: 2017-04-24 (Mon, 24 Apr 2017) Changed paths: M modules/tm/async.c Log Message: ----------- tm: Assume ASYNC_DONE also when forcibly resuming async operations Fixes #1074 (cherry picked from commit 8ea9082b85d97065b4c49932233d87f51bffd0f8) Commit: 3db24a85447c471e6975ce1d9d6cca0b25ef65da https://github.com/OpenSIPS/opensips/commit/3db24a85447c471e6975ce1d9d6cca0b25ef65da Author: Bogdan-Andrei Iancu Date: 2017-04-24 (Mon, 24 Apr 2017) Changed paths: M async.c Log Message: ----------- Extend 8ea908 fix to the async support via core. Assume ASYNC_DONE also when forcibly resuming async operations (cherry picked from commit aad5b82afd3f12c1ae1dc5b208dbdcba798f84f6) Compare: https://github.com/OpenSIPS/opensips/compare/645f71b1d737...3db24a85447c From liviu at opensips.org Mon Apr 24 11:20:21 2017 From: liviu at opensips.org (Liviu Chircu) Date: Mon, 24 Apr 2017 08:20:21 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 32f5fa: tm: Assume ASYNC_DONE also when forcibly resuming ... Message-ID: <58fe17b593e9_10b53f8e0ae7fc341056a2@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 32f5fabd10c9f1fc06aa14061e0ddb6ae9f97ba3 https://github.com/OpenSIPS/opensips/commit/32f5fabd10c9f1fc06aa14061e0ddb6ae9f97ba3 Author: Liviu Chircu Date: 2017-04-24 (Mon, 24 Apr 2017) Changed paths: M modules/tm/async.c Log Message: ----------- tm: Assume ASYNC_DONE also when forcibly resuming async operations Fixes #1074 (cherry picked from commit 8ea9082b85d97065b4c49932233d87f51bffd0f8) Conflicts: modules/tm/async.c From sobomax at sippysoft.com Mon Apr 24 22:09:24 2017 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Mon, 24 Apr 2017 19:09:24 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS-Users] python module - bug and questions In-Reply-To: References: Message-ID: Robert sorry for the delay. What could be useful if you can produce chunk of python routing code (could be NOP on the functional side) that crashes repeatedly on our voiptest jig (https://github.com/sippy/voiptests). The travis is setup to build pull requests, so that you can inject your code and let it rip. It uses similar configiration of linux / python. -Max On Apr 21, 2017 9:32 AM, "Mundkowsky, Robert" wrote: > Python 2.7.13 on Ubuntu 16.04.2 LTS. > > > > How do you link using pthreads? > > > > Do you add flags to Makefile, or will setting “USE_PTHREAD_MUTEX” and > “USE_POSIX_SEM” via menuconfig do it? > > > > Since openSIPS is not multithread, seems like it would be a lot cleaner to > not use threads at all on C/C++. Then threads could still be used on > Python side if needed. > > > > Robert Mundkowsky > > > > *From:* Maxim Sobolev [mailto:sobomax at sippysoft.com] > *Sent:* Friday, April 21, 2017 11:57 AM > *To:* Bogdan-Andrei Iancu > *Cc:* OpenSIPS users mailling list ; > Mundkowsky, Robert > *Subject:* Re: [OpenSIPS-Users] python module - bug and questions > > > > Robert, what Bogdan says is essentially correct. The OpenSIPS itself is > not using any threads AFAIK, therefore python module code is kept as simple > as possible. Now back to the original question: we use quite a lot of > python code in our routing and some of the python modules that are running > are actually creating threads on their own and it appears to be pretty > stable. What OS / python version are you using? What could be different in > our case is that we link our OpenSIPS binary with pthreads always (which > may or may not be the case on your build), so there might be some vital > threads runtime infrastructure that is not getting initialized in your case. > > > > -Max > > > > > > On Fri, Apr 21, 2017 at 1:25 AM, Bogdan-Andrei Iancu > wrote: > > Hi Robert, > > The only question I can answer is 1) - OpenSIPS it is a multi-process > application (and not using threads). > > How the python module is design (from threading perspective), I do not > know - maybe Maxim, the author of this module can help with this. > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > > http://www.opensips-solutions.com > > > > OpenSIPS Summit May 2017 Amsterdam > > http://www.opensips.org/events/Summit-2017Amsterdam.html > > On 04/19/2017 08:43 PM, Mundkowsky, Robert wrote: > > > > Hi, > > > > This email should likely go to your other dev forum, but I don’t have > access yet. > > > > I am using openSIPS 2.2.3 on Ubuntu 16.04.2 LTS. > > > > I am using the python module. The python script called works fine when > called from outside openSIPS and it works fine when called inside openSIPS, > if it is triggered once at a time. > > > > But if the python script is triggered twice by two phone calls or more or > even one call after another in short order, then there are weird errors > which show up in different places in the code like: > > > > ERROR:python:python_handle_exception: #011TypeError: an integer is > required > > > > I am guessing the openSIP python module has some problem/s related to > threading. > > > > > > Questions: > > 1) I am guessing that OpenSIPS uses a multi-threaded architecture? > > 2) Is the python module meant to be a single thread? Or > multi-threaded? > > a. If it is meant to be single threaded then why use python library > thread functions? Just use python library without multi-threaded stuff. > > b. If it is meant to be multi-threaded then why is there only one > call to PyThreadState_New and myThreadState is a global used everywhere? > > i. I > would think a thread per call to python_exec would make more sense and make > the code easier to understand? > > 3) Also why is there no clean up code (PyThreadState_Clear, > PyThreadState_Delete, Py_Finalize)? > > a. I am guessing the idea is you do not need clean up, because it > only happens when openSIPS is turned off. > > > > Robert > > > > > > For reference: > > https://www.codeproject.com/articles/11805/embedding-python-in-c-c-part-i > > http://www.awasu.com/weblog/embedding-python/threads/ > > http://stackoverflow.com/questions/26061298/python-multi-thread-multi- > interpreter-c-api > > > > > ------------------------------ > > 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 > > > > > > > > -- > > Maksym Sobolyev > Sippy Software, Inc. > Internet Telephony (VoIP) Experts > Tel (Canada): +1-778-783-0474 <(778)%20783-0474> > Tel (Toll-Free): +1-855-747-7779 <(855)%20747-7779> > Fax: +1-866-857-6942 <(866)%20857-6942> > Web: http://www.sippysoft.com > MSN: sales at sippysoft.com > Skype: SippySoft > > ------------------------------ > > 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. > ------------------------------ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From razvan at opensips.org Tue Apr 25 04:37:05 2017 From: razvan at opensips.org (Razvan Crainea) Date: Tue, 25 Apr 2017 01:37:05 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 83d339: rabbitmq: more verbose error reporting Message-ID: <58ff0ab1691ca_140b3ff2e8a89c4056437@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 83d3399fa26a44febecec64d7ed91e1d3afd7f3f https://github.com/OpenSIPS/opensips/commit/83d3399fa26a44febecec64d7ed91e1d3afd7f3f Author: Razvan Crainea Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M modules/event_rabbitmq/rabbitmq_send.c M modules/rabbitmq/rmq_servers.c Log Message: ----------- rabbitmq: more verbose error reporting From razvan at opensips.org Tue Apr 25 04:37:22 2017 From: razvan at opensips.org (Razvan Crainea) Date: Tue, 25 Apr 2017 01:37:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a46124: rabbitmq: more verbose error reporting Message-ID: <58ff0ac2a655_12763fc1e5f63c4069898@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: a46124fac25c36c0d7d1e0a832e3f59c164845fb https://github.com/OpenSIPS/opensips/commit/a46124fac25c36c0d7d1e0a832e3f59c164845fb Author: Razvan Crainea Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M modules/event_rabbitmq/rabbitmq_send.c M modules/rabbitmq/rmq_servers.c Log Message: ----------- rabbitmq: more verbose error reporting (cherry picked from commit 83d3399fa26a44febecec64d7ed91e1d3afd7f3f) From razvan at opensips.org Tue Apr 25 04:39:50 2017 From: razvan at opensips.org (Razvan Crainea) Date: Tue, 25 Apr 2017 01:39:50 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a38a3b: rabbitmq: prevent crash if vhost not specified Message-ID: <58ff0b56c8944_2e12c3fe11e859c306214c@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a38a3b7b67947805189d3eb166f1f24b5c8ae73e https://github.com/OpenSIPS/opensips/commit/a38a3b7b67947805189d3eb166f1f24b5c8ae73e Author: Razvan Crainea Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M modules/rabbitmq/rmq_servers.c Log Message: ----------- rabbitmq: prevent crash if vhost not specified From razvan at opensips.org Tue Apr 25 04:40:01 2017 From: razvan at opensips.org (Razvan Crainea) Date: Tue, 25 Apr 2017 01:40:01 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 16f8a2: rabbitmq: prevent crash if vhost not specified Message-ID: <58ff0b6121d0d_16713f932ff81c3455366@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 16f8a272b58abea0fdd7ea6ab83b2168fb6e7fbe https://github.com/OpenSIPS/opensips/commit/16f8a272b58abea0fdd7ea6ab83b2168fb6e7fbe Author: Razvan Crainea Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M modules/rabbitmq/rmq_servers.c Log Message: ----------- rabbitmq: prevent crash if vhost not specified (cherry picked from commit a38a3b7b67947805189d3eb166f1f24b5c8ae73e) From razvan at opensips.org Tue Apr 25 06:08:59 2017 From: razvan at opensips.org (Razvan Crainea) Date: Tue, 25 Apr 2017 03:08:59 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c8e5a4: rtpproxy: add default_set mod param Message-ID: <58ff203b413a2_67553fecaa435c34736bc@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c8e5a41297c2125bd1627b84329e81d00417d415 https://github.com/OpenSIPS/opensips/commit/c8e5a41297c2125bd1627b84329e81d00417d415 Author: Razvan Crainea Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M modules/rtpproxy/README M modules/rtpproxy/doc/rtpproxy_admin.xml M modules/rtpproxy/rtpproxy.c Log Message: ----------- rtpproxy: add default_set mod param This allows you to specify a default set to be used when not explicitly specifying it in the rtpproxy_*() functions, or in the socket definition. References #1105 From razvan at opensips.org Tue Apr 25 06:12:01 2017 From: razvan at opensips.org (Razvan Crainea) Date: Tue, 25 Apr 2017 03:12:01 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e081b2: rtpproxy: add default_set mod param Message-ID: <58ff20f133aa3_2eac03f99039bfc2c11162f@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: e081b234b0d682091fb1093518477f63b096fd57 https://github.com/OpenSIPS/opensips/commit/e081b234b0d682091fb1093518477f63b096fd57 Author: Razvan Crainea Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M modules/rtpproxy/README M modules/rtpproxy/doc/rtpproxy_admin.xml M modules/rtpproxy/rtpproxy.c Log Message: ----------- rtpproxy: add default_set mod param This allows you to specify a default set to be used when not explicitly specifying it in the rtpproxy_*() functions, or in the socket definition. References #1105 (cherry picked from commit c8e5a41297c2125bd1627b84329e81d00417d415) From dan at ag-projects.com Tue Apr 25 08:35:32 2017 From: dan at ag-projects.com (Dan Pascu) Date: Tue, 25 Apr 2017 05:35:32 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7fb9ef: Added support for RFC6598 private address range Message-ID: <58ff4294f0203_7cf3fb47fda3c34403a7@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: 7fb9ef1fcd977e54fecc260ff1efd6fe4e5a4308 https://github.com/OpenSIPS/opensips/commit/7fb9ef1fcd977e54fecc260ff1efd6fe4e5a4308 Author: Dan Pascu Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M modules/nat_traversal/nat_traversal.c Log Message: ----------- Added support for RFC6598 private address range (cherry picked from commit b604bd9a977f7237a0eab7abe15616b7a1a6364b) From dan at ag-projects.com Tue Apr 25 08:35:51 2017 From: dan at ag-projects.com (Dan Pascu) Date: Tue, 25 Apr 2017 05:35:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8a129f: Added support for RFC6598 private address range Message-ID: <58ff42a73ff61_f1e3fbe7d261c3871713@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 8a129fff9721668c1f5bed9d7b5bf3d9bf94cb34 https://github.com/OpenSIPS/opensips/commit/8a129fff9721668c1f5bed9d7b5bf3d9bf94cb34 Author: Dan Pascu Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M modules/nat_traversal/nat_traversal.c Log Message: ----------- Added support for RFC6598 private address range (cherry picked from commit b604bd9a977f7237a0eab7abe15616b7a1a6364b) From dan at ag-projects.com Tue Apr 25 08:35:43 2017 From: dan at ag-projects.com (Dan Pascu) Date: Tue, 25 Apr 2017 05:35:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 17484a: Added support for RFC6598 private address range Message-ID: <58ff429fd2619_2e5cc3fa407849c30891e5@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 17484ac3264438ea244d1a0930f09b535d88d7d1 https://github.com/OpenSIPS/opensips/commit/17484ac3264438ea244d1a0930f09b535d88d7d1 Author: Dan Pascu Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M modules/nat_traversal/nat_traversal.c Log Message: ----------- Added support for RFC6598 private address range (cherry picked from commit b604bd9a977f7237a0eab7abe15616b7a1a6364b) From dan at ag-projects.com Tue Apr 25 08:35:59 2017 From: dan at ag-projects.com (Dan Pascu) Date: Tue, 25 Apr 2017 05:35:59 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b604bd: Added support for RFC6598 private address range Message-ID: <58ff42af5ba98_e013ff270231c3c45590@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b604bd9a977f7237a0eab7abe15616b7a1a6364b https://github.com/OpenSIPS/opensips/commit/b604bd9a977f7237a0eab7abe15616b7a1a6364b Author: Dan Pascu Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M modules/nat_traversal/nat_traversal.c Log Message: ----------- Added support for RFC6598 private address range From ionutionita at opensips.org Tue Apr 25 12:56:28 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Tue, 25 Apr 2017 09:56:28 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 590241: [proto_hep] use homer5 format by default Message-ID: <58ff7fbcc5105_8f03f9d099dfc3452525@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 590241709f026789670cb7c55ce7b9a9aeb9da91 https://github.com/OpenSIPS/opensips/commit/590241709f026789670cb7c55ce7b9a9aeb9da91 Author: ionutrazvanionita Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M modules/proto_hep/proto_hep.c Log Message: ----------- [proto_hep] use homer5 format by default Commit: dcfe89e724fc00108350d4852a28cda9eebe7ecf https://github.com/OpenSIPS/opensips/commit/dcfe89e724fc00108350d4852a28cda9eebe7ecf Author: ionutrazvanionita Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M xlog.c Log Message: ----------- [xlog] fix add xlog level as event key Commit: 52905ebc737bf31acf4e1fcd55f5b480645ce528 https://github.com/OpenSIPS/opensips/commit/52905ebc737bf31acf4e1fcd55f5b480645ce528 Author: ionutrazvanionita Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M modules/proto_hep/hep.c M modules/proto_hep/hep.h M modules/proto_hep/hep_cb.c M modules/proto_hep/hep_cb.h M modules/sipcapture/sipcapture.c Log Message: ----------- [sipcapture] fix homer6 incompatibilities for report_capture and sip_capture * export homer version via proto_hep to sipcapture * fix report_capture columns depending on version * use extra_correlation chunk for sip_capture if homer6 used Commit: 5fe2d7047b5dcdf859f08608a4a0f5c8373557f6 https://github.com/OpenSIPS/opensips/commit/5fe2d7047b5dcdf859f08608a4a0f5c8373557f6 Author: ionutrazvanionita Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M modules/siptrace/siptrace.c Log Message: ----------- [siptrace] fix extra corelation key name from trans to net Commit: 833a9c4ff89b319912e3dea3be9a487d2c2ce618 https://github.com/OpenSIPS/opensips/commit/833a9c4ff89b319912e3dea3be9a487d2c2ce618 Author: ionutrazvanionita Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M modules/proto_hep/hep.c M trace_api.h Log Message: ----------- [proto_hep]set different addresses if none specified for source and destination Compare: https://github.com/OpenSIPS/opensips/compare/b604bd9a977f...833a9c4ff89b From ionutionita at opensips.org Tue Apr 25 12:56:31 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Tue, 25 Apr 2017 09:56:31 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4b2dd4: [proto_hep] use homer5 format by default Message-ID: <58ff7fbf6b3b5_11f33feaa4843c34691cf@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 4b2dd44dcda8e17d22c21b757615e3622225fbb3 https://github.com/OpenSIPS/opensips/commit/4b2dd44dcda8e17d22c21b757615e3622225fbb3 Author: ionutrazvanionita Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M modules/proto_hep/proto_hep.c Log Message: ----------- [proto_hep] use homer5 format by default (cherry picked from commit 4ee0764f98e43215472186fef2247d2439d4801d) Commit: 9689a22142af7f69ef6b8a62c83e093c97c2057c https://github.com/OpenSIPS/opensips/commit/9689a22142af7f69ef6b8a62c83e093c97c2057c Author: ionutrazvanionita Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M xlog.c Log Message: ----------- [xlog] fix add xlog level as event key (cherry picked from commit 5bb8378256d4057ba4ccbfefaf6285d8ae44a307) Commit: 1829895d8a01029449abeb8a7e1331ecef91738e https://github.com/OpenSIPS/opensips/commit/1829895d8a01029449abeb8a7e1331ecef91738e Author: ionutrazvanionita Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M modules/proto_hep/hep.c M modules/proto_hep/hep.h M modules/proto_hep/hep_cb.c M modules/proto_hep/hep_cb.h M modules/sipcapture/sipcapture.c Log Message: ----------- [sipcapture] fix homer6 incompatibilities for report_capture and sip_capture * export homer version via proto_hep to sipcapture * fix report_capture columns depending on version * use extra_correlation chunk for sip_capture if homer6 used (cherry picked from commit 7ec9a572b75e3093b93afa75423c8b26ab371bb4) Commit: 1b22290a744be4bbecfc8a068ffeac7ec61411b8 https://github.com/OpenSIPS/opensips/commit/1b22290a744be4bbecfc8a068ffeac7ec61411b8 Author: ionutrazvanionita Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M modules/siptrace/siptrace.c Log Message: ----------- [siptrace] fix extra corelation key name from trans to net (cherry picked from commit 6097ec5386213cf77d21e8a7bf3f0860559952be) Commit: 154a6283f7c8644f19034912eaa58d2b1e42f4a0 https://github.com/OpenSIPS/opensips/commit/154a6283f7c8644f19034912eaa58d2b1e42f4a0 Author: ionutrazvanionita Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M modules/proto_hep/hep.c M trace_api.h Log Message: ----------- [proto_hep]set different addresses if none specified for source and destination (cherry picked from commit 3c904e2106a452221d1587b00779ba6c22adb3c6) Compare: https://github.com/OpenSIPS/opensips/compare/8a129fff9721...154a6283f7c8 From ionutionita at opensips.org Tue Apr 25 13:01:07 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Tue, 25 Apr 2017 10:01:07 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 65c1c7: [proto_hep] fix transport identfier from trans to ... Message-ID: <58ff80d34524c_65f3faeb893bc4078534@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 65c1c7d076de433e949d96e62c8b3f13c12da84c https://github.com/OpenSIPS/opensips/commit/65c1c7d076de433e949d96e62c8b3f13c12da84c Author: ionutrazvanionita Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M modules/proto_hep/hep.c Log Message: ----------- [proto_hep] fix transport identfier from trans to net (cherry picked from commit 04f7fbdea5034bc002c9e27c6a48fdacbd93b381) From ionutionita at opensips.org Tue Apr 25 13:01:08 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Tue, 25 Apr 2017 10:01:08 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 04f7fb: [proto_hep] fix transport identfier from trans to ... Message-ID: <58ff80d4574ad_6b0f3fb7a9a11c38676c8@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 04f7fbdea5034bc002c9e27c6a48fdacbd93b381 https://github.com/OpenSIPS/opensips/commit/04f7fbdea5034bc002c9e27c6a48fdacbd93b381 Author: ionutrazvanionita Date: 2017-04-25 (Tue, 25 Apr 2017) Changed paths: M modules/proto_hep/hep.c Log Message: ----------- [proto_hep] fix transport identfier from trans to net From rmundkowsky at ets.org Tue Apr 25 13:39:59 2017 From: rmundkowsky at ets.org (Mundkowsky, Robert) Date: Tue, 25 Apr 2017 17:39:59 +0000 Subject: [OpenSIPS-Devel] [OpenSIPS-Users] python module - bug and questions References: Message-ID: Overall, I think trying to use threads, even “Python threads” across multiple processes is a bad idea. Threads are usually meant to live inside one process. Robert Mundkowsky From: Mundkowsky, Robert Sent: Tuesday, April 25, 2017 1:26 PM To: 'Maxim Sobolev' Cc: OpenSIPS devel mailling list ; Bogdan-Andrei Iancu Subject: RE: [OpenSIPS-Users] python module - bug and questions Thanks for responding. Thought you would just advise me to use specific compiler flags first. Do you want me to use your jig (testing setup) to make a crash? Or do you want me to add python code to your git repo so you can run it using your jig? What you are doing with code is pretty complex for me and makes my brain want to explode. My understanding is: 1) Python threads are not real threads, instead only one python thread runs at a time (per the global interpreter lock) 2) You are creating a Python thread (that uses one Python interpreter) in the main openSIPS process that likely loads the openSIPS user’s Python module to be used 3) Then, I assume, openSIPS main process forks children processes a. I assume Python thread and interpreter is treated as data and code that is copied to all children processes. Note if it were a real Linux thread then it would not be copied to children processes. b. You then use the copied Python thread in all children processes as if it is a single Python thread across the main and child processes or as if it were a single Python thread per each main or child process I guess this might work, because if the Python thread is truly copied then you really have a different Python thread and interpreter per main and child processes. But Python documentation (https://docs.python.org/2/c-api/init.html#c.PyThreadState) states “When extending or embedding Python, there is no way to inform Python of additional (non-Python) locks that need to be acquired before or reset after a fork”, which makes me think what you are doing will not work. This is because any Python modules someone might use (e.g. MySQLdb) might use a lock in the main process that can’t get cleared in the child process. Might be wiser to just start one Python thread and interpreter in each child process I assume is kicked off via child_init. Then you would still have the module loaded once per child. Although I am not sure if main process needs a Python thread, but probably not. Robert Mundkowsky From: Maxim Sobolev [mailto:sobomax at sippysoft.com] Sent: Monday, April 24, 2017 10:09 PM To: Mundkowsky, Robert > Cc: OpenSIPS devel mailling list >; Bogdan-Andrei Iancu > Subject: RE: [OpenSIPS-Users] python module - bug and questions Robert sorry for the delay. What could be useful if you can produce chunk of python routing code (could be NOP on the functional side) that crashes repeatedly on our voiptest jig (https://github.com/sippy/voiptests). The travis is setup to build pull requests, so that you can inject your code and let it rip. It uses similar configiration of linux / python. -Max ________________________________ 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. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From sobomax at sippysoft.com Tue Apr 25 15:57:33 2017 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Tue, 25 Apr 2017 12:57:33 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS-Users] python module - bug and questions In-Reply-To: References: Message-ID: Robert, what you have described is how essentially python module works. We init the interpreter and then the opensips forks, and in each of its children the mod_init() python function exported by your code is called, which returns instance whose method can be invoked via script. So at the end of the day you end up with as many independent processes as there are opensips children. Here for example what we have in our handler: from OpenSIPS import LM_ERR from ser import SerHandler class OpenSIPSHandler(SerHandler): def www_authenticate(self, msg): ... return rval def mod_init(): inst = OpenSIPSHandler() return inst -Max On Tue, Apr 25, 2017 at 10:25 AM, Mundkowsky, Robert wrote: > Thanks for responding. Thought you would just advise me to use specific > compiler flags first. > > > > Do you want me to use your jig (testing setup) to make a crash? > > Or do you want me to add python code to your git repo so you can run it > using your jig? > > > > > > What you are doing with code is pretty complex for me and makes my brain > want to explode. > > > > My understanding is: > > 1) Python threads are not real threads, instead only one python > thread runs at a time (per the global interpreter lock) > > > > 2) You are creating a Python thread (that uses one Python > interpreter) in the main openSIPS process that likely loads the openSIPS > user’s Python module to be used > > 3) Then, I assume, openSIPS main process forks children processes > > a. I assume Python thread and interpreter is treated as data and > code that is copied to all children processes. Note if it were a real > Linux thread then it would not be copied to children processes. > > b. You then use the copied Python thread in all children processes > as if it is a single Python thread across the main and child processes or > as if it were a single Python thread per each main or child process > > > > I guess this might work, because if the Python thread is truly copied then > you really have a different Python thread and interpreter per main and > child processes. But Python documentation (https://docs.python.org/2/c- > api/init.html#c.PyThreadState) states “When extending or embedding > Python, there is no way to inform Python of additional (non-Python) locks > that need to be acquired before or reset after a fork”, which makes me > think what you are doing will not work. This is because any Python modules > someone might use (e.g. MySQLdb) might use a lock in the main process that > can’t get cleared in the child process. > > > > Might be wiser to just start one Python thread and interpreter in each > child process I assume is kicked off via child_init. Then you would still > have the module loaded once per child. Although I am not sure if main > process needs a Python thread, but probably not. > > > > > > Robert Mundkowsky > > > > *From:* Maxim Sobolev [mailto:sobomax at sippysoft.com] > *Sent:* Monday, April 24, 2017 10:09 PM > *To:* Mundkowsky, Robert > *Cc:* OpenSIPS devel mailling list ; > Bogdan-Andrei Iancu > *Subject:* RE: [OpenSIPS-Users] python module - bug and questions > > > > Robert sorry for the delay. What could be useful if you can produce chunk > of python routing code (could be NOP on the functional side) that crashes > repeatedly on our voiptest jig (https://github.com/sippy/voiptests). The > travis is setup to build pull requests, so that you can inject your code > and let it rip. It uses similar configiration of linux / python. > > > > -Max > > > > On Apr 21, 2017 9:32 AM, "Mundkowsky, Robert" wrote: > > Python 2.7.13 on Ubuntu 16.04.2 LTS. > > > > How do you link using pthreads? > > > > Do you add flags to Makefile, or will setting “USE_PTHREAD_MUTEX” and > “USE_POSIX_SEM” via menuconfig do it? > > > > Since openSIPS is not multithread, seems like it would be a lot cleaner to > not use threads at all on C/C++. Then threads could still be used on > Python side if needed. > > > > Robert Mundkowsky > > > > *From:* Maxim Sobolev [mailto:sobomax at sippysoft.com] > *Sent:* Friday, April 21, 2017 11:57 AM > *To:* Bogdan-Andrei Iancu > *Cc:* OpenSIPS users mailling list ; > Mundkowsky, Robert > *Subject:* Re: [OpenSIPS-Users] python module - bug and questions > > > > Robert, what Bogdan says is essentially correct. The OpenSIPS itself is > not using any threads AFAIK, therefore python module code is kept as simple > as possible. Now back to the original question: we use quite a lot of > python code in our routing and some of the python modules that are running > are actually creating threads on their own and it appears to be pretty > stable. What OS / python version are you using? What could be different in > our case is that we link our OpenSIPS binary with pthreads always (which > may or may not be the case on your build), so there might be some vital > threads runtime infrastructure that is not getting initialized in your case. > > > > -Max > > > > > > On Fri, Apr 21, 2017 at 1:25 AM, Bogdan-Andrei Iancu > wrote: > > Hi Robert, > > The only question I can answer is 1) - OpenSIPS it is a multi-process > application (and not using threads). > > How the python module is design (from threading perspective), I do not > know - maybe Maxim, the author of this module can help with this. > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > > http://www.opensips-solutions.com > > > > OpenSIPS Summit May 2017 Amsterdam > > http://www.opensips.org/events/Summit-2017Amsterdam.html > > On 04/19/2017 08:43 PM, Mundkowsky, Robert wrote: > > > > Hi, > > > > This email should likely go to your other dev forum, but I don’t have > access yet. > > > > I am using openSIPS 2.2.3 on Ubuntu 16.04.2 LTS. > > > > I am using the python module. The python script called works fine when > called from outside openSIPS and it works fine when called inside openSIPS, > if it is triggered once at a time. > > > > But if the python script is triggered twice by two phone calls or more or > even one call after another in short order, then there are weird errors > which show up in different places in the code like: > > > > ERROR:python:python_handle_exception: #011TypeError: an integer is > required > > > > I am guessing the openSIP python module has some problem/s related to > threading. > > > > > > Questions: > > 1) I am guessing that OpenSIPS uses a multi-threaded architecture? > > 2) Is the python module meant to be a single thread? Or > multi-threaded? > > a. If it is meant to be single threaded then why use python library > thread functions? Just use python library without multi-threaded stuff. > > b. If it is meant to be multi-threaded then why is there only one > call to PyThreadState_New and myThreadState is a global used everywhere? > > i. I > would think a thread per call to python_exec would make more sense and make > the code easier to understand? > > 3) Also why is there no clean up code (PyThreadState_Clear, > PyThreadState_Delete, Py_Finalize)? > > a. I am guessing the idea is you do not need clean up, because it > only happens when openSIPS is turned off. > > > > Robert > > > > > > For reference: > > https://www.codeproject.com/articles/11805/embedding-python-in-c-c-part-i > > http://www.awasu.com/weblog/embedding-python/threads/ > > http://stackoverflow.com/questions/26061298/python-multi-thread-multi- > interpreter-c-api > > > > > ------------------------------ > > 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 > > > > > > > > -- > > Maksym Sobolyev > Sippy Software, Inc. > Internet Telephony (VoIP) Experts > Tel (Canada): +1-778-783-0474 <(778)%20783-0474> > Tel (Toll-Free): +1-855-747-7779 <(855)%20747-7779> > Fax: +1-866-857-6942 <(866)%20857-6942> > Web: http://www.sippysoft.com > MSN: sales at sippysoft.com > Skype: SippySoft > > > ------------------------------ > > 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. > ------------------------------ > > > ------------------------------ > > 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. > ------------------------------ > -- Maksym Sobolyev Sippy Software, Inc. Internet Telephony (VoIP) Experts Tel (Canada): +1-778-783-0474 Tel (Toll-Free): +1-855-747-7779 Fax: +1-866-857-6942 Web: http://www.sippysoft.com MSN: sales at sippysoft.com Skype: SippySoft -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmundkowsky at ets.org Tue Apr 25 13:25:37 2017 From: rmundkowsky at ets.org (Mundkowsky, Robert) Date: Tue, 25 Apr 2017 17:25:37 +0000 Subject: [OpenSIPS-Devel] [OpenSIPS-Users] python module - bug and questions In-Reply-To: References: Message-ID: Thanks for responding. Thought you would just advise me to use specific compiler flags first. Do you want me to use your jig (testing setup) to make a crash? Or do you want me to add python code to your git repo so you can run it using your jig? What you are doing with code is pretty complex for me and makes my brain want to explode. My understanding is: 1) Python threads are not real threads, instead only one python thread runs at a time (per the global interpreter lock) 2) You are creating a Python thread (that uses one Python interpreter) in the main openSIPS process that likely loads the openSIPS user’s Python module to be used 3) Then, I assume, openSIPS main process forks children processes a. I assume Python thread and interpreter is treated as data and code that is copied to all children processes. Note if it were a real Linux thread then it would not be copied to children processes. b. You then use the copied Python thread in all children processes as if it is a single Python thread across the main and child processes or as if it were a single Python thread per each main or child process I guess this might work, because if the Python thread is truly copied then you really have a different Python thread and interpreter per main and child processes. But Python documentation (https://docs.python.org/2/c-api/init.html#c.PyThreadState) states “When extending or embedding Python, there is no way to inform Python of additional (non-Python) locks that need to be acquired before or reset after a fork”, which makes me think what you are doing will not work. This is because any Python modules someone might use (e.g. MySQLdb) might use a lock in the main process that can’t get cleared in the child process. Might be wiser to just start one Python thread and interpreter in each child process I assume is kicked off via child_init. Then you would still have the module loaded once per child. Although I am not sure if main process needs a Python thread, but probably not. Robert Mundkowsky From: Maxim Sobolev [mailto:sobomax at sippysoft.com] Sent: Monday, April 24, 2017 10:09 PM To: Mundkowsky, Robert Cc: OpenSIPS devel mailling list ; Bogdan-Andrei Iancu Subject: RE: [OpenSIPS-Users] python module - bug and questions Robert sorry for the delay. What could be useful if you can produce chunk of python routing code (could be NOP on the functional side) that crashes repeatedly on our voiptest jig (https://github.com/sippy/voiptests). The travis is setup to build pull requests, so that you can inject your code and let it rip. It uses similar configiration of linux / python. -Max On Apr 21, 2017 9:32 AM, "Mundkowsky, Robert" > wrote: Python 2.7.13 on Ubuntu 16.04.2 LTS. How do you link using pthreads? Do you add flags to Makefile, or will setting “USE_PTHREAD_MUTEX” and “USE_POSIX_SEM” via menuconfig do it? Since openSIPS is not multithread, seems like it would be a lot cleaner to not use threads at all on C/C++. Then threads could still be used on Python side if needed. Robert Mundkowsky From: Maxim Sobolev [mailto:sobomax at sippysoft.com] Sent: Friday, April 21, 2017 11:57 AM To: Bogdan-Andrei Iancu > Cc: OpenSIPS users mailling list >; Mundkowsky, Robert > Subject: Re: [OpenSIPS-Users] python module - bug and questions Robert, what Bogdan says is essentially correct. The OpenSIPS itself is not using any threads AFAIK, therefore python module code is kept as simple as possible. Now back to the original question: we use quite a lot of python code in our routing and some of the python modules that are running are actually creating threads on their own and it appears to be pretty stable. What OS / python version are you using? What could be different in our case is that we link our OpenSIPS binary with pthreads always (which may or may not be the case on your build), so there might be some vital threads runtime infrastructure that is not getting initialized in your case. -Max On Fri, Apr 21, 2017 at 1:25 AM, Bogdan-Andrei Iancu > wrote: Hi Robert, The only question I can answer is 1) - OpenSIPS it is a multi-process application (and not using threads). How the python module is design (from threading perspective), I do not know - maybe Maxim, the author of this module can help with this. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Summit May 2017 Amsterdam http://www.opensips.org/events/Summit-2017Amsterdam.html On 04/19/2017 08:43 PM, Mundkowsky, Robert wrote: Hi, This email should likely go to your other dev forum, but I don’t have access yet. I am using openSIPS 2.2.3 on Ubuntu 16.04.2 LTS. I am using the python module. The python script called works fine when called from outside openSIPS and it works fine when called inside openSIPS, if it is triggered once at a time. But if the python script is triggered twice by two phone calls or more or even one call after another in short order, then there are weird errors which show up in different places in the code like: ERROR:python:python_handle_exception: #011TypeError: an integer is required I am guessing the openSIP python module has some problem/s related to threading. Questions: 1) I am guessing that OpenSIPS uses a multi-threaded architecture? 2) Is the python module meant to be a single thread? Or multi-threaded? a. If it is meant to be single threaded then why use python library thread functions? Just use python library without multi-threaded stuff. b. If it is meant to be multi-threaded then why is there only one call to PyThreadState_New and myThreadState is a global used everywhere? i. I would think a thread per call to python_exec would make more sense and make the code easier to understand? 3) Also why is there no clean up code (PyThreadState_Clear, PyThreadState_Delete, Py_Finalize)? a. I am guessing the idea is you do not need clean up, because it only happens when openSIPS is turned off. Robert For reference: https://www.codeproject.com/articles/11805/embedding-python-in-c-c-part-i http://www.awasu.com/weblog/embedding-python/threads/ http://stackoverflow.com/questions/26061298/python-multi-thread-multi-interpreter-c-api ________________________________ 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 -- Maksym Sobolyev Sippy Software, Inc. Internet Telephony (VoIP) Experts Tel (Canada): +1-778-783-0474 Tel (Toll-Free): +1-855-747-7779 Fax: +1-866-857-6942 Web: http://www.sippysoft.com MSN: sales at sippysoft.com Skype: SippySoft ________________________________ 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. ________________________________ ________________________________ 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. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmundkowsky at ets.org Tue Apr 25 16:57:22 2017 From: rmundkowsky at ets.org (Mundkowsky, Robert) Date: Tue, 25 Apr 2017 20:57:22 +0000 Subject: [OpenSIPS-Devel] [OpenSIPS-Users] python module - bug and questions In-Reply-To: References: Message-ID: I am guessing this is not the case. My guess is mod_init is called once by main/master openSIPS process and child_init is called for each child openSIPS process. Hence you should modify your C code not to initialize the Python stuff in mod_init, but instead in child_init. And your Python code would also follow that change: def child_init(rank): inst = OpenSIPSHandler() return inst If you do this, then you get a separate Python thread and interpreter per child. Right now, you are getting a Python thread and interpreter that was started in a different process (the parent openSIPS process) and some of this is copied to the children and it kind of works, but some things like thread locks and real threads started by the Python thread are not copied to the child processes. Robert Mundkowsky From: Maxim Sobolev [mailto:sobomax at sippysoft.com] Sent: Tuesday, April 25, 2017 3:58 PM To: Mundkowsky, Robert Cc: OpenSIPS devel mailling list ; Bogdan-Andrei Iancu Subject: Re: [OpenSIPS-Users] python module - bug and questions Robert, what you have described is how essentially python module works. We init the interpreter and then the opensips forks, and in each of its children the mod_init() python function exported by your code is called, which returns instance whose method can be invoked via script. So at the end of the day you end up with as many independent processes as there are opensips children. Here for example what we have in our handler: from OpenSIPS import LM_ERR from ser import SerHandler class OpenSIPSHandler(SerHandler): def www_authenticate(self, msg): ... return rval def mod_init(): inst = OpenSIPSHandler() return inst -Max On Tue, Apr 25, 2017 at 10:25 AM, Mundkowsky, Robert > wrote: Thanks for responding. Thought you would just advise me to use specific compiler flags first. Do you want me to use your jig (testing setup) to make a crash? Or do you want me to add python code to your git repo so you can run it using your jig? What you are doing with code is pretty complex for me and makes my brain want to explode. My understanding is: 1) Python threads are not real threads, instead only one python thread runs at a time (per the global interpreter lock) 2) You are creating a Python thread (that uses one Python interpreter) in the main openSIPS process that likely loads the openSIPS user’s Python module to be used 3) Then, I assume, openSIPS main process forks children processes a. I assume Python thread and interpreter is treated as data and code that is copied to all children processes. Note if it were a real Linux thread then it would not be copied to children processes. b. You then use the copied Python thread in all children processes as if it is a single Python thread across the main and child processes or as if it were a single Python thread per each main or child process I guess this might work, because if the Python thread is truly copied then you really have a different Python thread and interpreter per main and child processes. But Python documentation (https://docs.python.org/2/c-api/init.html#c.PyThreadState) states “When extending or embedding Python, there is no way to inform Python of additional (non-Python) locks that need to be acquired before or reset after a fork”, which makes me think what you are doing will not work. This is because any Python modules someone might use (e.g. MySQLdb) might use a lock in the main process that can’t get cleared in the child process. Might be wiser to just start one Python thread and interpreter in each child process I assume is kicked off via child_init. Then you would still have the module loaded once per child. Although I am not sure if main process needs a Python thread, but probably not. Robert Mundkowsky From: Maxim Sobolev [mailto:sobomax at sippysoft.com] Sent: Monday, April 24, 2017 10:09 PM To: Mundkowsky, Robert > Cc: OpenSIPS devel mailling list >; Bogdan-Andrei Iancu > Subject: RE: [OpenSIPS-Users] python module - bug and questions Robert sorry for the delay. What could be useful if you can produce chunk of python routing code (could be NOP on the functional side) that crashes repeatedly on our voiptest jig (https://github.com/sippy/voiptests). The travis is setup to build pull requests, so that you can inject your code and let it rip. It uses similar configiration of linux / python. -Max On Apr 21, 2017 9:32 AM, "Mundkowsky, Robert" > wrote: Python 2.7.13 on Ubuntu 16.04.2 LTS. How do you link using pthreads? Do you add flags to Makefile, or will setting “USE_PTHREAD_MUTEX” and “USE_POSIX_SEM” via menuconfig do it? Since openSIPS is not multithread, seems like it would be a lot cleaner to not use threads at all on C/C++. Then threads could still be used on Python side if needed. Robert Mundkowsky From: Maxim Sobolev [mailto:sobomax at sippysoft.com] Sent: Friday, April 21, 2017 11:57 AM To: Bogdan-Andrei Iancu > Cc: OpenSIPS users mailling list >; Mundkowsky, Robert > Subject: Re: [OpenSIPS-Users] python module - bug and questions Robert, what Bogdan says is essentially correct. The OpenSIPS itself is not using any threads AFAIK, therefore python module code is kept as simple as possible. Now back to the original question: we use quite a lot of python code in our routing and some of the python modules that are running are actually creating threads on their own and it appears to be pretty stable. What OS / python version are you using? What could be different in our case is that we link our OpenSIPS binary with pthreads always (which may or may not be the case on your build), so there might be some vital threads runtime infrastructure that is not getting initialized in your case. -Max On Fri, Apr 21, 2017 at 1:25 AM, Bogdan-Andrei Iancu > wrote: Hi Robert, The only question I can answer is 1) - OpenSIPS it is a multi-process application (and not using threads). How the python module is design (from threading perspective), I do not know - maybe Maxim, the author of this module can help with this. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Summit May 2017 Amsterdam http://www.opensips.org/events/Summit-2017Amsterdam.html On 04/19/2017 08:43 PM, Mundkowsky, Robert wrote: Hi, This email should likely go to your other dev forum, but I don’t have access yet. I am using openSIPS 2.2.3 on Ubuntu 16.04.2 LTS. I am using the python module. The python script called works fine when called from outside openSIPS and it works fine when called inside openSIPS, if it is triggered once at a time. But if the python script is triggered twice by two phone calls or more or even one call after another in short order, then there are weird errors which show up in different places in the code like: ERROR:python:python_handle_exception: #011TypeError: an integer is required I am guessing the openSIP python module has some problem/s related to threading. Questions: 1) I am guessing that OpenSIPS uses a multi-threaded architecture? 2) Is the python module meant to be a single thread? Or multi-threaded? a. If it is meant to be single threaded then why use python library thread functions? Just use python library without multi-threaded stuff. b. If it is meant to be multi-threaded then why is there only one call to PyThreadState_New and myThreadState is a global used everywhere? i. I would think a thread per call to python_exec would make more sense and make the code easier to understand? 3) Also why is there no clean up code (PyThreadState_Clear, PyThreadState_Delete, Py_Finalize)? a. I am guessing the idea is you do not need clean up, because it only happens when openSIPS is turned off. Robert For reference: https://www.codeproject.com/articles/11805/embedding-python-in-c-c-part-i http://www.awasu.com/weblog/embedding-python/threads/ http://stackoverflow.com/questions/26061298/python-multi-thread-multi-interpreter-c-api ________________________________ 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 -- Maksym Sobolyev Sippy Software, Inc. Internet Telephony (VoIP) Experts Tel (Canada): +1-778-783-0474 Tel (Toll-Free): +1-855-747-7779 Fax: +1-866-857-6942 Web: http://www.sippysoft.com MSN: sales at sippysoft.com Skype: SippySoft ________________________________ 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. ________________________________ ________________________________ 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. ________________________________ -- Maksym Sobolyev Sippy Software, Inc. Internet Telephony (VoIP) Experts Tel (Canada): +1-778-783-0474 Tel (Toll-Free): +1-855-747-7779 Fax: +1-866-857-6942 Web: http://www.sippysoft.com MSN: sales at sippysoft.com Skype: SippySoft ________________________________ 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. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From ionutionita at opensips.org Wed Apr 26 05:40:11 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Wed, 26 Apr 2017 02:40:11 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1c4a64: Document homer5_on from proto_hep influence on rep... Message-ID: <59006afb45d2e_75b53f9afe30bc44232a4@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 1c4a6460b27dfef282f868a2eb4fda88da0dbacd https://github.com/OpenSIPS/opensips/commit/1c4a6460b27dfef282f868a2eb4fda88da0dbacd Author: ionutrazvanionita Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/proto_hep/README M modules/proto_hep/doc/proto_hep_admin.xml M modules/sipcapture/README M modules/sipcapture/doc/sipcapture_admin.xml Log Message: ----------- Document homer5_on from proto_hep influence on report_capture function (cherry picked from commit 0f903f1e0b7a1eef5c5b64aa04bcc2aa3db35af5) Commit: db12fee7d25c0c85431ab2ad887f11983671245c https://github.com/OpenSIPS/opensips/commit/db12fee7d25c0c85431ab2ad887f11983671245c Author: ionutrazvanionita Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: A modules/sipcapture/sql/report5capture.sql A modules/sipcapture/sql/report6capture.sql R modules/sipcapture/sql/rtcpcapture.sql Log Message: ----------- [sipcapture] report capture table samples for HOMER5 and HOMER6 (cherry picked from commit 1420fe05244db2247f3633c9cc82752994360cf2) Compare: https://github.com/OpenSIPS/opensips/compare/65c1c7d076de...db12fee7d25c From ionutionita at opensips.org Wed Apr 26 05:40:12 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Wed, 26 Apr 2017 02:40:12 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0f903f: Document homer5_on from proto_hep influence on rep... Message-ID: <59006afc58c29_bf63fdab940dc2878344@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0f903f1e0b7a1eef5c5b64aa04bcc2aa3db35af5 https://github.com/OpenSIPS/opensips/commit/0f903f1e0b7a1eef5c5b64aa04bcc2aa3db35af5 Author: ionutrazvanionita Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/proto_hep/README M modules/proto_hep/doc/proto_hep_admin.xml M modules/sipcapture/README M modules/sipcapture/doc/sipcapture_admin.xml Log Message: ----------- Document homer5_on from proto_hep influence on report_capture function Commit: 1420fe05244db2247f3633c9cc82752994360cf2 https://github.com/OpenSIPS/opensips/commit/1420fe05244db2247f3633c9cc82752994360cf2 Author: ionutrazvanionita Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: A modules/sipcapture/sql/report5capture.sql A modules/sipcapture/sql/report6capture.sql R modules/sipcapture/sql/rtcpcapture.sql Log Message: ----------- [sipcapture] report capture table samples for HOMER5 and HOMER6 Compare: https://github.com/OpenSIPS/opensips/compare/04f7fbdea503...1420fe05244d From razvan at opensips.org Wed Apr 26 06:17:31 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 26 Apr 2017 03:17:31 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a89e15: cgrates: add mandatory Destination for CDRs Message-ID: <590073bb6c57c_20fa3fd4f2bf3c344428f@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a89e1526ad1ec426972f93bc9bc5c4ca1e0e8c0e https://github.com/OpenSIPS/opensips/commit/a89e1526ad1ec426972f93bc9bc5c4ca1e0e8c0e Author: Razvan Crainea Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/cgrates/cgrates_acc.c Log Message: ----------- cgrates: add mandatory Destination for CDRs Commit: c28bc43eef61a163f42f3f1a449c09a4ff015558 https://github.com/OpenSIPS/opensips/commit/c28bc43eef61a163f42f3f1a449c09a4ff015558 Author: Razvan Crainea Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/cgrates/cgrates_common.c Log Message: ----------- cgrates: increase debugging in case of error Commit: 9a5796ab87bd74478c07bf8cb09147cbed2c4842 https://github.com/OpenSIPS/opensips/commit/9a5796ab87bd74478c07bf8cb09147cbed2c4842 Author: Razvan Crainea Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/cgrates/cgrates_common.c Log Message: ----------- cgrates: check for both result and error on replies Commit: fc8da38d889bc6e0e21274bfdfc3e74fae93c062 https://github.com/OpenSIPS/opensips/commit/fc8da38d889bc6e0e21274bfdfc3e74fae93c062 Author: Razvan Crainea Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/cgrates/README M modules/cgrates/cgrates_auth.c M modules/cgrates/doc/cgrates_admin.xml Log Message: ----------- cgrates: rename MaxUsage to GetMaxUsage function Compare: https://github.com/OpenSIPS/opensips/compare/1420fe05244d...fc8da38d889b From razvan at opensips.org Wed Apr 26 06:17:38 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 26 Apr 2017 03:17:38 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a4adc8: cgrates: add mandatory Destination for CDRs Message-ID: <590073c249c28_668f3fbbd4707c344932@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: a4adc86ae2d5acad0ba79edf3b363ec22b4888ae https://github.com/OpenSIPS/opensips/commit/a4adc86ae2d5acad0ba79edf3b363ec22b4888ae Author: Razvan Crainea Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/cgrates/cgrates_acc.c Log Message: ----------- cgrates: add mandatory Destination for CDRs (cherry picked from commit 8a2a85b103c464d8f290f99e2e55495d1fd5e3c2) Commit: 9e0e1b36b8c33adf5cc46e1838c882e0ab414d2d https://github.com/OpenSIPS/opensips/commit/9e0e1b36b8c33adf5cc46e1838c882e0ab414d2d Author: Razvan Crainea Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/cgrates/cgrates_common.c Log Message: ----------- cgrates: increase debugging in case of error (cherry picked from commit 70098bc696a6edb1584390f374440316a6d6509a) Commit: c4aa57d585145430a19b163fbb53f8dc5d6bed50 https://github.com/OpenSIPS/opensips/commit/c4aa57d585145430a19b163fbb53f8dc5d6bed50 Author: Razvan Crainea Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/cgrates/cgrates_common.c Log Message: ----------- cgrates: check for both result and error on replies (cherry picked from commit 9a5796ab87bd74478c07bf8cb09147cbed2c4842) Commit: afeca1eab0771db41d63aff6c2a3b0f4e9c1250c https://github.com/OpenSIPS/opensips/commit/afeca1eab0771db41d63aff6c2a3b0f4e9c1250c Author: Razvan Crainea Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/cgrates/README M modules/cgrates/cgrates_auth.c M modules/cgrates/doc/cgrates_admin.xml Log Message: ----------- cgrates: rename MaxUsage to GetMaxUsage function (cherry picked from commit fc8da38d889bc6e0e21274bfdfc3e74fae93c062) Compare: https://github.com/OpenSIPS/opensips/compare/db12fee7d25c...afeca1eab077 From ionutionita at opensips.org Wed Apr 26 06:30:30 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Wed, 26 Apr 2017 03:30:30 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f114dd: [usrloc] fix contact removal in DB_ONLY mode Message-ID: <590076c696fdf_1b753fcff70a3c44350e@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: f114dd2918b4fb53b5858b06b7110211d221e5ee https://github.com/OpenSIPS/opensips/commit/f114dd2918b4fb53b5858b06b7110211d221e5ee Author: ionutrazvanionita Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/usrloc/urecord.c Log Message: ----------- [usrloc] fix contact removal in DB_ONLY mode (cherry picked from commit b807576180ef4ae0e85176bab364703f4af5b419) From ionutionita at opensips.org Wed Apr 26 06:30:31 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Wed, 26 Apr 2017 03:30:31 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0e9f1a: [usrloc] fix contact removal in DB_ONLY mode Message-ID: <590076c7e631b_ae0a3f9f50a0bc3c8447c@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0e9f1ab3911e684b8ba8e34c65f075d24a986540 https://github.com/OpenSIPS/opensips/commit/0e9f1ab3911e684b8ba8e34c65f075d24a986540 Author: ionutrazvanionita Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/usrloc/urecord.c Log Message: ----------- [usrloc] fix contact removal in DB_ONLY mode From ionutionita at opensips.org Wed Apr 26 06:30:34 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Wed, 26 Apr 2017 03:30:34 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0e8320: [usrloc] fix contact removal in DB_ONLY mode Message-ID: <590076ca9b5ef_b1b53f8916f73c388076a@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 0e83202dc1baaab1ab44a9e12dda63a6d7e2653d https://github.com/OpenSIPS/opensips/commit/0e83202dc1baaab1ab44a9e12dda63a6d7e2653d Author: ionutrazvanionita Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/usrloc/urecord.c Log Message: ----------- [usrloc] fix contact removal in DB_ONLY mode (cherry picked from commit b807576180ef4ae0e85176bab364703f4af5b419) From razvan at opensips.org Wed Apr 26 06:33:38 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 26 Apr 2017 03:33:38 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 15600b: cgrates: suppress SESSION_NOT_FOUND error on Termi... Message-ID: <59007782ca096_27ee3fd369999c34220a9@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 15600b615220a1aae88b68ae373c34efc5b094a6 https://github.com/OpenSIPS/opensips/commit/15600b615220a1aae88b68ae373c34efc5b094a6 Author: Razvan Crainea Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/cgrates/cgrates_acc.c Log Message: ----------- cgrates: suppress SESSION_NOT_FOUND error on TerminateSession this might happen all the time when using postpaid billing From razvan at opensips.org Wed Apr 26 06:34:00 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 26 Apr 2017 03:34:00 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2a264f: cgrates: suppress SESSION_NOT_FOUND error on Termi... Message-ID: <5900779823b7a_60363ff97200fc348572f@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 2a264ffaa585eb570424d867075ab6bfb2940d8e https://github.com/OpenSIPS/opensips/commit/2a264ffaa585eb570424d867075ab6bfb2940d8e Author: Razvan Crainea Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/cgrates/cgrates_acc.c Log Message: ----------- cgrates: suppress SESSION_NOT_FOUND error on TerminateSession this might happen all the time when using postpaid billing (cherry picked from commit 15600b615220a1aae88b68ae373c34efc5b094a6) From ionutionita at opensips.org Wed Apr 26 06:42:08 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Wed, 26 Apr 2017 03:42:08 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d745c5: [usrloc] remove unnecessary condition; minor namin... Message-ID: <5900798012232_68ad3f81fe9b3c2c328b@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: d745c50c6d5c5d4dd04f8194202ae2cc8ab9e739 https://github.com/OpenSIPS/opensips/commit/d745c50c6d5c5d4dd04f8194202ae2cc8ab9e739 Author: ionutrazvanionita Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/usrloc/urecord.c Log Message: ----------- [usrloc] remove unnecessary condition; minor naming fixes (cherry picked from commit f915a8088d1576211f5023c8e3924cd8451b5e62) From ionutionita at opensips.org Wed Apr 26 06:42:30 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Wed, 26 Apr 2017 03:42:30 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fe8922: [usrloc] remove unnecessary condition; minor namin... Message-ID: <59007996bb245_1cd43f994eb29c3411214f@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: fe892264a754e54cd6e778220ffa950fc92c3139 https://github.com/OpenSIPS/opensips/commit/fe892264a754e54cd6e778220ffa950fc92c3139 Author: ionutrazvanionita Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/usrloc/urecord.c Log Message: ----------- [usrloc] remove unnecessary condition; minor naming fixes From ionutionita at opensips.org Wed Apr 26 06:42:32 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Wed, 26 Apr 2017 03:42:32 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 55e4b7: [usrloc] remove unnecessary condition; minor namin... Message-ID: <59007998de5d0_727d3ff9d696dc2c186c8@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 55e4b7b47bde7512aa7836bf9111c59de8d49dd1 https://github.com/OpenSIPS/opensips/commit/55e4b7b47bde7512aa7836bf9111c59de8d49dd1 Author: ionutrazvanionita Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/usrloc/urecord.c Log Message: ----------- [usrloc] remove unnecessary condition; minor naming fixes (cherry picked from commit f915a8088d1576211f5023c8e3924cd8451b5e62) From razvan at opensips.org Wed Apr 26 06:43:33 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 26 Apr 2017 03:43:33 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ff1ffe: cgrates: fix readme cgrate(s) typo Message-ID: <590079d5d5dcb_61f93fbeba8d7c38683db@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ff1ffefd4fa9a4e67cbd44057e3e7b9610efa681 https://github.com/OpenSIPS/opensips/commit/ff1ffefd4fa9a4e67cbd44057e3e7b9610efa681 Author: Razvan Crainea Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/cgrates/README M modules/cgrates/doc/cgrates_admin.xml Log Message: ----------- cgrates: fix readme cgrate(s) typo From razvan at opensips.org Wed Apr 26 06:43:49 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 26 Apr 2017 03:43:49 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 502347: cgrates: fix readme cgrate(s) typo Message-ID: <590079e555420_75b53f9afe30bc4425824@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 502347e6d9cda3f3a9c96edf35a480fd476805d7 https://github.com/OpenSIPS/opensips/commit/502347e6d9cda3f3a9c96edf35a480fd476805d7 Author: Razvan Crainea Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/cgrates/README M modules/cgrates/doc/cgrates_admin.xml Log Message: ----------- cgrates: fix readme cgrate(s) typo (cherry picked from commit ff1ffefd4fa9a4e67cbd44057e3e7b9610efa681) From razvan at opensips.org Wed Apr 26 08:38:51 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 26 Apr 2017 05:38:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] df2399: net: print destination when msg_send() fails Message-ID: <590094db9479a_fc43fef14369c3065056@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: df23995f69b485d24b9162487ac4ea7d56a9870c https://github.com/OpenSIPS/opensips/commit/df23995f69b485d24b9162487ac4ea7d56a9870c Author: Razvan Crainea Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M forward.h Log Message: ----------- net: print destination when msg_send() fails From vladp at opensips.org Wed Apr 26 08:51:26 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Wed, 26 Apr 2017 05:51:26 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c27405: tls_mgm: properly get the domain name and address ... Message-ID: <590097ceb6f0b_186c3f9972d39c3024397@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c27405ec6b7095d2d012da85599c1e10c01282e0 https://github.com/OpenSIPS/opensips/commit/c27405ec6b7095d2d012da85599c1e10c01282e0 Author: rvlad-patrascu Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M db/schema/tls_mgm.xml M modules/tls_mgm/tls_config.c M modules/tls_mgm/tls_config.h M modules/tls_mgm/tls_domain.c M modules/tls_mgm/tls_mgm.c M modules/tls_mgm/tls_params.c M modules/tls_mgm/tls_params.h M scripts/db_berkeley/opensips/tls_mgm M scripts/dbtext/opensips/tls_mgm M scripts/mysql/tls_mgm-create.sql M scripts/oracle/tls_mgm-create.sql M scripts/postgres/tls_mgm-create.sql M scripts/sqlite/tls_mgm-create.sql Log Message: ----------- tls_mgm: properly get the domain name and address from the corresponing DB columns Previously, the value of the domain column was only an id and the actual domain name was taken from the address column when it's value was not in the "ip:port" format. This was somewhat misleading and consequently the domain column now expects the domain name, and the address column an ip address and port. Also drop the not null constraint from the domain and address DB columns, as server domains only need and address and client domains can be either socket or name based. Commit: 35981e0aaf271a587168d83702a6a220eb9bf06f https://github.com/OpenSIPS/opensips/commit/35981e0aaf271a587168d83702a6a220eb9bf06f Author: rvlad-patrascu Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/tls_mgm/tls_domain.c M modules/tls_mgm/tls_domain.h M modules/tls_mgm/tls_mgm.c M modules/tls_mgm/tls_params.c Log Message: ----------- tls_mgm: allow defining TLS domains both from DB and script Commit: cbbb232e9b2b8e8a9ed35a1da3f8d2eec0611334 https://github.com/OpenSIPS/opensips/commit/cbbb232e9b2b8e8a9ed35a1da3f8d2eec0611334 Author: rvlad-patrascu Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/tls_mgm/tls_domain.c M modules/tls_mgm/tls_domain.h M modules/tls_mgm/tls_mgm.c M modules/tls_mgm/tls_params.c M modules/tls_mgm/tls_params.h Log Message: ----------- tls_mgm: allow defining default TLS domains in DB Commit: ece42ab71c56c03c8aba581e5c978d033e56ff9a https://github.com/OpenSIPS/opensips/commit/ece42ab71c56c03c8aba581e5c978d033e56ff9a Author: rvlad-patrascu Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M db/schema/tls_mgm.xml M modules/db_mysql/db_mysql.c M modules/tls_mgm/api.h M modules/tls_mgm/tls_config_helper.h M modules/tls_mgm/tls_domain.c M modules/tls_mgm/tls_domain.h M modules/tls_mgm/tls_helper.h M modules/tls_mgm/tls_mgm.c M modules/tls_mgm/tls_params.c M modules/tls_mgm/tls_params.h M scripts/db_berkeley/opensips/tls_mgm M scripts/db_berkeley/opensips/version M scripts/dbtext/opensips/tls_mgm M scripts/dbtext/opensips/version M scripts/mysql/tls_mgm-create.sql M scripts/oracle/tls_mgm-create.sql M scripts/postgres/tls_mgm-create.sql M scripts/sqlite/tls_mgm-create.sql Log Message: ----------- tls_mgm: use the domain name as an unique identifier for a TLS domain specificiation (both from DB and script) The 'domain' DB column is now mandatory and represents the domain name and identifier. When defining a domain through the script parameters 'server_domain' or 'client_domain' the syntax is now 'domain_name=IP:port' with the address part optional for client domains. Also, improve loading of default domains from DB and fix some issues: overriding script domains with DB domains at startup, crash when defining clients domains without address. Commit: 8972a5d7f1a3becbcc35d2523929e959da9b30b0 https://github.com/OpenSIPS/opensips/commit/8972a5d7f1a3becbcc35d2523929e959da9b30b0 Author: rvlad-patrascu Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/tls_mgm/README M modules/tls_mgm/doc/tls_mgm.xml M modules/tls_mgm/doc/tls_mgm_admin.xml Log Message: ----------- tls_mgm: update docs Compare: https://github.com/OpenSIPS/opensips/compare/df23995f69b4...8972a5d7f1a3 From vladp at opensips.org Wed Apr 26 08:52:23 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Wed, 26 Apr 2017 05:52:23 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4975a9: tls_mgm: properly get the domain name and address ... Message-ID: <590098076d12b_19423fb45fec9c3c775c@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 4975a9fab79b5e12bbc8c64d9ccbef798618da23 https://github.com/OpenSIPS/opensips/commit/4975a9fab79b5e12bbc8c64d9ccbef798618da23 Author: rvlad-patrascu Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M db/schema/tls_mgm.xml M modules/tls_mgm/tls_config.c M modules/tls_mgm/tls_config.h M modules/tls_mgm/tls_domain.c M modules/tls_mgm/tls_mgm.c M modules/tls_mgm/tls_params.c M modules/tls_mgm/tls_params.h M scripts/db_berkeley/opensips/tls_mgm M scripts/dbtext/opensips/tls_mgm M scripts/mysql/tls_mgm-create.sql M scripts/oracle/tls_mgm-create.sql M scripts/postgres/tls_mgm-create.sql M scripts/sqlite/tls_mgm-create.sql Log Message: ----------- tls_mgm: properly get the domain name and address from the corresponing DB columns Previously, the value of the domain column was only an id and the actual domain name was taken from the address column when it's value was not in the "ip:port" format. This was somewhat misleading and consequently the domain column now expects the domain name, and the address column an ip address and port. Also drop the not null constraint from the domain and address DB columns, as server domains only need and address and client domains can be either socket or name based. (cherry picked from commit c27405ec6b7095d2d012da85599c1e10c01282e0) Commit: bd4b40105769ffcf31ecc609672d58c73a1b14f2 https://github.com/OpenSIPS/opensips/commit/bd4b40105769ffcf31ecc609672d58c73a1b14f2 Author: rvlad-patrascu Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/tls_mgm/tls_domain.c M modules/tls_mgm/tls_domain.h M modules/tls_mgm/tls_mgm.c M modules/tls_mgm/tls_params.c Log Message: ----------- tls_mgm: allow defining TLS domains both from DB and script (cherry picked from commit 35981e0aaf271a587168d83702a6a220eb9bf06f) Commit: 3d9d03791479dc40618043c08e2b8195623f8134 https://github.com/OpenSIPS/opensips/commit/3d9d03791479dc40618043c08e2b8195623f8134 Author: rvlad-patrascu Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/tls_mgm/tls_domain.c M modules/tls_mgm/tls_domain.h M modules/tls_mgm/tls_mgm.c M modules/tls_mgm/tls_params.c M modules/tls_mgm/tls_params.h Log Message: ----------- tls_mgm: allow defining default TLS domains in DB (cherry picked from commit cbbb232e9b2b8e8a9ed35a1da3f8d2eec0611334) Commit: 29a8432134dda8a4eea792332f573c7f0cb98bb9 https://github.com/OpenSIPS/opensips/commit/29a8432134dda8a4eea792332f573c7f0cb98bb9 Author: rvlad-patrascu Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M db/schema/tls_mgm.xml M modules/db_mysql/db_mysql.c M modules/tls_mgm/api.h M modules/tls_mgm/tls_config_helper.h M modules/tls_mgm/tls_domain.c M modules/tls_mgm/tls_domain.h M modules/tls_mgm/tls_helper.h M modules/tls_mgm/tls_mgm.c M modules/tls_mgm/tls_params.c M modules/tls_mgm/tls_params.h M scripts/db_berkeley/opensips/tls_mgm M scripts/db_berkeley/opensips/version M scripts/dbtext/opensips/tls_mgm M scripts/dbtext/opensips/version M scripts/mysql/tls_mgm-create.sql M scripts/oracle/tls_mgm-create.sql M scripts/postgres/tls_mgm-create.sql M scripts/sqlite/tls_mgm-create.sql Log Message: ----------- tls_mgm: use the domain name as an unique identifier for a TLS domain specificiation (both from DB and script) The 'domain' DB column is now mandatory and represents the domain name and identifier. When defining a domain through the script parameters 'server_domain' or 'client_domain' the syntax is now 'domain_name=IP:port' with the address part optional for client domains. Also, improve loading of default domains from DB and fix some issues: overriding script domains with DB domains at startup, crash when defining clients domains without address. (cherry picked from commit ece42ab71c56c03c8aba581e5c978d033e56ff9a) Commit: 2411deafceb1cc5be2e7a0aea3cae0c05e78d090 https://github.com/OpenSIPS/opensips/commit/2411deafceb1cc5be2e7a0aea3cae0c05e78d090 Author: rvlad-patrascu Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/tls_mgm/README M modules/tls_mgm/doc/tls_mgm.xml M modules/tls_mgm/doc/tls_mgm_admin.xml Log Message: ----------- tls_mgm: update docs (cherry picked from commit 8972a5d7f1a3becbcc35d2523929e959da9b30b0) Compare: https://github.com/OpenSIPS/opensips/compare/502347e6d9cd...2411deafceb1 From razvan at opensips.org Wed Apr 26 09:28:11 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 26 Apr 2017 06:28:11 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a3aab9: net: print destination when msg_send() fails Message-ID: <5900a06b3ad8e_af033f8374301c2c6502c@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: a3aab9cfd53d3400ab4ea0fa4d6f612e8df7ba69 https://github.com/OpenSIPS/opensips/commit/a3aab9cfd53d3400ab4ea0fa4d6f612e8df7ba69 Author: Razvan Crainea Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M forward.h Log Message: ----------- net: print destination when msg_send() fails (cherry picked from commit df23995f69b485d24b9162487ac4ea7d56a9870c) From vladp at opensips.org Wed Apr 26 09:31:32 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Wed, 26 Apr 2017 06:31:32 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d326e4: tls_mgm: revert table version increase Message-ID: <5900a1348e613_77033fce6d1a7c34108733@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d326e4e8e354e72f7dbf16e1d220056428224869 https://github.com/OpenSIPS/opensips/commit/d326e4e8e354e72f7dbf16e1d220056428224869 Author: rvlad-patrascu Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M db/schema/tls_mgm.xml M modules/tls_mgm/tls_mgm.c M scripts/db_berkeley/opensips/version M scripts/dbtext/opensips/version M scripts/mysql/tls_mgm-create.sql M scripts/oracle/tls_mgm-create.sql M scripts/postgres/tls_mgm-create.sql M scripts/sqlite/tls_mgm-create.sql Log Message: ----------- tls_mgm: revert table version increase From vladp at opensips.org Wed Apr 26 09:32:10 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Wed, 26 Apr 2017 06:32:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 38a463: tls_mgm: revert table version increase Message-ID: <5900a15a1b350_686d3fed9ccb9c3c882be@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 38a463231717afad39c944368f1304b7a4bffcfe https://github.com/OpenSIPS/opensips/commit/38a463231717afad39c944368f1304b7a4bffcfe Author: rvlad-patrascu Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M db/schema/tls_mgm.xml M modules/tls_mgm/tls_mgm.c M scripts/db_berkeley/opensips/version M scripts/dbtext/opensips/version M scripts/mysql/tls_mgm-create.sql M scripts/oracle/tls_mgm-create.sql M scripts/postgres/tls_mgm-create.sql M scripts/sqlite/tls_mgm-create.sql Log Message: ----------- tls_mgm: revert table version increase (cherry picked from commit d326e4e8e354e72f7dbf16e1d220056428224869) From ionutionita at opensips.org Wed Apr 26 10:08:44 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Wed, 26 Apr 2017 07:08:44 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 15271d: fix transport hep identifier from net to trans Message-ID: <5900a9eca3848_c0273ff64e3b9c302895c@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 15271daa8e891e531712732162cd31ec132e0544 https://github.com/OpenSIPS/opensips/commit/15271daa8e891e531712732162cd31ec132e0544 Author: ionutrazvanionita Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/proto_ws/proto_ws.c M modules/proto_wss/proto_wss.c M net/proto_tcp/tcp_common.h Log Message: ----------- fix transport hep identifier from net to trans From ionutionita at opensips.org Wed Apr 26 10:08:43 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Wed, 26 Apr 2017 07:08:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] abec7c: fix transport hep identifier from net to trans Message-ID: <5900a9eb82858_bab33fcf993efc307046d@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: abec7c0781a8f52add5f0e74a2e0dda48d9404f6 https://github.com/OpenSIPS/opensips/commit/abec7c0781a8f52add5f0e74a2e0dda48d9404f6 Author: ionutrazvanionita Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/proto_ws/proto_ws.c M modules/proto_wss/proto_wss.c M net/proto_tcp/tcp_common.h Log Message: ----------- fix transport hep identifier from net to trans (cherry picked from commit cddeca398a99563e06988bef416a40a70fff139f) From razvan at opensips.org Wed Apr 26 10:25:03 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 26 Apr 2017 07:25:03 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bc1ce0: presence: remove useless NOTICE at the beginning o... Message-ID: <5900adbfb64_20293fbb02433c3863118@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: bc1ce053c23ec0e07bf12ee884a587e019fc6981 https://github.com/OpenSIPS/opensips/commit/bc1ce053c23ec0e07bf12ee884a587e019fc6981 Author: Razvan Crainea Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/presence/presence.c Log Message: ----------- presence: remove useless NOTICE at the beginning of child init From razvan at opensips.org Wed Apr 26 10:25:39 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 26 Apr 2017 07:25:39 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a9ba67: presence: remove useless NOTICE at the beginning o... Message-ID: <5900ade342c02_f3c3fbf7be65c2470163@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: a9ba673f873db51cf14a56347bdd8c3596594e36 https://github.com/OpenSIPS/opensips/commit/a9ba673f873db51cf14a56347bdd8c3596594e36 Author: Razvan Crainea Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/presence/presence.c Log Message: ----------- presence: remove useless NOTICE at the beginning of child init (cherry picked from commit bc1ce053c23ec0e07bf12ee884a587e019fc6981) From razvan at opensips.org Wed Apr 26 10:43:39 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 26 Apr 2017 07:43:39 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0a62a3: Update ChangeLog to release version Message-ID: <5900b21b4b0c0_19713fe27ef87c44882e0@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 0a62a37465e5593e4e9766595ea2e1c40dcb2833 https://github.com/OpenSIPS/opensips/commit/0a62a37465e5593e4e9766595ea2e1c40dcb2833 Author: Razvan Crainea Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M ChangeLog Log Message: ----------- Update ChangeLog to release version Commit: d051d7245b598169a900999723dc13a9bac7ae2f https://github.com/OpenSIPS/opensips/commit/d051d7245b598169a900999723dc13a9bac7ae2f Author: Razvan Crainea Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M Makefile.defs Log Message: ----------- Makefile: remove beta marker Commit: 377b7c7a1aac9917889a73041ee3168b983c96fb https://github.com/OpenSIPS/opensips/commit/377b7c7a1aac9917889a73041ee3168b983c96fb Author: Razvan Crainea Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M Makefile.conf.template Log Message: ----------- Makefile: disable memory debug and extra stats Compare: https://github.com/OpenSIPS/opensips/compare/a9ba673f873d...377b7c7a1aac From razvan at opensips.org Wed Apr 26 10:47:39 2017 From: razvan at opensips.org (razvancrainea) Date: Wed, 26 Apr 2017 07:47:39 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] Message-ID: <5900b30be45f3_6c513fbcb8195c4446965@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/tags/2.3.0 Home: https://github.com/OpenSIPS/opensips From vladp at opensips.org Wed Apr 26 11:12:47 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Wed, 26 Apr 2017 08:12:47 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d4d47d: tls_mgm: fix some error/log prints when using only... Message-ID: <5900b8ef27126_57ef3fa8067b5c30380e4@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: d4d47daf440af45da87854a922cfee78759e83e7 https://github.com/OpenSIPS/opensips/commit/d4d47daf440af45da87854a922cfee78759e83e7 Author: rvlad-patrascu Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/tls_mgm/tls_mgm.c Log Message: ----------- tls_mgm: fix some error/log prints when using only domain name Closes #946 From razvan at opensips.org Wed Apr 26 11:38:01 2017 From: razvan at opensips.org (Razvan Crainea) Date: Wed, 26 Apr 2017 08:38:01 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6c4b62: acc: fix uninitialized variable Message-ID: <5900bed979aa8_646e3fcd9c0dbc3c10424e@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 6c4b62dfe5b90f56c347e4a67d40895beeeab963 https://github.com/OpenSIPS/opensips/commit/6c4b62dfe5b90f56c347e4a67d40895beeeab963 Author: Razvan Crainea Date: 2017-04-26 (Wed, 26 Apr 2017) Changed paths: M modules/acc/acc.c Log Message: ----------- acc: fix uninitialized variable From liviu at opensips.org Wed Apr 26 13:08:28 2017 From: liviu at opensips.org (Liviu Chircu) Date: Wed, 26 Apr 2017 20:08:28 +0300 Subject: [OpenSIPS-Devel] business@lists.opensips.org Message-ID: <36bab872-7a4a-e81f-2024-77bc466ed0f9@opensips.org> Great news for everyone in the VoIP community: we have just released OpenSIPS 2.3.0 stable! This release is a follow-up of over a month full of testing and taking care of issues reported through the mailing lists, GitHub tracker and IRC. Over 150 fix-commits were backported into OpenSIPS 2.3, leading to what we now consider to be a stable, production-ready SIP server. We would like to take this opportunity to thank everyone who got involved in this phase and helped make OpenSIPS better! Nevertheless, this release is only a sip of what's to come, as the 2017 OpenSIPS Summit is almost here. Not only it will be the biggest one so far, but its true value lies in the plethora of VoIP areas that it will reach - this event is more than OpenSIPS and SIP. The Summit will bring together experts from all VoIP related areas: * WebRTC - Jitsi, Mediasoup, Janus * SoftSwitches - OpenSIPS, Sippy, FreeSWITCH, Asterisk * Capturing & RTP - Homer, RTPProxy * Billing - CGRateS See you next week, the OpenSIPS team -- Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com OpenSIPS Summit May 2017 Amsterdam http://www.opensips.org/events/Summit-2017Amsterdam.html From liviu at opensips.org Wed Apr 26 13:13:00 2017 From: liviu at opensips.org (Liviu Chircu) Date: Wed, 26 Apr 2017 20:13:00 +0300 Subject: [OpenSIPS-Devel] OpenSIPS 2.3 Stable: The Last Hurdle Before the Amsterdam Summit Message-ID: <045feb2e-feb1-82a9-02b3-7e6d0061414a@opensips.org> Great news for everyone in the VoIP community: we have just released OpenSIPS 2.3.0 stable! This release is a follow-up of over a month full of testing and taking care of issues reported through the mailing lists, GitHub tracker and IRC. Over 150 fix-commits were backported into OpenSIPS 2.3, leading to what we now consider to be a stable, production-ready SIP server. We would like to take this opportunity to thank everyone who got involved in this phase and helped make OpenSIPS better! Nevertheless, this release is only a sip of what's to come, as the 2017 OpenSIPS Summit is almost here. Not only it will be the biggest one so far, but its true value lies in the plethora of VoIP areas that it will reach - this event is more than OpenSIPS and SIP. The Summit will bring together experts from all VoIP related areas: * WebRTC - Jitsi, Mediasoup, Janus * SoftSwitches - OpenSIPS, Sippy, FreeSWITCH, Asterisk * Capturing & RTP - Homer, RTPProxy * Billing - CGRateS See you next week, the OpenSIPS team -- Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com OpenSIPS Summit May 2017 Amsterdam http://www.opensips.org/events/Summit-2017Amsterdam.html From liviu at opensips.org Thu Apr 27 05:53:59 2017 From: liviu at opensips.org (Liviu Chircu) Date: Thu, 27 Apr 2017 02:53:59 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 01c9ae: mid_registrar: Fix insertion issues in mirror mode Message-ID: <5901bfb7bbe61_1fd13f946ca95c3c125934@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 01c9ae2f350394bb28e59f34863ef7868ab0d748 https://github.com/OpenSIPS/opensips/commit/01c9ae2f350394bb28e59f34863ef7868ab0d748 Author: Liviu Chircu Date: 2017-04-27 (Thu, 27 Apr 2017) Changed paths: M modules/mid_registrar/lookup.c M modules/mid_registrar/save.c Log Message: ----------- mid_registrar: Fix insertion issues in mirror mode Reported by @volga629 Fixes #1094 From liviu at opensips.org Thu Apr 27 06:02:24 2017 From: liviu at opensips.org (Liviu Chircu) Date: Thu, 27 Apr 2017 03:02:24 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9268a7: mid_registrar: Fix insertion issues in mirror mode Message-ID: <5901c1b022f9f_75c33f95050e7c28107776@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 9268a7eb6c2fb78cf50e0304c8ffc51750c55fb9 https://github.com/OpenSIPS/opensips/commit/9268a7eb6c2fb78cf50e0304c8ffc51750c55fb9 Author: Liviu Chircu Date: 2017-04-27 (Thu, 27 Apr 2017) Changed paths: M modules/mid_registrar/lookup.c M modules/mid_registrar/save.c Log Message: ----------- mid_registrar: Fix insertion issues in mirror mode Reported by @volga629 Fixes #1094 (cherry picked from commit 01c9ae2f350394bb28e59f34863ef7868ab0d748) From razvan at opensips.org Thu Apr 27 07:41:38 2017 From: razvan at opensips.org (Razvan Crainea) Date: Thu, 27 Apr 2017 04:41:38 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f5c5d9: acc: fix uninitialized variable Message-ID: <5901d8f2666ab_62983fcf28939c34729af@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: f5c5d903fac3f4676bbf3d922eaf80ff8b8420e6 https://github.com/OpenSIPS/opensips/commit/f5c5d903fac3f4676bbf3d922eaf80ff8b8420e6 Author: Razvan Crainea Date: 2017-04-27 (Thu, 27 Apr 2017) Changed paths: M modules/acc/acc.c Log Message: ----------- acc: fix uninitialized variable (cherry picked from commit 6c4b62dfe5b90f56c347e4a67d40895beeeab963) From ionutionita at opensips.org Thu Apr 27 08:39:40 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Thu, 27 Apr 2017 05:39:40 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fdfb68: [proto_hep] fix handling tcp requests coming in mu... Message-ID: <5901e68c1d627_76363ff7b6689c44108911@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: fdfb68905f13d8c35aba475078f89fec5be461a7 https://github.com/OpenSIPS/opensips/commit/fdfb68905f13d8c35aba475078f89fec5be461a7 Author: ionutrazvanionita Date: 2017-04-27 (Thu, 27 Apr 2017) Changed paths: M modules/proto_hep/proto_hep.c Log Message: ----------- [proto_hep] fix handling tcp requests coming in multiple chunks This commit fixes 2 bugs: 1) fixes not reading second part of a single TCP request because of bad parsed pointer update; 2) fixes major bug that was causing packets to be processed infinite times by hep callback when one message + some part of a second message came in a chunk and in the second chunk it was the second part of the second message; the tcp request structure was not updated(complete was not set to 0 after first message was processed) causing the second message to be processed an infinte amount of times into the database; From ionutionita at opensips.org Thu Apr 27 08:39:42 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Thu, 27 Apr 2017 05:39:42 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8ced9b: [proto_hep] fix handling tcp requests coming in mu... Message-ID: <5901e68e25187_b0d43fb2dbf5bc34135994@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 8ced9b8af0adafe65383dcb7ef9a0c5856bc0d68 https://github.com/OpenSIPS/opensips/commit/8ced9b8af0adafe65383dcb7ef9a0c5856bc0d68 Author: ionutrazvanionita Date: 2017-04-27 (Thu, 27 Apr 2017) Changed paths: M modules/proto_hep/proto_hep.c Log Message: ----------- [proto_hep] fix handling tcp requests coming in multiple chunks This commit fixes 2 bugs: 1) fixes not reading second part of a single TCP request because of bad parsed pointer update; 2) fixes major bug that was causing packets to be processed infinite times by hep callback when one message + some part of a second message came in a chunk and in the second chunk it was the second part of the second message; the tcp request structure was not updated(complete was not set to 0 after first message was processed) causing the second message to be processed an infinte amount of times into the database; From ionutionita at opensips.org Thu Apr 27 08:39:43 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Thu, 27 Apr 2017 05:39:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 074e10: [proto_hep] fix handling tcp requests coming in mu... Message-ID: <5901e68f41bb8_b0d43fb2dbf5bc34136143@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 074e104694c19ccdf97b75df27219a312aa67796 https://github.com/OpenSIPS/opensips/commit/074e104694c19ccdf97b75df27219a312aa67796 Author: ionutrazvanionita Date: 2017-04-27 (Thu, 27 Apr 2017) Changed paths: M modules/proto_hep/proto_hep.c Log Message: ----------- [proto_hep] fix handling tcp requests coming in multiple chunks This commit fixes 2 bugs: 1) fixes not reading second part of a single TCP request because of bad parsed pointer update; 2) fixes major bug that was causing packets to be processed infinite times by hep callback when one message + some part of a second message came in a chunk and in the second chunk it was the second part of the second message; the tcp request structure was not updated(complete was not set to 0 after first message was processed) causing the second message to be processed an infinte amount of times into the database; (cherry picked from commit 6c51756205e96cb2c22d781256aa7484cdb3ffa5) From razvan at opensips.org Thu Apr 27 08:46:16 2017 From: razvan at opensips.org (Razvan Crainea) Date: Thu, 27 Apr 2017 05:46:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b9fba7: tm: fix uninitialized variable to make travis happ... Message-ID: <5901e8187ca1c_bf03f89a60d3c381043ad@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b9fba7c1e228a31f765d573dec903a32140e45e5 https://github.com/OpenSIPS/opensips/commit/b9fba7c1e228a31f765d573dec903a32140e45e5 Author: Razvan Crainea Date: 2017-04-27 (Thu, 27 Apr 2017) Changed paths: M modules/tm/async.c Log Message: ----------- tm: fix uninitialized variable to make travis happy From razvan at opensips.org Thu Apr 27 08:46:35 2017 From: razvan at opensips.org (Razvan Crainea) Date: Thu, 27 Apr 2017 05:46:35 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e8b609: tm: fix uninitialized variable to make travis happ... Message-ID: <5901e82b370bb_b3c43fb47aa83c34130670@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: e8b609071728c8640b86ff0f20e8ee934430dc39 https://github.com/OpenSIPS/opensips/commit/e8b609071728c8640b86ff0f20e8ee934430dc39 Author: Razvan Crainea Date: 2017-04-27 (Thu, 27 Apr 2017) Changed paths: M modules/tm/async.c Log Message: ----------- tm: fix uninitialized variable to make travis happy (cherry picked from commit b9fba7c1e228a31f765d573dec903a32140e45e5) From bogdan at opensips.org Fri Apr 28 05:37:21 2017 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Fri, 28 Apr 2017 12:37:21 +0300 Subject: [OpenSIPS-Devel] Announcing ClueCon 2017 Message-ID: <24923ae8-bd6f-6077-1d86-f32b10c0f14c@opensips.org> *August 7th-10th 2017 Chicago, Illinois * *What is ClueCon?* ClueCon is an annual technology conference held every summer by FreeSWITCH Solutions LLC, the team behind the FreeSWITCH open-source project. Our primary focus is Voice over IP, open-source software and hardware, Telecommunications, WebRTC, and IoT. Basically, we sit at the intersection of communication and technology, but we love all things technical. *What Can I expect at ClueCon?* ClueCon offers something for everyone, from a software developer playing with new ideas to a CTO or CEO of a technology company looking to take advantage of real-time communication. We begin the week with a full day hack-a-thon devoted to coding and building technology. The following 3 days are packed with presentations from technology leaders from around the world covering all aspects of WebRTC, IoT and Telephony. The 5th day after the conference has training sessions available to purchase covering popular technology products. The motto of ClueCon is "a conference for developers by developers" and we take that to heart making sure we have a comfortable setting and lots of opportunities for networking and sharing ideas. ClueCon is like no other conference you have ever been to so come join us this year and become part of the ClueCon family! *ClueCon Is Geared Towards:* * New business startups or existing technical companies looking to get your development team up to speed on the technology they need to succeed in VoIP and Telephony. * A developer working with open source VoIP project for your company. * Someone who just loves the whole idea of connecting computers to telephones. * Anyone dealing with high-density telephony. * Anyone interested in integrating conference calling and PSTN with HTML5 and WebRTC. *ClueCon Events:* * *August 7th -* Interactive Hack-A-Thon and Coder Games * *August 7-10th -* Presentations from leading industry individuals and innovators. * *August 7th -* Annual Pizza Party at Giordano's sponsored by Flowroute * *August 8th -* FreeSWITCH Gigabit reception networking event * *August 9th -* Super Phreak! Office Party hosted by Telnyx * *August 10th -* Chicago Sunset boat tour sponsored by VoiceTel We would like to extend to you a special rate for ClueCon 2017.   Sign up and use the code CCCP2017 and SAVE $300! More information *|MC:SUBJECT|* -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Summit May 2017 Amsterdam http://www.opensips.org/events/Summit-2017Amsterdam.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 269d3aba-d921-4340-a152-cc94113dc0d7.jpg Type: image/jpeg Size: 196476 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 0f425c98-2764-462b-bbfd-f007b7ca5303.png Type: image/png Size: 935803 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: c7a88e92-4054-4581-9fbb-c620ad342084.jpg Type: image/jpeg Size: 456476 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: color-twitter-48.png Type: image/png Size: 1060 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: color-facebook-48.png Type: image/png Size: 732 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: color-link-48.png Type: image/png Size: 1151 bytes Desc: not available URL: From ionutionita at opensips.org Fri Apr 28 09:35:15 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Fri, 28 Apr 2017 06:35:15 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6ba33b: [aaa_radius] fix Makefile if pkg-config doesn't fi... Message-ID: <59034513c75b8_5d3c3ffc590e5c3c12576@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: 6ba33b589eefeca2fe6e4e8503c56e4f34d33abd https://github.com/OpenSIPS/opensips/commit/6ba33b589eefeca2fe6e4e8503c56e4f34d33abd Author: ionutrazvanionita Date: 2017-04-28 (Fri, 28 Apr 2017) Changed paths: M modules/aaa_radius/Makefile Log Message: ----------- [aaa_radius] fix Makefile if pkg-config doesn't find the lib (cherry picked from commit c4471299f6dc9b2315453191a6f3c72cfad6f89c) From ionutionita at opensips.org Fri Apr 28 09:35:16 2017 From: ionutionita at opensips.org (ionutrazvanionita) Date: Fri, 28 Apr 2017 06:35:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 16a1be: [aaa_radius] fix Makefile if pkg-config doesn't fi... Message-ID: <59034514dc04d_68013f9131e71c2c8363d@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 16a1be540e0d7e47294dfdbfffef01fbd11f17d6 https://github.com/OpenSIPS/opensips/commit/16a1be540e0d7e47294dfdbfffef01fbd11f17d6 Author: ionutrazvanionita Date: 2017-04-28 (Fri, 28 Apr 2017) Changed paths: M modules/aaa_radius/Makefile Log Message: ----------- [aaa_radius] fix Makefile if pkg-config doesn't find the lib From rmundkowsky at ets.org Fri Apr 28 09:42:55 2017 From: rmundkowsky at ets.org (Mundkowsky, Robert) Date: Fri, 28 Apr 2017 13:42:55 +0000 Subject: [OpenSIPS-Devel] [OpenSIPS-Users] python module - bug and questions References: Message-ID: I don’t have time to setup your test jig right now. But attached are the snippets of code that fail. You will need to the following to use them: I am using Python 2.7.13 (via conda 4.2.13). You will need a MySQL database. sudo apt-get install -y libmysqlclient-dev sudo apt-get install -y mysql-client-core-5.7 python-mysqldb conda install MySQL-python OR sudo apt-get -y install python-pip; pip install --upgrade pip You need to make sure opensips uses correct python (it is in PATH) and make sure python modules are reachable (in PYTHONPATH), hence if you use /etc/init.d/opensips then add those environment variables there. Opensips modules: db_mysql module python module opensips.cfg loadmodule "python.so" modparam("python", "script_name", "call.py") modparam("python", "mod_init_function", "mod_init") modparam("python", "child_init_method", "sip_child_init") #put this anywhere it will get called python_exec('incrementMissedCallsCountBackGround'); #or python_exec('incrementMissedCallsCount'); Then just call opensips twice in a row or concurrently. Seemed to fail more than half of the time. Robert Mundkowsky From: Mundkowsky, Robert Sent: Tuesday, April 25, 2017 4:57 PM To: 'Maxim Sobolev' Cc: OpenSIPS devel mailling list ; Bogdan-Andrei Iancu Subject: RE: [OpenSIPS-Users] python module - bug and questions I am guessing this is not the case. My guess is mod_init is called once by main/master openSIPS process and child_init is called for each child openSIPS process. Hence you should modify your C code not to initialize the Python stuff in mod_init, but instead in child_init. And your Python code would also follow that change: def child_init(rank): inst = OpenSIPSHandler() return inst If you do this, then you get a separate Python thread and interpreter per child. Right now, you are getting a Python thread and interpreter that was started in a different process (the parent openSIPS process) and some of this is copied to the children and it kind of works, but some things like thread locks and real threads started by the Python thread are not copied to the child processes. Robert Mundkowsky From: Maxim Sobolev [mailto:sobomax at sippysoft.com] Sent: Tuesday, April 25, 2017 3:58 PM To: Mundkowsky, Robert > Cc: OpenSIPS devel mailling list >; Bogdan-Andrei Iancu > Subject: Re: [OpenSIPS-Users] python module - bug and questions Robert, what you have described is how essentially python module works. We init the interpreter and then the opensips forks, and in each of its children the mod_init() python function exported by your code is called, which returns instance whose method can be invoked via script. So at the end of the day you end up with as many independent processes as there are opensips children. Here for example what we have in our handler: from OpenSIPS import LM_ERR from ser import SerHandler class OpenSIPSHandler(SerHandler): def www_authenticate(self, msg): ... return rval def mod_init(): inst = OpenSIPSHandler() return inst -Max On Tue, Apr 25, 2017 at 10:25 AM, Mundkowsky, Robert > wrote: Thanks for responding. Thought you would just advise me to use specific compiler flags first. Do you want me to use your jig (testing setup) to make a crash? Or do you want me to add python code to your git repo so you can run it using your jig? What you are doing with code is pretty complex for me and makes my brain want to explode. My understanding is: 1) Python threads are not real threads, instead only one python thread runs at a time (per the global interpreter lock) 2) You are creating a Python thread (that uses one Python interpreter) in the main openSIPS process that likely loads the openSIPS user’s Python module to be used 3) Then, I assume, openSIPS main process forks children processes a. I assume Python thread and interpreter is treated as data and code that is copied to all children processes. Note if it were a real Linux thread then it would not be copied to children processes. b. You then use the copied Python thread in all children processes as if it is a single Python thread across the main and child processes or as if it were a single Python thread per each main or child process I guess this might work, because if the Python thread is truly copied then you really have a different Python thread and interpreter per main and child processes. But Python documentation (https://docs.python.org/2/c-api/init.html#c.PyThreadState) states “When extending or embedding Python, there is no way to inform Python of additional (non-Python) locks that need to be acquired before or reset after a fork”, which makes me think what you are doing will not work. This is because any Python modules someone might use (e.g. MySQLdb) might use a lock in the main process that can’t get cleared in the child process. Might be wiser to just start one Python thread and interpreter in each child process I assume is kicked off via child_init. Then you would still have the module loaded once per child. Although I am not sure if main process needs a Python thread, but probably not. Robert Mundkowsky From: Maxim Sobolev [mailto:sobomax at sippysoft.com] Sent: Monday, April 24, 2017 10:09 PM To: Mundkowsky, Robert > Cc: OpenSIPS devel mailling list >; Bogdan-Andrei Iancu > Subject: RE: [OpenSIPS-Users] python module - bug and questions Robert sorry for the delay. What could be useful if you can produce chunk of python routing code (could be NOP on the functional side) that crashes repeatedly on our voiptest jig (https://github.com/sippy/voiptests). The travis is setup to build pull requests, so that you can inject your code and let it rip. It uses similar configiration of linux / python. -Max On Apr 21, 2017 9:32 AM, "Mundkowsky, Robert" > wrote: Python 2.7.13 on Ubuntu 16.04.2 LTS. How do you link using pthreads? Do you add flags to Makefile, or will setting “USE_PTHREAD_MUTEX” and “USE_POSIX_SEM” via menuconfig do it? Since openSIPS is not multithread, seems like it would be a lot cleaner to not use threads at all on C/C++. Then threads could still be used on Python side if needed. Robert Mundkowsky From: Maxim Sobolev [mailto:sobomax at sippysoft.com] Sent: Friday, April 21, 2017 11:57 AM To: Bogdan-Andrei Iancu > Cc: OpenSIPS users mailling list >; Mundkowsky, Robert > Subject: Re: [OpenSIPS-Users] python module - bug and questions Robert, what Bogdan says is essentially correct. The OpenSIPS itself is not using any threads AFAIK, therefore python module code is kept as simple as possible. Now back to the original question: we use quite a lot of python code in our routing and some of the python modules that are running are actually creating threads on their own and it appears to be pretty stable. What OS / python version are you using? What could be different in our case is that we link our OpenSIPS binary with pthreads always (which may or may not be the case on your build), so there might be some vital threads runtime infrastructure that is not getting initialized in your case. -Max On Fri, Apr 21, 2017 at 1:25 AM, Bogdan-Andrei Iancu > wrote: Hi Robert, The only question I can answer is 1) - OpenSIPS it is a multi-process application (and not using threads). How the python module is design (from threading perspective), I do not know - maybe Maxim, the author of this module can help with this. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Summit May 2017 Amsterdam http://www.opensips.org/events/Summit-2017Amsterdam.html On 04/19/2017 08:43 PM, Mundkowsky, Robert wrote: Hi, This email should likely go to your other dev forum, but I don’t have access yet. I am using openSIPS 2.2.3 on Ubuntu 16.04.2 LTS. I am using the python module. The python script called works fine when called from outside openSIPS and it works fine when called inside openSIPS, if it is triggered once at a time. But if the python script is triggered twice by two phone calls or more or even one call after another in short order, then there are weird errors which show up in different places in the code like: ERROR:python:python_handle_exception: #011TypeError: an integer is required I am guessing the openSIP python module has some problem/s related to threading. Questions: 1) I am guessing that OpenSIPS uses a multi-threaded architecture? 2) Is the python module meant to be a single thread? Or multi-threaded? a. If it is meant to be single threaded then why use python library thread functions? Just use python library without multi-threaded stuff. b. If it is meant to be multi-threaded then why is there only one call to PyThreadState_New and myThreadState is a global used everywhere? i. I would think a thread per call to python_exec would make more sense and make the code easier to understand? 3) Also why is there no clean up code (PyThreadState_Clear, PyThreadState_Delete, Py_Finalize)? a. I am guessing the idea is you do not need clean up, because it only happens when openSIPS is turned off. Robert For reference: https://www.codeproject.com/articles/11805/embedding-python-in-c-c-part-i http://www.awasu.com/weblog/embedding-python/threads/ http://stackoverflow.com/questions/26061298/python-multi-thread-multi-interpreter-c-api ________________________________ 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 -- Maksym Sobolyev Sippy Software, Inc. Internet Telephony (VoIP) Experts Tel (Canada): +1-778-783-0474 Tel (Toll-Free): +1-855-747-7779 Fax: +1-866-857-6942 Web: http://www.sippysoft.com MSN: sales at sippysoft.com Skype: SippySoft ________________________________ 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. ________________________________ ________________________________ 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. ________________________________ -- Maksym Sobolyev Sippy Software, Inc. Internet Telephony (VoIP) Experts Tel (Canada): +1-778-783-0474 Tel (Toll-Free): +1-855-747-7779 Fax: +1-866-857-6942 Web: http://www.sippysoft.com MSN: sales at sippysoft.com Skype: SippySoft ________________________________ 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. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: call.py Type: application/octet-stream Size: 3127 bytes Desc: call.py URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: database.py Type: application/octet-stream Size: 1752 bytes Desc: database.py URL: From liviu at opensips.org Fri Apr 28 11:20:48 2017 From: liviu at opensips.org (Liviu Chircu) Date: Fri, 28 Apr 2017 08:20:48 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] abd1e6: Proper fix for PostgreSQL login Message-ID: <59035dd0eef83_f9e3fec09f05c2813413b@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: abd1e655f9816b44590d0f73dd309b30650b0b5e https://github.com/OpenSIPS/opensips/commit/abd1e655f9816b44590d0f73dd309b30650b0b5e Author: Liviu Chircu Date: 2017-04-28 (Fri, 28 Apr 2017) Changed paths: M scripts/opensipsctl.pgsql Log Message: ----------- Proper fix for PostgreSQL login Submitted by @volga629 From vladp at opensips.org Fri Apr 28 13:01:44 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Fri, 28 Apr 2017 10:01:44 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cc50c0: tls_mgm: some doc fixes and improvements Message-ID: <590375788097d_b2923fe24234fc381612fe@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: cc50c0912e1596d2d7fd0e127e62963e15e18798 https://github.com/OpenSIPS/opensips/commit/cc50c0912e1596d2d7fd0e127e62963e15e18798 Author: rvlad-patrascu Date: 2017-04-28 (Fri, 28 Apr 2017) Changed paths: M modules/tls_mgm/README M modules/tls_mgm/doc/tls_mgm_admin.xml Log Message: ----------- tls_mgm: some doc fixes and improvements * fix client domain AVP usage example * document default TLS settings for any domain when not set * fix some default values for module parameters Commit: 24d48c51812e46b04590ef7ac7ed70e881930af0 https://github.com/OpenSIPS/opensips/commit/24d48c51812e46b04590ef7ac7ed70e881930af0 Author: rvlad-patrascu Date: 2017-04-28 (Fri, 28 Apr 2017) Changed paths: M db/schema/tls_mgm.xml M scripts/db_berkeley/opensips/tls_mgm M scripts/mysql/tls_mgm-create.sql M scripts/oracle/tls_mgm-create.sql M scripts/postgres/tls_mgm-create.sql M scripts/sqlite/tls_mgm-create.sql Log Message: ----------- tls_mgm: db_schema: same default values for verify_cert and require_cert when taken from DB as from script Compare: https://github.com/OpenSIPS/opensips/compare/abd1e655f981...24d48c51812e From vladp at opensips.org Fri Apr 28 13:02:18 2017 From: vladp at opensips.org (rvlad-patrascu) Date: Fri, 28 Apr 2017 10:02:18 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a57add: tls_mgm: some doc fixes and improvements Message-ID: <5903759a812b7_5bfd3ffbcc371c2c118980@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: a57add88c9bddf2b383893d145958302bda6d553 https://github.com/OpenSIPS/opensips/commit/a57add88c9bddf2b383893d145958302bda6d553 Author: rvlad-patrascu Date: 2017-04-28 (Fri, 28 Apr 2017) Changed paths: M modules/tls_mgm/README M modules/tls_mgm/doc/tls_mgm_admin.xml Log Message: ----------- tls_mgm: some doc fixes and improvements * fix client domain AVP usage example * document default TLS settings for any domain when not set * fix some default values for module parameters (cherry picked from commit cc50c0912e1596d2d7fd0e127e62963e15e18798) Commit: c5928a643f7916654f24720656667165545c874f https://github.com/OpenSIPS/opensips/commit/c5928a643f7916654f24720656667165545c874f Author: rvlad-patrascu Date: 2017-04-28 (Fri, 28 Apr 2017) Changed paths: M db/schema/tls_mgm.xml M scripts/db_berkeley/opensips/tls_mgm M scripts/mysql/tls_mgm-create.sql M scripts/oracle/tls_mgm-create.sql M scripts/postgres/tls_mgm-create.sql M scripts/sqlite/tls_mgm-create.sql Log Message: ----------- tls_mgm: db_schema: same default values for verify_cert and require_cert when taken from DB as from script (cherry picked from commit 24d48c51812e46b04590ef7ac7ed70e881930af0) Compare: https://github.com/OpenSIPS/opensips/compare/6ba33b589eef...c5928a643f79