[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] [sr-dev] Planning Kamailio v5.0.1

2017-03-28 Thread Olle E. Johansson
> On 28 Mar 2017, at 09:40, Daniel-Constantin Mierla wrote: > > Hello, > > I am considering to release Kamailio v5.0.1 sometime next week, likely > on Wednesday, April 5, 2017. Should anyone be aware of issues not listed > yet on bug tracker, report them there as soon as possible to try to fix.

Re: [SR-Users] Transaction-persistent data and uac_req_send()

2017-02-20 Thread Olle E. Johansson
> On 20 Feb 2017, at 20:40, Alex Balashov wrote: > > Hello, > > I am using uac_req_send() to send INVITEs to a redirect server. However, > upon receiving the redirect, I need access to some state information > that was last available at the time of sending the request. > > Does uac_req_send()

Re: [SR-Users] Event when acc is written?

2017-01-25 Thread Olle E. Johansson
You could check the dialog module that already has an event_route executed when a call ends. /O > On 25 Jan 2017, at 15:45, Tobias wrote: > > Hi Daniel, > > Thanks. Can you point me to a good example of how this is implemented in > another module, perhaps I could then add it myself to acc? >

Re: [SR-Users] FOSDEM 2017

2017-01-25 Thread Olle E. Johansson
> On 25 Jan 2017, at 12:52, Victor Seva > wrote: > > El 24 ene. 2017 15:05, "Daniel-Constantin Mierla" > escribió: > Hello, > > anyone else interested in having a dinner event at Fosdem? > > > I'll be there and I would love to join. Sounds like a great idea! /O___

Re: [SR-Users] Kamailio cancel branch only after receiving replies

2017-01-05 Thread Olle E. Johansson
> On 03 Jan 2017, at 09:20, Daniel-Constantin Mierla wrote: > > Hello, > this is the behaviour required by rfc, to send cancel only after receiving a > provisional reply 1xx. Which is the only way - before that point we don’t know if any SIP-capable software has gotten the INVITE and the INVIT

[SR-Users] Merry Christmas to all Kamailians

2016-12-23 Thread Olle E. Johansson
Friends, Trying to calm down and prepare for Christmas with the family. It’s been another great year for Kamailio and I’m proud to be part of the Kamailio development community. We’ve made great releases, had a great conference and overall done good stuff :-) For all of you that celebrate Chr

Re: [SR-Users] DTMF Using INFO

2016-12-12 Thread Olle E. Johansson
> On 12 Dec 2016, at 13:00, Nahum Nir wrote: > > Thanks Olle. My cfg does not even has INFO anywhere. Will appreciate very > much an example. Why don’t you test? Only special cases are mentioned and INFO in dialog is handled as any in-dialog message. /O > > On 11 Dec 2

Re: [SR-Users] DTMF Using INFO

2016-12-11 Thread Olle E. Johansson
> On 11 Dec 2016, at 08:20, Nahum Nir wrote: > > :) Thanks, any hints/examples? The standard kamailio konfiguration supports it by default. /O > > On Sat, Dec 10, 2016 at 10:41 PM, Alex Balashov > wrote: > On Sat, Dec 10, 2016 at 09:07:09PM +0200, Nahum Nir w

Re: [SR-Users] Out of memory in UB 210: OOM killed process 12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB

2016-11-07 Thread Olle E. Johansson
I think we need to update the Make system instead of the docs to avoid this version. Or implement some code like we have for OpenSSL that outputs warnings at runtime. /O > On 07 Nov 2016, at 10:42, Jurijs Ivolga wrote: > > Hi Daniel, > > I found modules what are impacted by this leak: > > ht

Re: [SR-Users] Kamailio script config - Generate Documentation

2016-10-20 Thread Olle E. Johansson
I imagine that you could use tools like Doxygen for this. Doxygen is something we use in Kamailio to create developer docs - web pages that explains variables, functions and takes data from comments with a special syntax. Here’s one example: http://rpm.kamailio.org/doxygen/sip-router/branch/mast

Re: [SR-Users] Kamailio - DMQ dns srv Question

2016-10-11 Thread Olle E. Johansson
> On 11 Oct 2016, at 09:46, José Seabra wrote: > > Hi Charles, > Sorry for my late reply. > I have tried that parameter but seems that for the dmq FQDN kamailio doesn't > send a NAPTR query. > Even for the SRV query, the kamailio makes it without service > associated(_sip._udp). > We should p

Re: [SR-Users] REGISTER between Kamailio 4.4 and Asterisk 13

2016-09-26 Thread Olle E. Johansson
> On 26 Sep 2016, at 15:53, Grant Bagdasarian wrote: > > Hello, > > We’re trying to get our Asterisk test server to REGISTER with Kamailio. > The first attempts are ok, but once the nonce timer is exceeded Kamailio > starts rejecting the REGISTER requests from Asterisk, due to the nonce bein

Re: [SR-Users] Load balancing with Kamailio

2016-09-26 Thread Olle E. Johansson
> On 26 Sep 2016, at 12:15, NITESH BANSAL wrote: > > > > > > > Hello, > > I'm planning on doing some smart load balancing with Kamailio. > We have a distributed network, with multiple Kamailio boxes in different > locations serving as Ingress SBC, > these Kamailio boxes are the entry po

Re: [SR-Users] Kamailio fails to start when MySQL down

2016-09-16 Thread Olle E. Johansson
> On 16 Sep 2016, at 11:46, Daniel Pocock wrote: > > > > I recently set up a Kamailio instance using the default configuration > for HOMER with MySQL[1] > > The database was not running and Kamailio refused to start. > > Would it be better for Kamailio to start anyway and go into a loop > tr

Re: [SR-Users] deb.kamailio.org down?

2016-09-06 Thread Olle E. Johansson
> On 06 Sep 2016, at 13:56, Victor Seva > wrote: > > deb.kamailio.org is back online Victor - I’ll take this opportunity to say Thank You for your work with this server! /O ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list

Re: [SR-Users] Stress Testing

2016-08-16 Thread Olle E. Johansson
> On 16 Aug 2016, at 16:26, Jack Stevens wrote: > > Hi Guys, > > I have been stress testing my Kamailio box but I am unable to get it upto > 2000 concurrent calls it starts to fall over at 1300 have you got any ideas > on how I can increase the performance of kamilio btw I am also using rtpe

Re: [SR-Users] t_set_fr() different behavior whether transport is udp or tcp

2016-08-16 Thread Olle E. Johansson
> On 16 Aug 2016, at 11:41, Daniel Tryba wrote: > > I'm seeing a different behavior of t_set_fr depending on transports. Which is correct. UDP is connectionless and thus SIP has timers for retransmits and fails when there’s no response. With connection-oriented protocols, the failure happens wh

Re: [SR-Users] Checking for 200ok Response to a REGISTER request kamailio-Asterisk

2016-07-27 Thread Olle E. Johansson
(Shooting from the hip, but let’s brainstorm just for fun :-) ) I would consider not saving the incoming REGISTER in the Kamailio location database, notfork it but replicate or forward twice to the ASterisk servers. Keep a counter - maybe in a hash table - and when the first 200 ok come in, rai

Re: [SR-Users] Checking for 200ok Response to a REGISTER request kamailio-Asterisk

2016-07-27 Thread Olle E. Johansson
> On 27 Jul 2016, at 14:01, Jonathan Hunter wrote: > > > Hi Guys, > > So currently on our network we have a kamailio server which users register > against, we then replicate the register messages to 2 Asterisk boxes sat > behind it so that all entities are aware of the registration state of

Re: [SR-Users] Detect 200 OK for ReINVITE

2016-07-12 Thread Olle E. Johansson
> On 12 Jul 2016, at 15:18, Grant Bagdasarian wrote: > > Hi, > > Is it possible in Kamailio, or SIP in general, to detect if a 200 OK is for a > ReINVITE? > Not from the 200 OK, but the matching INVITE you can check if there’s a to-tag in Kamailio and SIP. In Kamailio, if you are stateful

Re: [SR-Users] Kamailio compact headers ?!

2016-07-06 Thread Olle E. Johansson
> On 06 Jul 2016, at 11:38, Alex Balashov wrote: > > Stefan, > > The construction of headers is generally the province of the UAs/endpoints of > the call. Kamailio understands compact headers, as all compliant SIP stacks > do, but it can't singlehandedly reformat them. I think the question

Re: [SR-Users] Kamailio compact headers ?!

2016-07-06 Thread Olle E. Johansson
> On 06 Jul 2016, at 11:36, Anonim Stefan wrote: > > Hi, > > Is there a parameter to be enabled such that Kamailio will append headers in > compacted form? (I'm thinking of Via: and Record-Route:) Just curious - why would you need that? /O ___ SIP

[SR-Users] Kamailio summer-of-documentation - join the effort

2016-07-06 Thread Olle E. Johansson
Hi! Looking for a summer-of-documentation project? Which README is the best? Which one is so full of Swedish that you totally fail to parse it? Check our documentation pages, suggest improvements on the mailing lists (or here on Facebook) and give us feedback! This is something you can spend

Re: [SR-Users] Simple Kamailio configuration for Asterisk load balancing?

2016-07-06 Thread Olle E. Johansson
> On 05 Jul 2016, at 19:36, Tickling Contest wrote: > > Hello, > > I am beginning to front my Asterisk cluster with Kamailio and so far my > biggest issue is the complete lack of quick-start-like documentation for > this. Is there any place I can get a very simple HA configuration (telling me

Re: [SR-Users] Documentation DMQ module

2016-06-29 Thread Olle E. Johansson
> On 29 Jun 2016, at 11:29, Jan Hazenberg wrote: > > Hi, > > Found a error in the documentation of the DMQ module > (http://kamailio.org/docs/modules/devel/modules/dmq.html#dmq.p.num_workers). > > In the documentation there is a example: > > modparam("dmq", "num_threads", 4) > > If i'm corr

Re: [SR-Users] Kamailio Iterate All Headers

2016-06-27 Thread Olle E. Johansson
> On 26 Jun 2016, at 22:29, Colin Morelli wrote: > > Hey all, > > Back with more questions. > > I'm using Kamailio to make an HTTP call to my API to perform authentication > and message routing. Currently, I'm trying to build up the post body that I > send to my API to make those decisions.

Re: [SR-Users] Kamailio ERROR "Address already in use" in tcp_init().

2016-06-19 Thread Olle E. Johansson
> On 20 Jun 2016, at 04:32, joey@yulong.com wrote: > > 0(3834) ERROR: [tcp_main.c:2790]: tcp_init(): bind(a, 0x2b7d245f0f6c, > 16) on 127.0.0.1:5060 : Address already in use Kamailio could not listen to the localhost socket - are you running some other SIP application on the same machine?

Re: [SR-Users] Kamailio dispatcher module - keep alives

2016-06-17 Thread Olle E. Johansson
> On 16 Jun 2016, at 18:10, José Seabra wrote: > > Hello there, > > I have a Kamailio server using dispatcher module to monitor several peers, > some of them are in the same network, others are in an external network, for > the peers that are in the external network kamailio has to send the

Re: [SR-Users] http_client module configuring User-Agent

2016-06-16 Thread Olle E. Johansson
> On 16 Jun 2016, at 12:05, Jurijs Ivolga wrote: > > Hi All, > > I tried today new module http_client. I just made GET request using > http_client_query in following way: > > http_client_query("http://cool.api.com ", > "$var(result)"); > > It is working, but I can't s

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-14 Thread Olle E. Johansson
> On 14 Jun 2016, at 15:45, José Seabra wrote: > > Hello, > > Regarding to this implementation, I'm sending SIP Subscribe message from > uac_req_send function to CNAM server but it is unavailable and Kamailio > doesn't receive any reply from CNAM server, What I'm noticing is that > kamailio

Re: [SR-Users] forward calls from kamailio(RTPengine) to FREESWITCH

2016-06-09 Thread Olle E. Johansson
> On 09 Jun 2016, at 13:27, Ankitt Sharma wrote: > > hello > > i am using using kamailio + RTPengine in my setup and i want to forward every > single call to freeswitch(for recording purpose), In that case you can remove RTPengine from the mix, as I am pretty sure FreeSwitch can handle symmet

Re: [SR-Users] Nonce extract from SIP Meesage

2016-05-30 Thread Olle E. Johansson
> On 30 May 2016, at 15:40, Sergio Serrano wrote: > > Hi all, > > I just try integrate Kamailio with external software and We > want taht kamailio doesn't authenticate users. I want that the > autehtication process would be done by external software. I want To > receive a REGISTER for a

Re: [SR-Users] Kamailio not sending reply

2016-05-26 Thread Olle E. Johansson
> On 26 May 2016, at 18:47, Jeremy Betts wrote: > > Hello, > > I'm having an issue where kamailio is not sending the failure reply as I > would expect when receiving calls from a certain provider. Kamailio sends the > 403 response on calls from other providers. The big difference I see is tha

Re: [SR-Users] Kamailio Client-Server

2016-05-02 Thread Olle E. Johansson
> On 02 May 2016, at 17:01, Shiv Patidar wrote: > > hiii > 1.We are writing our own SIP Client to test my Client i am using Kamailio > server > 2. So i am trying to map the identities used between Client and Server > 3. If can possible can u please help me to the steps has to be follower to >

Re: [SR-Users] Extracting P-Asserted-Identity value

2016-04-11 Thread Olle E. Johansson
> On 11 Apr 2016, at 12:35, Grant Bagdasarian wrote: > > Hi Daniel, > > I used the regexp sub, and it works! > > If anyone is interested, here is the code: > >$var(p_asserted_identity) = > $(hdr(P-Asserted-Identity)[*]); >

Re: [SR-Users] Kamailio 4.3.4: receive_msg(): no via found in reply

2016-04-04 Thread Olle E. Johansson
> On 04 Apr 2016, at 10:02, Grant Bagdasarian wrote: > > Hi Daniel, > > You mentioned below about this issue not being complaint with the RFC. > Our supplier is telling us this is normal behavior and that they went through > the RFC and found this was normal behavior. > > If it’s not too mu

Re: [SR-Users] Multiple SIP-servers with SRV-records and authentication secrets

2016-04-04 Thread Olle E. Johansson
> On 03 Apr 2016, at 18:09, Alfred E. Heggestad wrote: > > Dear SIP-experts and DNS-SRV gurus; > > > I have some questions to the deployers of SER/Kamailio and > best current practice for multiple SIP-servers with SRV-records > and authentication. This is not a question about Kamailio itself >

Re: [SR-Users] Kamailio 4.3.4: receive_msg(): no via found in reply

2016-04-04 Thread Olle E. Johansson
> On 04 Apr 2016, at 10:02, Grant Bagdasarian wrote: > > Hi Daniel, > > You mentioned below about this issue not being complaint with the RFC. > Our supplier is telling us this is normal behavior and that they went through > the RFC and found this was normal behavior. > > If it’s not too mu

Re: [SR-Users] Multiple Registrations - Overwrite oldest contact

2016-04-03 Thread Olle E. Johansson
> On 01 Apr 2016, at 22:37, Bruno Emer wrote: > > Now, I have just one more question about my scenario: when I register a user, > is there a way to create something like a "custom field" on the location? To > explain better: If possible, I can add something like a custom header that > says if

Re: [SR-Users] Multiple Registrations - Overwrite oldest contact

2016-04-01 Thread Olle E. Johansson
That requires a bit more of reading the same doc page, but I still think you can do it. Run reg_fetch_contacts and check how many you have. Loop through them and unregister by the ruri (id) of the one that expires first if you have too many. We’ve made this function to make the location databas

Re: [SR-Users] Multiple Registrations - Overwrite oldest contact

2016-04-01 Thread Olle E. Johansson
> On 01 Apr 2016, at 22:07, Bruno Emer wrote: > > Hello, Olle! > > Thanks for your help in this case, and don't worry about the time (actually I > wasn't even expecting to get an answer today). > > I know the max_contacts parameter. But the problem is that if I set the > max_contacts to 2, w

Re: [SR-Users] Multiple Registrations - Overwrite oldest contact

2016-04-01 Thread Olle E. Johansson
> On 01 Apr 2016, at 21:59, Olle E. Johansson wrote: > > >> On 01 Apr 2016, at 21:31, Bruno Emer > <mailto:brunoe...@gmail.com>> wrote: >> >> Hello all. >> >> I have problem here and I tried to find a solution and search over internet,

Re: [SR-Users] Multiple Registrations - Overwrite oldest contact

2016-04-01 Thread Olle E. Johansson
> On 01 Apr 2016, at 21:31, Bruno Emer wrote: > > Hello all. > > I have problem here and I tried to find a solution and search over internet, > but without success. > > My scenario is the following: I have an application that must be registered > in Kamailio when a user logs in the web inter

Re: [SR-Users] change the to_tag on send_reply() or sl_send_reply()

2016-03-01 Thread Olle E. Johansson
> On 01 Mar 2016, at 16:29, Uri Shacked wrote: > > Hi, > > Is i possible to control the to_tag when i send my own stateless reply from > kamailio. Why would you want to do that? Curious. I did however lack the capability of accessing the Kamailioi defined to-tag in the scripts. Maybe we sho

Re: [SR-Users] db_cluster.so module and kamctlrc DBHOST= field

2016-02-17 Thread Olle E. Johansson
> On 15 Feb 2016, at 22:32, Derek Bolichowski wrote: > > Hi there, > > New user to Kamailio here. We currently have it up and running in a > virtualized environment with 1 Kamailio sever, 1 Asterisk server and 1 MySQL > server. > > I’m currently writing install scripts to make deploying ne

Re: [SR-Users] Reg: REGISTER request don't have username in request line

2016-02-11 Thread Olle E. Johansson
> On 11 Feb 2016, at 13:22, > wrote: > > One more thing observed from logs here is REGISTER request don’t have > username (username is not there in request line), > Please check RFC 3261. A register r-uri is a domain or a server, not a username based URI. /O smime.p7s Description: S/MIM

Re: [SR-Users] Kamailio Social Event at Fosdem 2016

2016-01-27 Thread Olle E. Johansson
> On 27 Jan 2016, at 10:47, Daniel-Constantin Mierla wrote: > > Hello, > > only few days left, so we need to nail the location down for Kamailio > dinner at Fosdem. Which day do you suggest? > > One suggestion in walking distance is: > > - http://restaurant-italien-picotin-bruxelles.be/en >

Re: [SR-Users] [sr-dev] RFC: removing (disabling) fork=no

2016-01-20 Thread Olle E. Johansson
> On 20 Jan 2016, at 09:19, Daniel-Constantin Mierla wrote: > > Hello, > > wondering if anyone is using fork=no -- some old docs suggest it is > suitable for debugging, but actually kamailio doesn't work properly in > this mode, leading to more troubles than benefits (e.g., having reports > of

Re: [SR-Users] SIP Trunking using Kamailio IMS

2016-01-19 Thread Olle E. Johansson
> On 19 Jan 2016, at 10:57, indranil chowdhury wrote: > > Hello, > > Is SIP trunking possible with the free version of Kamailio or we need to > upgrade > to business license? There is only one version, the free business version :-) > > Kindly get back to us with the details of using SIP tru

Re: [SR-Users] Configure Kamailio to generate OPTIONS

2015-12-28 Thread Olle E. Johansson
> On 28 Dec 2015, at 09:51, Mititelu Stefan wrote: > > Hello, > > What is the simplest way to configure Kamailio to generate periodical OPTIONS > to the caller, for an established dialog? > > Can you give me some starting references? > > To be SIP correct, a proxy may not insert any transac

Re: [SR-Users] crash on using http_query when response is 200

2015-12-07 Thread Olle E. Johansson
Please post this on the issue tracker. I also get crashes, but they’re not like this. /Olle > On 07 Dec 2015, at 15:54, Jayesh Nambiar wrote: > > Hi, > I'm using http_query to send a post request on a https URL. The weird part is > it crashes with segmentation fault when the response from th

Re: [SR-Users] SNMPstats dialog 0

2015-11-30 Thread Olle E. Johansson
Must be something in how the SNMP module reads the data from the statistics counters. Please open a bug report and we’ll look into this. /O > On 30 Nov 2015, at 10:25, Igor Potjevlesch wrote: > > Hello, > > Do you know what could be the solution? > > Thanks, > > Regards, > > 2015-11-25 10:

Re: [SR-Users] q-value on unsupported clients

2015-11-05 Thread Olle E. Johansson
> On 05 Nov 2015, at 10:15, Daniel Tryba wrote: > >> Based on the xlog output, the following doesn't appear to be working - >> remove_hf("Contact"); >> append_hf("Contact: $var(newct)\r\n"); >> >> I've actually had a similar issue before replacing a hdr so I'm wondering if >> I'm doing somethin

Re: [SR-Users] Avoid multiple registration

2015-11-03 Thread Olle E. Johansson
> On 03 Nov 2015, at 11:29, Marino Mileti wrote: > > I would like to avoid multiple registration with the same AOR... > I know that there's a parameter for this (max_contacts) but if I set it to 1, > all REGISTER overwrite location info. > > Instead i would like to reply with error if a REGIS

Re: [SR-Users] Implementation of RFC 5393

2015-10-21 Thread Olle E. Johansson
> On 21 Oct 2015, at 14:51, Guillaume wrote: > > But why don't you implement this feature after your demo at kamailio world? > Do you think it's useless at the end? I have it implemented, but in a routing script. It’s not useless, but not the full function. You need to be able to reuse breadt

Re: [SR-Users] Implementation of RFC 5393

2015-10-21 Thread Olle E. Johansson
> On 21 Oct 2015, at 14:09, Daniel-Constantin Mierla wrote: > > Hello, > > checking the IP in the Via headers can be done in config file using a while > loop: > > $var(i) = 0; > > while($(hdr(Via)[$var(i)])!=$null) { ># use transformations to extract the IP in $(hdr(Via)[$var(i)]) and te

Re: [SR-Users] Sending ReINVITE from Kamailio

2015-10-21 Thread Olle E. Johansson
> On 21 Oct 2015, at 09:27, ycaner wrote: > > Hello; > I think Dialog module can do it with ka_timer. take a look please. > in addition , if you want to know call is still up , check the RTP session. > if there isn't Rtp session , so call is hung up. Asterisk can listen rtp > packet and then i

Re: [SR-Users] Sending ReINVITE from Kamailio

2015-10-21 Thread Olle E. Johansson
> On 21 Oct 2015, at 08:31, Grant Bagdasarian wrote: > > Hello, > > Is it possible to have Kamailio send a ReINVITE every X minutes to determine > if a session is still active? > I know it’s a proxy and doesn’t have B2BUA capabilities, but there was a > module which allowed Kamailio to gener

Re: [SR-Users] kamailio cfg file with user db authentication and rtpproxy

2015-10-18 Thread Olle E. Johansson
> On 18 Oct 2015, at 12:53, amar Smart Telecom wrote: > > Dear all, > > Can you pls mail me a working Kamailio cfg file which has: > “Sip user db authentication” and “rtpproxy for all calls” > You can look for consultants that will do this for pay on the web site or ask on the business mail

[SR-Users] Capturing Kamailio retransmissions in routing script

2015-10-13 Thread Olle E. Johansson
Hi! Is there a simple way to log outbound retransmissions by tm in the routing script? I would like to be able to see retransmissions. /O ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http:

Re: [SR-Users] Familiar topic about Kamailio with Asterisk behind NAT

2015-09-30 Thread Olle E. Johansson
> On 30 Sep 2015, at 11:10, Daniel Tryba wrote: > > On Wednesday 30 September 2015 10:22:51 Dirk Teurlings - SIGNET B.V. wrote: >> CLIENTS <-> (NAT) <-> INTERNET <-> KAMAILIO(4.2.5) with >> RTPPROXY(v1) <-> PRIVATE LAN <-> ASTERISK (v1.8) > >> I'm kind of stuck as to where I need to fix th

Re: [SR-Users] Wrong Call-ID and tags in response to OPTIONS

2015-08-10 Thread Olle E. Johansson
> On 10 Aug 2015, at 11:19, Jean-Marie Baran wrote: > > By the way, is it normal that I had to change the code to have Kamailio > accept OPTIONS messages, or did I miss a config somewhere ? It’s the normal way. You are in full control of handling of SIP messages - requests and responses. Nothi

Re: [SR-Users] VIA header question.

2015-08-04 Thread Olle E. Johansson
> On 04 Aug 2015, at 13:14, Chad wrote: > > Hi list, > I need a little help, I am a business owner trying to get Kamailio up and > running as a SIP load balancer. > I hired a Kamailio consultant to help me do so, but Kamailio is not working > and I am getting conflicting information. > > My K

Re: [SR-Users] Dispatcher module number of calls

2015-07-23 Thread Olle E. Johansson
The best way is to let the server you send the calls to decide when it has too many calls. It has all the states needed and should be able to block the call with an error response, preferrably in the 5xx range. Asterisk chan_sip will do this if you set maxcalls in asterisk.conf. I don’t rememb

Re: [SR-Users] Nat Detect does not work with GS Phones

2015-07-14 Thread Olle E. Johansson
> On 14 Jul 2015, at 11:56, Alberto Sagredo > wrote: > > I have found an issue detecting NAT of GS 1.4.23 Phones when using Stun on > this phones If they activate STUN they signal with a public IP. If they signal with a public IP, they tell us they can handle NAT by themself and require no h

Re: [SR-Users] Kamailio multiple registration

2015-07-06 Thread Olle E. Johansson
I quite frequently use good ol' Asterisk to generate - and maintain - a large number of registrations. This is quite useful to be able to test overflow handling and other peaks in traffic. /O On 06 Jul 2015, at 09:31, Alberto Sagredo wrote: > Hi Fadi > > As Daniel and Loic commented . > >

Re: [SR-Users] modules.lst

2015-07-05 Thread Olle E. Johansson
On 05 Jul 2015, at 21:24, Joseph Zimmer wrote: > /usr/local/lib/kamailio//kamctl/kamdbctl.mysql: line 71: mysql: command not > found If you haven't got mysql installed, it's hard to create a database. /O___ SIP Express Router (SER) and Kamailio (Ope

Re: [SR-Users] Measuring subscriber latency

2015-04-29 Thread Olle E. Johansson
On 29 Apr 2015, at 10:04, Daniel-Constantin Mierla wrote: > Hello, > > On 28/04/15 20:42, Jon Bonilla (Manwe) wrote: >> Hi all >> >> I'm replacing an Asterisk based system with a kamailio based one. One of the >> features the legacy system has is showing the subscriber the latency obtained >>

Re: [SR-Users] Shared location database used by independend kamailios

2015-04-14 Thread Olle E. Johansson
On 14 Apr 2015, at 17:06, Daniel Tryba wrote: > Is there an easy way to figure out on which server a uac is registered when > using a shared database (modparam("usrloc", "db_mode", 3)). > > When uac1 is registered on server1 (dns srv loadbalancing) and uac2 is on > server2. A call from uac1 t

Re: [SR-Users] Kamailio LDAP authentication

2015-04-11 Thread Olle E. Johansson
On 10 Apr 2015, at 09:23, Marek Moravcik wrote: > Hello, > > I'd like to authenticate Kamailio users in LDAP. But it looks like > Kamailio need to download password from LDAP and authenticate > user on it's own. Is there any possibility to send password to LDAP > and let LDAP to say, if the use

Re: [SR-Users] [sr-dev] Announcement: Kamailio is now systemd-rtc-server

2015-04-02 Thread Olle E. Johansson
On 01 Apr 2015, at 10:31, Daniel-Constantin Mierla wrote: > Given it is a rather technical community around here, I would expected a > bit of engineering approach when announcing the achievement. Shortly, > here are some of the facts. > > Any interaction with or inside systemd is now *simple*,

Re: [SR-Users] keep Kamailio running

2015-03-31 Thread Olle E. Johansson
On 31 Mar 2015, at 11:11, Mihaly Zachar wrote: > Hi All, > > > As far as I can see if a child dies due to segmentation fault Kamailio > stops all the childs and it exits. > > Is there a possibility to change this behaviour to a kind of "respawn > the child" way ? > > What do you think is the

Re: [SR-Users] Reload htable

2015-03-28 Thread Olle E. Johansson
On 27 Mar 2015, at 14:50, Alex Balashov wrote: > This command is not exposed within the route script. This is a fairly common > situation with modules; some "meta" functionality like this that is available > externally (via MI, RPC, etc.) is not available within the route script. http://kamail

Re: [SR-Users] Kamailio BLF Issue TCP vs UDP

2015-03-27 Thread Olle E. Johansson
On 26 Mar 2015, at 23:33, Fred Posner wrote: > Subscription-State: terminated;reason=noresource. THis header in the TCP example should tell you something. FreeSwitch is telling you that something has gone wrong with your subscription request. /O ___

Re: [SR-Users] kamailio asterisk NOTIFY

2015-03-24 Thread Olle E. Johansson
On 23 Mar 2015, at 23:42, Alex Balashov wrote: > Anthony, > > The Contact presented by the subscriber in the initial subscription is: > > m: "Test User" > ;+sip.ice > > And the subsequent NOTIFY is correctly targeted to this RURI: > > NOTIFY > sip:172.16.4.7;line=sr-D8G7CE2.5PUeK-xuarl

Re: [SR-Users] What is the best SIP trunk authentication strategy

2015-03-23 Thread Olle E. Johansson
On 19 Mar 2015, at 18:38, canuck15 wrote: > It looks like auth_check() will work. It seems intelligent enough to scan all > instances of the same domain as long as the username is unique so that should > get things working. > > The problem here is that there is a fundamental difference betwee

Re: [SR-Users] Hardware config to run 1000 Kamailio TLS users

2015-03-20 Thread Olle E. Johansson
This is an interesting discussion. " • on a 32-bit machine with 4GB of memory and with 2.5GB reserved for SIP server, the server could support 43 000 simultaneous TLS connections – consumed energy 209W" http://www.kamailio.org/w/2011/05/green-voip-energy-efficiency-and-performaces-of-v3-

Re: [SR-Users] PKG and Shared Memory statistics

2015-03-16 Thread Olle E. Johansson
On 16 Mar 2015, at 16:37, Dirk Teurlings Signet B.V. wrote: > Hi, > > We'd like to be able to get statistics of the used amount of memory in > Kamailio. > > # kamctl stats shmem > > The above command only tells us what the shared memory is doing. Is there any > way to get the committed siz

Re: [SR-Users] Redirect server for load balancing and HA

2015-03-15 Thread Olle E. Johansson
On 13 Mar 2015, at 20:34, Daniel Tryba wrote: > On Fri, Mar 13, 2015 at 08:16:50PM +0100, Olle E. Johansson wrote: >>> Cumbersome, why not just use some custom headers (stored in >>> usr_preferences)? >> There are settings you can't set from the dialplan, but

Re: [SR-Users] Redirect server for load balancing and HA

2015-03-13 Thread Olle E. Johansson
On 13 Mar 2015, at 18:45, Daniel Tryba wrote: > On Friday 13 March 2015 17:14:31 Olle E. Johansson wrote: >>> I'd love to find out why this is the case. I would have estimated 9 out of >>> 10 people need to fine-tune DTMF + codec settings in Asterisk. >> The most

Re: [SR-Users] Redirect server for load balancing and HA

2015-03-13 Thread Olle E. Johansson
On 13 Mar 2015, at 16:39, Markus wrote: > Hi Daniel, > > Am 13.03.2015 um 09:47 schrieb Daniel-Constantin Mierla: >> Can asterisk make some decision on headers? IIRC, someone was mentioning >> at some point to use Remote-Party-ID (could be now P-Asserted-Identity) >> header to match on a specif

Re: [SR-Users] Regd. Kamailio GPL

2015-03-11 Thread Olle E. Johansson
On 11 Mar 2015, at 10:13, Daniel Tryba wrote: > On Tuesday 10 March 2015 14:52:22 Shankar wrote: >> We are exploring kamailio source for use in our VOIP solution. This is the >> first time we are looking at open source. We have few doubts in using >> kamailio for providing our VOIP service. Unde

Re: [SR-Users] kamailio 4.2.3 Segmentation fault when using db_cluster module

2015-03-09 Thread Olle E. Johansson
On 09 Mar 2015, at 17:16, Jan Hazenberg wrote: > Hello, > > I have a issue on kamailio 4.2.3 when using the db_cluster module. I have the > following config: > > #!define DBURL "cluster://cls1" > > # - db_cluster params - > modparam("db_cluster", "connection", > "con1=>my

Re: [SR-Users] Help with 407 Proxy Auth. Required

2015-03-09 Thread Olle E. Johansson
On 09 Mar 2015, at 15:07, Agiftel wrote: > Hi all, i cannot understand where is the problem with this transaction: > > Kamailio ask for Proxy authorization and in the second INVITE credentials > are present. > Can you help me understand? This is typical - it happens when the password is wrong e

Re: [SR-Users] Group call advice: remove calling branch after alias_db_lookup/lookup_branches

2015-03-07 Thread Olle E. Johansson
On 07 Mar 2015, at 15:20, Anthony Messina wrote: > So far, I've been trying out the following which seems to work OK for online > subscribers, but not as well when a "group" call member is a DAHDI phone > routed from/to Asterisk. Yeah, the asterisk usage of contacts is not a good thing here. /O

Re: [SR-Users] Group call advice: remove calling branch after alias_db_lookup/lookup_branches

2015-03-07 Thread Olle E. Johansson
On 07 Mar 2015, at 01:32, Anthony Messina wrote: > In terms of implementing "group" calling via the append_branch feature of > both > alias_db_lookup followed by lookup_branches, I'm looking for a reliable way > to > ensure that if the caller happens to be a member of the group (list of > b

Re: [SR-Users] Registrations/TCP (new topic)

2015-02-27 Thread Olle E. Johansson
On 27 Feb 2015, at 09:53, Sebastian Damm wrote: > Actually, it's the latter. Our current high availability setup reilies on > anycast. And with TCP, this would mean a huge change in our setup. > That is in fact an interesting topic. Can you please elaborate a bit more on this as I would like

Re: [SR-Users] Keeping Registrations alive in IPv6 scenarios

2015-02-27 Thread Olle E. Johansson
On 27 Feb 2015, at 09:04, Sebastian Damm wrote: > Hi, > > while testing IPv6 with customers, we fell over quite a few cases, where > customers aren't reachable on inbound calls most of the time. And digging > into this, we found the home router firewall as the cause for those problems. > > N

Re: [SR-Users] Keeping Registrations alive in IPv6 scenarios

2015-02-27 Thread Olle E. Johansson
On 27 Feb 2015, at 09:07, Juha Heinanen wrote: > Sebastian Damm writes: > >> Does anyone have a hint, how to keep the IPv6 registrations alive? Thanks >> in advance. > > use tcp. What is the problem? There is no need for any keep-alived in IPv6. /O __

Re: [SR-Users] kamailio asterisk

2015-02-26 Thread Olle E. Johansson
On 25 Feb 2015, at 19:24, Slava Bendersky wrote: > Feb 25 13:13:00 canlvprx01 kamailio: 3(5051) DEBUG: > [parser/msg_parser.c:192]: get_hdr_field(): DEBUG: to body > [ > > This is clearly not a valid sip uri. /O___ SIP Express Router (SER) and Ka

Re: [SR-Users] Kamailio Security Policy - How to handle vulnerability reports

2015-02-25 Thread Olle E. Johansson
On 25 Feb 2015, at 18:56, Daniel Tryba wrote: > On Wednesday 25 February 2015 18:14:06 Olle E. Johansson wrote: >> Thank you for the feedback! > > BTW the Yes to is this a good thing ment: this is a really good idea to have > in writing. But you still have to rely on the bug

Re: [SR-Users] Kamailio Security Policy - How to handle vulnerability reports

2015-02-25 Thread Olle E. Johansson
On 25 Feb 2015, at 17:24, Daniel Tryba wrote: > On Wednesday 25 February 2015 16:14:43 Olle E. Johansson wrote: >> http://www.kamailio.org/wiki/securitypolicy >> >> >> We encourage your feedback! >> >> - Is this a good thing for the project? > &g

[SR-Users] Kamailio Security Policy - How to handle vulnerability reports

2015-02-25 Thread Olle E. Johansson
Hello Kamailians! During our last developer meeting, we had a discussion about implementing a security policy for the project. I drafted a proposal that seemed fine with the developer team. At this point, I'm looking for your feedback. The proposal is short and brief at this point, we'll learn

Re: [SR-Users] Re-invites from carrier breaks the call

2015-02-19 Thread Olle E. Johansson
On 19 Feb 2015, at 15:44, Michael Young wrote: > Some carriers require session timers -- even if you refuse them in > Asterisk\Freeswitch\etc, the call will disconnect when the timer fires off. > I wouldn't rely on this as a possible solution in this situation. > The standard is written in a wa

Re: [SR-Users] kamailio asterisk

2015-02-19 Thread Olle E. Johansson
We also need to check the core file from the crash. /O On 19 Feb 2015, at 09:30, Daniel-Constantin Mierla wrote: > Hello, > > can you send the REGISTER request received by kamailio and your config to me? > > As you receive it over TLS, you can get the register by adding the next line > in kam

Re: [SR-Users] Kamailio and rtpengine

2015-02-14 Thread Olle E. Johansson
On 13 Feb 2015, at 20:07, Richard Fuchs wrote: > Load balancing is achieved by running a hash over the call-id and using > the hash value to determine which RTP proxy from the selected set to > use. The hash ensures that everything related to the same call ends up > on the same RTP proxy, which

Re: [SR-Users] Unable to route outbound with multiple VRRP IP's

2015-02-13 Thread Olle E. Johansson
On 13 Feb 2015, at 09:48, wrote: > Hi, > > I am trying to install a Kamailio server in a HA configuration, with IP's for > 3 attached networks. I am using Keepalived/VRRP to manage the VIP's. I have > tested v 4.1.6 and latest 4.2.2 > > I have 3 x listen entries, one for each network an

Re: [SR-Users] Facing kamailio issue

2015-02-10 Thread Olle E. Johansson
On 09 Feb 2015, at 17:36, taha zafar wrote: > Dear Kamailo team, > > I am facing problem in connecting kamailio on TLS, even kamailio is listening > perfectly. TLS certificate are also tested. To get help more quickly, it would really help if you pointed out the problem better. "facing proble

Re: [SR-Users] How to install kamailio-4.2.2 in DEBIAN -7.1.0

2015-02-05 Thread Olle E. Johansson
On 06 Feb 2015, at 00:33, Fred Posner wrote: > On 02/05/2015 06:18 PM, Yanko Marín Muro wrote: >> Hello: >> >> How to install kamailio-4.2.2 in DEBIAN -7.1.0-amd64? >> >> This URL is the last version: >> http://www.kamailio.org/pub/kamailio/4.2.2/src/kamailio-4.2.2_src.tar.gz >> >> Best regar

  1   2   3   4   5   >