Re: [SR-Users] Error loading carrierroute in Kamailio 4.0.x

2013-10-20 Thread Marius Zbihlei
. Same carrierroute.so size, same end result. > > Is something further needed to make kamailio incorporate the libconfuse > files into the build process? > > -Aaron > > > On 10/20/2013 5:12 AM, Marius Zbihlei wrote: > >> Hello, >> >> Have you installed libc

Re: [SR-Users] [sr-dev] New developer: Lucian Balaceanu

2013-07-22 Thread Marius Zbihlei
Welcome Lucian and happy coding! Marius On Mon, Jul 22, 2013 at 11:18 AM, Daniel-Constantin Mierla < mico...@gmail.com> wrote: > Hello, > > > On 7/16/13 2:45 PM, Henning Westerholt wrote: > >> Hello, >> >> I am pleased to announce a new developer for the Kamailio project: Lucian >> Balaceanu. L

Re: [SR-Users] Not getting correct result after sending a OPTION query

2013-06-22 Thread Marius Zbihlei
Hello, You need to register your test user to kamailio, using the password provided. This adds a entry containing a contact (127.0.0.1:5070) to the location table which is queried by the lookup() function in registrar. The subscriber table only shows what users can subscribe to your system and wi

Re: [SR-Users] Basic question

2013-04-21 Thread Marius Zbihlei
Hello, The function is http://kamailio.org/docs/modules/stable/modules/textopsx.html#textopsx.msg_apply_changes, but note that unexpected results might happen. Marius On Sun, Apr 21, 2013 at 2:09 PM, אורן אברהם wrote: > thank you for the explanation. > > can you please tell me the name of t

Re: [SR-Users] [sr-dev] Wiki site registration updates - OFF-TOPIC

2013-04-01 Thread Marius Zbihlei
Mon, Apr 1, 2013 at 9:06 PM, Daniel-Constantin Mierla wrote: > Hello, > > > On 4/1/13 9:57 PM, Marius Zbihlei wrote: > > Hello, > > Comments inline > > > On Mon, Apr 1, 2013 at 8:27 PM, Daniel-Constantin Mierla < > mico...@gmail.com> wrote: >

Re: [SR-Users] [sr-dev] Wiki site registration updates - OFF-TOPIC

2013-04-01 Thread Marius Zbihlei
Hello, Comments inline On Mon, Apr 1, 2013 at 8:27 PM, Daniel-Constantin Mierla wrote: > > On 4/1/13 9:13 PM, Marius Zbihlei wrote: > > Some ideas about improving the security of the site: > > 1. Drop http connections for authentication pages > > Not sure how much i

Re: [SR-Users] [sr-dev] Wiki site registration updates - OFF-TOPIC

2013-04-01 Thread Marius Zbihlei
Some ideas about improving the security of the site: 1. Drop http connections for authentication pages 2. Fix the kamailio.org certificate. At the moment the identity of the domain can't be established as there is no issuer chain provided with it. >From Firefox information page: " kamailio.org u

Re: [SR-Users] carrierroute module

2013-03-29 Thread Marius Zbihlei
Hello, Either the .so is not linked to libconfuse, or you have installed only the development headers and not the actual library. Check to see in /usr/lib the version of libconfuse that you have installed, and than run `ldd carrierroute.so` to check the dependency needed. Cheers, Marius On Thu,

Re: [SR-Users] How to remove custom header after adding one

2013-02-24 Thread Marius Zbihlei
Hello, I can see two variants: 1. Move the append_hf in the branch route so you can have a per branch decision 2. call mg_apply_change() from textops to immediately apply the changes after append_hf() http://kamailio.org/docs/modules/devel/modules/textopsx.html#textopsx.msg_apply_changes You can

Re: [SR-Users] dns queries on ipv6 addresses

2012-10-25 Thread Marius Zbihlei
On 10/25/2012 05:33 PM, Alex Hermann wrote: On Thursday 25 October 2012, Juha Heinanen wrote: an ipv6 address can thus never be a valid domain name. an ipv4 address, on the other hand, is syntactically valid domain name and perhaps someone has populated their local name server with such names.

Re: [SR-Users] getting siptrace error on start up

2012-10-23 Thread Marius Zbihlei
On 10/22/2012 11:37 PM, Christopher Holland wrote: getting this error: Hello, What version of Kamailio are you using, this parameter is available from 3.2 onwards. For building modules you can tune modules.lst as described here https://www.kamailio.org/wiki/install/devel/git#tuning_makefil

Re: [SR-Users] compilation warnings

2012-09-24 Thread Marius Zbihlei
On 09/24/2012 02:09 PM, Vieri wrote: Hi, Hello, Can you provide more information about what compiler (name, version) are you using? Cheers, Marius On a Gentoo Linux system I'm getting the following compile-time warnings (kamailio-3.3.1 ebuild): * python_msgobj.c:529:5: warning: derefe

Re: [SR-Users] authentication for client applications

2012-09-20 Thread Marius Zbihlei
On 09/20/2012 01:12 AM, David Thomson wrote: Hi, I am working on a project where a custom sip client will be integrated into a suite of applications to provide voip. The sip client will be working with Kamailio. The goal is to ensure that the client is authorized for communication with kama

Re: [SR-Users] memory usage

2012-09-05 Thread Marius Zbihlei
ory usage you can use `kamctl fifo get_statistics all` and check for the shmem real_used_size and max_used_size fields. Cheers, Marius -- Zbihlei Marius Head of Linux Development Services Romania -- Zbihlei Marius Head of Linux Development Services Romania 1&1 Internet Development srl

Re: [SR-Users] memory usage

2012-09-05 Thread Marius Zbihlei
fifo get_statistics all` and check for the shmem real_used_size and max_used_size fields. Cheers, Marius -- Zbihlei Marius Head of Linux Development Services Romania 1&1 Internet Development srlTel KA: 754-9152 Str Mircea Eliade 18Tel RO: +40-31-223-9152 Sect 1, Bucure

Re: [SR-Users] Segfault running 3.3.0 with registrar/p_usrloc/path

2012-08-01 Thread Marius Zbihlei
On 08/01/2012 01:05 PM, DanB wrote: Hey Guys, Just a quick follow up to see if anything happened with p_usrloc fixup. Any chance to expect it running on new 3.3.1 release? Hello Dan, At the moment the GRUU/outbound patch is integrated into the master branch([1]). I don't know exactly if this

Re: [SR-Users] Shared memory fragmentation

2012-06-08 Thread Marius Zbihlei
ize might increase because of fragmentation during cr_reload_route commands, but it should not fail, as chunks will be reallocated to other usages of the command. Cheers, Marius -- Zbihlei Marius Head of Linux Development Services Romania 1&1 Internet Development srlTel KA: 754-9152 S

Re: [SR-Users] kamailio debug send messages

2012-05-22 Thread Marius Zbihlei
a separate K instance, and there use any DB backend to store the messages. Regarding logging, I think you can get all these parameters from route(), reply_route() (for incoming) and onsend_route() (for outgoing) and using xlog() statements. Cheers, Marius -- Zbihlei Marius Head of Linux D

Re: [SR-Users] FW: (Devel) Segmentation fault using pua_dialoginfo

2012-05-16 Thread Marius Zbihlei
ff; unsigned h = (b<<16); printf("%x\n", h); return 0; } will print instead of ff as expected. Haven't calculated the implication of this related to the bug. An fix would be to cast p[1] to (unsigned char) Cheers, Marius -- Zbihlei Marius Hea

Re: [SR-Users] kamailio debug send messages

2012-05-14 Thread Marius Zbihlei
On 05/11/2012 11:24 PM, Konstantin M. wrote: Hi Daniel, For some reasons, onsend_route doesn't triggered when transfering 100,180,183, etc... Hello, Normally, onsend_route is not triggered for replies, only for messages. If there are some good reasons behind it, I don't know, as we have a

Re: [SR-Users] exec_avp problem

2012-03-12 Thread Marius Zbihlei
On 03/12/2012 02:27 PM, Uri Shacked wrote: Hi, i am using the exec_avp command as followed: /exec_avp("[/usr/local/etc/kamailio/maintenance/service/service_pr.sh", "$avp(xxx),$avp(yyy)");/ // here is the shell script content: // /RETVAL=-1 RES=`kamctl cr reload` RETVAL=$? echo "$RETVAL" echo "$

Re: [SR-Users] Kamailio + Asterisk, what happens when limit for gateway is reached

2012-03-12 Thread Marius Zbihlei
On 03/12/2012 11:00 AM, Sasa Vilic wrote: Hello, I have read here about load balancing between multiple gateways by using carrierroute module, but there is one particular question for which I found no answer. Let's say I have two asterisk servers (X und Y), that are my gateways to PSTN. Let

Re: [SR-Users] Registration Limits

2012-03-02 Thread Marius Zbihlei
On 03/02/2012 12:44 PM, Reda Aouad wrote: Hi, Is there a way to ensure single-registration per user-agent for a user, which overwrites previous registration ? Or is there a way to limit the number of registrations per user, but overwriting the earliest registration for each new one ? Hello,

Re: [SR-Users] avp_delete problem [kamailio 1.5]

2012-02-22 Thread Marius Zbihlei
On 02/22/2012 09:45 AM, Sven Knoblich wrote: Hello all, i am currently confused by using the avpops function avp_delete. When i run avp_delete without the flag-value \g only the last value will be unset (like an undo). Is this the wanted behaviour? Hello Sven, After looking thru the code it see

Re: [SR-Users] Problems with TCP

2012-02-16 Thread Marius Zbihlei
On 02/16/2012 05:26 PM, Mino Haluz wrote: 2) I tried to set mhomed=1, but it has become even worse - No out socket. Hello, mhomed only works for UDP connection. It shouldn't have any effect on TCP. There must be something else. For TCP and multihomed, I think you have to use force_send_sock

Re: [SR-Users] Memory usage problem in xmpp modules

2012-01-26 Thread Marius Zbihlei
setup you have. Then, try to match every external library instantiation(allocation) (via library method) to a corresponding release of resources. Cheers Marius -- Zbihlei Marius Head of Linux Development Services Romania 1&1 Internet Development srlTel KA: 754-9512 Str Mircea Eliade 1

Re: [SR-Users] re-route SIP response message

2012-01-18 Thread Marius Zbihlei
tm's failure routes . More info here http://sip-router.org/wiki/cookbooks/core-cookbook/devel#failure_route Cheers, Marius -- Zbihlei Marius Head of Linux Development Services Romania 1&1 Internet Development srlTel KA: 754-9512 Str Mircea Eliade 18Tel RO: +40-31-2

Re: [SR-Users] carrierroute issue with rewrite host

2011-12-21 Thread Marius Zbihlei
On 10/25/2011 03:28 PM, Uri Shacked wrote: Hi, I am using kamailio (only one) as routing engine. I have 2 gateways. Both of them sending calls to kamailio. When i use the carrierroute module i need to change (and succeed) the user ($rU). But, i need to send the call (the invite) back to the

Re: [SR-Users] force_send_socket and IPv6

2011-12-15 Thread marius zbihlei
Sep 17 00:00:00 2001 From: Marius Zbihlei Date: Thu, 15 Dec 2011 18:39:23 +0200 Subject: [PATCH] core: resolve.h For IPv6 use inet_pton instead of custom parsing functions --- resolve.h | 117 ++-- 1 files changed, 28 insertions(+), 89 del

Re: [SR-Users] force_send_socket and IPv6

2011-12-15 Thread marius zbihlei
On 12/15/2011 04:41 PM, Daniel-Constantin Mierla wrote: Hello, On 12/15/11 1:18 PM, marius zbihlei wrote: On 12/14/2011 07:28 PM, Andreas Granig wrote: Hey Dani Hello, Actually, looking at the code I've observed some weird behavior : for example to fix the force_send_socket IPv6 addre

Re: [SR-Users] force_send_socket and IPv6

2011-12-15 Thread marius zbihlei
l not be parsed correctly. Why don't we use inet_pton(AF_INET6 ... . Any reasons? Cheers Marius -- Zbihlei Marius Head of Linux Development Services Romania 1&1 Internet Development srlTel KA: 754-9512 Str Mircea Eliade 18Tel RO: +40-31-223-9512 Sect 1, Bucuresti

Re: [SR-Users] carrierroute reload option

2011-12-14 Thread marius zbihlei
? Hello, Yes, the new loaded carrierroute will contain only 20 raws. Instead of truncate/insert do an update on the 20 rows and and a cr_reload fifo command. Marius -- Zbihlei Marius Head of Linux Development Services Romania 1&1 Internet Development srlTel KA: 754-9512 Str Mi

Re: [SR-Users] carrierroute reload option

2011-12-14 Thread marius zbihlei
d that the switch between the old routing table and the new is atomic. Marius -- Zbihlei Marius Head of Linux Development Services Romania 1&1 Internet Development srlTel KA: 754-9512 Str Mircea Eliade 18Tel RO: +40-31-223-9512 Sect 1, Bucuresti mailto: marius

Re: [SR-Users] Problem to verify contact header

2011-12-08 Thread marius zbihlei
ontact->body.s== NULL) As you can see, it test if it _is_ NULL (==) not different (!=). Marius 2011/12/7 marius zbihlei <mailto:marius.zbih...@1and1.ro>> On 12/07/2011 06:24 PM, Bruno Bresciani wrote: Hi All, Kamailio generate a core at line below if(_m

Re: [SR-Users] Problem to verify contact header

2011-12-07 Thread marius zbihlei
3.2 but to no avail. Cheers, Marius -- Zbihlei Marius Head of Linux Development Services Romania 1&1 Internet Development srlTel KA: 754-9512 Str Mircea Eliade 18Tel RO: +40-31-223-9512 Sect 1, Bucuresti mailto: marius.zbih...@

[SR-Users] Fwd: [Sip-implementors] FOSDEM 2012 Telephony/Communications Devroom Call for Presenters

2011-11-15 Thread marius zbihlei
Original Message Subject: [Sip-implementors] FOSDEM 2012 Telephony/Communications Devroom Call for Presenters Date: Mon, 14 Nov 2011 20:28:53 +0100 From: Kevin P. Fleming To: sip-implement...@lists.cs.columbia.edu Greetings, This is a call for presenters (with p

Re: [SR-Users] releasing v3.2.0

2011-10-11 Thread marius zbihlei
On 09/28/2011 01:24 PM, Daniel-Constantin Mierla wrote: Hello Marius, On 9/28/11 12:06 PM, marius zbihlei wrote: can you push it in a personal branch to review the impact on the existing code. It is of interest, of course, ultimately there can be a parameter (cfg or command line) to control

Re: [SR-Users] Carrierroute: Could not allocate shared memory

2011-10-10 Thread marius zbihlei
nt to make sure) Cheers, Marius -- Zbihlei Marius Head of Linux Development Services Romania 1&1 Internet Development srlTel KA: 754-9512 Str Mircea Eliade 18Tel RO: +40-31-223-9512 Sect 1, Bucuresti mailto: marius.zbih...@1and1.ro 71295

Re: [SR-Users] no more pkg mem on ul_dump

2011-10-06 Thread marius zbihlei
On 10/06/2011 02:12 PM, Antanas Masevicius wrote: Hello, i would vote for dynamic allocation too. These days i had to allocate way more than default 4MB of pkg mem. Does anyone who used heavy MI loaded system with MI_SYSTEM_MALLOC compiled could give us feedback on how this feature is stable cur

Re: [SR-Users] no more pkg mem on ul_dump

2011-10-06 Thread marius zbihlei
On 10/06/2011 11:52 AM, Klaus Darilion wrote: Hi! Kamailio 1.3.4: "kamctl ul monitor" causes: ERROR: [attr.c:80]: no more pkg mem (21) ERROR: mi_fifo [fifo_fnc.c:513]: command (ul_dump) processing failed There are ~ 2000 entries in location table. Default PKG size is used. I remember there w

Re: [SR-Users] releasing v3.2.0

2011-09-28 Thread marius zbihlei
://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bcea195d73c85adaa9790320998100b80a00b375 branch mariuszbihlei/ipv6_fix Cheers, Marius -- Zbihlei Marius Head of Linux Development Services Romania 1&1 Internet Development srlTel KA: 754-9512 Str Mircea Eliade 18Te

Re: [SR-Users] releasing v3.2.0

2011-09-28 Thread marius zbihlei
code works well). Do you think this patch is of interest for 3.2 release? Marius -- Zbihlei Marius Head of Linux Development Services Romania 1&1 Internet Development srlTel KA: 754-9512 Str Mircea Eliade 18Tel RO: +40-31-223-9512 Sect 1, Bucuresti mailto: ma

Re: [SR-Users] Kamailio terminating after upgrading from 3.1.2 to 3.1.4

2011-09-15 Thread marius zbihlei
datory to generate another one ) make QUIET=no (to see the flags) Also don't strip the executable Marius -- Zbihlei Marius Head of Linux Development Services Romania 1&1 Internet Development srlTel KA: 754-9512 Str Mircea Eliade 18Tel RO: +40-31-223-951

Re: [SR-Users] Kamailio terminating after upgrading from 3.1.2 to 3.1.4

2011-09-14 Thread marius zbihlei
On 09/14/2011 05:01 PM, Phillman25 Kyriacou wrote: Dear Marius Thank you for your prompt reply. I apologise, As i am a newbie could you please explain how to produce the below output that you require? if you can reproduce the crash, in a shell write ulimit -c unlimited #to allow unlimited s

Re: [SR-Users] Kamailio terminating after upgrading from 3.1.2 to 3.1.4

2011-09-14 Thread marius zbihlei
On 09/14/2011 01:15 PM, Phillman25 Kyriacou wrote: Hello Hello. You should have a coredump . Can you please send the trace (bt full) as seen with gdb ? Thanks Marius Im facing a big problem after upgrading from version 3.1.2 to 3.1.4. The kamailio process keeps on terminating every now an

Re: [SR-Users] cr default route

2011-09-13 Thread marius zbihlei
On 09/02/2011 03:52 PM, caio wrote: Hello, Hello, The documentation of carrierroute says "If flags and mask are not zero, and no match to the message flags is possible, no routing will be done." Then is there any route entry which can act as default gw (like an always-match entry)? From w

Re: [SR-Users] new developer: Sven Knoblich

2011-09-05 Thread marius zbihlei
On 09/05/2011 10:58 AM, Daniel-Constantin Mierla wrote: Hello, On 9/1/11 3:17 PM, Henning Westerholt wrote: Hi all, I'm happy to announce a new developer for the sip-router project: Sven Knoblich. Sven is an experienced C/C++ developer in our offices in Karlsruhe and since about a year part o

Re: [SR-Users] add carrierroute module

2011-08-25 Thread marius zbihlei
On 08/25/2011 11:46 AM, Skyler wrote: Hi, What OS are you running? Did you compile from source or install via packages? Hello, If installed via packages apt-get install kamailio-carrierroute-modules If compiled check that carrierroute it's not in the exclude_module list (it depends on so

Re: [SR-Users] Carrierroute Compilation error Kamailio 3.1.4

2011-06-22 Thread marius zbihlei
On 06/22/2011 03:41 AM, Omar wrote: Here we go Hello Omar, You are missing a -DOPENSER_MOD_INTERFACE in the gcc command line. This is set in modules/carrierroute/Makefile like below ... DEFS+=$(CONFUSEDEFS) LIBS=$(CONFUSELIBS) DEFS+=-DOPENSER_MOD_INTERFACE SERLIBPATH=../../lib SER_L

Re: [SR-Users] Broken Via/reply-matching for natping OPTION

2011-04-20 Thread marius zbihlei
On 04/20/2011 04:47 PM, Andreas Granig wrote: Hi, When kamailio-3.1 sends OPTIONS for natping, the Via branch is wrong, e.g: OPTIONS sip:192.168.51.1:5060 SIP/2.0. Via: SIP/2.0/UDP 127.0.0.1:5062;branch=0. Route: Hello Check the syn_branch global parameter... must be 1 i think so that it

Re: [SR-Users] Kamailio stops responding after 10 days or so

2011-04-11 Thread marius zbihlei
On 04/09/2011 11:09 AM, Morten Isaksen wrote: Hi Marius, Hello, Thanks for the update, but unfortunately I can't spot anything wrong. As Daniel noted, please send a trace of the worker process (you can also select the worker's pid from the log file)Attack with GDB for several times and

Re: [SR-Users] ring_insert_callid() fixup error

2011-04-08 Thread marius zbihlei
On 04/08/2011 04:37 PM, marius zbihlei wrote: On 04/08/2011 03:44 PM, Juha Heinanen wrote: i have modparam("siputils", "ring_timeout", 30) but i get Apr 8 15:32:02 sip /usr/sbin/sip-proxy[23748]: ERROR: siputils [ring.c:378]: ring_insert_callid functionality deac

Re: [SR-Users] ring_insert_callid() fixup error

2011-04-08 Thread marius zbihlei
On 04/08/2011 03:44 PM, Juha Heinanen wrote: i have modparam("siputils", "ring_timeout", 30) but i get Apr 8 15:32:02 sip /usr/sbin/sip-proxy[23748]: ERROR: siputils [ring.c:378]: ring_insert_callid functionality deactivated, you need to set a positive ring_timeout Apr 8 15:32:02 sip /usr/

Re: [SR-Users] Kamailio stops responding after 10 days or so

2011-04-08 Thread marius zbihlei
On 04/07/2011 10:02 PM, Morten Isaksen wrote: Hi! Kamailio 3.0.3. I have a strange problem with one of our Kamailio servers. This one is used for routing (with carrierroute) and to send presence information (with pua module) Once every 10 day or so I get this error and then Kamailio stops resp

Re: [SR-Users] [sr-dev] Kamailio at Google Summer of Code 2011

2011-04-05 Thread marius zbihlei
On 04/05/2011 03:19 PM, Daniel-Constantin Mierla wrote: Hello, I should have said it from the beginning that this project is practically just a proposal for the moment, the idea started at FOSDEM this year while talking with the folks at Jitsi project and we thought sip-to-jingle gw might work o

Re: [SR-Users] valgrind errors from 3.1-stable (git 2fe4d633e4ac)

2011-04-01 Thread marius zbihlei
On 04/01/2011 12:53 PM, Timo Teräs wrote: On 04/01/2011 11:17 AM, marius zbihlei wrote: static buffers are not nice solution and can break depending on the call chain. However, since if it's going to be deep copied anyway, it'll probably work here. I was not sure about the de

Re: [SR-Users] The SIP protocol v2 - we're giving up.

2011-04-01 Thread marius zbihlei
On 04/01/2011 11:54 AM, Olle E.Johansson wrote: Friends, After having spent many years working with the Asterisk SIP channel driver, Kamailio and the SIPv2 protocol, I have finally realized that this is a dead end. It's getting nowhere and it's way too complicated to set up, run and support i

Re: [SR-Users] valgrind errors from 3.1-stable (git 2fe4d633e4ac)

2011-04-01 Thread marius zbihlei
On 04/01/2011 10:38 AM, Timo Teräs wrote: Hello, Comments inline. On 04/01/2011 10:29 AM, marius zbihlei wrote: On 03/31/2011 07:52 PM, Timo Teräs wrote: Hi all, I'm running 3.1-branch git head currently under valgrind. And I've seen several invalid reads and writes (

Re: [SR-Users] valgrind errors from 3.1-stable (git 2fe4d633e4ac)

2011-04-01 Thread marius zbihlei
On 03/31/2011 07:52 PM, Timo Teräs wrote: Hi all, I'm running 3.1-branch git head currently under valgrind. And I've seen several invalid reads and writes (apparently most are off by one). Hello, I haven't used Valgrind memcheck tool for Kamailio , but from what I know it might not be th

Re: [SR-Users] accounting problem

2011-03-31 Thread marius zbihlei
On 03/31/2011 12:24 PM, Parikhita Behera wrote: Hi , Currently i am working with opensips and i am able to call throgh opensips and show the cdrs but there is problem of accounting that how i can give the balance to the customer and how to charge the rates for diffre

Re: [SR-Users] Outbound socket selection (HA implementation)

2011-03-29 Thread marius zbihlei
On 03/29/2011 05:47 PM, Asgaroth wrote: Hi Marius, I can't really say that the route table will work. One way I used for testing is via Ping or netcat without any local parameters. The choosing of the local address and port is left to the kernel, the same as kamailio with mhomed, so if you

Re: [SR-Users] Outbound socket selection (HA implementation)

2011-03-29 Thread marius zbihlei
On 03/29/2011 03:32 PM, Asgaroth wrote: Hi Marius, Hello Asgaroth, Comments inline I have sent you another email in the thread but no reply. Can you confirm that you have a listening UDP socket on the interface that is selected by the kernel for sending the datagram in a mhomed environmen

Re: [SR-Users] Outbound socket selection (HA implementation)

2011-03-29 Thread marius zbihlei
On 03/29/2011 02:42 PM, Asgaroth wrote: Thank you all for your replies. Hello again, I have sent you another email in the thread but no reply. Can you confirm that you have a listening UDP socket on the interface that is selected by the kernel for sending the datagram in a mhomed enviro

Re: [SR-Users] Outbound socket selection (HA implementation)

2011-03-29 Thread marius zbihlei
On 03/29/2011 12:31 PM, Asgaroth wrote: Hi All, I'm trying to setup an active/passive proxy instance with kamailio 3.1.2. I'm using ucarp (www.ucarp.org) to provide the floating ip addresses. I have installed and configured ucarp and it appears to be working as expected. I have configured kamai

Re: [SR-Users] SIP Communicator renamed to Jitsi

2011-03-28 Thread marius zbihlei
On 03/28/2011 11:27 AM, Daniel-Constantin Mierla wrote: On 3/28/11 8:22 AM, CT Radu wrote: Pe 27.03.2011 12:34, Daniel-Constantin Mierla a scris: Hello, I thought it is an useful information to announce here that the SIP Communicator SIP softphone was renamed to Jitsi. There are sev

Re: [SR-Users] Failure route triggers a 500 internal server error

2011-03-22 Thread marius zbihlei
On 03/22/2011 03:00 PM, Miguel Baptista wrote: I am using kamailio 3.1.2 and I have an issue with failure route. Every-time kamailio enters the failure route an internal error is triggered and kamailio sends a 500 SIP error message: /SIP/2.0 500 I'm terribly sorry, server error occurred (1/T

Re: [SR-Users] re-SUBSCRIBE and Record-Route

2011-03-04 Thread marius zbihlei
On 03/04/2011 05:05 PM, marius zbihlei wrote: On 03/04/2011 04:56 PM, Klaus Darilion wrote: Not so easy . 16.4 Route Information Preprocessing The proxy MUST inspect the Request-URI of the request. If the Request-URI of the request contains a value this proxy previously

Re: [SR-Users] re-SUBSCRIBE and Record-Route

2011-03-04 Thread marius zbihlei
s manually and set $du. regards Klaus Am 04.03.2011 15:25, schrieb marius zbihlei: Hello list, An UAC sends a resubscribe in the form SUBSCRIBE sip:al...@example.com SIP/2.0 Route: Route: The request has a to tag, from tag... Basic resubscribe(R-URI is the same as original SUBSCRIBE) The

[SR-Users] re-SUBSCRIBE and Record-Route

2011-03-04 Thread marius zbihlei
Hello list, An UAC sends a resubscribe in the form SUBSCRIBE sip:al...@example.com SIP/2.0 Route: Route: The request has a to tag, from tag... Basic resubscribe(R-URI is the same as original SUBSCRIBE) The proxy that handles it is a Kamailio (1.5 but this refers to 3.1 as well). The pro

Re: [SR-Users] Segfault in Kamailio 1-3-4 to 1.5.5

2011-03-01 Thread marius zbihlei
On 03/01/2011 11:02 AM, Andrew O. Zhukov wrote: On 03/01/2011 10:49 AM, Daniel-Constantin Mierla wrote: On 3/1/11 8:41 AM, Andrew O. Zhukov wrote: I someone interested in . It's the old coredumps from 1.3.4. It's really much stabile then 1.5.5 I did degrade today night versi

Re: [SR-Users] pdb module timeouts

2011-02-18 Thread marius zbihlei
[17348]: INFO: pdb [pdb.c:291]: got an answer in 0.202000 ms Feb 16 20:08:36 m-lab-prx-as-1 /openser/sbin/kamailio[17349]: WARNING: pdb [pdb.c:260]: exceeded timeout while waiting for response. - Show quoted text - On Wed, Feb 16, 2011 at 4:59 PM, marius zbihlei wrote: On 02/16/2011 04:47 PM

Re: [SR-Users] pdb module timeouts

2011-02-16 Thread marius zbihlei
On 02/16/2011 04:47 PM, Thomas Baumann wrote: Hello Marius, thanks a lot for submitting the patch. It works like a charm now. But to be honest I had troubles to find this patch, I just checked the daily tarball [http://sip-router.org/tarballs/sr/] and found this change. How I can get patch e

Re: [SR-Users] pdb module timeouts

2011-02-15 Thread marius zbihlei
On 02/15/2011 06:31 PM, Thomas Baumann wrote: Hello I have made a patch to 3.1(e914f97b4) . The poll() event list was not cleared when a response was received so when 2 servers responded one after the other it might block in an incorrect recv(). Can you please test with this? Marius Hello,

Re: [SR-Users] Kamailio 1.5.4 and beyond - mhomed issue under Linux

2011-02-14 Thread marius zbihlei
On 02/11/2011 09:14 PM, Sean O'Donnell wrote: Hi all, Hello Sean, I checked the GIT repository and noticed that there was a patch in forward.c for this issue. Looks like it was done 11/4/2010. Two questions: 1) Is there any reason that patch didn't make it into Kamailio 3.1.2 ? Ind

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-02-02 Thread marius zbihlei
On 02/02/2011 12:20 PM, Danny Dias wrote: Hello, I was thinking that if i store the contacts that are registered into my proxy in a database, like this: . . # - usrloc params - modparam("usrloc", "db_mode", 3) . . if (is_method("REGISTER")) { if (!save("location"))

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread marius zbihlei
On 01/27/2011 04:15 PM, Danny Dias wrote: Thanks Alex... 2011/1/27 Alex Hermann mailto:a...@speakup.nl>> On Thursday 27 January 2011, Klaus Darilion wrote: > Am 27.01.2011 11:21, schrieb Danny Dias: > > I've read some difficulty in the synchronisation of registrations because

Re: [SR-Users] Kamailio CFG file size ??

2011-01-27 Thread marius zbihlei
On 01/26/2011 10:31 PM, Jijo wrote: Hi All, is there any limitation on the size of kamailo.cfg file. When i tried to add few avp_subst, then the kamailio starts showing up the error out of package memory on receiving SIP message. If i remove those lines then everything works fine.. avp_subst i

Re: [SR-Users] SIP Recorder

2011-01-26 Thread marius zbihlei
, but a general rule would help. marius zbihlei wrote: On 01/26/2011 03:51 PM, Danny Dias wrote: Media NEVER goes through a Proxy core...the question is, how should i record conversations when the calls are all passing through a sip proxy? some lights will be enough for me :)

Re: [SR-Users] SIP Recorder

2011-01-26 Thread marius zbihlei
On 01/26/2011 03:51 PM, Danny Dias wrote: Media NEVER goes through a Proxy core...the question is, how should i record conversations when the calls are all passing through a sip proxy? some lights will be enough for me :) Hello, Use Record-Route headers to force in-dialog requests to have

Re: [SR-Users] Problem reloading carrierroute

2011-01-25 Thread marius zbihlei
used only on kamailio startup and on cr_reload_routes, and has no impact on performance. A 10-15 MB private mem size should suffice. Marius On Mon, Jan 24, 2011 at 4:27 PM, marius zbihlei wrote: On 01/24/2011 05:15 PM, Morten Isaksen wrote: Hi, Kamailio 3.0.3. Hello

Re: [SR-Users] Problem reloading carrierroute

2011-01-24 Thread marius zbihlei
On 01/24/2011 05:15 PM, Morten Isaksen wrote: Hi, Kamailio 3.0.3. Hello A few days ago we got a problem when "kamctl cr reload" was executed. Jan 24 08:50:27 sip-core-2 /usr/local/sbin/kamailio[1639]: ERROR: db_mysql [km_dbase.c:346]: no memory left Jan 24 08:50:27 sip-core-2 /usr/local

Re: [SR-Users] SIP Router 3.03 topoh

2011-01-13 Thread marius zbihlei
On 01/13/2011 02:51 AM, dotnetdub wrote: On 29 November 2010 09:33, marius zbihlei <mailto:marius.zbih...@1and1.ro>> wrote: On 11/26/2010 12:38 AM, dotne Hi Marius, Will apply tomorrow and recompile.. I don't have a dump of the attack traffic b

Re: [SR-Users] kamailio logging

2011-01-03 Thread marius zbihlei
On 01/02/2011 09:52 PM, Alex Balashov wrote: Hi Noa, Then, direct the output to a custom log file for easy viewing. Set the syslog logging facility to, say, LOG_LOCAL0, and then redirect the LOCAL0 facility in your syslog daemon to a separate file, e.g. in the case of /etc/rsyslog.conf or Debi

Re: [SR-Users] Recursive failure_route after CFNA

2010-12-21 Thread marius zbihlei
On 12/21/2010 03:22 PM, Igor Potjevlesch wrote: Hello all, I have setup a mechanism to forward outgoing calls to another gateway if the first one replies with 5xx. I have simply used ‘t_check_status’ in the failure_route. This works. But, with a CFNA it doesn’t work : the incoming call is

Re: [SR-Users] Kamailio 3.1 compile issue on Sparc Solaris 10

2010-12-09 Thread marius zbihlei
On 10/22/2010 07:15 AM, KevinJin wrote: > > AppSer01:root@/usr/local/src/kamailio-3.1.0/kamailio$ gmake Q=0 all > Makefile.defs defs skipped > > Makefile.defs defs skipped > gmake[1]: Entering directory > `/usr/local/src/kamailio-3.1.0/kamailio/modules/db_mysql' > gcc -fPIC -DPIC -g -O9 -funroll-lo

Re: [SR-Users] Kamailio 3.1 compile issue on Sparc Solaris 10

2010-12-09 Thread marius zbihlei
On 12/09/2010 08:52 AM, KevinJin wrote: > > Hi Huy, > > I can access mysql with mysql -u -p , and kamailio-3.0.4 > doesn't have the issue when I do the complile on the same server. > > Attached is the result of netstat -a > > Thanks, > Kevin > --

Re: [SR-Users] Store Source IP in DB

2010-12-07 Thread marius zbihlei
On 12/07/2010 04:20 PM, Bernhard Suttner wrote: Hi, I am using Kamailio with usrloc, nathelper and register module (and some other). All the data will be stored within a MySQL database. The contact address will be stored within the database. Is it somehow possible to store the SOURCE-IP of a

Re: [SR-Users] Error opening Kamailio's FIFO

2010-12-06 Thread marius zbihlei
On 12/06/2010 01:40 AM, Kurt Mullen wrote: Hello, I am getting this error when I try to run kamctl: ERROR: Error opening Kamailio's FIFO FIFO ERROR: Make sure you have the line 'modparam("mi_fifo", "fifo_name", "FIFO")' in your config ERROR: and also have loaded the mi_fifo module. I am a

Re: [SR-Users] When too many calls, calls does not complete, too much delay when placing calls

2010-12-02 Thread marius zbihlei
On 12/01/2010 10:33 PM, Vic Jolin wrote: Hi all, Just want to ask if anybody here has come across this problem of mine, when single call proxy is ok, but when you send more traffic to it, calls somehow get stuck, trying to make a new call it takes a lot of time and so it times out. Does any

Re: [SR-Users] VIA header x-route-tag

2010-12-01 Thread Marius Zbihlei
Hello I think you should try: $sel(@via[1].params[x-route-tag]) Marius From: alex pappas [rebel.pap...@gmail.com] Sent: Wednesday, December 01, 2010 9:09 AM To: Daniel-Constantin Mierla Cc: Marius Zbihlei; sr-users@lists.sip-router.org Subject: Re: [SR

Re: [SR-Users] VIA header x-route-tag

2010-12-01 Thread Marius Zbihlei
d that Daniel's solution is more elegant and should work for you. Marius From: alex pappas [rebel.pap...@gmail.com] Sent: Wednesday, December 01, 2010 9:15 AM To: Marius Zbihlei Cc: sr-users@lists.sip-router.org Subject: Re: [SR-Users] VIA header x-

Re: [SR-Users] VIA header x-route-tag

2010-11-30 Thread marius zbihlei
On 11/30/2010 01:58 PM, alex pappas wrote: Dear All, We have some cisco gw that they send to the Kamailio in the first invite and inside the VIA header an x-route-tag="The Gateway that the call entered". I'm trying to add this to the acc module in order to have it recorded but without suces

Re: [SR-Users] Failover with SRV records

2010-11-29 Thread marius zbihlei
On 11/29/2010 02:16 PM, Iñaki Baz Castillo wrote: 2010/11/29 marius zbihlei: Kamailio does not use ICMP replies to check if a host is reachable on a UDP sendto(). This means that ICMP port unreachable errors are not handled by K and so the same host is retried on TM retransmits

Re: [SR-Users] Failover with SRV records

2010-11-29 Thread marius zbihlei
On 11/29/2010 06:03 AM, Eric Hiller wrote: Sorry all for the second question of the night as I go through working out bugs in my setup. I want to use SRV records to loadbalance across hosts. This works great, when all the hosts listed in the SRV are up. However, I want kamailio to use the next

Re: [SR-Users] SIP Router 3.03 topoh

2010-11-29 Thread marius zbihlei
On 11/26/2010 12:38 AM, dotne Hi Marius, Will apply tomorrow and recompile.. I don't have a dump of the attack traffic but I'm sure it won't take long . . . Thanks for your assistance. Regards Brian Hello, Please check commit 29990057d8b17cf0ded395438465c6cb2c38207f on the 3.0 branch.(p

Re: [SR-Users] SIP Router 3.03 topoh

2010-11-25 Thread marius zbihlei
On 11/25/2010 07:32 PM, dotnetdub wrote: Hi Marius, I hope this is what your after! (gdb) add-symbol-file /lib/kamailio/modules/topoh.so 0xb7004000+0x1d30 add symbol table from file "/lib/kamailio/modules/topoh.so" at .text_addr = 0xb7005d30 (y or n) y

Re: [SR-Users] SIP Router 3.03 topoh

2010-11-25 Thread marius zbihlei
Also don't forget (gdb)info registers Thank you Marius Hi Marius, I hope this is what your after! (gdb) add-symbol-file /lib/kamailio/modules/topoh.so 0xb7004000+0x1d30 add symbol table from file "/lib/kamailio/modules/topoh.so" at .text_addr = 0xb7005d30 (y or n) y Rea

Re: [SR-Users] SIP Router 3.03 topoh

2010-11-25 Thread marius zbihlei
On 11/25/2010 01:31 PM, dotnetdub wrote: There are 36 section headers, starting at offset 0x17b34: Section Headers: [Nr] Name TypeAddr OffSize ES Flg Lk Inf Al [ 0] NULL 00 00 00 0 0 0 [ 1] .hash

Re: [SR-Users] SIP Router 3.03 topoh

2010-11-25 Thread marius zbihlei
On 11/25/2010 12:07 PM, marius zbihlei wrote: On 11/25/2010 12:00 PM, dotnetdub wrote: On 24 November 2010 07:10, Daniel-Constantin Mierla mailto:mico...@gmail.com>> wrote: If you don't have the mask ip to your host ip (kamailio listening ip) like Alex pointed, do you

Re: [SR-Users] SIP Router 3.03 topoh

2010-11-25 Thread marius zbihlei
On 11/25/2010 12:00 PM, dotnetdub wrote: On 24 November 2010 07:10, Daniel-Constantin Mierla > wrote: If you don't have the mask ip to your host ip (kamailio listening ip) like Alex pointed, do you have a core dump from where you can send the backtrace?

  1   2   >