Re: [OpenSIPS-Devel] [opensips] Add support to uac_registrant module to understand ha1 hash in password field in database (#692)

2016-01-18 Thread Ovidiu Sas
This is already implemented: simply put the hash in the password column prefixed with "0x". The password field should have exactly 34 characters, the first two being "0x". --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/692#issuecomment-172699191

Re: [OpenSIPS-Devel] [opensips] Add support to uac_registrant module to understand ha1 hash in password field in database (#692)

2016-01-18 Thread Ovidiu Sas
Closed #692. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/692#event-518549885___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] [opensips] Add ability to provide db_id to avp_db_query() as either $var or $avp (#694)

2016-01-18 Thread Yossi
@ionutrazvanionita : There seems to be a problem at the current time. We're using this patch on the 2.1 branch, and it doesn't look like it was backported to 2.1. Can you please verify? The patch you previously provided works for 4 out of 5 hunks. There is an avpops.c.rej that I'm attaching

Re: [OpenSIPS-Devel] [opensips] Add ability to provide db_id to avp_db_query() as either $var or $avp (#694)

2016-01-18 Thread Yossi
Reopened #694. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/694#event-518247989___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

[OpenSIPS-Devel] [OpenSIPS/opensips] 444924: fixing coverity found defects - invalid memory acc...

2016-01-18 Thread Razvan Crainea
Branch: refs/heads/coverity_scan Home: https://github.com/OpenSIPS/opensips Commit: 44492402f80fa514260cb90198cac89dbbf25764 https://github.com/OpenSIPS/opensips/commit/44492402f80fa514260cb90198cac89dbbf25764 Author: Dusan Klinec Date: 2016-01-18 (Mon, 18 Jan 2016) Changed

[OpenSIPS-Devel] [OpenSIPS/opensips] 904896: uri: fix e164_check overflow checking

2016-01-18 Thread Razvan Crainea
Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: 904896e85e8979dc720b4118ec9a051c80d79218 https://github.com/OpenSIPS/opensips/commit/904896e85e8979dc720b4118ec9a051c80d79218 Author: Razvan Crainea Date: 2016-01-18 (Mon, 18 Jan 2016) Changed paths:

[OpenSIPS-Devel] [OpenSIPS/opensips] 70e5a6: uri: fix e164_check overflow checking

2016-01-18 Thread Razvan Crainea
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 70e5a656c3cd4aa14757245dd710d3869575d3ca https://github.com/OpenSIPS/opensips/commit/70e5a656c3cd4aa14757245dd710d3869575d3ca Author: Razvan Crainea Date: 2016-01-18 (Mon, 18 Jan 2016) Changed path

[OpenSIPS-Devel] [OpenSIPS/opensips] 0a642c: uri: fix e164_check overflow checking

2016-01-18 Thread Razvan Crainea
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 0a642c5e8ba315453c064c174f7ae86b8ecdb1a2 https://github.com/OpenSIPS/opensips/commit/0a642c5e8ba315453c064c174f7ae86b8ecdb1a2 Author: Razvan Crainea Date: 2016-01-18 (Mon, 18 Jan 2016) Changed paths:

Re: [OpenSIPS-Devel] [opensips] is_uri_user_e164 (#762)

2016-01-18 Thread Răzvan Crainea
Closed #762 via 70e5a656c3cd4aa14757245dd710d3869575d3ca. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/762#event-518182875___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-

[OpenSIPS-Devel] [OpenSIPS/opensips] 1f7d58: fixing coverity found defects - invalid memory acc...

2016-01-18 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 1f7d58e8f79161922d504120c807d1107ef8c6f2 https://github.com/OpenSIPS/opensips/commit/1f7d58e8f79161922d504120c807d1107ef8c6f2 Author: Dusan Klinec Date: 2016-01-18 (Mon, 18 Jan 2016) Changed paths:

Re: [OpenSIPS-Devel] [opensips] usrloc with matching mode 'contact only' may leak in DB (#503)

2016-01-18 Thread ferrored
I would like to ask you if the "duplicate error" is related to issue #503: CRITICAL:db_mysql:wrapper_single_mysql_real_query: driver error (1062): Duplicate entry 'prove-si.unimib.it-sip:prove@IP-7c22475a-ac9cde33-4447' for key 'account_contact_idx' proxysiptest /sbin/opensips[23345]: ERROR:core

[OpenSIPS-Devel] [OpenSIPS/opensips] 11a97f: call va_end() on all paths

2016-01-18 Thread Razvan Crainea
Branch: refs/heads/coverity_scan Home: https://github.com/OpenSIPS/opensips Commit: 11a97f49c2730d01bef19e3b582da7781eee19a4 https://github.com/OpenSIPS/opensips/commit/11a97f49c2730d01bef19e3b582da7781eee19a4 Author: Razvan Crainea Date: 2016-01-18 (Mon, 18 Jan 2016) Chang

Re: [OpenSIPS-Devel] [opensips] is_uri_user_e164 (#762)

2016-01-18 Thread ferrored
This is the output you ask: Jan 18 17:54:32 proxysiptest /sbin/opensips[24766]: DBG:uri:e164_check: c=3 Jan 18 17:54:32 proxysiptest /sbin/opensips[24766]: DBG:uri:e164_check: c=9 Jan 18 17:54:32 proxysiptest /sbin/opensips[24766]: DBG:uri:e164_check: c=0 Jan 18 17:54:32 proxysiptest /sbin/opensi

Re: [OpenSIPS-Devel] [opensips] is_uri_user_e164 (#762)

2016-01-18 Thread Bogdan Andrei IANCU
I don't think is correct what you did - while iterating through all the chars of the username, it exits with error if any char is not digit -> if it is before OR after the set of digits (in the ascii array). So it is an "OR" and not an "AND" . A digit cannot be before 0 AND after 9 in the same

Re: [OpenSIPS-Devel] [opensips] is_uri_user_e164 (#762)

2016-01-18 Thread ferrored
diff opensips-1.11.6-tls/modules/uri/checks.c opensips-1.11.5-tls/modules/uri/checks.c 356,c356 < if (c < '0' || c > '9') return -1; --- > if (c < '0' && c > '9') return -1; replacing (c < '0' || c > '9') with (c < '0' && c > '9') it seems to work --- Reply to this email di

[OpenSIPS-Devel] [OpenSIPS/opensips] 0cc05e: travis: move FASTER and excluded_modues to global

2016-01-18 Thread Razvan Crainea
Branch: refs/heads/coverity_scan Home: https://github.com/OpenSIPS/opensips Commit: 0cc05e033bef0eca7d3a5f56e675f65a81fa589c https://github.com/OpenSIPS/opensips/commit/0cc05e033bef0eca7d3a5f56e675f65a81fa589c Author: Razvan Crainea Date: 2016-01-18 (Mon, 18 Jan 2016) Chang

Re: [OpenSIPS-Devel] [opensips] is_uri_user_e164 (#762)

2016-01-18 Thread ferrored
for examples +390249459310 --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/762#issuecomment-172570270___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/dev

Re: [OpenSIPS-Devel] [opensips] is_uri_user_e164 (#762)

2016-01-18 Thread Bogdan Andrei IANCU
what is the $ru you are testing ? --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/762#issuecomment-172567815___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listi

[OpenSIPS-Devel] [OpenSIPS/opensips] f82efc: travis: properly quote excluded modules

2016-01-18 Thread Razvan Crainea
Branch: refs/heads/coverity_scan Home: https://github.com/OpenSIPS/opensips Commit: f82efc8fcff2b0e7944737724efd2ebdd42576e0 https://github.com/OpenSIPS/opensips/commit/f82efc8fcff2b0e7944737724efd2ebdd42576e0 Author: Razvan Crainea Date: 2016-01-18 (Mon, 18 Jan 2016) Chang

[OpenSIPS-Devel] [OpenSIPS/opensips] f02d0d: travis: used esqped quotes for excluded modules

2016-01-18 Thread Razvan Crainea
Branch: refs/heads/coverity_scan Home: https://github.com/OpenSIPS/opensips Commit: f02d0d22ab647addab8e77a628012a0ee3a7c666 https://github.com/OpenSIPS/opensips/commit/f02d0d22ab647addab8e77a628012a0ee3a7c666 Author: Razvan Crainea Date: 2016-01-18 (Mon, 18 Jan 2016) Chang

[OpenSIPS-Devel] [OpenSIPS/opensips] 078de7: travis: update project name

2016-01-18 Thread Razvan Crainea
Branch: refs/heads/coverity_scan Home: https://github.com/OpenSIPS/opensips Commit: 078de71d2c9c59e1627701d9fcf721db666aa48d https://github.com/OpenSIPS/opensips/commit/078de71d2c9c59e1627701d9fcf721db666aa48d Author: Razvan Crainea Date: 2016-01-18 (Mon, 18 Jan 2016) Chang

[OpenSIPS-Devel] [OpenSIPS/opensips] 1c066d: integrate Coverity

2016-01-18 Thread Razvan Crainea
Branch: refs/heads/coverity_scan Home: https://github.com/OpenSIPS/opensips Commit: 1c066d2a3ae8b121f3dea24e20add3fdf5493615 https://github.com/OpenSIPS/opensips/commit/1c066d2a3ae8b121f3dea24e20add3fdf5493615 Author: Razvan Crainea Date: 2016-01-18 (Mon, 18 Jan 2016) Chang

Re: [OpenSIPS-Devel] [opensips] is_uri_user_e164 (#762)

2016-01-18 Thread ferrored
It seems that the function always fails --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/762#issuecomment-172558593___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman

Re: [OpenSIPS-Devel] [opensips] is_uri_user_e164 (#762)

2016-01-18 Thread ferrored
I don't see anything in the logs about is_uri_user_e164 function, also with debug=8. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/762#issuecomment-172548924___ Devel mailing list Devel@lists.opens

[OpenSIPS-Devel] [OpenSIPS/opensips]

2016-01-18 Thread razvancrainea
Branch: refs/tags/1.11.6 Home: https://github.com/OpenSIPS/opensips ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

[OpenSIPS-Devel] [OpenSIPS/opensips] af0bfb: update ChangeLog with all commits in 1.11.6

2016-01-18 Thread Razvan Crainea
Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: af0bfbfbd0782c955970d6c4d87e5cf9fb6a652a https://github.com/OpenSIPS/opensips/commit/af0bfbfbd0782c955970d6c4d87e5cf9fb6a652a Author: Razvan Crainea Date: 2016-01-18 (Mon, 18 Jan 2016) Changed paths:

[OpenSIPS-Devel] [OpenSIPS/opensips] bb3743: update ChangeLog with all commits in 2.1.2

2016-01-18 Thread Razvan Crainea
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: bb3743934ca1385648f95f2e119c8e6a15685983 https://github.com/OpenSIPS/opensips/commit/bb3743934ca1385648f95f2e119c8e6a15685983 Author: Razvan Crainea Date: 2016-01-18 (Mon, 18 Jan 2016) Changed paths:

[OpenSIPS-Devel] [OpenSIPS/opensips] bb3743: update ChangeLog with all commits in 2.1.2

2016-01-18 Thread Razvan Crainea
Branch: refs/tags/2.1.2 Home: https://github.com/OpenSIPS/opensips Commit: bb3743934ca1385648f95f2e119c8e6a15685983 https://github.com/OpenSIPS/opensips/commit/bb3743934ca1385648f95f2e119c8e6a15685983 Author: Razvan Crainea Date: 2016-01-18 (Mon, 18 Jan 2016) Changed paths:

[OpenSIPS-Devel] [OpenSIPS/opensips]

2016-01-18 Thread razvancrainea
Branch: refs/tags/2.1.2 Home: https://github.com/OpenSIPS/opensips ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

[OpenSIPS-Devel] [OpenSIPS/opensips]

2016-01-18 Thread razvancrainea
Branch: refs/tags/2.1.2 Home: https://github.com/OpenSIPS/opensips ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

[OpenSIPS-Devel] [OpenSIPS/opensips] 0c26f9: fix calls per minute for fraud_detection module

2016-01-18 Thread ionutrazvanionita
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 0c26f91288d1c480df648a01583dbc2ffd2b474e https://github.com/OpenSIPS/opensips/commit/0c26f91288d1c480df648a01583dbc2ffd2b474e Author: ionutrazvanionita Date: 2016-01-18 (Mon, 18 Jan 2016) Changed path

[OpenSIPS-Devel] [OpenSIPS/opensips] bd3751: uac_registrant: update timer handling

2016-01-18 Thread Ovidiu Sas
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: bd3751b85c8e4117fa3a124e92cb5b5d0a60c1b3 https://github.com/OpenSIPS/opensips/commit/bd3751b85c8e4117fa3a124e92cb5b5d0a60c1b3 Author: Ovidiu Sas Date: 2016-01-18 (Mon, 18 Jan 2016) Changed paths:

Re: [OpenSIPS-Devel] [opensips] 2.1 dispatcher: Unnecessary mandatory "db_url" modparam (#760)

2016-01-18 Thread Bogdan Andrei IANCU
tracking down to #648 --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/760#issuecomment-172512540___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] [opensips] OpenSIPS 2.1 Crash (#732)

2016-01-18 Thread Bogdan Andrei IANCU
Hi @mshary , are you sure you are running the latest 2.1 git ? if so, do you use timer partitioning in TM ? In frame 4, could you print *new_tl . --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/732#issuecomment-172512420

Re: [OpenSIPS-Devel] [opensips] crash on tm/timer.c (#723)

2016-01-18 Thread Bogdan Andrei IANCU
@46labs confirmed the patch fixed his crash. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/723#issuecomment-172511655___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/ma

Re: [OpenSIPS-Devel] [opensips] crash on tm/timer.c (#723)

2016-01-18 Thread Bogdan Andrei IANCU
Closed #723. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/723#event-517848993___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] [opensips] opensips crashes (#749)

2016-01-18 Thread Bogdan Andrei IANCU
ok, cool, thank you @achalkov --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/749#issuecomment-172511581___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo

Re: [OpenSIPS-Devel] [opensips] opensips crashes (#749)

2016-01-18 Thread Bogdan Andrei IANCU
Closed #749. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/749#event-517848425___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] [opensips] opensips crashes (#749)

2016-01-18 Thread Artem Chalkov
looks like problem is fixed for now. opensips doesn't crashed for 5 days --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/749#issuecomment-172510700___ Devel mailing list Devel@lists.opensips.org http://l

Re: [OpenSIPS-Devel] [opensips] uac_registrant wrong hash sequence (#758)

2016-01-18 Thread Artem Chalkov
Problem fixed, all works fine. Thank you. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/758#issuecomment-172505595___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailm

Re: [OpenSIPS-Devel] [OpenSIPS-Users] OpenSIPS 2.1.2 and 1.11.6 Releases

2016-01-18 Thread Răzvan Crainea
Hi, John! Did you try to run 'opensipsctl trap' while stuck? Best regards, Răzvan On 01/13/2016 06:00 PM, John Mathew wrote: Razvan, We are faving an issue in 1.11.5, that is, intermittently once or twice a week opensips stops responding to sip messages. All active sessions are dropped. Thr

Re: [OpenSIPS-Devel] [opensips] is_uri_user_e164 (#762)

2016-01-18 Thread Răzvan Crainea
Can you elaborate a bit "no longer work"? Is it always failing, or it always return true? You're not seeing any of the logs? --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/762#issuecomment-172504585___

[OpenSIPS-Devel] [opensips] is_uri_user_e164 (#762)

2016-01-18 Thread ferrored
I migrate from opensips 1115-tls to opensips 1116-tls, and I notice that the function "is_uri_user_e164" no longer work In version 1115-tls I used this code : if (is_uri_user_e164("$ru")) { # $rU begins with the character + if ( !enum_query("nrenumnet") && !enum_query("e164a

Re: [OpenSIPS-Devel] [OpenSIPS-Users] OpenSIPS 2.1.2 and 1.11.6 Releases

2016-01-18 Thread John Mathew
Razvan, We are faving an issue in 1.11.5, that is, intermittently once or twice a week opensips stops responding to sip messages. All active sessions are dropped. Thread is still running, network ports are still showing in LISTEN state, and no cli access. As this is happening in production server