Re: [sr-dev] [kamailio/kamailio] keepalive: custom pinging interval per destination (#2313)

2020-05-04 Thread Daniel-Constantin Mierla
This commit is changing the keepalive exported api and the modules using it don't build anymore, for now drouting is reported by LGTM analysis to be broken: ``` [2020-05-04 14:29:31] [build] CC (gcc) [M drouting.so] drouting.o [2020-05-04 14:29:31] [build] drouting.c: In function ‘dr_upd

[sr-dev] git:master:13622cf6: snmpstats: use file name specific include guard

2020-05-04 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 13622cf6e36e50c42ec882272b1c48107fa55677 URL: https://github.com/kamailio/kamailio/commit/13622cf6e36e50c42ec882272b1c48107fa55677 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-05-05T08:07:14+02:00 snmpstats: use file na

[sr-dev] git:master:e4356d56: pipelimit: use file name specific include guard

2020-05-04 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: e4356d56d57599ff063e6849cab8cab5267d26e0 URL: https://github.com/kamailio/kamailio/commit/e4356d56d57599ff063e6849cab8cab5267d26e0 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-05-05T08:06:31+02:00 pipelimit: use file na

[sr-dev] git:master:68b5b3ce: ratelimit: use file name specific include guard

2020-05-04 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 68b5b3ce5b8ae38ed5ba7731ae1a6315adedd0e5 URL: https://github.com/kamailio/kamailio/commit/68b5b3ce5b8ae38ed5ba7731ae1a6315adedd0e5 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-05-05T08:06:56+02:00 ratelimit: use file na

[sr-dev] git:master:c67a0eab: rr: different function parameter name to be different than global variable

2020-05-04 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: c67a0eabea5fd11693bb716782cd581094250f7f URL: https://github.com/kamailio/kamailio/commit/c67a0eabea5fd11693bb716782cd581094250f7f Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-05-05T08:05:07+02:00 rr: different function

[sr-dev] git:master:9a2fea75: app_sqlang: use file name specific include guard

2020-05-04 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 9a2fea75dcee851b1dc22e5a9e7a6ee0d05814ef URL: https://github.com/kamailio/kamailio/commit/9a2fea75dcee851b1dc22e5a9e7a6ee0d05814ef Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-05-05T07:59:32+02:00 app_sqlang: use file n

Re: [sr-dev] rtpproxy and NAT

2020-05-04 Thread Pavithra M
Hi , Can anybody please help me in this issue . On Tue, May 5, 2020 at 10:40 AM Pavithra M wrote: > Hi > Can anybody please help in this issue .. > > On Mon, May 4, 2020 at 6:54 PM Pavithra M wrote: > >> Hi, >> >> kamailio version - 5.3.3 >> I have configured rtpproxy in pcscf . >> >> rtpproxy

Re: [sr-dev] rtpproxy and NAT

2020-05-04 Thread Pavithra M
Hi Can anybody please help in this issue .. On Mon, May 4, 2020 at 6:54 PM Pavithra M wrote: > Hi, > > kamailio version - 5.3.3 > I have configured rtpproxy in pcscf . > > rtpproxy 17002 1 0 18:40 ?00:00:00 /usr/bin/rtpproxy -s > udp:10.40.10.3 7722 -u rtpproxy rtpproxy -p /var/run/

[sr-dev] git:master:de77beff: rtpmanage: enable hadling of PRACK requests

2020-05-04 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: de77beffb436e783031a6aa71c1887848cb2cc73 URL: https://github.com/kamailio/kamailio/commit/de77beffb436e783031a6aa71c1887848cb2cc73 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-05-04T20:05:26+02:00 rtpmanage: enable hadl

[sr-dev] git:master:f4f66ad9: usrloc: use file name specific include guard

2020-05-04 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: f4f66ad91324116e5d4e9e02fa9caedcad2b2d2f URL: https://github.com/kamailio/kamailio/commit/f4f66ad91324116e5d4e9e02fa9caedcad2b2d2f Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-05-04T19:38:07+02:00 usrloc: use file name

[sr-dev] git:master:b3c981db: uid_domain: use module specific include guards

2020-05-04 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: b3c981db67845622fb8c85a20e18e1b98c29eb69 URL: https://github.com/kamailio/kamailio/commit/b3c981db67845622fb8c85a20e18e1b98c29eb69 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-05-04T19:01:21+02:00 uid_domain: use module

[sr-dev] git:master:9691f6e0: core: hash_func.h - use file name specific include guard

2020-05-04 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 9691f6e0cab48114ef4067a22cc8f9c1efb8944c URL: https://github.com/kamailio/kamailio/commit/9691f6e0cab48114ef4067a22cc8f9c1efb8944c Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-05-04T18:35:00+02:00 core: hash_func.h - us

[sr-dev] git:master:c01633dc: libs/srdb1: use thread safe localtime_r()

2020-05-04 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: c01633dc54d8d4dc3b3bc2cab064f91a49c8257d URL: https://github.com/kamailio/kamailio/commit/c01633dc54d8d4dc3b3bc2cab064f91a49c8257d Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-05-04T18:26:47+02:00 libs/srdb1: use thread

[sr-dev] git:5.2:4061a1d7: utils/kamctl: dbtextdb.py close previous opened file properly

2020-05-04 Thread Victor Seva
Module: kamailio Branch: 5.2 Commit: 4061a1d7cd130a5c3e4236c2abb999658ee02e36 URL: https://github.com/kamailio/kamailio/commit/4061a1d7cd130a5c3e4236c2abb999658ee02e36 Author: Victor Seva Committer: Victor Seva Date: 2020-05-04T17:07:58+02:00 utils/kamctl: dbtextdb.py close previous opened fil

[sr-dev] git:5.2:0d9c72b2: utils/kamctl: dbtextdb remove DeprecationWarning on test

2020-05-04 Thread Victor Seva
Module: kamailio Branch: 5.2 Commit: 0d9c72b27d75fb2e4ec879e855ce141394ce1918 URL: https://github.com/kamailio/kamailio/commit/0d9c72b27d75fb2e4ec879e855ce141394ce1918 Author: Victor Seva Committer: Victor Seva Date: 2020-05-04T17:07:05+02:00 utils/kamctl: dbtextdb remove DeprecationWarning on

[sr-dev] git:5.2:a2660fbe: utils/kamctl: fix dbtestdb

2020-05-04 Thread Victor Seva
Module: kamailio Branch: 5.2 Commit: a2660fbe2e974553f0146c9ee84fcc6fa2f8f705 URL: https://github.com/kamailio/kamailio/commit/a2660fbe2e974553f0146c9ee84fcc6fa2f8f705 Author: Victor Seva Committer: Victor Seva Date: 2020-05-04T17:07:05+02:00 utils/kamctl: fix dbtestdb some indentantion error

[sr-dev] git:5.2:23062ed5: utils/kamctl: fix handling of Exceptions

2020-05-04 Thread Victor Seva
Module: kamailio Branch: 5.2 Commit: 23062ed50ea4e6b6e00468cc7f8ec57ccc613429 URL: https://github.com/kamailio/kamailio/commit/23062ed50ea4e6b6e00468cc7f8ec57ccc613429 Author: Victor Seva Committer: Victor Seva Date: 2020-05-04T17:07:04+02:00 utils/kamctl: fix handling of Exceptions > Traceba

[sr-dev] git:5.3:e26e587f: utils/kamctl: dbtextdb.py close previous opened file properly

2020-05-04 Thread Victor Seva
Module: kamailio Branch: 5.3 Commit: e26e587f31eb23c431a2cfb149ec7a86b4f648bc URL: https://github.com/kamailio/kamailio/commit/e26e587f31eb23c431a2cfb149ec7a86b4f648bc Author: Victor Seva Committer: Victor Seva Date: 2020-05-04T17:01:53+02:00 utils/kamctl: dbtextdb.py close previous opened fil

[sr-dev] git:5.3:5a90c8bc: utils/kamctl: dbtextdb remove DeprecationWarning on test

2020-05-04 Thread Victor Seva
Module: kamailio Branch: 5.3 Commit: 5a90c8bc600fe9a93a5ce4f828ce50f3bf532b99 URL: https://github.com/kamailio/kamailio/commit/5a90c8bc600fe9a93a5ce4f828ce50f3bf532b99 Author: Victor Seva Committer: Victor Seva Date: 2020-05-04T17:01:42+02:00 utils/kamctl: dbtextdb remove DeprecationWarning on

[sr-dev] git:5.3:c4dd3218: utils/kamctl: fix dbtestdb

2020-05-04 Thread Victor Seva
Module: kamailio Branch: 5.3 Commit: c4dd3218e6b723c688762a5c4253fa70f3f588bc URL: https://github.com/kamailio/kamailio/commit/c4dd3218e6b723c688762a5c4253fa70f3f588bc Author: Victor Seva Committer: Victor Seva Date: 2020-05-04T17:01:19+02:00 utils/kamctl: fix dbtestdb some indentantion error

[sr-dev] [kamailio/kamailio] keepalive: custom pinging interval per destination (#2313)

2020-05-04 Thread Nacho G.
- This functionality it's just available when using api.h bindings. For exported functions current value ka_ping_interval is used. - Modified add_destination function to provide this new parameter. - Now we have one timer per destination, instead of multiple, so we don't need to iterate over all

Re: [sr-dev] [kamailio/kamailio] [Feature Request] Python3 compatibility for dbtextdb (#1747)

2020-05-04 Thread Anthony Messina
@linuxmaniac sorry for those mistakes I made in the first patch and thank you for fixing. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1747#issuecomment-623480488___

Re: [sr-dev] [kamailio/kamailio] load_crl takes 90 seconds to complete it execution with large (multi-megabyte) crl file size (#2312)

2020-05-04 Thread maheshb2487
>From the code, each profile inside tls.cfg maps to this data structure >tls_domain_t, which contains SSL_CTX** ctx; and this is an array of the >child tcp process list. What was the reason to keep it an array list, if am populating the same data to each and every member of the array list ?

Re: [sr-dev] [kamailio/kamailio] [Feature Request] Python3 compatibility for dbtextdb (#1747)

2020-05-04 Thread Daniel-Constantin Mierla
@linuxmaniac - thanks for working on this and I am not sure how you ended up with it, but probably python2 support can be completely dropped not to make it complex to maintain. I saw notifications on mailing list that you tested also with python2, but is no longer maintained/installed in many di

Re: [sr-dev] [kamailio/kamailio] set_contact_alias() issue with clients adding it to their Contact (#2308)

2020-05-04 Thread Daniel-Constantin Mierla
@mtryfoss: regarding the subst, probably it does the job with ipv4, however in regexp `.` is matching any char, if you want to restrict it to match `.` as a char, one way is to enclose it inside square brackets, like: ``` subst("/;alias=[0-9]+[.][0-9]+[.][0-9]+[.][0-9]+~[0-9]+~[0-9]+//g"); ```

Re: [sr-dev] [kamailio/kamailio] set_contact_alias() issue with clients adding it to their Contact (#2308)

2020-05-04 Thread Daniel-Constantin Mierla
@mtryfoss - the set_contact_alias() is indeed for use instead of fix_nated_contact(). But fix_nated_contact() is not for REGISTER, for it the fix_nated_register() should be used. However, fix_nated_register() has to be used only if the registrar server is next to the nat router. If registrar is

Re: [sr-dev] [kamailio/kamailio] [Feature Request] Python3 compatibility for dbtextdb (#1747)

2020-05-04 Thread Victor Seva
Closed #1747. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1747#event-3299859313___ Kamailio (SER) - Development Mailing List sr-dev@l

Re: [sr-dev] [kamailio/kamailio] [Feature Request] Python3 compatibility for dbtextdb (#1747)

2020-05-04 Thread Victor Seva
now python2 and python3 pass the test: ``` python3 dbtextdb_test.py ... -- Ran 3 tests in 0.006s OK ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: htt

[sr-dev] rtpproxy and NAT

2020-05-04 Thread Pavithra M
Hi, kamailio version - 5.3.3 I have configured rtpproxy in pcscf . rtpproxy 17002 1 0 18:40 ?00:00:00 /usr/bin/rtpproxy -s udp:10.40.10.3 7722 -u rtpproxy rtpproxy -p /var/run/rtpproxy/rtpproxy.pid -l 10.45.4.22 -d DBUG LOG_LOCAL0 I have configured rtpproxy in kamailio.cfg as well.

[sr-dev] git:master:5f52f990: utils/kamctl: dbtextdb.py close previous opened file properly

2020-05-04 Thread Victor Seva
Module: kamailio Branch: master Commit: 5f52f9905bbdf63d636080f7d0340af4f71ed12a URL: https://github.com/kamailio/kamailio/commit/5f52f9905bbdf63d636080f7d0340af4f71ed12a Author: Victor Seva Committer: Victor Seva Date: 2020-05-04T15:22:36+02:00 utils/kamctl: dbtextdb.py close previous opened

[sr-dev] git:master:765efa80: utils/kamctl: dbtextdb remove DeprecationWarning on test

2020-05-04 Thread Victor Seva
Module: kamailio Branch: master Commit: 765efa80c7d27e9447bc1ad8a354ee24723580ef URL: https://github.com/kamailio/kamailio/commit/765efa80c7d27e9447bc1ad8a354ee24723580ef Author: Victor Seva Committer: Victor Seva Date: 2020-05-04T15:06:43+02:00 utils/kamctl: dbtextdb remove DeprecationWarning

Re: [sr-dev] [kamailio/kamailio] [Feature Request] Python3 compatibility for dbtextdb (#1747)

2020-05-04 Thread Victor Seva
with https://github.com/kamailio/kamailio/commit/b722a48144ac9e029bdbc2968dedbe56966a3f7c : ``` python2 dbtextdb_test.py ... -- Ran 3 tests in 0.006s OK ``` But for python3: ``` python3 dbtextdb_test.py /home/vseva/data/project

[sr-dev] git:master:b722a481: utils/kamctl: fix dbtestdb

2020-05-04 Thread Victor Seva
Module: kamailio Branch: master Commit: b722a48144ac9e029bdbc2968dedbe56966a3f7c URL: https://github.com/kamailio/kamailio/commit/b722a48144ac9e029bdbc2968dedbe56966a3f7c Author: Victor Seva Committer: Victor Seva Date: 2020-05-04T14:48:41+02:00 utils/kamctl: fix dbtestdb some indentantion er

Re: [sr-dev] [kamailio/kamailio] [Feature Request] Python3 compatibility for dbtextdb (#1747)

2020-05-04 Thread Victor Seva
It seems that https://github.com/kamailio/kamailio/commit/bc8bdcaa726f375f6deea8228a1ab0cf97c67035 commit broke something: the previous version was passing: ``` $ git checkout 9df9c6e10ffe0851b7f4f2f00697c5644aaf9faa utils/kamctl/dbtextdb $ python2 dbtextdb_test.py

Re: [sr-dev] [kamailio/kamailio] [Feature Request] Python3 compatibility for dbtextdb (#1747)

2020-05-04 Thread Victor Seva
Reopened #1747. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1747#event-3299247542___ Kamailio (SER) - Development Mailing List sr-dev

[sr-dev] git:5.3:5f6f4331: utils/kamctl: fix handling of Exceptions

2020-05-04 Thread Victor Seva
Module: kamailio Branch: 5.3 Commit: 5f6f4331811e654e75b49263f8fb823bea9874a3 URL: https://github.com/kamailio/kamailio/commit/5f6f4331811e654e75b49263f8fb823bea9874a3 Author: Victor Seva Committer: Victor Seva Date: 2020-05-04T12:10:05+02:00 utils/kamctl: fix handling of Exceptions > Traceba

Re: [sr-dev] [kamailio/kamailio] set_contact_alias() issue with clients adding it to their Contact (#2308)

2020-05-04 Thread mtryfoss
All done on edge proxy. I'm not a regex-pro. It will not work if done locally on the registrar (the node doing the save()). https://gist.github.com/mtryfoss/9a0811dbc4462b91afe87d7dd5a210e8 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view

[sr-dev] git:master:1aca79c4: utils/kamctl: fix handling of Exceptions

2020-05-04 Thread Victor Seva
Module: kamailio Branch: master Commit: 1aca79c43cb8dbd920c1eb81c0c30cf89f0985b9 URL: https://github.com/kamailio/kamailio/commit/1aca79c43cb8dbd920c1eb81c0c30cf89f0985b9 Author: Victor Seva Committer: Victor Seva Date: 2020-05-04T11:33:12+02:00 utils/kamctl: fix handling of Exceptions > Trac

Re: [sr-dev] [kamailio/kamailio] set_contact_alias() issue with clients adding it to their Contact (#2308)

2020-05-04 Thread pafels
Would you please share how you fixed it with subst? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/2308#issuecomment-623344972___ Kamail

Re: [sr-dev] [kamailio/kamailio] Kamailio service is failed (#2309)

2020-05-04 Thread Victor Seva
Closed #2309. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/2309#event-3298682154___ Kamailio (SER) - Development Mailing List sr-dev@l

Re: [sr-dev] [kamailio/kamailio] Kamailio service is failed (#2309)

2020-05-04 Thread Victor Seva
The tracker here is for reporting bugs in the C code of Kamailio. For discussions about how to use or configure Kamailio, use the sr-us...@lists.kamailio.org mailing list. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: htt