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

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

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

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

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!

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

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

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

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

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:

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

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,

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::

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

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_

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

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

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

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

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

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

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/

Re: [SR-Users] Kamailio parse failed message

2017-01-20 Thread Daniel-Constantin Mierla
On 19/01/2017 22:56, Daniel-Constantin Mierla wrote: > > Hello, > > > On 19/01/2017 10:48, Hai Bui Duc Ha wrote: >> Hi Daniel, >> >> Thank you for reply. >> >> On Tue, Jan 17, 2017 at 6:05 PM, Daniel-Constantin Mierla >> mailto:mico...@gmail.com>> wrote: >> >> Hello, >> >> apparently I

Re: [SR-Users] Kamailio parse failed message

2017-01-19 Thread Daniel-Constantin Mierla
Hello, On 19/01/2017 10:48, Hai Bui Duc Ha wrote: > Hi Daniel, > > Thank you for reply. > > On Tue, Jan 17, 2017 at 6:05 PM, Daniel-Constantin Mierla > mailto:mico...@gmail.com>> wrote: > > Hello, > > apparently I missed the follow ups on this discussion, dragged in > by other topic

Re: [SR-Users] Kamailio not processing SIP TCP

2017-01-19 Thread Daniel-Constantin Mierla
The receive queue is empty, so either the kernel is no putting the traffic there or kamailio consume it. Is this box in the same subnet as initial target? Is it having the same IP as the initial target of the packets? If I anot wrong, tcp mirroring is a bit more tricky and restrictive in what has

Re: [SR-Users] Kamailio not processing SIP TCP

2017-01-19 Thread JR Richardson
root@homer02:~# netstat -altp Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp0 0 homer02.x.xxx:sip*:* LISTEN 16018/kamailio tcp0 0 homer02.x.xxx:5066 *:* L

Re: [SR-Users] Kamailio parse failed message

2017-01-19 Thread Hai Bui Duc Ha
Hi Daniel, Thank you for reply. On Tue, Jan 17, 2017 at 6:05 PM, Daniel-Constantin Mierla wrote: > Hello, > > apparently I missed the follow ups on this discussion, dragged in by other > topics on mailing list. > Can you get the pcap with all the traffic taken on kamailio server for the > call

Re: [SR-Users] Kamailio not processing SIP TCP

2017-01-18 Thread Daniel-Constantin Mierla
If you use netstat, what is in the recv queue for tcp packets on sip ports? netstat -altp Cheers, Daniel On 18/01/2017 16:43, JR Richardson wrote: > Yes, this is a sipcapture node. I'm listening on a switch port that is > set to mirror my VoIP traffic. I see all SIP UDP/TCP packets on the > mir

Re: [SR-Users] Kamailio not processing SIP TCP

2017-01-18 Thread JR Richardson
Yes, this is a sipcapture node. I'm listening on a switch port that is set to mirror my VoIP traffic. I see all SIP UDP/TCP packets on the mirror port and the Ethernet port of the host node. Just don't see any TCP packets process in kamailio, debug 3. UDP packets are processed as expected. My conf

Re: [SR-Users] Kamailio not processing SIP TCP

2017-01-17 Thread Daniel-Constantin Mierla
Somehow is not clear for me how you have the configuration there ... before commenting further, this needs to be clarified. The node you presented the config is a sipcapture instance, right? What is sending traffic to it? Is another kamailio with siptrace module? Or the sipcature agent? Or you hav

Re: [SR-Users] Kamailio not processing SIP TCP

2017-01-17 Thread JR Richardson
> On Mon, Jan 16, 2017 at 10:29:39AM -0600, JR Richardson wrote: >> Yes, I'm familiar with the methods sipcapture uses, I don't use HEP, >> using raw socket capture, I think this may be a sipcapture issue, >> debuging kamailio shows normal startup and processing of UDP SIP >> packets, but does not

Re: [SR-Users] Kamailio parse failed message

2017-01-17 Thread Daniel-Constantin Mierla
Hello, apparently I missed the follow ups on this discussion, dragged in by other topics on mailing list. Can you get the pcap with all the traffic taken on kamailio server for the call (from initial invite to the end of the call)? I expect that content length is mismatching or there is a '\0' in

Re: [SR-Users] Kamailio not processing SIP TCP

2017-01-16 Thread Daniel Tryba
On Mon, Jan 16, 2017 at 10:29:39AM -0600, JR Richardson wrote: > Yes, I'm familiar with the methods sipcapture uses, I don't use HEP, > using raw socket capture, I think this may be a sipcapture issue, > debuging kamailio shows normal startup and processing of UDP SIP > packets, but does not show a

Re: [SR-Users] Kamailio not processing SIP TCP

2017-01-16 Thread JR Richardson
Hey Daniel, Yes, I'm familiar with the methods sipcapture uses, I don't use HEP, using raw socket capture, I think this may be a sipcapture issue, debuging kamailio shows normal startup and processing of UDP SIP packets, but does not show any activity with TCP packets. I have enabled/disabled the

Re: [SR-Users] Kamailio not processing SIP TCP

2017-01-16 Thread Daniel-Constantin Mierla
Hello, is it this about a sipcature node? If yes, then it receives the packets over HEP, meaning that is not going to the normal processing path. Kamailio detects it is not a SIP packet, executes some callbacks for non-sip packets registered by modules (in this case sipcapture). The module detecti

Re: [SR-Users] Kamailio segfault on TM module

2017-01-16 Thread Daniel-Constantin Mierla
Hello, try to see if you get anything with addr2line tool as suggested at: - http://stackoverflow.com/questions/2549214/interpreting-segfault-messages Cheers, Daniel On 13/01/2017 16:45, José Seabra wrote: > Hi there, > I have noticed a segfault on my kamailio server but as i have > coredump

Re: [SR-Users] Kamailio not processing SIP TCP

2017-01-13 Thread Fred Posner
What happens when you try: modparam("sipcapture", "hep_capture_on", 1) On 01/13/2017 10:33 AM, JR Richardson wrote: > Iptables is not blocking, but it was worth a check. > > Thanks. > > JR > > > I assume you have ruled out firewall? It's something that can nab even > experienced people: > >

Re: [SR-Users] Kamailio not processing SIP TCP

2017-01-13 Thread JR Richardson
Iptables is not blocking, but it was worth a check. Thanks. JR I assume you have ruled out firewall? It's something that can nab even experienced people: # iptables -Ln -- Alex On Thu, Jan 12, 2017 at 03:25:27PM -0600, JR Richardson wrote: > Hi All, > > Just enabled SIP TCP on a homer capt

Re: [SR-Users] Kamailio not processing SIP TCP

2017-01-12 Thread Alex Balashov
I assume you have ruled out firewall? It's something that can nab even experienced people: # iptables -Ln -- Alex On Thu, Jan 12, 2017 at 03:25:27PM -0600, JR Richardson wrote: > Hi All, > > Just enabled SIP TCP on a homer capture server, I can see the SIP TCP > Sessions on the server with ngr

Re: [SR-Users] Kamailio and default paramenters to a specific gatewyc - FIXED

2017-01-11 Thread Laura
Another thing.. better you all add a string like this.. if ($avp(lcr_tag)!=$null && $(avp(lcr_tag){s.len}) > 5) The problem is that if u have an empty field on the tag.. or just NULL , you will add a simple . inside of the INVITE.. but this is a problem for the message of course..

Re: [SR-Users] Kamailio and default paramenters to a specific gatewyc - FIXED

2017-01-11 Thread Daniel-Constantin Mierla
On 10/01/2017 15:53, Laura wrote: > Dear all, > > don't forget to add the same strings on failure_route ;) Still using a branch route, but armed from failure_route before t_relay() should work as well. Cheers, Daniel > > Cheers > Laura > > > Il 10/01/17 14:41, Laura ha scritto: >> >> Dear Dani

Re: [SR-Users] Kamailio and default paramenters to a specific gatewy

2017-01-11 Thread Daniel-Constantin Mierla
Hello, you need to rearm the execution of the branch route when re-routing to a gateway. Cheers, Daniel On 10/01/2017 14:41, Laura wrote: > > Dear Daniel and list.. > > a very strange situation.. why this parameters is valid on the first > gw only inside the lcr.. > > if i add differents string

Re: [SR-Users] Kamailio and default paramenters to a specific gatewyc - FIXED

2017-01-10 Thread Laura
Dear all, don't forget to add the same strings on failure_route ;) Cheers Laura Il 10/01/17 14:41, Laura ha scritto: Dear Daniel and list.. a very strange situation.. why this parameters is valid on the first gw only inside the lcr.. if i add differents string on 2 gateways... and the ca

Re: [SR-Users] Kamailio and default paramenters to a specific gatewy

2017-01-10 Thread Laura
Dear Daniel and list.. a very strange situation.. why this parameters is valid on the first gw only inside the lcr.. if i add differents string on 2 gateways... and the call is goind on both of them.. i see the parameter added to invite only on the fist gw... Cheers Laura Il 10/01/17 14:3

Re: [SR-Users] Kamailio and default paramenters to a specific gatewy

2017-01-10 Thread Daniel-Constantin Mierla
Hello! Welcome and thanks for providing back details about the solution in the config file. I am sure it will help others with similar needs in the future. As further hints, the value in the tag column can be more complex, storing more than information about the extra headers, just use a format t

Re: [SR-Users] Kamailio and default paramenters to a specific gatewy

2017-01-10 Thread Anthony Joseph Messina
On Tuesday, January 10, 2017 10:51:30 AM CST Laura wrote: > Dear all, > > I'm using kamailio 4.3.6 and LCR modules.. i was wondering if it was > possibile to add some special paramenter to all call sent to a specific > gateway. > > I was try to use the " params" field on lcr_gw table but it's not

Re: [SR-Users] Kamailio and default paramenters to a specific gatewy

2017-01-10 Thread Laura
Dear Daniel, thanks for your idea.. for anyone need it on their config.. on branch_route[MANAGE_BRANCH] ... if ($avp(lcr_tag)!=$null) { #!ifdef WITH_XLOG xlog("L_INFO","BRANCH_ROUTE: lcr_tag: $avp(lcr_tag) -> add field on INVITE\n"); #!endif append_hf("$avp(lcr_tag)\r\n")

Re: [SR-Users] Kamailio and default paramenters to a specific gatewy

2017-01-10 Thread Daniel-Constantin Mierla
Hello, afaik the params column stores the parameters for request URI. You are looking to add extra headers. One option is to leverage on tag column -- its value should be returned in a variable inside kamailio.cfg. There you can test the value and if it has a specific value, then you can add the

Re: [SR-Users] Kamailio parse failed message

2017-01-08 Thread Hai Bui Duc Ha
Hi all, You have any idea ? Thank you very much in advance! Regards, Hai Bui On Fri, Jan 6, 2017 at 9:39 AM, Hai Bui Duc Ha wrote: > Hello Daniel, > > Thank for reply ! > > do you have the pcap for such message? > > Here is the message, I capture via Wireshark on client: > *Session Initiation

  1   2   3   4   5   6   7   8   9   10   >