[sr-dev] git:4.4:4f785ac6: core: parser - allow more chars in mime type

2017-04-04 Thread Camille Oudot
Module: kamailio Branch: 4.4 Commit: 4f785ac67696e5de8aa6e888de69a6180214784f URL: https://github.com/kamailio/kamailio/commit/4f785ac67696e5de8aa6e888de69a6180214784f Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2017-04

[sr-dev] git:5.0:bf86b73c: core: parser - allow more chars in mime type

2017-04-04 Thread Camille Oudot
Module: kamailio Branch: 5.0 Commit: bf86b73c9746ad46f7ad7bff2dc76c92ba6d6955 URL: https://github.com/kamailio/kamailio/commit/bf86b73c9746ad46f7ad7bff2dc76c92ba6d6955 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2017-04

[sr-dev] git:master:5bb4eb4d: core: parser - allow more chars in mime type

2017-04-03 Thread Camille Oudot
Module: kamailio Branch: master Commit: 5bb4eb4d6546e2d0a2d911b09797172a0a2a2b83 URL: https://github.com/kamailio/kamailio/commit/5bb4eb4d6546e2d0a2d911b09797172a0a2a2b83 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2017

[sr-dev] [kamailio/kamailio] core: parser - allow more chars in mime type (#1055)

2017-04-03 Thread Camille Oudot
allow any char allowed in the **token** definition: https://tools.ietf.org/html/rfc3261#section-25.1 this should fix #1053 You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/1055 -- Commit Summary -- * core: parser - allow more chars

Re: [sr-dev] [kamailio/kamailio] core: initialize dns cache used memory (#1023)

2017-03-07 Thread Camille Oudot
camilleoudot approved this pull request. -- 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/1023#pullrequestreview-25517653___ sr-dev

Re: [sr-dev] [kamailio/kamailio] support valgrind when *_MALLOC is used (#949)

2017-02-28 Thread Camille Oudot
I've restricted memcheck to pkg only, and also benefited from the "red zone" feature of memcheck: an empty zone between each chunk that will trigger an error in memcheck if it's accessed. This way, it's easier to catch a memory error exactly when it happens. Executing this code (new function in

[sr-dev] git:tmp/valgrind:557251cc: malloc_test: new function that over/underflows

2017-02-28 Thread Camille Oudot
Module: kamailio Branch: tmp/valgrind Commit: 557251cc19f600a2d4c48f8537cbf2fedaa5ca8d URL: https://github.com/kamailio/kamailio/commit/557251cc19f600a2d4c48f8537cbf2fedaa5ca8d Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> D

[sr-dev] git:tmp/valgrind:62c9ac49: mem: more valgrind instrumentation

2017-02-28 Thread Camille Oudot
Module: kamailio Branch: tmp/valgrind Commit: 62c9ac4947495164aec43299d11a1bfdc6f98c5a URL: https://github.com/kamailio/kamailio/commit/62c9ac4947495164aec43299d11a1bfdc6f98c5a Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> D

Re: [sr-dev] [kamailio/kamailio] support valgrind when *_MALLOC is used (#949)

2017-02-24 Thread Camille Oudot
I have added valgrind instrumentation directives to **q_malloc**, but I suspect memcheck doesn't know how to check shared memory accessed be several processes. for pkg memory, it gives correct reports such as: ``` ==134243== 13,584 bytes in 104 blocks are definitely lost in loss record 438 of

[sr-dev] git:tmp/valgrind:44f0830d: mem: add valgrind memcheck instrumentation

2017-02-24 Thread Camille Oudot
Module: kamailio Branch: tmp/valgrind Commit: 44f0830d43955791fc4ee8bca9c1a7f427e74e41 URL: https://github.com/kamailio/kamailio/commit/44f0830d43955791fc4ee8bca9c1a7f427e74e41 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> D

Re: [sr-dev] [kamailio/kamailio] siptrace: new hlog() function to send logs to homer (#1007)

2017-02-24 Thread Camille Oudot
Merged #1007. -- 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/1007#event-975746082___ sr-dev mailing list sr-dev@lists.sip-router.org

[sr-dev] git:master:51b18cbc: siptrace: hlog() documentation

2017-02-24 Thread Camille Oudot
Module: kamailio Branch: master Commit: 51b18cbc872e7ec5be95a4f8f4490220e749286a URL: https://github.com/kamailio/kamailio/commit/51b18cbc872e7ec5be95a4f8f4490220e749286a Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2017

[sr-dev] git:master:f6396033: siptrace: add hlog() to send logs to homer

2017-02-24 Thread Camille Oudot
Module: kamailio Branch: master Commit: f6396033763f1d55c11744ddb9774e112865400a URL: https://github.com/kamailio/kamailio/commit/f6396033763f1d55c11744ddb9774e112865400a Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2017

[sr-dev] [kamailio/kamailio] siptrace: new hlog() function to send logs to homer (#1007)

2017-02-23 Thread Camille Oudot
This adds the `hlog()` function to the siptrace module, that sends a HEP3 LOG event packet to the URI configured in the module. Usage: ``` ... hlog("[cfg:$cfg(line)] This is a log from kamailio to Homer"); ... hlog("$hdr(P-MyID)", "Another one with a custom correlation ID"); ... ``` You can

Re: [sr-dev] [kamailio/kamailio] Add HEPv3 support to siptrace (#1006)

2017-02-23 Thread Camille Oudot
camilleoudot approved this pull request. -- 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/1006#pullrequestreview-23455735___ sr-dev

Re: [sr-dev] [kamailio/kamailio] pv: add the $env() PV class to read env vars (#978)

2017-02-07 Thread Camille Oudot
camilleoudot commented on this pull request. > @@ -3238,11 +3238,11 @@ int pv_get_msg_attrs(sip_msg_t *msg, pv_param_t > *param, pv_value_t *res) int pv_parse_env_name(pv_spec_p sp, str *in) { + char *csname; + if(in->s==NULL || in->len<=0) I'll document it on the wiki

Re: [sr-dev] [kamailio/kamailio] pv: add the $env() PV class to read env vars (#978)

2017-02-07 Thread Camille Oudot
camilleoudot commented on this pull request. > @@ -3238,11 +3238,11 @@ int pv_get_msg_attrs(sip_msg_t *msg, pv_param_t > *param, pv_value_t *res) int pv_parse_env_name(pv_spec_p sp, str *in) { + char *csname; + if(in->s==NULL || in->len<=0) it does not look like any of the

Re: [sr-dev] [kamailio/kamailio] pv: add the $env() PV class to read env vars (#978)

2017-02-07 Thread Camille Oudot
@camilleoudot pushed 1 commit. 04f5465 pv: $env() code style improvements -- You are receiving this because you are subscribed to this thread. View it on GitHub:

Re: [sr-dev] [kamailio/kamailio] pv: add the $env() PV class to read env vars (#978)

2017-02-07 Thread Camille Oudot
camilleoudot commented on this pull request. > @@ -3233,3 +3235,44 @@ int pv_get_msg_attrs(sip_msg_t *msg, pv_param_t > *param, pv_value_t *res) return pv_get_null(msg, param, res); } } + +int pv_parse_env_name(pv_spec_p sp, str *in) +{ + if(in->s==NULL

Re: [sr-dev] [kamailio/kamailio] pv: add the $env() PV class to read env vars (#978)

2017-02-07 Thread Camille Oudot
camilleoudot commented on this pull request. > + sp->pvp.pvn.u.dname = (void*)csname; + sp->pvp.pvn.type = PV_NAME_OTHER; + return 0; +} + +int pv_get_env(sip_msg_t *msg, pv_param_t *param, pv_value_t *res) +{ + char *val; + char *csname = (char *)

[sr-dev] [kamailio/kamailio] pv: add the $env() PV class to read env vars (#978)

2017-02-07 Thread Camille Oudot
this allows kamailio to have read-only (for now) access to environment variables You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/978 -- Commit Summary -- * pv: add the $env() PV class to read env vars -- File Changes -- M

Re: [sr-dev] [kamailio/kamailio] sanity: Authorization other than "digest" considered invalid (#892)

2016-12-19 Thread Camille Oudot
Closed #892 via 9b6824da31e121f236897d5669d41d49c1197acc. -- 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/892#event-898590120___ sr-dev

[sr-dev] git:master:9b6824da: sanity: add check to ignore non-"digest" schemes

2016-12-19 Thread Camille Oudot
Module: kamailio Branch: master Commit: 9b6824da31e121f236897d5669d41d49c1197acc URL: https://github.com/kamailio/kamailio/commit/9b6824da31e121f236897d5669d41d49c1197acc Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] [kamailio/kamailio] sanity: Authorization other than "digest" considered invalid (#892)

2016-12-19 Thread Camille Oudot
when using the **sanity** module, with the **SANITY_CHECK_DIGEST** check enabled, if a message contains an "Authorization" header with a different scheme than "digest", the message is considered as invalid, although being perfectly valid. In your opinion, should the module be modified to not

[sr-dev] git:master:0683df11: mem: TLSF bit ops cleanup / 64 bits improvement

2016-10-25 Thread Camille Oudot
Module: kamailio Branch: master Commit: 0683df11e319aa3db45cd9b18af3a3c3b02088a8 URL: https://github.com/kamailio/kamailio/commit/0683df11e319aa3db45cd9b18af3a3c3b02088a8 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] git:master:35861261: core: dedicated struct for TCP closed events

2016-10-10 Thread Camille Oudot
Module: kamailio Branch: master Commit: 35861261a4ef04cf785e9169aad0cde7ee7dd336 URL: https://github.com/kamailio/kamailio/commit/35861261a4ef04cf785e9169aad0cde7ee7dd336 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] git:master:97215407: tcpops: use dedicated routes for tcp close events

2016-10-10 Thread Camille Oudot
Module: kamailio Branch: master Commit: 97215407635c61ab9d1702f5c6e300f5bd15b69b URL: https://github.com/kamailio/kamailio/commit/97215407635c61ab9d1702f5c6e300f5bd15b69b Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] git:master:f27d7c1f: tcpops: update doc with new event routes

2016-10-10 Thread Camille Oudot
Module: kamailio Branch: master Commit: f27d7c1f945851ba5d15f09f2809308db581e07a URL: https://github.com/kamailio/kamailio/commit/f27d7c1f945851ba5d15f09f2809308db581e07a Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

Re: [sr-dev] [kamailio/kamailio] TCP closed event route improvement (#816)

2016-10-10 Thread Camille Oudot
@camilleoudot pushed 1 commit. f27d7c1 tcpops: update doc with new event routes -- You are receiving this because you are subscribed to this thread. View it on GitHub:

[sr-dev] [kamailio/kamailio] TCP closed event route improvement (#816)

2016-10-07 Thread Camille Oudot
This patch for the **tcpops** module (+ some core modifications) improves the original **tcp:closed** event route handling by triggering different event routes, depending on the reason why the connection was closed: - **tcp:closed** for "normal" closure by the other side (FIN,ACK) -

Re: [sr-dev] [kamailio/kamailio] move kamailio/utils/misc/vim/ to a git submodule (#763)

2016-09-06 Thread Camille Oudot
looks like something we could use here: https://help.github.com/articles/splitting-a-subfolder-out-into-a-new-repository/ -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[sr-dev] git:master:3d4dda0c: tcpops: add documentation for tcp:closed

2016-09-06 Thread Camille Oudot
Module: kamailio Branch: master Commit: 3d4dda0cdc4dc452ae7f796e74fd6056e09662df URL: https://github.com/kamailio/kamailio/commit/3d4dda0cdc4dc452ae7f796e74fd6056e09662df Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] git:master:15187339: pv: add s.escape.csv transformation

2016-09-02 Thread Camille Oudot
Module: kamailio Branch: master Commit: 151873397c9614731087d38834f8712efe47c67b URL: https://github.com/kamailio/kamailio/commit/151873397c9614731087d38834f8712efe47c67b Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] [kamailio/kamailio] pv: add s.escape.csv transformation (#766)

2016-09-02 Thread Camille Oudot
escapes a string to use as a CSV field, as specified in RFC4180: - enclose sting in double quotes - escape double quotes with a second double quote You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/766 -- Commit Summary -- * pv: add

Re: [sr-dev] [kamailio/kamailio] Segmentation fault when using http_hdr with http_async_client (#760)

2016-08-31 Thread Camille Oudot
Closed #760. -- 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/760#event-773430119___ sr-dev mailing list sr-dev@lists.sip-router.org

[sr-dev] git:4.4:7164e5d3: http_async_client: init PV API sooner

2016-08-31 Thread Camille Oudot
Module: kamailio Branch: 4.4 Commit: 7164e5d3d587149e03c7ad69feb3e9139ac30757 URL: https://github.com/kamailio/kamailio/commit/7164e5d3d587149e03c7ad69feb3e9139ac30757 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016-08

Re: [sr-dev] [kamailio/kamailio] Segmentation fault when using http_hdr with http_async_client (#760)

2016-08-31 Thread Camille Oudot
Unless there is still an issue despite the fix, I'm going to close this issue. @miconda, I'm planning to backport it to 4.4 branch too, but this patch will now make kamailio fail to start if the **http_async_client** module is loaded before **pv**. This is the way it always have been documented,

Re: [sr-dev] [kamailio/kamailio] Segmentation fault when using http_hdr with http_async_client (#760)

2016-08-30 Thread Camille Oudot
Reopened #760. -- 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/760#event-771891635___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] Segmentation fault when using http_hdr with http_async_client (#760)

2016-08-30 Thread Camille Oudot
Hi, we could reproduce the issue. When using instructions as xlog("$http_hdr(Content-Type)"); the PV's internal name is parsed at runtime, and the PV API has been initialized already. When using $var(ct) = $http_hdr(Content-Type) it's parsed at start time, before the API was

Re: [sr-dev] [kamailio/kamailio] Segmentation fault when using http_hdr with http_async_client (#760)

2016-08-30 Thread Camille Oudot
Closed #760 via 597242dfbfd883d136aa49d88266fc9edb6b8e09. -- 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/760#event-771891396___ sr-dev

[sr-dev] git:master:597242df: http_async_client: init PV API sooner

2016-08-30 Thread Camille Oudot
Module: kamailio Branch: master Commit: 597242dfbfd883d136aa49d88266fc9edb6b8e09 URL: https://github.com/kamailio/kamailio/commit/597242dfbfd883d136aa49d88266fc9edb6b8e09 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

Re: [sr-dev] [kamailio/kamailio] Segmentation fault when using http_hdr with http_async_client (#760)

2016-08-29 Thread Camille Oudot
Hi, is the pv module loaded before the http_async_client module? If not can you try? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] CONID and tcp:close event on outbound TCP connections

2016-07-07 Thread Camille Oudot
> > Trying to debug a case where I don’t get an event_route execution > > for a TCP connection. > > The lack of answers seems to point to me having to put on a diving > suit and go deep into the TCP connection debugging mode. > > …or? Hi Olle, While I don't have a specific answer to your

Re: [sr-dev] Documentation update for logging?

2016-04-15 Thread Camille Oudot
Hi Olle > There are a few modules that documents logging to syslog and some > have configuration of channel ID. > > Should we update the docs? Are these logging to the logging system > and can be redirected to systemd logs now? I think we are good, because they are still usable. Systemd's

Re: [sr-dev] [kamailio/kamailio] new function in log_systemd module to log structured events (#565)

2016-04-12 Thread Camille Oudot
Merged #565. --- 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/565#event-624084722___ sr-dev mailing list sr-dev@lists.sip-router.org

[sr-dev] git:master:af869eec: log_systemd: new function `sd_journal_send_xavp`

2016-04-12 Thread Camille Oudot
Module: kamailio Branch: master Commit: af869eec1cdba097a70101130c8ee3e6de3aff42 URL: https://github.com/kamailio/kamailio/commit/af869eec1cdba097a70101130c8ee3e6de3aff42 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] git:master:2dbcd56c: log_systemd: refresh README

2016-04-12 Thread Camille Oudot
Module: kamailio Branch: master Commit: 2dbcd56c69db94543c355d936f486d2f525855e5 URL: https://github.com/kamailio/kamailio/commit/2dbcd56c69db94543c355d936f486d2f525855e5 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] git:master:48855141: Merge pull request #565 from kamailio/sd_journal_send_xavp

2016-04-12 Thread Camille Oudot
Module: kamailio Branch: master Commit: 4885514109c5b08e928623211444a2426944123d URL: https://github.com/kamailio/kamailio/commit/4885514109c5b08e928623211444a2426944123d Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] [kamailio/kamailio] new function in log_systemd function to log structured events (#565)

2016-04-12 Thread Camille Oudot
Journald can store arbitrary **KEY=>values[]** properties for each log event. The `sd_journal_send_xavp()` function is a binding on journald's `sd_journal_sendv()` function, that allows pushing structured events in journald, using the fields from a xavp. (use `journald --output json-pretty` to

[sr-dev] git:4.3:84c715b5: dialog: fix $dlg(from_bindaddr) getter

2016-04-11 Thread Camille Oudot
Module: kamailio Branch: 4.3 Commit: 84c715b524da26d8c62308cfe83ed41edb75dd63 URL: https://github.com/kamailio/kamailio/commit/84c715b524da26d8c62308cfe83ed41edb75dd63 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016-04

[sr-dev] git:4.4:02b17b88: dialog: fix $dlg(from_bindaddr) getter

2016-04-11 Thread Camille Oudot
Module: kamailio Branch: 4.4 Commit: 02b17b881d63fe91221f5673dd3418831c943bd0 URL: https://github.com/kamailio/kamailio/commit/02b17b881d63fe91221f5673dd3418831c943bd0 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016-04

[sr-dev] git:master:a4e3cee4: dialog: fix $dlg(from_bindaddr) getter

2016-04-11 Thread Camille Oudot
Module: kamailio Branch: master Commit: a4e3cee470d27a691ec33b5dc11ad2e54246664a URL: https://github.com/kamailio/kamailio/commit/a4e3cee470d27a691ec33b5dc11ad2e54246664a Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] git:4.3:9778b2e8: dialog: fix $dlg(from_bindaddr) name parsing

2016-04-11 Thread Camille Oudot
Module: kamailio Branch: 4.3 Commit: 9778b2e82fbc711f9d89cf071b8ced60f8ef5dd8 URL: https://github.com/kamailio/kamailio/commit/9778b2e82fbc711f9d89cf071b8ced60f8ef5dd8 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016-04

[sr-dev] git:4.4:1ec385cc: dialog: fix $dlg(from_bindaddr) name parsing

2016-04-11 Thread Camille Oudot
Module: kamailio Branch: 4.4 Commit: 1ec385ccd9054952b86cc976ae1debe70dc8d297 URL: https://github.com/kamailio/kamailio/commit/1ec385ccd9054952b86cc976ae1debe70dc8d297 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016-04

[sr-dev] git:master:f95789fd: dialog: fix $dlg(from_bindaddr) name parsing

2016-04-11 Thread Camille Oudot
Module: kamailio Branch: master Commit: f95789fd39fcce7b3aa3a0ab8665664afd8bc196 URL: https://github.com/kamailio/kamailio/commit/f95789fd39fcce7b3aa3a0ab8665664afd8bc196 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] git:4.3:1c7154d8: usrloc: improve TCP close on expire

2016-03-10 Thread Camille Oudot
Module: kamailio Branch: 4.3 Commit: 1c7154d832eeb51db790b84a850c5f6338619ce6 URL: https://github.com/kamailio/kamailio/commit/1c7154d832eeb51db790b84a850c5f6338619ce6 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016-03

[sr-dev] git:master:22b3311f: usrloc: improve TCP close on expire

2016-03-10 Thread Camille Oudot
Module: kamailio Branch: master Commit: 22b3311f39c7b98ef0c36d2edd7d224e4269e43f URL: https://github.com/kamailio/kamailio/commit/22b3311f39c7b98ef0c36d2edd7d224e4269e43f Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] git:4.3:9165e852: srutils: change names colliding with libcrypto

2016-02-19 Thread Camille Oudot
Module: kamailio Branch: 4.3 Commit: 9165e8522ea03dda4968e1853216eb508ffd7a1f URL: https://github.com/kamailio/kamailio/commit/9165e8522ea03dda4968e1853216eb508ffd7a1f Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016-02

[sr-dev] git:4.2:7242132a: srutils: change names colliding with libcrypto

2016-02-19 Thread Camille Oudot
Module: kamailio Branch: 4.2 Commit: 7242132a5521c97517b4e87989413f48592c86d7 URL: https://github.com/kamailio/kamailio/commit/7242132a5521c97517b4e87989413f48592c86d7 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016-02

Re: [sr-dev] [kamailio] srutils: change names colliding with libcrypto (#513)

2016-02-19 Thread Camille Oudot
You're right, the bug should occur every time `libsrutils.so` is loaded before `libcrypto.so` and OpenSSL is performing a SHA hash, so it's not specific to the new http modules. I'll backport it. --- Reply to this email directly or view it on GitHub:

[sr-dev] git:master:546944d6: Merge pull request #513 from kamailio/co/crypto_name_collision

2016-02-19 Thread Camille Oudot
Module: kamailio Branch: master Commit: 546944d6fb8acffec01a7ddae719d14bb88d8a20 URL: https://github.com/kamailio/kamailio/commit/546944d6fb8acffec01a7ddae719d14bb88d8a20 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] git:master:4b5da2d9: srutils: change names colliding with libcrypto

2016-02-19 Thread Camille Oudot
Module: kamailio Branch: master Commit: 4b5da2d909ea3fcd531eecff2f3e02adad26fa27 URL: https://github.com/kamailio/kamailio/commit/4b5da2d909ea3fcd531eecff2f3e02adad26fa27 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] [kamailio] srutils: change names colliding with libcrypto (#513)

2016-02-18 Thread Camille Oudot
Kamailio's **srutils** SHA functions have names that collide with OpenSSL's **libcrypto** SHA functions. In practice, OpenSSL fails to validate a server cert if **srutils** is loaded before **libcrypto**, because their SHA functions are not 100% equivalent. On my Debian, **http_async_client**

[sr-dev] git:master:4e75738d: http_async_query: update README

2016-02-16 Thread Camille Oudot
Module: kamailio Branch: master Commit: 4e75738d22b0ae444e64fbe6571f2b266139c738 URL: https://github.com/kamailio/kamailio/commit/4e75738d22b0ae444e64fbe6571f2b266139c738 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] git:master:1dd1b923: http_async_query: fix function name in doc

2016-02-16 Thread Camille Oudot
Module: kamailio Branch: master Commit: 1dd1b92363c78d24b036be7916d5c58e893d99bf URL: https://github.com/kamailio/kamailio/commit/1dd1b92363c78d24b036be7916d5c58e893d99bf Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] git:master:8ff02413: http_async_client: $http_req returns $null when read

2016-02-16 Thread Camille Oudot
Module: kamailio Branch: master Commit: 8ff02413451f43b42cf565056c28264a43eed5a9 URL: https://github.com/kamailio/kamailio/commit/8ff02413451f43b42cf565056c28264a43eed5a9 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] git:master:b344ba0b: http_async_client: update doc with $http_req(key)

2016-02-15 Thread Camille Oudot
Module: kamailio Branch: master Commit: b344ba0b527c0c0dd12063f6f8a37f13bddb317b URL: https://github.com/kamailio/kamailio/commit/b344ba0b527c0c0dd12063f6f8a37f13bddb317b Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] git:master:7c98ac5f: http_async_client: update README

2016-02-15 Thread Camille Oudot
Module: kamailio Branch: master Commit: 7c98ac5f939755e2eae859e670182b6446d80227 URL: https://github.com/kamailio/kamailio/commit/7c98ac5f939755e2eae859e670182b6446d80227 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] git:master:ba86ae06: http_async_client: refactor query string param setting

2016-02-15 Thread Camille Oudot
Module: kamailio Branch: master Commit: ba86ae06a52c0535a3fb3d0eb30b8380300e185d URL: https://github.com/kamailio/kamailio/commit/ba86ae06a52c0535a3fb3d0eb30b8380300e185d Author: Giacomo Vacca <g...@rtcsoft.net> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016-02-15T14

[sr-dev] git:master:250ff7e7: http_async_client: Fix minor avp doc typo (http_err)

2016-02-15 Thread Camille Oudot
Module: kamailio Branch: master Commit: 250ff7e7e1b6d96ac3a70b90703594c1befc30c2 URL: https://github.com/kamailio/kamailio/commit/250ff7e7e1b6d96ac3a70b90703594c1befc30c2 Author: Giacomo Vacca <g...@rtcsoft.net> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016-02-15T14

[sr-dev] git:master:ca0cd715: http_async_client: new $http_req() PV

2016-02-15 Thread Camille Oudot
Module: kamailio Branch: master Commit: ca0cd715209eb5b5b3d14230771bfb35f1fdbf37 URL: https://github.com/kamailio/kamailio/commit/ca0cd715209eb5b5b3d14230771bfb35f1fdbf37 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] git:master:012498f2: http_async_client: review doc with correct module name

2016-02-15 Thread Camille Oudot
Module: kamailio Branch: master Commit: 012498f280279b66ab336f0a855c35af4fec9c14 URL: https://github.com/kamailio/kamailio/commit/012498f280279b66ab336f0a855c35af4fec9c14 Author: Giacomo Vacca <g...@rtcsoft.net> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016-02-15T14

[sr-dev] git:master:43946417: http_async_client: minor indentation changes

2016-02-15 Thread Camille Oudot
Module: kamailio Branch: master Commit: 43946417e3f0c2bbd07e5c4ec8ccd48b31c5ecf9 URL: https://github.com/kamailio/kamailio/commit/43946417e3f0c2bbd07e5c4ec8ccd48b31c5ecf9 Author: Giacomo Vacca <g...@rtcsoft.net> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016-02-15T14

[sr-dev] git:master:da26a524: http_async_client: review tls-related param names and vars

2016-02-15 Thread Camille Oudot
Module: kamailio Branch: master Commit: da26a524e8b318f69116494726d582fbc09bfd32 URL: https://github.com/kamailio/kamailio/commit/da26a524e8b318f69116494726d582fbc09bfd32 Author: Giacomo Vacca <g...@rtcsoft.net> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016-02-15T14

[sr-dev] git:master:bc7dc166: tcpops: add "disabled mode" to closed_event param

2016-02-09 Thread Camille Oudot
Module: kamailio Branch: master Commit: bc7dc166858d0def2c827ff7be037bfcaa9f0e7e URL: https://github.com/kamailio/kamailio/commit/bc7dc166858d0def2c827ff7be037bfcaa9f0e7e Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] git:master:83575430: tcpops: per-connection control over tcp:closed

2016-02-09 Thread Camille Oudot
Module: kamailio Branch: master Commit: 8357543007760d941fcb92c12297f0109397853e URL: https://github.com/kamailio/kamailio/commit/8357543007760d941fcb92c12297f0109397853e Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] git:master:df875b53: tcp: define new flag to control tcpop's tcp:closed

2016-02-09 Thread Camille Oudot
Module: kamailio Branch: master Commit: df875b53340c9e09b6ca0baaa2154000d0bbba47 URL: https://github.com/kamailio/kamailio/commit/df875b53340c9e09b6ca0baaa2154000d0bbba47 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] git:master:8bf03256: tcpops: update README

2016-02-09 Thread Camille Oudot
Module: kamailio Branch: master Commit: 8bf032566a810f7fa60dd96310be8d9a5095b032 URL: https://github.com/kamailio/kamailio/commit/8bf032566a810f7fa60dd96310be8d9a5095b032 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] [kamailio] tcp:closed event enhancements (#504)

2016-02-08 Thread Camille Oudot
these new commits on top of those proposed in issue #461 now define 3 modes for the `tcp:closed` event route: - **0**: globally disabled - **1**: globally enabled - **2**: manual (enabled when `tcp_enable_closed_event()` was applied) You can view, comment on, or merge this pull request online

Re: [sr-dev] http_async

2016-02-04 Thread Camille Oudot
Hi Olle, thanks for your feedback. We're going to fix the documentation issues you spotted. > - Add a note about the need to load TLS module first (like I just did > in http_client docs) The openssl library initialization is done by the tls module before any other mod_init(), so as far as I

Re: [sr-dev] [kamailio] Make tcpops module usable on BSD (#491)

2016-01-29 Thread Camille Oudot
Merged #491. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/491#event-531446010___ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

[sr-dev] git:master:094613b8: Merge pull request #491 from mslehto/bsdtcpops

2016-01-29 Thread Camille Oudot
Module: kamailio Branch: master Commit: 094613b85d21e430fe9350722a99794bb2ae59bf URL: https://github.com/kamailio/kamailio/commit/094613b85d21e430fe9350722a99794bb2ae59bf Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

[sr-dev] git:master:868bf247: mem/tlsf: return a valid pointer for malloc(0)

2016-01-29 Thread Camille Oudot
Module: kamailio Branch: master Commit: 868bf2474c9d22e659875a2ac49553c4908553b2 URL: https://github.com/kamailio/kamailio/commit/868bf2474c9d22e659875a2ac49553c4908553b2 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2016

Re: [sr-dev] [kamailio] Make tcpops module usable on BSD (#491)

2016-01-29 Thread Camille Oudot
Merged, thanks for enabling the functionality on BSD --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/491#issuecomment-176809248___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio] tcpops - event_route[tcp:closed] enhancements (#461)

2016-01-29 Thread Camille Oudot
I made these few changes to implement the tiny enhancements on the tcp closed event route. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/461#issuecomment-176914502___ sr-dev mailing list

Re: [sr-dev] [kamailio] Make tcpops module usable on BSD (#491)

2016-01-28 Thread Camille Oudot
then it would make sense to also include `netinet/tcp.h` in `tcp_options.h`, to avoid any issue in the future if `tcp_options.h` is re-used elsewhere --- Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio] Make tcpops module usable on BSD (#491)

2016-01-27 Thread Camille Oudot
Thanks for the patch. I'm not sure where `tcp_options.h` gets the `TCP_KEEP*` macros defined from, do I miss something? --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/491#issuecomment-175786450___

[sr-dev] mem leak using dispatcher in event route

2016-01-27 Thread Camille Oudot
Hi Kamailio devs, we've found a memory leak in one of our servers: the AVPs filled by the dispatcher module's `ds_select_dst()` function, called in the `usrloc:contact-epired` event route are not freed. Using this function in an event route is not encouraged by the documentation (only

Re: [sr-dev] mem compiler warnings on trunk

2016-01-26 Thread Camille Oudot
Le Mon, 25 Jan 2016 22:18:24 -0500, Ovidiu Sas a écrit : > gcc version 4.9.2 (Debian 4.9.2-10) > > $ uname -a > Linux t40 3.16.0-4-586 #1 Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) > i686 GNU/Linux > > debian 8.2 on 32bit. TLSF prototypes use size_t to represent chunk

Re: [sr-dev] mem compiler warnings on trunk

2016-01-26 Thread Camille Oudot
Le Tue, 26 Jan 2016 09:10:21 -0500, Ovidiu Sas a écrit : > sizeof(size_t) returns 'unsigned int' > sizeof(unsigned long) returns 'unsigned int' Hi, I meant the output of a C program such as: #include int main(void) { printf("%zd %zd\n",

Re: [sr-dev] [kamailio] async_http: non-blocking HTTP client module (#480)

2016-01-22 Thread Camille Oudot
It is using system memory by default indeed, but we preferred kamailio's pools, to have a better view/control on what is going on. --- Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio] async_http: non-blocking HTTP client module (#480)

2016-01-22 Thread Camille Oudot
If both modules should be used at the same time, the most problematic point would be calling `curl_global_init()` several times IMO (although the libcurl documentation states that it must be called "at least" once). However, **async_http** uses the `curl_global_init_mem()` version (it allows

Re: [sr-dev] Fosdem 2016

2016-01-07 Thread Camille Oudot
Le Tue, 5 Jan 2016 20:06:19 +0100, Daniel-Constantin Mierla a écrit : > anyone going to Fosdem? Hi, I'll be there too, up for any chat / dinner / drink event. See you -- Camille ___ sr-dev mailing list

Re: [sr-dev] [kamailio] tcpops: implement event_route for unexpectedly closed tcp connections (#454)

2016-01-04 Thread Camille Oudot
Hi Armen, thanks for your patch, I think this feature will be very useful. I have one comment: if the tcpops module is loaded but no `tcp:closed` route is defined, a debug log line will complain about it. I think it would make sense to add a module parameter to globally enable or disable the

Re: [sr-dev] crash (segfault) on Kamailio master branch

2015-11-26 Thread Camille Oudot
Le Tue, 6 Oct 2015 13:57:18 +, Jason Penton a écrit : > No, not stress testing at all I can't reproduce it on request - > but let me add the mem debugging and see how we go... Hi Jason, I'm digging up this message to know if you were using the usrloc module and

[sr-dev] git:master:daa2509a: usrloc: fix mem leak when closing expired TCP

2015-11-25 Thread Camille Oudot
Module: kamailio Branch: master Commit: daa2509a58438505a6faa57e1a8befcc667a3b28 URL: https://github.com/kamailio/kamailio/commit/daa2509a58438505a6faa57e1a8befcc667a3b28 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2015

[sr-dev] git:master:dd7854ea: core: exit with failure code if a child dies

2015-11-19 Thread Camille Oudot
Module: kamailio Branch: master Commit: dd7854ea6f7efa6899bf59bb0d5069f0daf1def9 URL: https://github.com/kamailio/kamailio/commit/dd7854ea6f7efa6899bf59bb0d5069f0daf1def9 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2015

[sr-dev] git:master:a5b5091a: Merge pull request #403 from kamailio/child_stop_fail_status

2015-11-19 Thread Camille Oudot
Module: kamailio Branch: master Commit: a5b5091ad937bbb5336b86ebb5ca2de7556b8e67 URL: https://github.com/kamailio/kamailio/commit/a5b5091ad937bbb5336b86ebb5ca2de7556b8e67 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2015

[sr-dev] [kamailio] core: exit with failure code if a child dies (#403)

2015-11-19 Thread Camille Oudot
I made this patch to ensure kamailio exits with an unclean status if it stops due to a child exits. This allows systemd's unit `Restart=on-failure` parameter to actually automatically restart kamailio, in a segfault or any other signal-throwing situation. The side effect is that it would

[sr-dev] git:master:5ee67473: rtpengine: new read_sdp_pv parameter

2015-10-02 Thread Camille Oudot
Module: kamailio Branch: master Commit: 5ee6747368751c9d428314c92791314c02e601a5 URL: https://github.com/kamailio/kamailio/commit/5ee6747368751c9d428314c92791314c02e601a5 Author: Camille Oudot <camille.ou...@orange.com> Committer: Camille Oudot <camille.ou...@orange.com> Date: 2015

  1   2   3   >