Re: [sr-dev] [kamailio/kamailio] Small notes on $http_req(timeout) usage. (#1913)

2019-03-28 Thread Federico Cabiddu
Merged #1913 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/1913#event-2238374358___ Kamailio (SER) - Development Mailing Lis

[sr-dev] git:master:6224a38d: Merge pull request #1913 from samael33/master

2019-03-28 Thread GitHub
Module: kamailio Branch: master Commit: 6224a38df635876333749d6fc6919f31dc087991 URL: https://github.com/kamailio/kamailio/commit/6224a38df635876333749d6fc6919f31dc087991 Author: Federico Cabiddu Committer: GitHub Date: 2019-03-29T07:53:29+01:00 Merge pull request #1913 from samael33/master S

[sr-dev] Regarding CDR

2019-03-28 Thread Ganesh Allavarapu
Hi , I am new to kamalio. we are using kamalio as a SIP proxy and generating some CDR in plain text format. I would like to know how we can get ASN.1 encoded file from kamalio. Thanks, Ganesh A ___ Kamailio (SER) - Development Mailing List sr-dev@lists.

[sr-dev] git:5.2:a7f6227e: app_lua: get lua execution stack for previous level

2019-03-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.2 Commit: a7f6227efe8228444a8afd17e548640ca8458beb URL: https://github.com/kamailio/kamailio/commit/a7f6227efe8228444a8afd17e548640ca8458beb Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-03-28T19:38:07+01:00 app_lua: get lua executio

[sr-dev] git:master:a15210d0: app_lua: get lua execution stack for previous level

2019-03-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: a15210d064e08ac8b1a271502360b7066bff43b6 URL: https://github.com/kamailio/kamailio/commit/a15210d064e08ac8b1a271502360b7066bff43b6 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-03-28T19:33:22+01:00 app_lua: get lua execu

[sr-dev] git:5.2:b3a6b044: app_lua: use lib functions for execution time and check return for lua debug

2019-03-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.2 Commit: b3a6b0446832f3267e9bf05744b0c12d499c4205 URL: https://github.com/kamailio/kamailio/commit/b3a6b0446832f3267e9bf05744b0c12d499c4205 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-03-28T19:23:10+01:00 app_lua: use lib function

[sr-dev] git:5.2:c108904c: app_lua: use lua_getstack() to init structure for debug info

2019-03-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.2 Commit: c108904cee314e8b3c2c1d0382a0830a9b2796df URL: https://github.com/kamailio/kamailio/commit/c108904cee314e8b3c2c1d0382a0830a9b2796df Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-03-28T19:22:15+01:00 app_lua: use lua_getstack

[sr-dev] git:master:6900c858: app_lua: use lib functions for execution time and check return for lua debug

2019-03-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 6900c85821aeba9b947a8ed6e2b7632644fc2a04 URL: https://github.com/kamailio/kamailio/commit/6900c85821aeba9b947a8ed6e2b7632644fc2a04 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-03-28T18:52:34+01:00 app_lua: use lib funct

[sr-dev] git:master:2dc54bed: cfgutils: exported sleep() and usleep() to kemi framework

2019-03-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 2dc54bed090636bd442f59c09af210ebdf322442 URL: https://github.com/kamailio/kamailio/commit/2dc54bed090636bd442f59c09af210ebdf322442 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-03-28T18:50:27+01:00 cfgutils: exported sle

[sr-dev] git:master:c7f4837e: kamctl: added acc initdb command

2019-03-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: c7f4837e2e2d55e294e699e0a3a8173cde77ef83 URL: https://github.com/kamailio/kamailio/commit/c7f4837e2e2d55e294e699e0a3a8173cde77ef83 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-03-28T17:43:29+01:00 kamctl: added acc init

Re: [sr-dev] [kamailio/kamailio] Small notes on $http_req(timeout) usage. (#1913)

2019-03-28 Thread Igor Olhovskiy
samael33 commented on this pull request. > @@ -435,7 +435,7 @@ xlog("L_INFO", "received reply for query $http_req_id\n"); hdr: sets/modifies/removes a HTTP header. N.B.: setting this variable multiple times will add several headers to the query. body: sets/modi

Re: [sr-dev] [kamailio/kamailio] Small notes on $http_req(timeout) usage. (#1913)

2019-03-28 Thread Igor Olhovskiy
@samael33 pushed 1 commit. a1a2617c4320bcfea291b87197d4b4185920b8a2 Per Federico Cabiddu comments -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/kamailio/kamailio/pull/1913/files/0ec5ecd8f7cc948f2a772f75d32fde8d47796014..a1a2617c4320b

Re: [sr-dev] [kamailio/kamailio] Small fixes to dialplan module when an avp is used as subst_exp (#1914)

2019-03-28 Thread Daniel-Constantin Mierla
Thanks! -- 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/1914#issuecomment-477666828___ Kamailio (SER) - Development Mailing List sr-dev@lis

Re: [sr-dev] [kamailio/kamailio] Small fixes to dialplan module when an avp is used as subst_exp (#1914)

2019-03-28 Thread Daniel-Constantin Mierla
Merged #1914 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/1914#event-2236837223___ Kamailio (SER) - Development Mailing Lis

[sr-dev] git:master:4e91dc32: Merge pull request #1914 from marcocapetta/master

2019-03-28 Thread GitHub
Module: kamailio Branch: master Commit: 4e91dc3222d9bb6e41317d4ca0eabe95a933c45a URL: https://github.com/kamailio/kamailio/commit/4e91dc3222d9bb6e41317d4ca0eabe95a933c45a Author: Daniel-Constantin Mierla Committer: GitHub Date: 2019-03-28T17:17:57+01:00 Merge pull request #1914 from marcocapet

[sr-dev] git:master:de529a68: dialplan: fixed error log in rule_translate

2019-03-28 Thread Marco Capetta
Module: kamailio Branch: master Commit: de529a682afa37482fdc7992e5224c89298c07d3 URL: https://github.com/kamailio/kamailio/commit/de529a682afa37482fdc7992e5224c89298c07d3 Author: Marco Capetta Committer: Marco Capetta Date: 2019-03-28T14:03:54+01:00 dialplan: fixed error log in rule_translate

[sr-dev] git:master:bd231e71: dialplan: fixed avp usage in subst_exp field

2019-03-28 Thread Marco Capetta
Module: kamailio Branch: master Commit: bd231e718976d954c1bee95c508fec113e80b52e URL: https://github.com/kamailio/kamailio/commit/bd231e718976d954c1bee95c508fec113e80b52e Author: Marco Capetta Committer: Marco Capetta Date: 2019-03-28T12:29:10+01:00 dialplan: fixed avp usage in subst_exp field

Re: [sr-dev] [kamailio/kamailio] AUTH_USERNAME_EXPIRED auth api return code (#1910)

2019-03-28 Thread Daniel-Constantin Mierla
Merged #1910 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/1910#event-2236826919___ Kamailio (SER) - Development Mailing Lis

Re: [sr-dev] [kamailio/kamailio] AUTH_USERNAME_EXPIRED auth api return code (#1910)

2019-03-28 Thread Daniel-Constantin Mierla
Thanks! -- 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/1910#issuecomment-477665338___ Kamailio (SER) - Development Mailing List sr-dev@lis

[sr-dev] git:master:95c18631: - added AUTH_USERNAME_EXPIRED auth api return code and used it in auth

2019-03-28 Thread Juha Heinanen
Module: kamailio Branch: master Commit: 95c18631032c5510d4dc1e6b7aa815256ff3e688 URL: https://github.com/kamailio/kamailio/commit/95c18631032c5510d4dc1e6b7aa815256ff3e688 Author: Juha Heinanen Committer: Juha Heinanen Date: 2019-03-27T11:10:16+02:00 - added AUTH_USERNAME_EXPIRED auth api retur

[sr-dev] git:master:4489b19f: Merge pull request #1910 from kamailio/auth_username_expired

2019-03-28 Thread GitHub
Module: kamailio Branch: master Commit: 4489b19fe3c3d82442c98323a348cca69ef520cc URL: https://github.com/kamailio/kamailio/commit/4489b19fe3c3d82442c98323a348cca69ef520cc Author: Daniel-Constantin Mierla Committer: GitHub Date: 2019-03-28T17:14:43+01:00 Merge pull request #1910 from kamailio/a

Re: [sr-dev] [kamailio/kamailio] Small notes on $http_req(timeout) usage. (#1913)

2019-03-28 Thread Federico Cabiddu
grumvalski commented on this pull request. Thank you! Just a small comment on the PR. > @@ -435,7 +435,7 @@ xlog("L_INFO", "received reply for query $http_req_id\n"); hdr: sets/modifies/removes a HTTP header. N.B.: setting this variable multiple times will add several headers to

Re: [sr-dev] [kamailio/kamailio] rtpengine: hashing algorithm not offering a good enough distribution (#1911)

2019-03-28 Thread Ionut Ionita
Great. Thank you for the tips! -- 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/1911#issuecomment-477615487___ Kamailio (SER) - Developme

Re: [sr-dev] [kamailio/kamailio] rtpengine: hashing algorithm not offering a good enough distribution (#1911)

2019-03-28 Thread Daniel-Constantin Mierla
I think it is ok with such option, too. Maybe we other parts of code want to use such hashing function in the future. That's the reason I added in this way for callid, thinking that maybe even requests generated in other parts to be sent stateless will use it. Otherwise, there is a way to expor

Re: [sr-dev] [kamailio/kamailio] rtpengine: hashing algorithm not offering a good enough distribution (#1911)

2019-03-28 Thread Ionut Ionita
I see. I'll write a function in crypto generating hash for a given value and export it through srapi. Is that ok? -- 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/1911#issuecomment

[sr-dev] [kamailio/kamailio] Small fixes to dialplan module when an avp is used as subst_exp (#1914)

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

[sr-dev] [kamailio/kamailio] Small notes on $http_req(timeout) usage. (#1913)

2019-03-28 Thread Igor Olhovskiy
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

Re: [sr-dev] [kamailio/kamailio] Siptrace (#1912)

2019-03-28 Thread Ionut Ionita
Hi @lazedo. When writing the patch I thought one wouldn't have a reason to disable tracing if it's already enabled. One could simply not enable the feature. But I see in your situation you can't avoid these types of scenarios. I can add this feature back, of course. -- You are receiving this b

Re: [sr-dev] [kamailio/kamailio] rtpengine: hashing algorithm not offering a good enough distribution (#1911)

2019-03-28 Thread Daniel-Constantin Mierla
You do not have to use what exists now, like the generate_callid(), that can stay as it is and used only by tm. You can add something in a similar fashion, in the way that the code depending on libcrypto/libssl is in the crypto module and then you call it from rtpengine. If you don't know how t

Re: [sr-dev] [kamailio/kamailio] rtpengine: hashing algorithm not offering a good enough distribution (#1911)

2019-03-28 Thread Ionut Ionita
Great. The only issue I see is can I break tm() if I use generate_callid()? I see a static counter in crypto_generate_callid(). At first glance it looks safe, even though using tm + rtpengine won't generate the same results as tm only. -- You are receiving this because you are subscribed to th

Re: [sr-dev] [kamailio/kamailio] Siptrace (#1912)

2019-03-28 Thread lazedo
@ionutionita92 hello, currently we can enable/disable the trace flag, this can be done in script processing in generic and/or specific routes. By removing this you are removing flexibility in script processing as there is no `sip_untrace` function. -- You are receiving this because you are sub

[sr-dev] [kamailio/kamailio] Siptrace (#1912)

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