Re: [sr-dev] RTPproxy docs - force socket

2012-12-08 Thread Daniel-Constantin Mierla
Better, it has to be moved to nathelper module docs, because is missing from there (it was when the two were one module). Cheers, Daniel On 12/8/12 12:39 AM, Ovidiu Sas wrote: Yes, it should be removed. I think it's a left over from a long long time. -ovidiu On Fri, Dec 7, 2012 at 6:21 PM, O

Re: [sr-dev] Status of outbound support

2012-12-08 Thread Daniel-Constantin Mierla
On 12/8/12 4:18 AM, Juha Heinanen wrote: Daniel-Constantin Mierla writes: First, it will require to propagate sip-instance and reg-id fields to destination set (via branch_t structure) from usrloc/registrar -- just adding some fields and copy the values as we do for example for path and q. lo

Re: [sr-dev] RTPproxy docs - force socket

2012-12-08 Thread Olle E. Johansson
8 dec 2012 kl. 09:21 skrev Daniel-Constantin Mierla : > Better, it has to be moved to nathelper module docs, because is missing from > there (it was when the two were one module). Missed that. Ok, will do. /O > > Cheers, > Daniel > > On 12/8/12 12:39 AM, Ovidiu Sas wrote: >> Yes, it should be

Re: [sr-dev] Status of outbound support

2012-12-08 Thread Olle E. Johansson
7 dec 2012 kl. 00:08 skrev Juha Heinanen : > after sleeping on it, i propose the following simple implementation of > instance-id/reg-id aware load_contacts()/next_contacts(): > > - load_contacts() does the same as it currently does, i.e., load > contacts to an avp and orders them based on q va

Re: [sr-dev] Status of outbound support

2012-12-08 Thread Juha Heinanen
Olle E. Johansson writes: > > is this acceptable to everyone? feel welcome to propose a better name > > for next_contacts_skip(). > > next_contact_flow() > > #If we have no spare flow for current contact, go to next q level. > if (!next_contact_flow()) >next_contacts(); there may be more t

Re: [sr-dev] Status of outbound support

2012-12-08 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > yes. Or, for getting the branch, if they become with too many > parameters, then use the function that returns the pointer to the branch > structure. if we do that, then for consistency, get_branch and next_branch should be dropped altogether and replaced by g

[sr-dev] git:master: core and several modules: instance and reg_id in branch_t

2012-12-08 Thread admin
Module: sip-router Branch: master Commit: 571e4e3fceeff5b4d32d1ac34649e9c4031d6543 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=571e4e3fceeff5b4d32d1ac34649e9c4031d6543 Author: Juha Heinanen Committer: Juha Heinanen Date: Sat Dec 8 14:17:46 2012 +0200 core and

Re: [sr-dev] git:master: core and several modules: instance and reg_id in branch_t

2012-12-08 Thread Daniel-Constantin Mierla
Hello, you patch changes the values for server and user-agent value in config.h. Could be better to split such large commits (when there are internal api changes) on affected components, because it is easier to look at the patches (e.g., doing one commit for each affected module and one for th

Re: [sr-dev] git:master: core and several modules: instance and reg_id in branch_t

2012-12-08 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > you patch changes the values for server and user-agent value in > config.h. sorry, that was my mistake. i'll fix it. > Could be better to split such large commits (when there are internal api > changes) on affected components, because it is easier to look at

[sr-dev] git:master: core: restored USER_AGENT and SERVER_HDR defines

2012-12-08 Thread admin
Module: sip-router Branch: master Commit: ca7b18825ed478b2d23a092f681939a233183003 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ca7b18825ed478b2d23a092f681939a233183003 Author: Juha Heinanen Committer: Juha Heinanen Date: Sat Dec 8 14:44:38 2012 +0200 core: re

Re: [sr-dev] git:master: core and several modules: instance and reg_id in branch_t

2012-12-08 Thread Daniel-Constantin Mierla
On 12/8/12 1:36 PM, Juha Heinanen wrote: Daniel-Constantin Mierla writes: you patch changes the values for server and user-agent value in config.h. sorry, that was my mistake. i'll fix it. Could be better to split such large commits (when there are internal api changes) on affected componen

Re: [sr-dev] git:master: core and several modules: instance and reg_id in branch_t

2012-12-08 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > You can commit locally and push all at once, so practically all of them > will be available on remote repository at the same time. I did it many > times (it is actually the usual way because it easier to review later or > send only specific links to the author

[sr-dev] git:master: nathelper: add force_socket documentation ( moved from rtpproxy module)

2012-12-08 Thread Olle E . Johansson
Module: sip-router Branch: master Commit: 1cfa90d171a72ad5e2b224ae0d6f2eb92d3eeb55 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1cfa90d171a72ad5e2b224ae0d6f2eb92d3eeb55 Author: Olle E. Johansson Committer: Olle E. Johansson Date: Sat Dec 8 14:10:48 2012 +0100

[sr-dev] git:master: Merge branch 'master' of ssh://git.sip-router.org/sip-router

2012-12-08 Thread Olle E . Johansson
Module: sip-router Branch: master Commit: 440bcec4b5694ac79cd8dfb134defd472e96c60e URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=440bcec4b5694ac79cd8dfb134defd472e96c60e Author: Olle E. Johansson Committer: Olle E. Johansson Date: Sat Dec 8 14:12:15 2012 +0100

Re: [sr-dev] git:master: core and several modules: instance and reg_id in branch_t

2012-12-08 Thread Daniel-Constantin Mierla
On 12/8/12 1:55 PM, Juha Heinanen wrote: Daniel-Constantin Mierla writes: You can commit locally and push all at once, so practically all of them will be available on remote repository at the same time. I did it many times (it is actually the usual way because it easier to review later or send

[sr-dev] git:master: modules_s: migrated append_branch in cpl-c, exec, and registrar modules

2012-12-08 Thread admin
Module: sip-router Branch: master Commit: 181561c7dc50c0c4e6ac84b53b33d8a5bc6dd053 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=181561c7dc50c0c4e6ac84b53b33d8a5bc6dd053 Author: Juha Heinanen Committer: Juha Heinanen Date: Sat Dec 8 16:09:40 2012 +0200 modules_

[sr-dev] git:master: modules_k/pv: fixed compilation error in define

2012-12-08 Thread admin
Module: sip-router Branch: master Commit: e8210c30ef79a5a6f6fa88a2cb47bf29ca50bfe0 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e8210c30ef79a5a6f6fa88a2cb47bf29ca50bfe0 Author: Juha Heinanen Committer: Juha Heinanen Date: Sat Dec 8 16:00:34 2012 +0200 modules_

Re: [sr-dev] git:master: core and several modules: instance and reg_id in branch_t

2012-12-08 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > Well, the master branch doesn't compile, pv module throws errors. thanks for reporting. should be fixed now. > Also, the modules in modules_s have to be made to compile for the > moment, otherwise master branch compilation fails anyhow. They may be > removed

[sr-dev] git:master: ratelimit: Typo fixes, minor edits

2012-12-08 Thread Olle E . Johansson
Module: sip-router Branch: master Commit: ad5cbdc7aa6156e072f0dd859421fc36b66227c0 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ad5cbdc7aa6156e072f0dd859421fc36b66227c0 Author: Olle E. Johansson Committer: Olle E. Johansson Date: Sat Dec 8 18:19:43 2012 +0100

[sr-dev] git:master: dispatcher(k): use the right pointer to rpc context

2012-12-08 Thread Elena-Ramona Modroiu
Module: sip-router Branch: master Commit: 6904d8c80b2089d01a69c3c0217c76c8e0132bac URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6904d8c80b2089d01a69c3c0217c76c8e0132bac Author: Elena-Ramona Modroiu Committer: Elena-Ramona Modroiu Date: Sat Dec 8 14:19:30 2012 +

[sr-dev] git:master: pdt(k): added pdt.list command to dump memory structure via rpc

2012-12-08 Thread Elena-Ramona Modroiu
Module: sip-router Branch: master Commit: bfa4d86a7a18b321a14b65c90d32c5aed32c10d3 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bfa4d86a7a18b321a14b65c90d32c5aed32c10d3 Author: Elena-Ramona Modroiu Committer: Elena-Ramona Modroiu Date: Sat Dec 8 14:20:43 2012 +

[sr-dev] git:master: modules_s/pdt: moved the module to obsolete folder

2012-12-08 Thread Elena-Ramona Modroiu
Module: sip-router Branch: master Commit: a3ad00fea92f54aacf2425a0c2aaa9f78046d38e URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a3ad00fea92f54aacf2425a0c2aaa9f78046d38e Author: Elena-Ramona Modroiu Committer: Elena-Ramona Modroiu Date: Sat Dec 8 18:22:15 2012 +

[sr-dev] strdup equivalent in pkg_ style

2012-12-08 Thread Konstantin M.
Hi dev team, Would be good to have strdup in pkg_ style and use our memory manager, something like this (or using macroses): char *pkg_strdup(const char *s) { char *p = pkg_malloc(strlen(s) + 1); if(p) { strcpy(p, s); } return p; } ___ sr-de

[sr-dev] couple of xavp questions

2012-12-08 Thread jh
i'm trying to use xavps in new version of t serial functions and have a couple of questions: - when xavp value of type SR_XTYPE_STR is added using xavp_add_value function, do i need to make a copy of the string using pkg_malloc? in normal avps this is not needed, but for some reason a copy is