Re: [SR-Users] Kamailio 5.0 can't get version of the RTP proxy

2017-04-10 Thread Yebe diomande Keffa
-Constantin Mierla Répondre à : , "Kamailio (SER) - Users Mailing List" Date : lundi 10 avril 2017 à 09:42 À : "Kamailio (SER) - Users Mailing List" Objet : Re: [SR-Users] Kamailio 5.0 can't get version of the RTP proxy iirc, with that log message the rtpproxy is

Re: [SR-Users] Kamailio 5.0 can't get version of the RTP proxy

2017-04-10 Thread Daniel-Constantin Mierla
iirc, with that log message the rtpproxy is not starting if you don't provide the -u or -F parameter. The netstat shows only kamailio as application, no rtpproxy. See if rtpproxy is in the process running table, like: ps -auxw | grep -i rtpproxy Cheers, Daniel On 10.04.17 11:21, Yebe diomande

Re: [SR-Users] Kamailio 5.0 can't get version of the RTP proxy

2017-04-10 Thread Yebe diomande Keffa
YES, i think rtpproxy is running root@ns3033789:/usr/local/src/kamailio-5.0/rtpproxy# netstat -np | grep 7722 udp0 0 127.0.0.1:43042 127.0.0.1:7722 ESTABLISHED 13084/kamailio udp0 0 127.0.0.1:38992 127.0.0.1:7722 ESTABLISHED 13062/ka

Re: [SR-Users] Kamailio 5.0 can't get version of the RTP proxy

2017-04-10 Thread Alex Balashov
Have you ascertained that rtpproxy is actually running after you start it? On Mon, Apr 10, 2017 at 09:00:44AM +, Yebe diomande Keffa wrote: > Hello > > Getting this issu on Kamaiio 5.0 ( install from GIT): > Apr 10 10:47:42 ns3033789 /usr/local/sbin/kamailio[11496]: WARNING: rtpproxy > [rtp

[SR-Users] Kamailio 5.0 can't get version of the RTP proxy

2017-04-10 Thread Yebe diomande Keffa
Hello Getting this issu on Kamaiio 5.0 ( install from GIT): Apr 10 10:47:42 ns3033789 /usr/local/sbin/kamailio[11496]: WARNING: rtpproxy [rtpproxy.c:1366]: rtpp_test(): can't get version of the RTP proxy Apr 10 10:47:42 ns3033789 /usr/local/sbin/kamailio[11488]: WARNING: rtpproxy [rtpproxy.c:140

Re: [SR-Users] Kamailio 5.0 doesn't forward Authorization (Digest username) to Asterisk

2017-04-06 Thread Daniel-Constantin Mierla
Hello, I am not sure I got the proper picture of what do you want to achieve. Do you want to authenticate the registration twice, once by kamailio and second by asterisk? Cheers, Daniel On 03.04.17 01:05, Marko Tirs wrote: > Hello all, > > I am trying to use Kamailio 5.0 with Asterisk (separate

[SR-Users] Kamailio v5.0.1 Released

2017-04-05 Thread Daniel-Constantin Mierla
Hello, Kamailio SIP Server v5.0.1 stable release is out! This is a maintenance release of the latest stable branch, 5.0, that includes fixes since the release of v5.0.0. There is no change to database schema or configuration language structure that you have to do on previous installations of v5.0

Re: [SR-Users] Kamailio 5.0.0 KEMI Lua event routes

2017-04-05 Thread Daniel-Constantin Mierla
Hello, execution of event routes for kemi was added. You have to use master branch for now. Anyhow, I expect that maybe some functions from this modules were not yet exported to kemi -- if you give the list of the functions you use in your config from this modules, I will add them. Cheers, Danie

Re: [SR-Users] Kamailio Issue

2017-04-05 Thread Daniel-Constantin Mierla
Hello, On 03.04.17 22:15, 노형균 wrote: > Hello all, I’m newbie to Kamailio and I’m having problem with installation. > I tried to install Kamailio through > > '/usr/local/sbin/kamdbctl create’ but it showed error that database engine > not specified. > > When I checked the kamctlrc file, the DBENG

Re: [SR-Users] Kamailio database fail

2017-04-05 Thread Daniel-Constantin Mierla
Hello, On 03.04.17 22:53, 노형균 wrote: > Hello all, I’m having problem again. > After solving DBENGINE=MYSQL, I’ve been asked to type password but still get > this message. > I’ve tried to install mysql-server but it showed the same. when you install mysql-server you have to set the password, not

Re: [SR-Users] Kamailio 5.0.0 KEMI Lua event routes

2017-04-04 Thread José Seabra
Hello Daniel, Thanks a lot for you help. I will start testing it for Dispatcher and Dialog. Thank you for your great job. Regards 2017-04-04 16:29 GMT+01:00 Daniel-Constantin Mierla : > Hello, > > On 01.04.17 15:43, José Seabra wrote: > > Hi all, > > > > I'm starting using kamailio 5 and was try

Re: [SR-Users] Kamailio 5.0.0 KEMI Lua event routes

2017-04-04 Thread Daniel-Constantin Mierla
Hello, On 01.04.17 15:43, José Seabra wrote: > Hi all, > > I'm starting using kamailio 5 and was trying to convert my actual > routing scripts to new KEMI interface using Lua. > In my old script i'm using event routes for the evapi, dialog and > dispatcher modules, so i was wondering how can i

[SR-Users] Kamailio database fail

2017-04-03 Thread 노형균
Hello all, I’m having problem again. After solving DBENGINE=MYSQL, I’ve been asked to type password but still get this message. I’ve tried to install mysql-server but it showed the same. What am I missing here? root@ubuntu:/home/parallels# kamdbctl create MySQL password for root: INFO: test serv

Re: [SR-Users] Kamailio Issue

2017-04-03 Thread David Villasmil
Make sure kamdbctl is really using kamctlrc, I've had situations where is was trying to use it from a different path... On Mon, Apr 3, 2017 at 10:16 PM 노형균 wrote: > Hello all, I’m newbie to Kamailio and I’m having problem with installation. > I tried to install Kamailio through > > '/usr/local/sb

[SR-Users] Kamailio Issue

2017-04-03 Thread 노형균
Hello all, I’m newbie to Kamailio and I’m having problem with installation. I tried to install Kamailio through '/usr/local/sbin/kamdbctl create’ but it showed error that database engine not specified. When I checked the kamctlrc file, the DBENGINE was already MYSQL. (DBENGINE=MYSQL) What am I

Re: [SR-Users] Kamailio 6.0 architecture

2017-04-03 Thread Daniel-Constantin Mierla
I though that the last decision was to make the core a kernel module and use systemd-dbus for inter-module API -- have you fetched latest specs from CVS repo? Daniel On 01.04.17 12:25, Olle E. Johansson wrote: > Dear Kamailians! > > We got news for you! The Kamailio 6.0 architecture is finalised!

[SR-Users] Kamailio 5.0 doesn't forward Authorization (Digest username) to Asterisk

2017-04-02 Thread Marko Tirs
Hello all, I am trying to use Kamailio 5.0 with Asterisk (separate IP addresses, both port 5060), but Asterisk doesn't register the SIP clients which comes through Kamailio.If I register the same user directly to the Asterisk then it works! 1st REGISTER is also without Authorization (Digest name

[SR-Users] Kamailio 5.0.0 KEMI Lua event routes

2017-04-01 Thread José Seabra
Hi all, I'm starting using kamailio 5 and was trying to convert my actual routing scripts to new KEMI interface using Lua. In my old script i'm using event routes for the evapi, dialog and dispatcher modules, so i was wondering how can i use it on KEMI. It exports some special Lua function to t

Re: [SR-Users] Kamailio 6.0 architecture

2017-04-01 Thread Annus Fictus
I love this 1st April Solution... :) Good News. El 01/04/2017 a las 05:25, Olle E. Johansson escribió: Dear Kamailians! We got news for you! The Kamailio 6.0 architecture is finalised! It's something we've been working on for a long time in the project team and you've already seen part of i

[SR-Users] Kamailio 6.0 architecture

2017-04-01 Thread Olle E. Johansson
Dear Kamailians! We got news for you! The Kamailio 6.0 architecture is finalised! It's something we've been working on for a long time in the project team and you've already seen part of it in the recent Kamailio 5 release - the KEMI interface for LUA. We've realised that we have too many modul

Re: [SR-Users] Kamailio Registration load Issue

2017-03-28 Thread SamyGo
Hi, Interesting to know that AWS has PPS limitation. Found this article to be useful : http://techblog.cloudperf.net/2016/05/2-million-packets-per-second-on-public.html Regards, Sammy On Tue, Mar 28, 2017 at 3:37 AM, Daniel-Constantin Mierla wrote: > Hello, > > besides Alex' suggestion to loo

Re: [SR-Users] kamailio 4.4.1 crash on bad sip response

2017-03-28 Thread David Escartín Almudévar
hello Daniel yes yes i understood. thanks a lot david El mar, 28-03-2017 a las 13:44 +0200, Daniel-Constantin Mierla escribió: > Hello, > > it is already backported to branch 4.4 -- I said that you can use > latest 4.4 branch from git -- backporting was only if you want to > still use 4.4.1

Re: [SR-Users] kamailio 4.4.1 crash on bad sip response

2017-03-28 Thread Daniel-Constantin Mierla
Hello, it is already backported to branch 4.4 -- I said that you can use latest 4.4 branch from git -- backporting was only if you want to still use 4.4.1 snapshot + this patch. Therefore next release in 4.4 series will have it as well. Cheers, Daniel On 28/03/2017 13:42, David Escartín Almudé

Re: [SR-Users] kamailio 4.4.1 crash on bad sip response

2017-03-28 Thread David Escartín Almudévar
hello Daniel thanks a lot. we actually will start testing 5.0 to migrate to it, but in the meantime it's great if we can patch it on the 4.4 best regards david El mar, 28-03-2017 a las 13:37 +0200, Daniel-Constantin Mierla escribió: > Hello, > > I pushed a safety checks to avoid crash in this

Re: [SR-Users] kamailio 4.4.1 crash on bad sip response

2017-03-28 Thread Daniel-Constantin Mierla
Hello, I pushed a safety checks to avoid crash in this situation. I will have to investigate deeper why it got to this state, but for now the fix should avoid this crash in a similar situation. You have to use the latest branch 4.4 or backport the patch e20b38e0084c1f89c43a921a8a2affbea060aaa5 to

Re: [SR-Users] kamailio 4.4.1 crash on bad sip response

2017-03-28 Thread David Escartín Almudévar
hello Daniel it happened only once as far as i know, i tried to duplicate by myself but i couldnt create the sipp scenario i will try to duplicate it setting the octal parameters in hex escaped by % in the SIP uris to see if i can, but i didnt have time yet in the meantime here you have the infor

Re: [SR-Users] Kamailio Registration load Issue

2017-03-28 Thread Daniel-Constantin Mierla
Hello, besides Alex' suggestion to look at AWS PPS limits, few things to take in consideration in such case: - if CPU usage is low, then if you use DNS for routing, be sure that DNS server is very responsive - if you do auth with database, be sure that database is very responsive - if you p

Re: [SR-Users] Kamailio Registration load Issue

2017-03-28 Thread Daniel-Constantin Mierla
On 27/03/2017 21:15, Alex Balashov wrote: > You might be running into semi-invisible/not widely publicised (but > definitely very real) PPS limits on given instance sizes. I assume you refer to AWS instance packets per second limits -- I was not aware of it, although I expected somehow. Has an

Re: [SR-Users] Kamailio Registration load Issue

2017-03-27 Thread Alex Balashov
On Tue, Mar 28, 2017 at 12:52:32AM +0500, Jade SZ wrote: > PS: Also thanks a lot for the great blog post on SIP server tuning. You're very welcome. Glad it proved useful to someone! -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: htt

Re: [SR-Users] Kamailio Registration load Issue

2017-03-27 Thread Jade SZ
Thanks Alex, that's a great hint. I'll check. PS: Also thanks a lot for the great blog post on SIP server tuning. On Tue, Mar 28, 2017 at 12:15 AM, Alex Balashov wrote: > You might be running into semi-invisible/not widely publicised (but > definitely very real) PPS limits on given instance si

Re: [SR-Users] Kamailio Registration load Issue

2017-03-27 Thread Alex Balashov
You might be running into semi-invisible/not widely publicised (but definitely very real) PPS limits on given instance sizes. On March 27, 2017 3:09:56 PM EDT, Jade SZ wrote: >Hi Guys, > >I am running a simple REGISTER load test on: > >1) Kamailio sever with 2 cores - mem 5G >2) Kamailio server

[SR-Users] Kamailio Registration load Issue

2017-03-27 Thread Jade SZ
Hi Guys, I am running a simple REGISTER load test on: 1) Kamailio sever with 2 cores - mem 5G 2) Kamailio server with 4 cores - mem 16G Both are EC2 instances. At -r = 500 i.e. 500 reg/sec sipP test works fine with very few re-trans. But when i increase it to 800 reg/sec it starts retransmissio

Re: [SR-Users] kamailio 4.4.1 crash on bad sip response

2017-03-27 Thread Daniel-Constantin Mierla
Hello, did it happen only once, or it can be reproduced? Can you also get from gdb: frame 6 p *name p *port Cheers, Daniel On 27/03/2017 16:43, David Escartín Almudévar wrote: > hello Daniel > > here you have > > (gdb) frame 1 > #1 0x0045b472 in _dns_hash_find (name=0x7f6906943188,

Re: [SR-Users] kamailio 4.4.1 crash on bad sip response

2017-03-27 Thread David Escartín Almudévar
hello Daniel here you have (gdb) frame 1 #1 0x0045b472 in _dns_hash_find (name=0x7f6906943188, type=1, h=0x7fff120793cc, err=0x7fff120793ac) at dns_cache.c:535 535 *h=dns_hash_no(name->s, name->len, type); (gdb) info locals e = 0x7f69069015b8 tmp = 0x7f69069247e0 ret = 0x0 no

Re: [SR-Users] kamailio 4.4.1 crash on bad sip response

2017-03-27 Thread Daniel-Constantin Mierla
Hello, the backtrace is no longer matching the 4.4 branch code, as you run an older release in that series. Can you get with gdb from the core the output of the following commands: frame 1 info locals list and send them here on the mailing list. Cheers, Daniel On 24/03/2017 14:50, David Esc

Re: [SR-Users] kamailio 4.4.1 crash on bad sip response

2017-03-24 Thread David Escartín Almudévar
hello all, Daniel checking the core with the gdb, we have checked the variables at the frames of the backtrace, to try to get the full sip message seems it seemed truncated. checking the buf variable of the frame 11 which theorically contains the sip msg to parse we have the string SIP/2.0 487 R

[SR-Users] kamailio 4.4.1 crash on bad sip response

2017-03-24 Thread David Escartín Almudévar
hello all we have experienced a crash and tracing the logs and the core, seems it was because a sip response from an endpoint. a UDP receiver (26248) crashed and the last message we see on it is a 487 quite bad formed Mar 24 01:58:02 mia-proxy-inout-1-stby /usr/local/kamailio/sbin/kamailio[26248

Re: [SR-Users] Kamailio does'nt respond to packets from specific addresses

2017-03-15 Thread Daniel-Constantin Mierla
Hello, maybe there is some IP routing mis-configuration in the server. What did you use to see that the packets arrive on the sip server system? ngrep or something similar? Cheers, Daniel On 14/03/2017 22:06, עדי ויזגן wrote: > > Hi, yes Kamailio is listening to all addresses, even the destinat

[SR-Users] Kamailio World 2017 - A selection of presentations

2017-03-15 Thread Daniel-Constantin Mierla
Hello, I would like to announce that many of the presentations at Kamailio World 2017 (May 8-10, in Berlin, Germany) are now listed at: - https://www.kamailioworld.com/k05/schedule/ Just several are not published yet, working to get all their details in place and expect to have the first draft

Re: [SR-Users] Kamailio does'nt respond to packets from specific addresses

2017-03-14 Thread עדי ויזגן
Hi, yes Kamailio is listening to all addresses, even the destination address and still no response. It is weird because it only happens with 172.. addresses. What I did for now is I put a MikroTik router between the Kamailio server and the switch, and I configured it to do src-nat and change the so

Re: [SR-Users] Kamailio does'nt respond to packets from specific addresses

2017-03-14 Thread Daniel-Constantin Mierla
Hello, is Kamailio listening on all the IP addresses you need to received the traffic? You can do: kamctl ps Also, check if you have any firewall rules blocking traffic from those IP addresses. Cheers, Daniel On 14/03/2017 11:34, עדי ויזגן wrote: > Hi everyone, > I have the following problem:

[SR-Users] Kamailio does'nt respond to packets from specific addresses

2017-03-14 Thread עדי ויזגן
Hi everyone, I have the following problem: I have a Kamailio server that is connected to several Asterisk servers for load balacing in a LAN network with the IP's of 192.168.16.X. I recently connected with another company that is supposed to send me calls through the Kamailio server. The problem is

Re: [SR-Users] Kamailio Presence help required.

2017-03-08 Thread Phil Lavin
: Re: [SR-Users] Kamailio Presence help required. Hi Phil, That did help improve the situation; but I've noticed that now when a phone boots up and sends for SUBSCRIBE its gets a NOTIFY for the request with state 'terminated' even if the other side is Online/Active. Here is

Re: [SR-Users] Kamailio Presence help required.

2017-03-08 Thread SamyGo
"override_lifetime", 14420) > > modparam("pua_dialoginfo", "callee_trying", 1) > > modparam("pua_dialoginfo", "disable_caller_publish_flag", > FLT_DISABLE_CALLER_PUBLISH) > > modparam("pua_dialoginfo", "disable_callee

[SR-Users] Kamailio push for Android VoIP Application and VoIP Contacts update

2017-03-08 Thread sscc
good day, i have a running kamailio server having 200 users. I maintain the user ids in a vcf (vCard Format) form. i have developed an Android VoIP application. Android application is given to the user along with the contact vcf. The contact list get increased day by day and consequently the user i

Re: [SR-Users] Kamailio Presence help required.

2017-03-07 Thread Phil Lavin
("pua_dialoginfo", "send_publish_flag", FLT_DLGINFO) modparam("pua_dialoginfo", "override_lifetime", 14420) modparam("pua_dialoginfo", "callee_trying", 1) modparam("pua_dialoginfo", "disable_caller_publish_flag", FL

Re: [SR-Users] Kamailio core dumped

2017-03-07 Thread Alexey V. Panfilov
Hello, Daniel! Sure, issue is here - https://github.com/kamailio/kamailio/issues/1021 Thanks! 07.03.2017 12:58, Daniel-Constantin Mierla wrote: > Hello, > > can you open an issue on bug tracker? Having it there ensure that it is > not forgotten and properly handles -- sometimes people travel a

Re: [SR-Users] Kamailio core dumped

2017-03-07 Thread Daniel-Constantin Mierla
Hello, can you open an issue on bug tracker? Having it there ensure that it is not forgotten and properly handles -- sometimes people travel and miss various messages on the mailing list. As a matter of fact for this specific case, your messages is put in spam folder for me by the gmail server and

Re: [SR-Users] Kamailio 4.2 crashed

2017-03-07 Thread Igor Potjevlesch
0 n_lst = 0x40d134 p = 0xc2 __FUNCTION__ = "main" Regards, Igor. De : Igor Potjevlesch [mailto:igor.potjevle...@gmail.com] Envoyé : vendredi 24 février 2017 11:50 À : mico...@gmail.com; 'Kamailio (SER) - Users Mailing List' Objet : RE: [

Re: [SR-Users] Kamailio core dumped

2017-03-07 Thread Alexey V. Panfilov
Hello, 01.03.2017 13:51, Alexey V. Panfilov wrote: > Hi there, > > I've kamailio 4.2.3 (i386/freebsd) which works perfectly with 200-300 > cps for years. > > Now I need migrate to freebsd amd64. I've installed kamailio 4.4.5 > (amd64/freebsd), copied kamailio.cfg, made a test call - it was all r

Re: [SR-Users] Kamailio Presence help required.

2017-03-06 Thread SamyGo
g' indicates > only different call states, but also hold more info about a call. In > 'dialog' case XML does not even has an option to indicate, that phone is > online or offline. > > Refer to *https://tools.ietf.org/html/rfc3856* > <https://tools.ietf.org/html/rfc3856> and >

Re: [SR-Users] Kamailio Presence help required.

2017-03-06 Thread Igor Olhovskiy
lists.sip-router.org] On Behalf Of > SamyGo > Sent: 06 March 2017 15:50 > To: Daniel-Constantin Mierla ; Kamailio (SER) - Users > Mailing List > Subject: Re: [SR-Users] Kamailio Presence help required. > > > > > > Thanks Daniel for replying, > > > Yes the BL

Re: [SR-Users] Kamailio Presence help required.

2017-03-06 Thread Phil Lavin
Mailing List Subject: Re: [SR-Users] Kamailio Presence help required. Thanks Daniel for replying, Yes the BLF/Callstates are working fine. Problem arise when a phone reboots and initially has no Lights indication. These are the traces from a Working old-box(not-kamailio) - Kindly guide why my

Re: [SR-Users] Kamailio Presence help required.

2017-03-06 Thread SamyGo
Thanks Daniel for replying, Yes the BLF/Callstates are working fine. Problem arise when a phone reboots and initially has no Lights indication. These are the traces from a Working old-box(not-kamailio) - Kindly guide why my Kamailio is unable to send the "immediate NOTIFY" regarding the current st

Re: [SR-Users] Kamailio Presence help required.

2017-03-05 Thread Daniel-Constantin Mierla
Hello, from your description, I don't see a problem from the specs point of view, but more like something that you would like to have. If UA subscribers only for dialog event, then it gets NOTIFY requests only for dialog states (new call, ..., termintated call). When it subscribers for presence,

[SR-Users] Kamailio Presence help required.

2017-03-03 Thread SamyGo
Hi, I'm in need of making/tweak an existing Kamailio Presence setup which is giving some tough time. *Whats already working:* BLF dialog states changes are already sent across the users. SCA is working as well. *What isn't working:* When a User comes online then it sends SUBSCRIBE with *Event: di

Re: [SR-Users] kamailio re.subst question.

2017-03-02 Thread José Seabra
Hi Daniel, Sorry, I misconfused you with Daniel Constantin :), Miconda was the who that sent that Email explaining the {line.sw,match} some time ago. Regarding with $, i will take your advice :) Once again, thank you. Best Regards José 2017-03-02 17:23 GMT+00:00 Daniel Tryba : > On Thu, Mar

Re: [SR-Users] kamailio re.subst question.

2017-03-02 Thread Daniel Tryba
On Thu, Mar 02, 2017 at 03:46:01PM +, José Seabra wrote: > I changed the way that i was trying to get it done. > > Now I'm using the {line.sw,match} ( you had already mentioned this function > on an old email), Im not that Daniel :) Or my memory starts to fail me. > to split the string by

Re: [SR-Users] kamailio re.subst question.

2017-03-02 Thread José Seabra
Hi Daniel, Just to give you feedback about the way i have implemented this. I changed the way that i was trying to get it done. Now I'm using the {line.sw,match} ( you had already mentioned this function on an old email), to split the string by line, then i apply the following regex: ^Calling-Nam

Re: [SR-Users] kamailio re.subst question.

2017-03-02 Thread José Seabra
Hi Daniel, Thank you for your hint. I will continuing investigating and try to reach my goal. Best regards José 2017-03-02 14:29 GMT+00:00 Daniel Tryba : > On Wed, Mar 01, 2017 at 04:58:00PM +, José Seabra wrote: > > #015#012Calling-Name-Status: available#015#012Calling-Name: "josé" < > > si

Re: [SR-Users] kamailio re.subst question.

2017-03-02 Thread Daniel Tryba
On Wed, Mar 01, 2017 at 04:58:00PM +, José Seabra wrote: > #015#012Calling-Name-Status: available#015#012Calling-Name: "josé" < > sip:52@10.10.10.10>#015#012Presentation-Indicator: allowed#015#012 > > The Kamailio re.subst function is constructed as the following: > > $sht(cnam=>$ci::

[SR-Users] kamailio re.subst question.

2017-03-01 Thread José Seabra
Hello There, I'm trying using the following regexp on re.subst function: (.*)Calling-Name: ?([\W|0-9A-Za-z_]{5,500} ?[<>:@.|0-9A-Za-z_]{5,500})(.*)$ And the string used for match is the following: #015#012Calling-Name-Status: available#015#012Calling-Name: "josé" < sip:52@10.10.10.10>#01

Re: [SR-Users] Kamailio -can we change 478 to 503 when dns fails?

2017-03-01 Thread José Seabra
Hello Daniel, Thank you for your help. Best Regards José 2017-03-01 14:25 GMT+00:00 Daniel-Constantin Mierla : > Hello, > > so it seems that the error happens before the transaction is created, as I > see SL in the response... > > Can you try with: > > https://www.kamailio.org/docs/modules/stab

Re: [SR-Users] Kamailio -can we change 478 to 503 when dns fails?

2017-03-01 Thread Daniel-Constantin Mierla
Hello, so it seems that the error happens before the transaction is created, as I see SL in the response... Can you try with: https://www.kamailio.org/docs/modules/stable/modules/tm.html#tm.f.t_set_disable_internal_reply before t_relay() and then catch the failure execution with if(!t_relay())

Re: [SR-Users] Kamailio -can we change 478 to 503 when dns fails?

2017-03-01 Thread José Seabra
Hi Daniel, I'm using t_relay(). Regards José 2017-03-01 14:09 GMT+00:00 Daniel-Constantin Mierla : > Hello, > > are you using forward() or t_relay() to send out? > > Cheers, > Daniel > > On 28/02/2017 12:32, José Seabra wrote: > > Hello there, > Some times dns server fails and my kamailio server

Re: [SR-Users] Kamailio -can we change 478 to 503 when dns fails?

2017-03-01 Thread Daniel-Constantin Mierla
Hello, are you using forward() or t_relay() to send out? Cheers, Daniel On 28/02/2017 12:32, José Seabra wrote: > Hello there, > Some times dns server fails and my kamailio server start replying > "Unresolvable destination (478/SL)". > > The propose of my email is to know if is there any possib

[SR-Users] Kamailio core dumped

2017-03-01 Thread Alexey V. Panfilov
Hi there, I've kamailio 4.2.3 (i386/freebsd) which works perfectly with 200-300 cps for years. Now I need migrate to freebsd amd64. I've installed kamailio 4.4.5 (amd64/freebsd), copied kamailio.cfg, made a test call - it was all right. But when I start work load (200-300 cps), kamailio core dum

[SR-Users] Kamailio -can we change 478 to 503 when dns fails?

2017-02-28 Thread José Seabra
Hello there, Some times dns server fails and my kamailio server start replying "Unresolvable destination (478/SL)". The propose of my email is to know if is there any possibility to change this reply (478) to for example one of 5XX replies. I have modparam("sl", "default_code", 503) but in situat

[SR-Users] Kamailio v5.0.0 Released - new major version is out

2017-02-27 Thread Daniel-Constantin Mierla
Kamailio v5.0.0 is out – it comes with 6 new modules and a consistent set of improvements touching more than 50 existing modules. You can read detailed release notes at: * https://www.kamailio.org/w/kamailio-v5-0-0-release-notes/ Many thanks to all developers and community members that made po

Re: [SR-Users] Kamailio 4.3.x location_attrs update issue

2017-02-24 Thread Mridul B
Thanks for the reply, Daniel. We're using db_mode: 3 modparam("usrloc", "db_mode", 3) Please let me know if you need more information. Best regards, *MRIDUL* | SOFTWARE ENGINEER Plivo, Inc. 340 Pine St, San Francisco - 94104, USA Web: www.plivo.com | Twitter: @plivo Signup for Zentrunk - Plivo

Re: [SR-Users] Kamailio 4.2 crashed

2017-02-23 Thread Daniel-Constantin Mierla
Hello, is that all the output of 'bt full'? Having just frame 0 is quite odd. Cheers, Daniel On 23/02/2017 16:44, Igor Potjevlesch wrote: > > Hello, > > > > I got two coredumps: > > (gdb) bt full > > #0 0x0061ab8e in qm_insert_free (qm=0x7f0f7fca7000, > frag=0x7f0f8f6f6268) at mem/q_

[SR-Users] Kamailio 4.2 crashed

2017-02-23 Thread Igor Potjevlesch
Hello, I got two coredumps: (gdb) bt full #0 0x0061ab8e in qm_insert_free (qm=0x7f0f7fca7000, frag=0x7f0f8f6f6268) at mem/q_malloc.c:180 f = 0x7f0f8f6c45e8 prev = 0x0 hash = 5 And (gdb) bt full #0 0x0061b935 in qm_detach_free (qm=0x7f0f7fca7000

Re: [SR-Users] kamailio memory leak in private memory

2017-02-22 Thread David Escartín Almudévar
hello Daniel we applied the change you suggested and monitored for a day and seems the free pkg memory is stable. by now we are going to leave it this way and if we have to handle with a hash in lua we will do in that way with a $var for the index thanks a lot best regards david El lun, 20-02

Re: [SR-Users] kamailio memory leak in private memory

2017-02-20 Thread Daniel-Constantin Mierla
Hello, this doesn't sound like a leak, but more like the side effect of defining a lot of variables, which use pkg memory. In order to speed up (but also avoid some situations the could end up in leaks when parsing the pv spec allocates memory), kamailio is caching the definitions of the variable

Re: [SR-Users] kamailio memory leak in private memory

2017-02-20 Thread david
hello Daniel We have been trying to isolate the issue as much as possible. At first we though that since the issue was affecting only some UDP receivers, it could be related with some customers traffic profile, but since the decreased seemed abnormally "constant", and wondering it might be related

Re: [SR-Users] Kamailio 4.4 with 2 Asterisk 13

2017-02-20 Thread Daniel-Constantin Mierla
Hello, can you share the relevant parts of your configuration file related to use of dispatcher module? Can you check again if the proper load balancing algorithm is used? Cheers, Daniel On 19/02/2017 09:56, Graham Brown wrote: > I'm trying to load balance 2 Asterisk servers with Kamailio offlo

[SR-Users] Kamailio 4.4 with 2 Asterisk 13

2017-02-19 Thread Graham Brown
I'm trying to load balance 2 Asterisk servers with Kamailio offloading the registration to Kamailio using the Asterisk real-time database tables. I have a problem with the dispatcher module, if there is a t_on_failure route it always goes into that, if I remove that then I would expect every call t

[SR-Users] Kamailio 4.3.x location_attrs update issue

2017-02-18 Thread Mridul B
Hi, We've noticed a case where the *location_attrs* table isn't updated when there's an unexpected shutdown of a SIP device (here there'll be no REGISTER message sent with expires=0). We're using Kamailio v4.3.x When the SIP device shuts down ungracefully. The location table is updated using DEL

Re: [SR-Users] kamailio memory leak in private memory

2017-02-17 Thread david
hello Daniel i forgot to specify that in the dump attached, the first lines are for the process UDP receiver carrying the traffic on an affected IP, yesterday during the test we started the kamailio only with 1 children per IP, so all the messages would have been processed by that process i see t

Re: [SR-Users] kamailio memory leak in private memory

2017-02-17 Thread david
hello DAniel we have 4.4.1 sorry we are only handling SIP calls without REGISTER messages best regards david El vie, 17-02-2017 a las 13:53 +0100, Daniel-Constantin Mierla escribió: > Hello, > > what kamailio version? > > Are registrations handled by kamailio, or is just used for calls? > >

Re: [SR-Users] kamailio memory leak in private memory

2017-02-17 Thread Daniel-Constantin Mierla
Hello, what kamailio version? Are registrations handled by kamailio, or is just used for calls? Cheers, Daniel On 17/02/2017 13:31, david wrote: > Hello all > > We are observing an issue in one kamailio proxy we use. > The consecuence of an unknow cause is that the private memory of some > UDP

[SR-Users] kamailio memory leak in private memory

2017-02-17 Thread david
Hello all We are observing an issue in one kamailio proxy we use. The consecuence of an unknow cause is that the private memory of some UDP receiver processes in where we listen from a particular IP, seems to be draining along the time while processing traffic. Quite "slowly" but maybe aroung 200K

Re: [SR-Users] Kamailio 4.2 on Debian 8 and dispatcher problem

2017-02-16 Thread Daniel Tryba
On Thu, Feb 16, 2017 at 03:02:15PM +0100, przeqpiciel wrote: > I'm trying to setup dispatcher module to working with mysql database but > when i put to kamailio.cfg below lines then kamailio wont starts. > i tried connect to mysql with credentials which you can see in mod_param > line and i co

[SR-Users] Kamailio 4.2 on Debian 8 and dispatcher problem

2017-02-16 Thread przeqpiciel
Hi, I'm trying to setup dispatcher module to working with mysql database but when i put to kamailio.cfg below lines then kamailio wont starts. loadmodule "dispatcher.so" modparam("dispatcher", "db_url", "mysql://kamailioro:kamailioro@localhost /kamailio") modparam("dispatcher", "table_name", "dis

Re: [SR-Users] kamailio with cassandra

2017-02-08 Thread Никитенко Виталий
Hi. >> Can you provide more details for what you need it,maybe we can provide some >> hints? I want to store the data of registered users (location) in the database cassandra (it would be great also dialog stored in cassandra). >>Can you provide access to a test system/vm where to try to fix it

Re: [SR-Users] kamailio with cassandra

2017-02-07 Thread Daniel-Constantin Mierla
Hello, unfortunately the module was not maintained for a while. Can you provide access to a test system/vm where to try to fix it, because I don't use it and have no platform where to test? There is another module, ndb_cassandra, depending of what you want to do, it might help. Can you provide mo

[SR-Users] kamailio with cassandra

2017-02-07 Thread Никитенко Виталий
Hi! I want start kamailio with db_cassandra. do as it written in https://www.kamailio.org/docs/modules/4.2.x/modules/db_cassandra.html. Then trying kamctl start, failed with error "table version does not exist!". From CQLSH table is view cqlsh:kamailio> Describe tables; version location cqlsh:

Re: [SR-Users] Kamailio + Asterisk with multidomain

2017-02-07 Thread Arsen
Hi Tomas, By default in asterisk all domains are accepted and sent to the default context or the context associated with the user/peer placing the call. (from sip.conf.sample) You can specify the context per domain: domain=[,] domain=customer.com,customer-context But you probably might find it e

Re: [SR-Users] Kamailio parse failed message

2017-02-07 Thread Hai Bui Duc Ha
Hi Daniel, It didn't fixed, I just send you more information about the capturing on both client and server side. Regards, Hai Bui On Tue, Feb 7, 2017 at 1:40 PM, Daniel-Constantin Mierla wrote: > Hello, > > with TCP there is no MTU. In the previous pcap you sent there was a wrong > Content-Len

[SR-Users] Kamailio + Asterisk with multidomain

2017-02-06 Thread Tomas Zanet
Hello, thanks to this guide http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb I successfully installed Asterisk 11.6 and Kamailio 4.4.4 on the same machine. Everything works fine. Right now I would like to extend this scenario adding MULTIDOMAIN support, which is not en

Re: [SR-Users] kamailio proxy behind firewall

2017-02-06 Thread Daniel-Constantin Mierla
Hello, have you set the advertise address with public for listen socket (on private ip)? Cheers, Daniel On 06/02/2017 21:25, JBF wrote: > Hello, yes, we kept TLS between kamailio and F5, and kamailio indeed have a > private address, and doesnt see the firewall public address: the only way > for

Re: [SR-Users] kamailio proxy behind firewall

2017-02-06 Thread JBF
Hello, yes, we kept TLS between kamailio and F5, and kamailio indeed have a private address, and doesnt see the firewall public address: the only way for the proxy to reply to the F5 is through the client socket opened by the F5 connection -- View this message in context: http://sip-router.10

Re: [SR-Users] Kamailio parse failed message

2017-02-06 Thread Daniel-Constantin Mierla
Hello, with TCP there is no MTU. In the previous pcap you sent there was a wrong Content-Length value. Was that fixed? Cheers, Daniel On 06/02/2017 12:24, Hai Bui Duc Ha wrote: > Hi Daniel, > > I send you the pcap files on both client and server side. > Analyse this files, I see the packet can

Re: [SR-Users] Kamailio parse failed message

2017-02-06 Thread Hai Bui Duc Ha
Hi Daniel, I send you the pcap files on both client and server side. Analyse this files, I see the packet can not "reassemble" INVITE message at server side: - At client.pcapng, it can detect 6 and 7th packets are one. - But on server.pcap, it can not "reassemble" 18 and 21st packets. I just exp

Re: [SR-Users] kamailio proxy behind firewall

2017-02-05 Thread Daniel-Constantin Mierla
Hello, is Kamailio also listening on TLS? Or is the firewall converting to UDP or TCP? Has Kamailio a private IP and only the firewall a public IP? Cheers, Daniel On 25/01/2017 17:23, JBF wrote: > Hello, > we have the following Configuration for our kamailio installation (we are > using TLS a

Re: [SR-Users] Kamailio 4.2.3-3.1 Segfaulting - Need debuginfo RPM for kamailio-4.2.3-3.1.x86_64

2017-02-05 Thread Daniel-Constantin Mierla
Hello, can you upgrade to latest 4.2.x? No changes to config or db are required. Then you should get the debuginfo rpm, but also run the version in branch 4.2 which has more fixes than 4.2.3. Cheers, Daniel On 01/02/2017 21:25, Peter DiSanto wrote: > Our Kamailio 4.2.3 recently began seg-faulti

[SR-Users] Kamailio 4.2.3-3.1 Segfaulting - Need debuginfo RPM for kamailio-4.2.3-3.1.x86_64

2017-02-01 Thread Peter DiSanto
Our Kamailio 4.2.3 recently began seg-faulting in production. I ran a bt full, but without the debuginfo I presume it isn't much use. We cannot locate the original RPMs for this version to be able to obtain the debuginfo RPM. We are running the kamailio-4.2.3-3.1.x86_64 RPM for CentOS6. Anybody

[SR-Users] kamailio proxy behind firewall

2017-01-25 Thread JBF
Hello, we have the following Configuration for our kamailio installation (we are using TLS and not udp) (1) F5 Firewall (configured as message fowarding), opening a TLS server on the outside (2) SIP proxy, with a TLS server accessed by the F5 . The SIP proxy doesnt see the F5 TLS server (3) SIP r

[SR-Users] Kamailio IMS Secure Websocket closes connection

2017-01-22 Thread Serhat Guler
Dear all, I am trying to make a call between 2 sipml5 client over WSS. Everything works fine and as expected when using WS. While using WSS, the clients are registered successfully, but when I make a call, the called party is disconnected from the network and the caller gets "User offline" message

Re: [SR-Users] Kamailio parse failed message

2017-01-22 Thread Hai Bui Duc Ha
Hi Daniel, Thank for your advice. I will capture and analyze the call log on both client and kamailio to check the packet size. Regards, Hai Bui On Fri, Jan 20, 2017 at 3:38 PM, Daniel-Constantin Mierla wrote: > > > On 19/01/2017 22:56, Daniel-Constantin Mierla wrote: > > Hello, > > On 19/01/

  1   2   3   4   5   6   7   8   9   10   >