Re: [SR-Users] Restart kamailio on critical error

2018-09-14 Thread Daniel-Constantin Mierla
Hello, either is a failed start of kamailio that gets blocked or something else is killing it, because the signal is 9 -- sigkill. The message from jsonrpcs is from start up, then nothing until the signal 9. If it is at startup, maybe if you run with debug=3 can give you more hints about what hap

Re: [SR-Users] Python KEMI performance

2018-09-14 Thread Daniel-Constantin Mierla
Hello, On 13.09.18 22:02, Henning Westerholt wrote: > Am Donnerstag, 13. September 2018, 18:23:25 CEST schrieb Aleksandar Sosic: >> is there anyone here that has done a performance testing measurements >> between native kamailio config file and full python kemi instance of >> kamailio? >> >> I've

Re: [SR-Users] Restart kamailio on critical error

2018-09-14 Thread Sergey Safarov
Hello Daniel Think i cannot now. This is happens under fraud scan and now scan it stoped. As workaround i check exit code of "kamcmd core.uptime". If not "0", then force restart kamailio. Sergey пт, 14 сент. 2018 г. в 11:25, Daniel-Constantin Mierla : > Hello, > > either is a failed start of kam

Re: [SR-Users] Forward SIP request between two Kamailio servers

2018-09-14 Thread Daniel Tryba
On Thu, Sep 13, 2018 at 08:19:00AM +, Nathanael Eneroth wrote: > UA1<--->KAM1<>KAM2<>UA2 > int1int1 int3 int3 > int2 int2 > > I would like KAM1 to forward all SIP requests destined to int3 via > KAM2 and vice versa. I am aware of the routing logic in > 'kam

Re: [SR-Users] DMQ - Failed to get domain

2018-09-14 Thread Charles Chance
Hi, On Wed, 12 Sep 2018 at 20:57, Daniel W. Graham wrote: > Yes, that output was from receiver. When using DB only and no DMQ, things > work fine. > > > > No, I don’t have any calls to save on receiver or register handling in > general. I was under the impression that DMQ / dmq_usrloc module han

Re: [SR-Users] Forward SIP request between two Kamailio servers

2018-09-14 Thread Gholamreza Sabery
This Medium post might also be handy: https://medium.com/@tumalevich/kamailio-registration-replication-without-dmq-65e225f9a8a7 On Fri, Sep 14, 2018 at 1:57 PM Daniel Tryba wrote: > On Thu, Sep 13, 2018 at 08:19:00AM +, Nathanael Eneroth wrote: > > UA1<--->KAM1<>KAM2<>UA2 > > int1

[SR-Users] Allow registration only for one client per AOR

2018-09-14 Thread eyas barhouk
Hello dears, I'm using kamailio devel version as an IMS (P-CSCF,S-CSCC,I-CSCF) with forking mode ,when more than one client registered with the same AOR and the servers received a call to that Aor All the clients ringing , after that one of the clients answer the call which will cause cancel m

Re: [SR-Users] Allow registration only for one client per AOR

2018-09-14 Thread Sergiu Pojoga
https://kamailio.org/docs/modules/5.1.x/modules/registrar.html#registrar.p.max_contacts On Fri, Sep 14, 2018 at 9:35 AM eyas barhouk wrote: > Hello dears, > > I'm using kamailio devel version as an IMS (P-CSCF,S-CSCC,I-CSCF) with > forking mode ,when more than one client registered with the sam

[SR-Users] Record Route Parameters

2018-09-14 Thread Duarte Rocha
Greetings, I have Kamailio as an SBC with mutiple IP's and I need to save some information in the first Invite about the routing made internally in the Kamailio. I'm thinking about adding some parameters to Record-Route and retrieve them in the Route header. Is this safe ? Can I be sure that thos

Re: [SR-Users] Record Route Parameters

2018-09-14 Thread Alex Balashov
They will not be changed by compliance user agents. In that sense it's safe. However, be mindful of the fact that these parameters can be intercepted or altered by a malicious user agent, and that adding them in multiplicity contributes to the overall size of the message. -- Sent from mobile. A

Re: [SR-Users] Forward SIP request between two Kamailio servers

2018-09-14 Thread David Villasmil
This is actually what Daniel recommended on the last bootcamp in Berlin. If X user is not registered here, forward to the other kamailio. Pretty nice trick. On Fri, Sep 14, 2018, 14:30 Gholamreza Sabery wrote: > This Medium post might also be handy: > > > https://medium.com/@tumalevich/kamailio-

Re: [SR-Users] Allow registration only for one client per AOR

2018-09-14 Thread eyas barhouk
Dear thanks for your response I'm using kamilio ims_registrar-scscf module Instead of register module So is the parameter max_contacts on thats module do the same ?? From: sr-users on behalf of Sergiu Pojoga Sent: Friday, September 14, 2018 4:44:24 PM To: Kamail

[SR-Users] maxbuffer value

2018-09-14 Thread Dmitri Savolainen
Hi. Does anybody know what kamailio core maxbuffer parameter means? And is there any conjunction with system net.core.rmem_max parameter? Doc is obscure for me "The size in bytes not to be exceeded during the auto-probing procedure of descovering the maximum buffer size for receiving UDP messag

[SR-Users] kamailio installable on stretch?

2018-09-14 Thread David Villasmil
Hello guys, is kamailio from deb http://deb.kamailio.org/kamailio51 stretch main deb-src http://deb.kamailio.org/kamailio51 stretch main Installable on debain stretch? I'm getting: # apt-get install kamailio kamailio-xmlrpc-modules kamailio-mysql-modules Reading package lists... Done Bu

[SR-Users] Record-Route Parameters

2018-09-14 Thread Duarte Rocha
Greetings, My Kamailio has 2 IP's and, as such, it will generate two Record-Routes when the Request is relayed. I want to add one parameter to one of the Record Routes and another parameter to the other Record-Route. However, if i use add_rr_param() it will automatically add the parameters to the

Re: [SR-Users] Allow registration only for one client per AOR

2018-09-14 Thread Henning Westerholt
Am Freitag, 14. September 2018, 16:03:33 CEST schrieb eyas barhouk: > Dear thanks for your response > I'm using kamilio ims_registrar-scscf module Instead of register module > > So is the parameter max_contacts on thats module do the same ?? Hello, it seems it does. I am not an expert for this I

Re: [SR-Users] maxbuffer value

2018-09-14 Thread Henning Westerholt
Am Freitag, 14. September 2018, 16:59:23 CEST schrieb Dmitri Savolainen: > Does anybody know what kamailio core maxbuffer parameter means? > And is there any conjunction with system net.core.rmem_max parameter? > > Doc is obscure for me > "The size in bytes not to be exceeded during the auto-pro

Re: [SR-Users] kamailio installable on stretch?

2018-09-14 Thread Joel Serrano
Hi David, Are you sure you have your repos setup correctly? Check https://packages.debian.org/stable/libs/libreadline7 Example direct link for amd64: http://ftp.us.debian.org/debian/pool/main/r/readline/libreadline7_7.0-3_amd64.deb But you should definitely be able to install via APT. Joel.

[SR-Users] kamailio installable on stretch?

2018-09-14 Thread David Villasmil Govea
Hello guys, is kamailio from deb http://deb.kamailio.org/kamailio51 stretch main deb-src http://deb.kamailio.org/kamailio51 stretch main Installable on debain stretch? I'm getting: # apt-get install kamailio kamailio-xmlrpc-modules kamailio-mysql-modules Reading package lists... Done Bu

[SR-Users] Daemon won't start

2018-09-14 Thread hexhaxtron
Hi! I did this tutorial: https://sonnguyen.ws/install-kamailio-debianubuntu/ When I try to start the daemon I get: # systemctl start kamailio Job for kamailio.service failed because the control process exited with error code. See "systemctl status kamailio.service" and "journalctl -xe" for detai

Re: [SR-Users] Record Route Parameters

2018-09-14 Thread Mojtaba
Hi, As Alex mentioned, "they will not be changed by comaliance UA", But be notice that if you want to relay your request to other network, and these is a SBC on upstream networks, These parameters could be removed by them, As in your Kamailio as SBC, you remove all record_route, and add its IP as r

Re: [SR-Users] Record-Route Parameters

2018-09-14 Thread Mojtaba
Let me know do you need to add all IP's of kamailio in Record_Routes ? of course you need it when using cross-protocol forwarding. If you needed, you should add them by re-writing headers directly, else you could work with "enable_double_rr" parameter, to add one Record_Route in header. With Regard