Re: [SR-Users] switch kamailio to domain

2014-08-22 Thread Daniel-Constantin Mierla
Hello, if you want to handle the domain.com on the SIP server but the IP of that domain is pointing elsewhere, just add in kamailio.cfg: alias=domain.com An alternative is to use domain module (suitable when you have many domains and you want to store them in database). Cheers, Daniel On

Re: [SR-Users] switch kamailio to domain

2014-08-22 Thread Mihai Marin
Hello Daniel, Thank you for your answer. I managed to fix 20 minutes ago but the issue (I think) is in the RLS module. I had to add outbound_proxy and change the server_address parameters for the RLS to the real domain that ponts to kamailio. Previous (when this was not working) I had modparam("rl

Re: [SR-Users] switch kamailio to domain

2014-08-22 Thread Daniel-Constantin Mierla
Hello, rls shouldn't do any dns query internally (I haven't really checked the code, but I don't see a reason for it) -- all dns things (including srv) are done at relaying time by core and tm module. On the other hand, kamailio needs to know what are the local domains (which domains are to

[SR-Users] Help analysing segmentation fault

2014-08-22 Thread Charles Chance
Hi All, I wonder if some one could help me to diagnose a recurring issue? It happens at random times/intervals and under varying load. But always, just before the time of crash, I see the same critical error in log: CRITICAL: dialog [dlg_hash.c:841]: log_next_state_dlg(): bogus event 6 in state

Re: [SR-Users] Help analysing segmentation fault

2014-08-22 Thread Daniel-Constantin Mierla
Hello, can you try this small patch? diff --git a/modules/pua_dialoginfo/pua_dialoginfo.c b/modules/pua_dialoginfo/pua_dialoginfo.c index 1e88a04..0f02b2b 100644 --- a/modules/pua_dialoginfo/pua_dialoginfo.c +++ b/modules/pua_dialoginfo/pua_dialoginfo.c @@ -347,7 +347,7 @@ struct str_list* get

Re: [SR-Users] Help analysing segmentation fault

2014-08-22 Thread Charles Chance
Thanks, Daniel. It can be hours, days or weeks between occurrences, but I will report back after a day or two initially then continue to monitor. Cheers, Charles On 22 Aug 2014 12:18, "Daniel-Constantin Mierla" wrote: > Hello, > > can you try this small patch? > > diff --git a/modules/pua_d

[SR-Users] rfc: distributing dialog profiles

2014-08-22 Thread Daniel-Constantin Mierla
Hello, if you are on sr-dev list, you should have seen the last commits to dialog module, which add support for remote profiles. As most of you know (or at least the users of dialog module), profiles are used to group active calls, their main purposes being counting dialogs belonging to a pr

Re: [SR-Users] [sr-dev] rfc: distributing dialog profiles

2014-08-22 Thread Alex Hermann
On Friday 22 August 2014 16:52:59 Daniel-Constantin Mierla wrote: > The next step is to build the notification system between kamailio > instances. There are couple of options, as well as questions, that I > want to discuss before going to implement the mechanism. There are two > major aspects t

Re: [SR-Users] [sr-dev] rfc: distributing dialog profiles

2014-08-22 Thread Charles Chance
Hi, On 22 August 2014 16:46, Alex Hermann wrote: > On Friday 22 August 2014 16:52:59 Daniel-Constantin Mierla wrote: > > The next step is to build the notification system between kamailio > > instances. There are couple of options, as well as questions, that I > > want to discuss before going to

[SR-Users] NAT problem?

2014-08-22 Thread Wiel Maessen
Hello, I am a newbie for Kamailio: I installed it on my Ubuntu server yesterday. Now I am running the server it seems that the client cannot be answered. In tcpdump I see that the call to port 5060 on the server is reached by the client, but the answer from the server is not: [..] ICMP xx.yy

Re: [SR-Users] rtpengine upgrade fails

2014-08-22 Thread Juha Heinanen
Juha Heinanen writes: > Should dependency on ngcp-rtpengine-kernel-dkms be added to > ngcp-rtpengine-daemon in control file? I tried and dist-upgrade worked fine when ngcp-rtpengine-daemon depends on ngcp-rtpengine-kernel-dkms. dist-upgrade didn't try to restart deamon before dkms install comple