Re: [sr-dev] [kamailio/kamailio] pkg/kamailio/alpine: packaged MongoDB module (#2000)

2019-08-26 Thread sergey-safarov
Merged #2000 into master. -- 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/pull/2000#event-2585925498___ Kamailio (SER) - Development Mailing Lis

Re: [sr-dev] [kamailio/kamailio] rtpengine module set_rtpengine_set(set1, set2) issue (#2039)

2019-08-26 Thread juha-h
Fixed by https://github.com/kamailio/kamailio/pull/2040. -- 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/2039#issuecomment-524987390___ K

Re: [sr-dev] [kamailio/kamailio] rtpengine module set_rtpengine_set(set1, set2) issue (#2039)

2019-08-26 Thread juha-h
Closed #2039. -- 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/2039#event-2584666320___ Kamailio (SER) - Development Mailing List sr-dev@l

Re: [sr-dev] [kamailio/kamailio] modules/rtpengine: set_rtpengine_set fix (#2040)

2019-08-26 Thread juha-h
Thanks for the review. -- 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/pull/2040#issuecomment-524980037___ Kamailio (SER) - Development Mailing

Re: [sr-dev] [kamailio/kamailio] modules/rtpengine: set_rtpengine_set fix (#2040)

2019-08-26 Thread juha-h
Merged #2040 into master. -- 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/pull/2040#event-2584612402___ Kamailio (SER) - Development Mailing Lis

[sr-dev] git:master:fe6614fe: modules/rtpengine: set_rtpengine_set fix

2019-08-26 Thread Juha Heinanen
Module: kamailio Branch: master Commit: fe6614feb5f9b062a556de82fd7df6fc12c96471 URL: https://github.com/kamailio/kamailio/commit/fe6614feb5f9b062a556de82fd7df6fc12c96471 Author: Juha Heinanen Committer: Juha Heinanen Date: 2019-08-23T10:05:33+03:00 modules/rtpengine: set_rtpengine_set fix --

[sr-dev] git:master:e4edf538: Merge pull request #2040 from kamailio/set_rtpengine_set

2019-08-26 Thread GitHub
Module: kamailio Branch: master Commit: e4edf53858c399e5a3e635d04725a8a137523d15 URL: https://github.com/kamailio/kamailio/commit/e4edf53858c399e5a3e635d04725a8a137523d15 Author: juha-h Committer: GitHub Date: 2019-08-26T21:43:53+03:00 Merge pull request #2040 from kamailio/set_rtpengine_set

Re: [sr-dev] [kamailio/kamailio] modules/rtpengine: set_rtpengine_set fix (#2040)

2019-08-26 Thread Richard Fuchs
LGTM, no objections -- 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/pull/2040#issuecomment-524966592___ Kamailio (SER) - Development Mailing Lis

[sr-dev] git:master:78a62e19: modules: readme files regenerated - tm ... [skip ci]

2019-08-26 Thread Kamailio Dev
Module: kamailio Branch: master Commit: 78a62e19955ada9d67245031780bad29035b0ef2 URL: https://github.com/kamailio/kamailio/commit/78a62e19955ada9d67245031780bad29035b0ef2 Author: Kamailio Dev Committer: Kamailio Dev Date: 2019-08-26T16:02:22+02:00 modules: readme files regenerated - tm ... [sk

[sr-dev] git:master:fa3c97a3: tm: docs - note about kemi for on_sl_reply parameter

2019-08-26 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: fa3c97a331b06ea675e830f418771e94375216cc URL: https://github.com/kamailio/kamailio/commit/fa3c97a331b06ea675e830f418771e94375216cc Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-08-26T15:52:29+02:00 tm: docs - note about

[sr-dev] git:master:ce661240: tm: execute on_sl_reply callback via kemi

2019-08-26 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: ce6612402f122d38878834f7da70ebf75c12b37b URL: https://github.com/kamailio/kamailio/commit/ce6612402f122d38878834f7da70ebf75c12b37b Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-08-26T15:49:42+02:00 tm: execute on_sl_repl

[sr-dev] git:master:3f1b5142: tm: lookup on_sl_reply route in mod_init()

2019-08-26 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 3f1b5142c45f979b7847b2878ccf3b130baeae65 URL: https://github.com/kamailio/kamailio/commit/3f1b5142c45f979b7847b2878ccf3b130baeae65 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-08-26T13:31:29+02:00 tm: lookup on_sl_reply

Re: [sr-dev] [kamailio/kamailio] nathelper: test sdp c line and sip source ip address is matched. (#2045)

2019-08-26 Thread Daniel-Constantin Mierla
It has to be `%.*s`, you used `*` before the `.` -- also you do not need that expression with address of the first char, just give `session->ip_addr.s` instead of `&session->ip_addr.s[0]`, it should avoid array access and get address of it -- probably there is not much difference in performance,

Re: [sr-dev] [kamailio/kamailio] nathelper: test sdp c line and sip source ip address is matched. (#2045)

2019-08-26 Thread Yasin CANER
@miconda I dont understand reason but it gives empty line. loggin: ``` LM_ERR("SDP CLINE2 [%*.s][LEN: %d] \n",session->ip_addr.len,&session->ip_addr.s[0],session->ip_addr.len); LM_ERR("SDP CLINE2 [%s] \n",&session->ip_addr.s[0]); ``` here is result ``` 9(4455) ERROR: {1 1 INVITE 1-4478@192.168.

Re: [sr-dev] [kamailio/kamailio] nathelper: test sdp c line and sip source ip address is matched. (#2045)

2019-08-26 Thread Daniel-Constantin Mierla
Have you tested that session->ip_addr.len>0? Can you print the str value for session->ip_addr and see if it is a valid IP? Then it would be better to use str2ipx(), because it tries internally both ipv4/6. -- You are receiving this because you are subscribed to this thread. Reply to this email

[sr-dev] [kamailio/kamailio] 100% CPU usage after NTP date update (#2046)

2019-08-26 Thread Benjamin Marty
Reproduction Install newest Kamailio 5.2. Change date e.g. 2 Years into the future. (Make sure you have no daemon running which prohibits those operations): ``` sudo date -s "2014-12-25 $(date +%H:%M:%S)" ``` ``` sudo date -s "2016-12-25 $(date +%H:%M:%S)" ``` Kamailio now uses the whole C

Re: [sr-dev] [kamailio/kamailio] nathelper: test sdp c line and sip source ip address is matched. (#2045)

2019-08-26 Thread Yasin CANER
@miconda I tried to convert string to ip_addr struct as you mentioned but , functions cannot convert it. In addition , when i try to log "sdp ip address " it gives empty. I didnt understand reason. converting with str2ip gives NULL. ``` struct ip_addr* cline_addr; if(session->pf==AF_INET6){

Re: [sr-dev] [kamailio/kamailio] topos_d and topos_t database varchar(128) too short for IPv6 (#2043)

2019-08-26 Thread Henning Westerholt
Ok, I will investigate this as well - would be a bit more extensive change, but better to change it now before 5.3 then later. -- 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/2043#

Re: [sr-dev] [kamailio/kamailio] nathelper: test sdp c line and sip source ip address is matched. (#2045)

2019-08-26 Thread Daniel-Constantin Mierla
I see that the comparison of the IPs is done with string operations. That's ok for ipv4, but can be a mismatch with ipv6 because there can be different forms of the same address. I suggest to convert the the ip in sdp to binary struct and compare with the src ip which is in binary struct -- see

Re: [sr-dev] [kamailio/kamailio] topos_d and topos_t database varchar(128) too short for IPv6 (#2043)

2019-08-26 Thread Daniel-Constantin Mierla
I am fine with this change, but I think uri_len should be also increased to at least 256 if people found that 128 is not enough for specific cases when ipv6 is used. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://g

Re: [sr-dev] [kamailio/kamailio] nathelper: test sdp c line and sip source ip address is matched. (#2045)

2019-08-26 Thread Henning Westerholt
Thanks Yasin, looks good to me. -- 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/pull/2045#issuecomment-524756254___ Kamailio (SER) - Development

Re: [sr-dev] [kamailio/kamailio] topos_d and topos_t database varchar(128) too short for IPv6 (#2043)

2019-08-26 Thread Henning Westerholt
Looking if there are other suggestions or objections about this change.. If not I would change this by the middle of the week. -- 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/2043#

[sr-dev] [kamailio/kamailio] nathelper: test sdp c line and sip source ip address is matched. (#2045)

2019-08-26 Thread Yasin CANER
Pre-Submission Checklist - [x] Commit message has the format required by CONTRIBUTING guide - [x] Commits are split per component (core, individual modules, libs, utils, ...) - [x] Each component has a single commit (if not, squash them into one commit) - [x] No commits to README files