Re: [SR-Users] Kamilio new user - help get going

2017-07-14 Thread Joel Serrano
nternet and such. > > > > Is the best approach to expose the SIP Server directly to the internet > (avoiding fw issues and nat confusion) or am I going down the wrong road > here? > > > > > > Kind regards, > > > > *From:* sr-users [mailto:sr-users-b

Re: [SR-Users] Kamilio new user - help get going

2017-07-14 Thread Joel Serrano
My 2cents: - Agree, Kamailio training makes your life easier. Specially because even if you know SIP (if you don't that complicates everything), you need to understand how Kamailio works internally, what are dialogs, transactions, branches, etc, the different route blocks, blablabla, what goes

Re: [SR-Users] dns failover and branches

2017-07-19 Thread Joel Serrano
Thanks for the info! On Wed, Jul 19, 2017 at 8:15 AM, Juha Heinanen <j...@tutpro.com> wrote: > Joel Serrano writes: > > > Just curious, in what version of Kamailio would this patch be > implemented? > > is the backport to previous versions automatic or do we have to m

Re: [SR-Users] dns failover and branches

2017-07-19 Thread Joel Serrano
Just curious, in what version of Kamailio would this patch be implemented? is the backport to previous versions automatic or do we have to manually apply and build? Cheers, Joel. On Wed, Jul 19, 2017 at 3:26 AM, Juha Heinanen wrote: > Daniel, > > After your patch, branch flags

[SR-Users] Segfault on kamailio 5.0.2. Suddenly stops processing traffic, then generates a core when restarting

2017-06-28 Thread Joel Serrano
Hi all, I'm running into a weird situation with our newly deployed Kamailio servers. These servers are only doing SSL offloading and load balancing between another set of servers. Debian v9.0 + Kamailio v5.0.2 (from kamailio50 repository). After some time of running, kamailio suddenly stops

[SR-Users] Add extra headers on HTTP requests in Kamailio v5

2017-06-29 Thread Joel Serrano
Hi all, Is there a way to add extra headers with http_client_query() from http_client module? In current http_query() from utils module, according to the doc, you can add a custom header: *4. Functions* *4.1. http_query(url, [post-data], [header-data], result)* *...* *If you want to add

Re: [SR-Users] Segfault on kamailio 5.0.2. Suddenly stops processing traffic, then generates a core when restarting

2017-06-29 Thread Joel Serrano
Thanks Daniel. Let's continue in github. Joel. On Wed, Jun 28, 2017 at 11:20 PM, Daniel-Constantin Mierla < mico...@gmail.com> wrote: > Hello, > > I answered on the github issue tracker and let's continue there. > > In short here: from the provided details, it seems to be the case when all >

Re: [SR-Users] Issue in Dialplan Module

2017-08-07 Thread Joel Serrano
Hi, (Sorry, my previous reply got blocked due to email size). Can you enable debug logs and try again, then send the logs? I tried the regex with the number 000919629897172 and it worked for me.. We must be missing something.. On Sun, Aug 6, 2017 at 11:19 PM, Logeshwaran G

Re: [SR-Users] [Freeswitch-users] Multiple FreeSWITCH servers behind kamailio-websocket

2017-06-14 Thread Joel Serrano
Hi Karsten, Have you tried with regular Kamailio (w/ dispatcher+websocket+xhttp modules)? I don't see why it wouldn't work... Joel. On Wed, Jun 7, 2017 at 4:47 AM, Karsten Horsmann wrote: > Hello List, > > > is there any howto about webrtc loadbalance in combination with

Re: [SR-Users] Debian Stretch

2017-10-02 Thread Joel Serrano
I had a similar problem and had to recompile Kamailio linked to openssl 1.0.X in debian stretch, since then, 0 issues with Tcp I know Daniel did some changes so you might want to try out latest 5.0.3? I don't know if his patches got backported to 4.X... This is the issue I had:

[SR-Users] Problem removing headers from FAILURE_ROUTE

2017-10-13 Thread Joel Serrano
Hi all, I have the following scenario: Client -> Kamailio (adds X-CallSource hdr) -> Media Server -> Kamailio (removes all "X-" headers) -> Carrier Carrier doesn't get any X- headers. All works. Now for example, if the media server replies with a non-OK status, like: Client -> Kamailio

Re: [SR-Users] Problem removing headers from FAILURE_ROUTE

2017-10-17 Thread Joel Serrano
ending out). Any ideas? Thanks, Joel. On Fri, Oct 13, 2017 at 11:35 AM, Joel Serrano <j...@gogii.net> wrote: > Hi all, > > I have the following scenario: > > > Client -> Kamailio (adds X-CallSource hdr) -> Media Server -> Kamailio > (removes all "X-" he

Re: [SR-Users] Problem removing headers from FAILURE_ROUTE

2017-10-17 Thread Joel Serrano
ot remove the headers in request_route {} ? > > Check and see where the call is uri or destination is going and add or > remove as desired? > > On Tue, Oct 17, 2017 at 12:36 PM, Joel Serrano <j...@gogii.net> wrote: > > Hi, > > > > After some research it all seems to co

Re: [SR-Users] how to add new media server in dispatcher table through "ANSIBLE"

2017-11-28 Thread Joel Serrano
What backend database are you using for Kamailio? On Tue, Nov 28, 2017 at 11:32 AM, Narayan P wrote: > Hello Experts, > > > I am new to ansible and deploying kamailio through ansible.Sucessfully > deployed kamailio but my requirement is to add media server through >

Re: [SR-Users] Flow Diagram for WebRTC Client1 => WebRTC Client2 (via Kamailio and Asterisk)

2017-12-14 Thread Joel Serrano
Hi, can you share with us the asterisk dialplan part where you call the Dial() application? On Tue, Dec 12, 2017 at 06:38 Wilkins, Steve wrote: > Hello All, > > > > I am looking for a Diagram or such that shows the flow of SIP traffic for > a WebRTC Client1 => WebRTC

Re: [SR-Users] 5.0 to 5.1 - No module matching found

2017-12-14 Thread Joel Serrano
You need to have libmaxminddb library installed. What OS are you using? If deb based: $ dpkg -l | grep maxmind If rpm based: $ rpm -qa | grep maxmind Cheers, Joel. On Thu, Dec 14, 2017 at 12:24 Daniel W. Graham wrote: > Upgraded two installs to 5.1. > >- Same cfg

Re: [SR-Users] Flow Diagram for WebRTC Client1 => WebRTC Client2 (via Kamailio and Asterisk)

2017-12-15 Thread Joel Serrano
: Client1 calls an Asterisk > Dial-Plan which plays audio and video (*Success*!) > > > > > > > > *From:* sr-users [mailto:sr-users-boun...@lists.kamailio.org] *On Behalf > Of *Joel Serrano > > *Sent:* Friday, December 15, 2017 2:22 PM > > > *To:* Kama

Re: [SR-Users] Flow Diagram for WebRTC Client1 => WebRTC Client2 (via Kamailio and Asterisk)

2017-12-15 Thread Joel Serrano
same => n,Dial(PJSIP/kamailio-trunk/${EXTEN},30,t) That way, you are sending the call to Kamailio instead of trying to keep it local. Sorry for the confusion, let me know if you have any doubts. Joel. On Fri, Dec 15, 2017 at 10:43 AM, Joel Serrano <j...@gogii.net> wrote: > Hi Ste

Re: [SR-Users] GeoIP2 module deb package

2017-11-09 Thread Joel Serrano
Hi Daniel, The old geoip (v1, libgeopip) module is available, it's the geoip2 (v2, libmaxminddb) the one I can't seem to find. Thanks, Joel. On Thu, Nov 9, 2017 at 1:19 AM, Daniel-Constantin Mierla <mico...@gmail.com> wrote: > Hello, > > > On 09.11.17 04:20, Joel Ser

[SR-Users] GeoIP2 module deb package

2017-11-08 Thread Joel Serrano
Hi, I can't seem to find the geoip2 module for debian stretch (installing from packages, kamailio 5.0 branch). Is it not available in the repository? Thanks, Joel. ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

[SR-Users] Dispatcher flow regarding weight and priority.

2017-12-07 Thread Joel Serrano
Hi all, I have a doubt regarding how dispatcher selects a node... >From the docs: *[...]* *alg* - the algorithm used to select the destination address. The parameter can be an integer or a variable holding an interger. - “4” - round-robin (next destination). - “8” - select

Re: [SR-Users] Need useful graphics ideas

2017-12-06 Thread Joel Serrano
I use a mix of the above... With kamailio I export that stats I want via http: event_route[xhttp:request] { # Verify request come from localhost if(src_ip!=127.0.0.1) { xhttp_reply("403", "Forbidden", "text/html", "Forbidden"); xlog("L_WARN", "[HTTP] Unauthorized access

[SR-Users] DMQ and/or Database for dialogs, registrations, etc..

2018-04-27 Thread Joel Serrano
Hi all, Just wanted to know what your opinions were on using DMQ modules over database for things like dialog replication, registrations, etc... Is DMQ the "new way to go"? I know that there lots of ways of doing things with each having pros/cons... But I was wondering... What does the

Re: [SR-Users] TLS module and IPv6 (using tls.cfg).

2018-06-13 Thread Joel Serrano
:[:::::::]:5061] ... Can anyone add a little note in the documentation? (or point me to how I can do it myself) Thanks, Joel. On Tue, Jun 12, 2018 at 6:22 PM, Joel Serrano wrote: > Hi all, > > I was playing around with the "config" modparam to specify and use a TLS > conf

Re: [SR-Users] Understanding 5XX stats in Kamailio

2018-07-02 Thread Joel Serrano
hould be skipped. > Thank you. > > > > > Message: 8 > Date: Fri, 29 Jun 2018 09:46:21 +0200 > From: Daniel-Constantin Mierla > To: "Kamailio (SER) - Users Mailing List" > , Joel Serrano > Subject: Re: [SR-Users] Understanding 5XX stats in Kamailio > Me

Re: [SR-Users] How long time does a push take?

2018-05-01 Thread Joel Serrano
AFAIR, there was an option you can set when you send the request to Google/Apple to mark the push as a "high priority push". Apple itself has also a specific VoIP push, (it's a different type of push, not regular push). it should be what you are using for VoIP related stuff. Not that this will

Re: [SR-Users] DMQ and/or Database for dialogs, registrations, etc..

2018-04-30 Thread Joel Serrano
(You guys confirmed what I was thinking when I started the thread.. thank you all for your replies, they gave me a lot of confidence on DMQ and I'm already testing it out) On Mon, Apr 30, 2018 at 9:06 AM, Alex Balashov wrote: > On Mon, Apr 30, 2018 at 11:13:13AM

Re: [SR-Users] t_relay dying ?

2018-01-08 Thread Joel Serrano
Just a hint here, try setting $du and then t_relay... On Mon, Jan 8, 2018 at 11:55 Jean Cérien wrote: > > Hi > > While I'm trying to get the provider fix the SBC, I am implementing the > workaround. > > Almost done here, storing and retrieving the correct address is fine,

Re: [SR-Users] Checking dispatcher gw state

2018-02-22 Thread Joel Serrano
"FLAGS": "IP",<- This one is "I" (Inactive) "P" (Probing) "PRIORITY": 0, "ATTRS": { "BODY": "dsName=", "DUID": "", "MAXLOAD": 0,

Re: [SR-Users] Checking dispatcher gw state

2018-02-22 Thread Joel Serrano
kamctl dispatcher dump ..check for the FLAGS.. In the docs: https://www.kamailio.org/docs/modules/devel/modules/dispatcher.html you have the flags explained in section "4.6. ds_mark_dst([state])" Cheers, Joel. On Thu, Feb 22, 2018 at 5:05 PM, Daniel Greenwald wrote:

Re: [SR-Users] Is anyone having issues with dialog metrics when DMQ is enabled?

2018-07-29 Thread Joel Serrano
Hi Charles, So far so good. I did add the info I found to the ticket. Maybe it’s fixed or maybe we have to troubleshoot further, I’ll wait for you and Daniel to give feedback with your thoughts. Thanks, Joel. On Sat, Jul 28, 2018 at 09:05 Joel Serrano wrote: > Absolutely! I compiling ri

Re: [SR-Users] is_method not matching message type KDMQ breaking DMQ bus. (master branch)

2018-07-31 Thread Joel Serrano
Hi Asgaroth, I'm using dmq and I haven't seen a msg get passed this: # Handles DMQ messages if (is_method("KDMQ")) { dmq_handle_message(); } That said, just to make sure it's not some work-in-progress happening on master branch, give it a try on latest stable release

[SR-Users] Is anyone having issues with dialog metrics when DMQ is enabled?

2018-07-27 Thread Joel Serrano
Hi guys, Is anyone having issues gathering active/early dialog metrics from kamailio when DMQ is enabled? I have an open ticket in GH ( https://github.com/kamailio/kamailio/issues/1591) and I'm wondering if this could be happening to anyone else? So far the theory is that the counter goes below

Re: [SR-Users] Quick way to enable/disable all uac outbound registrations

2018-08-13 Thread Joel Serrano
irected to the active kamailio. This is just to keep things tidy and not have 2 servers sending outbound registrations when it isn't strictly necessary. What do you think? Thanks, Joel. On Mon, Aug 13, 2018 at 11:50 AM, Henning Westerholt wrote: > Am Montag, 13. August 2018, 0

Re: [SR-Users] Quick way to enable/disable all uac outbound registrations

2018-08-12 Thread Joel Serrano
sable them before the delay expires. What do you think? Thanks again! Joel. On Sun, Aug 12, 2018 at 1:27 PM, Henning Westerholt wrote: > Am Sonntag, 12. August 2018, 22:20:41 CEST schrieb Joel Serrano: > > On an active/passive kamailio cluster, we use keepalived to move a >

Re: [SR-Users] Kamailio TLS + letsencrypt

2018-08-12 Thread Joel Serrano
You do need to validate the domain, this requires it to be a public (not local) domain name. On Sun, Aug 12, 2018 at 14:19 Social Boh wrote: > Hello, > > I think you need a real domain or sub domain point to the Public IP of > your server. > > regards > > --- > I'm SoCIaL, MayBe > > On 8/12/18

[SR-Users] Quick way to enable/disable all uac outbound registrations

2018-08-12 Thread Joel Serrano
Hi, On an active/passive kamailio cluster, we use keepalived to move a virtual IP between the nodes and all signaling goes to that VIP. One of our DID providers requires us to register with every single DID we have from them in order to receive calls for such DID (NOTE: we only want to have the

Re: [SR-Users] DMQ mem leak issues

2018-08-23 Thread Joel Serrano
I’m planning to use DMQ + usrloc too! Thanks for sharing the solution! Do you know if It’s fixed also with db_mode=1? On Thu, Aug 23, 2018 at 13:53 Julien Chavanton wrote: > Hi, I have glad you guys found a solution. > > Thanks for sharing it. > > Regards, > Julien > > On Wed, Aug 22, 2018,

Re: [SR-Users] add listen dynamically

2018-08-24 Thread Joel Serrano
If you know the ips in advance you can specify all listen= params and enable the kernel ipv4_nonlocal_bind Another option would be to add listen=* and have kamailio listen on anything the OS has enabled..? Have you tried these couple options? Not sure if they would work without more details of

Re: [SR-Users] Listner problems

2018-08-24 Thread Joel Serrano
Hi Steve, > Actually, I have a strange issue. If I have a single UDP IP:Port listening, > most Providers/Phones have two-way Audio/Video, however, with some > Providers/Phones, I need to have two UDP IP:Port listners in order to get > two-way Audio/Video. Here is the strange thing. If I

Re: [SR-Users] Kamailio with CGNAT

2018-08-26 Thread Joel Serrano
Also, if the client is not behind CGNAT do you get the Ringing from called party? Is called party the same in both cases? On Sun, Aug 26, 2018 at 09:54 Joel Serrano wrote: > Can you send the INVITE that proxy sends to called party? > > On Sun, Aug 26, 2018 at 02:05 Amar Tina

Re: [SR-Users] Kamailio with CGNAT

2018-08-26 Thread Joel Serrano
; > > > On Sun, Aug 26, 2018 at 7:57 PM Joel Serrano wrote: > >> Also, if the client is not behind CGNAT do you get the Ringing from >> called party? >> >> Is called party the same in both cases? >> >> >> >> On Sun, Aug 26, 2018 at 09:54 J

Re: [SR-Users] Kamailio with CGNAT

2018-08-27 Thread Joel Serrano
roxy somehow (i checked, the massage is generated in > the client) > and any call initiated by the CGNAT client succeeded > > would you please check the attached > many thanks > > On Mon, Aug 27, 2018 at 6:00 AM Joel Serrano wrote: >> >> It would definitely be use

Re: [SR-Users] Kamailio with CGNAT

2018-08-26 Thread Joel Serrano
Can you send the INVITE that proxy sends to called party? On Sun, Aug 26, 2018 at 02:05 Amar Tinawi wrote: > Hello > Although my question it's not related to Kamailio directly, but i think > someone could help in this strange behavior > > in our tests, we have some clients under private

Re: [SR-Users] dialog module with dmq

2018-07-22 Thread Joel Serrano
Hi, I have an open ticket regarding an (possible, yet to be confirmed) issue with dialog+dmq modules, it’s regarding metrics: https://github.com/kamailio/kamailio/issues/1591 That said, in my initial tests I haven’t seen that problem. Can you reproduce it? Can you share your setup and config?

Re: [SR-Users] How to detect and Hangup a call on network lost at Caller or Callee?

2018-08-29 Thread Joel Serrano
Hi Alex/Sergeu/Hamid, This is super useful and I had no idea about it! Would you mind sharing your modparam settings for dialog module relative to keepalive? I’d love to see what values you guys are using to have starting reference ;) Thanks, Joel. On Wed, Aug 29, 2018 at 07:00 Sergiu Pojoga

Re: [SR-Users] Dispatcher question

2018-08-31 Thread Joel Serrano
Try with ds_select_next() in failure_route[] On Fri, Aug 31, 2018 at 06:17 Igor Olhovskiy wrote: > Tried other way round > All of this is happening in FAILURE ROUTE. > > ds_mark_dst("d"); > ds_select_dst("1", "0") > > But ds_select_dst still selecting for me gateway already marked with "d" > on

Re: [SR-Users] handle_ruri_alias() question or issue?

2018-09-01 Thread Joel Serrano
I think you are mixing 2 different approaches of achieving the same: 1- Use: fix_nated_contact() --> Will *modify* the contact header and *replace* current ip:port with correct ip:port. 2- Use: set_contact_alias() in conjunction with handle_ruri_alias() --> set_contact_alias will *add an alias*

Re: [SR-Users] Dispatcher question

2018-09-01 Thread Joel Serrano
t; Regards, Igor > On Sep 1, 2018, 4:33 PM +0200, Joel Serrano , wrote: > > I think you are confused between: > > ds_select_dst() = get a node from the dispatcher group based on weight and > priority. Use in request_route. > > ds_next_dst() = get the next node

Re: [SR-Users] Dispatcher question

2018-09-01 Thread Joel Serrano
, Sep 1, 2018 at 00:27 Igor Olhovskiy wrote: > Is there any way to select not first destination from ds_select_dst()? > Could not find any way to do this... > > Regards, Igor > On Sep 1, 2018, 12:13 AM +0200, Joel Serrano , wrote: > > Sorry, hit sent too soon. &g

Re: [SR-Users] Dispatcher question

2018-08-31 Thread Joel Serrano
Sorry, hit sent too soon. I meant ds_next_dst() or ds_next_domain(): https://kamailio.org/docs/modules/5.1.x/modules/dispatcher.html#idp44172212 On Fri, Aug 31, 2018 at 3:06 PM, Joel Serrano wrote: > Try with ds_select_next() in failure_route[] > > On Fri, Aug 31, 2018 at 06:17 Igor

Re: [SR-Users] handle_ruri_alias() question or issue?

2018-09-01 Thread Joel Serrano
0.20:5060>; > *alias=10.10.10.5~55157*~2 SIP/2.0*. I want to route the BYE to the > alias 10.10.10.5:55157 <http://10.10.10.5:55157>*. I have tried the > combination you spoke of and it always still get routed to > *20.20.20.20.5060*. > > > > I have even tried storing the

Re: [SR-Users] Dispatcher question

2018-09-02 Thread Joel Serrano
ying to > select next node, with ds_next_dst() to select Node E, but calling this > command gives me > WARNING: dispatcher [dispatch.c:2285]: ds_update_dst(): no xavp uri field > > > Regards, Igor > On Sep 1, 2018, 9:06 PM +0200, Joel Serrano , wrote: > > If it brings the

Re: [SR-Users] DMQ mem leak issues

2018-09-04 Thread Joel Serrano
ave some more time over the next couple of > weeks. > > Out of interest, what will you be using the database for? > > Cheers, > > Charles > > > On Fri, 24 Aug 2018 at 04:00, Joel Serrano wrote: > >> I’m planning to use DMQ + usrloc too! Thanks for sharing the so

Re: [SR-Users] Quick way to enable/disable all uac outbound registrations

2018-08-30 Thread Joel Serrano
ailio/kamailio/commit/49f354276df3cfc2cdb0f85b5a1839f86733aead > > I haven't tested it yet, maybe you get a chance to give it a try and > report the results. > > Cheers, > Daniel > > On 13.08.18 21:23, Joel Serrano wrote: > > Hi Henning, > > Yes, it would be for the HA

Re: [SR-Users] Need useful graphics ideas

2018-03-15 Thread Joel Serrano
lies":0, "sl-301_replies":0, "sl-302_replies":0, "sl-3xx_replies":0, "sl-400_replies":83, "sl-401_replies":0, "sl-403_replies":1847, "sl-404_replies":4, "sl-407_replies":0, "sl-408_replies&qu

Re: [SR-Users] Variables in database

2018-04-21 Thread Joel Serrano
Or a combination of both.. :-) On Sat, Apr 21, 2018 at 18:35 Fred Posner wrote: > or HTABLE > > On Sat, 2018-04-21 at 18:21 -0400, Alex Balashov wrote: > > sqlops? > > > > On April 21, 2018 5:33:04 PM EDT, Nelson Migliaro > .com> wrote: > > > Hello, > > >

Re: [SR-Users] Terminate dialog from another dialog

2018-03-27 Thread Joel Serrano
) but not the $dlg(to_tag) and all 3 are needed to search and terminate an existing dialog. For now i'm using $tt, but I'm wondering if this is correct or not? Let me know if I should move this topic to github... Thanks! Joel. On Sun, Mar 25, 2018 at 4:57 PM, Joel Serrano <j...@gogii.net>

Re: [SR-Users] Terminate dialog from another dialog

2018-03-27 Thread Joel Serrano
tag) = $dlg(from_tag); $sht(bcalls=>$fU::to_tag) = $tt; xlog("L_NOTICE", "User check: Added call-info for $fU to htable\n"); } } Any comments??? On Tue, Mar 27, 2018 at 8:23 AM, Joel Serrano <j...@gogii.net> wrote: > Update: > > I h

Re: [SR-Users] statistics (ASR and ACD) by destination/country

2018-03-30 Thread Joel Serrano
Some options: www.cdr-stats.org www.sipcapture.org www.voipmonitor.org On Fri, Mar 30, 2018 at 10:06 AM, Abdoul Osséni wrote: > Hello dear list, > > I am looking for a tool that will provide me call statistics (ASR and ACD) > by destination/country with alerting by

Re: [SR-Users] kamailio & vmware

2018-03-28 Thread Joel Serrano
Where are you t_relay()ing to? Do you use dispatcher or similar? Are you manually setting $du? On Wed, Mar 28, 2018 at 3:09 PM, Jean Cérien wrote: > > Thanks for the help > > I've reproduced the issue on the test bed, with sipp to generate calls. > > The issue appears

[SR-Users] Terminate dialog from another dialog

2018-03-25 Thread Joel Serrano
Hi guys, I'm trying to set kamailio to not allow simultaneous calls from the same user, but if a second call comes in, the behavior desired is to process that second call and terminate the previous (already active) one. Say you have call A that creates dialog A. Then you have call B come in,

Re: [SR-Users] Kamailio fails to start because of jsonrpl

2018-03-29 Thread Joel Serrano
Do you have jsonrpcs module loaded? Are you running jsonrcp_exec() before trying to access $jsonrpl(key) ? ...This variable gives access to JSONRPC reply after executing jsonrpc_exec(…) in kamailio.cfg On Thu, Mar 29, 2018 at 3:56 AM, Dmitry wrote: > Kamailio

Re: [SR-Users] Terminate dialog from another dialog

2018-03-27 Thread Joel Serrano
Hi Henning, On Tue, Mar 27, 2018 at 12:50 PM, Henning Westerholt <h...@kamailio.org> wrote: > > Am Montag, 26. März 2018, 01:57:31 CEST schrieb Joel Serrano: > > I'm trying to set kamailio to not allow simultaneous calls from the same > > user, but if a second call comes

Re: [SR-Users] Need useful graphics ideas

2018-03-16 Thread Joel Serrano
Good stuff!! We use something similar too, so only stats served when requested on 127.0.0.1/stats while keeping websockets as usual. I’m not good with grafana but it would be nice if anyone shares some dashboard or graph ideas that make the metrics look nice ;) Joel. On Fri, Mar 16, 2018 at

[SR-Users] Understanding 5XX stats in Kamailio

2018-06-28 Thread Joel Serrano
Hi, Does anyone know the difference between these metrics?? core:rcv_replies_5xx sl:5xx_replies tmx:5xx_transactions Specially between core and tmx? Thanks, Joel. ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

Re: [SR-Users] DIALPLAN Module: how to get/use the Attributes value

2018-10-14 Thread Joel Serrano
Hello Stefano, Can you share your modparam settings for the dialplan module? Check this: https://kamailio.org/docs/modules/5.1.x/modules/dialplan.html#dialplan.p.attrs_pvar Joel. On Fri, Oct 12, 2018 at 1:32 AM Stefano Bertuola wrote: > Hi experts. > > I intended ATTRIBUTES is a value that

Re: [SR-Users] DMQ and DIALOG

2018-10-24 Thread Joel Serrano
Hi Alex, I was thinking of asking something similiar... Any workaround for something setup like that to work? But in case of “no”: if Kamailio1 dies could kamailio2 take over the call and terminate the dialog when finished some how? AFAIK dmq will replicate the dialogs between nodes, but only

Re: [SR-Users] DMQ and DIALOG

2018-10-24 Thread Joel Serrano
Hi Brandon, Could you please elaborate a little on that? I'm trying to understand but I'm not sure how I can do that. On Wed, Oct 24, 2018 at 9:02 AM Brandon Armstead wrote: > Set a cookie and relay those subsequent transactions down to proper > endpoint that they initially went over. > > On

Re: [SR-Users] Script @Startup

2018-10-28 Thread Joel Serrano
Did Daniel’s suggestion of trying with #!define not work? Might not be as nice but another option would be using jsonrpc? On Sun, Oct 28, 2018 at 02:08 Nicolas Breuer wrote: > Hello Daniel, > > > > Any updates on this ? > > Need to get the IP-Address of the Kamailio server in the event route.

Re: [SR-Users] Can't add permanent location

2018-10-31 Thread Joel Serrano
26]: DEBUG: jsonrpcs >> [jsonrpcs_mod.c:395]: jsonrpc_send(): sending response with body: (nil) - >> 500 Can't insert contact >> Oct 31 13:22:52 sip2 /usr/sbin/kamailio[1326]: DEBUG: jsonrpcs >> [jsonrpcs_fifo.c:461]: jsonrpc_fifo_server(): command executed - result: >> [kam

Re: [SR-Users] Can't add permanent location

2018-10-31 Thread Joel Serrano
Hi David, Sorry for the delay.. You are missing parameters: root@sbc02:~# kamctl rpc ul.add location 361119...@m.domain.com sip:361119997@4.3.2.1 3600 1 sip:4.3.2.1:5060 { "jsonrpc": "2.0", "error": { "code": 500, "message": "Not enough parameters or wrong format" }, "id":

Re: [SR-Users] Store TLS handshake date from Kamailio to an external DB

2018-11-01 Thread Joel Serrano
Plus, if kamailio1 dies you will need a NEW tcp connection from your client to kamailio2, and that effectively means as Daniel said a new handshake. On Thu, Nov 1, 2018 at 04:11 Daniel Tryba wrote: > On Thu, Nov 01, 2018 at 09:20:46AM +, Toffi Bossol wrote: > > my use case will be: > > > >

Re: [SR-Users] Store TLS handshake date from Kamailio to an external DB

2018-10-30 Thread Joel Serrano
Maybe use a pseudovariable from the TLS module to get the data you want and then use sqlops to insert it to database? Have a look: https://www.kamailio.org/wiki/cookbooks/5.1.x/pseudovariables#tls_module_pseudo-variables https://kamailio.org/docs/modules/5.1.x/modules/sqlops.html On Tue, Oct

Re: [SR-Users] Kamailio Slack channel

2018-10-25 Thread Joel Serrano
+1. I love the idea. Might work, might not, for me personally I can tell you already it 100% works. Thanks guys for taking the initiative! On Thu, Oct 25, 2018 at 8:38 AM David Villasmil < david.villasmil.w...@gmail.com> wrote: > That's a great idea, though i doubt it'll get much traction...

Re: [SR-Users] Fwd: Set a system variable in the request route

2018-10-25 Thread Joel Serrano
But wait, why are you using jsonrpc_exec for this? What you are talking about is a kamailio configuration parameter, not a system wide variable... I don't know how you can change the value during runtime. On Thu, Oct 25, 2018 at 12:25 PM Joel Serrano wrote: > Hi Nicolas, > > I do

Re: [SR-Users] Fwd: Set a system variable in the request route

2018-10-25 Thread Joel Serrano
t;jsonrpc": "2.0","method": "cfg.set","params": ["system", "shutdownmode", 1],"id": 1}'); or jsonrpc_exec('{"jsonrpc": "2.0","method": "cfg.set","params": ["system&qu

Re: [SR-Users] is_first_hop() fails to detect 'myself' when using advertise

2018-10-03 Thread Joel Serrano
I actually had this exact problem, and because I knew when I was first hop and when not, I ended up adding if conditions to solve the problem. I would love to know the answer to this too and the correct reason as to why it happens and how to correct it. On Wed, Oct 3, 2018 at 11:34 PM Sergiu

Re: [SR-Users] Using TLS on a load-balancing cluster behind DNS-SRV

2018-10-03 Thread Joel Serrano
Actually. Careful. There are scenarios where just doing that will not work. The RR headers will have your FQDN most likely if you don’t want to break reinvites So for that to work you will need either multiple certs, a wildcard cert, or a cert with multiple SANs where you include the

Re: [SR-Users] Dispatcher question

2018-09-02 Thread Joel Serrano
, Sep 2, 2018 at 08:07 Joel Serrano wrote: > Hi > > I think dispatcher changed from avps vars to xavps vars in master (5.2). > > Can you try on latest stable (5.1) using avps instead just in case...? > > Also, can you print in the logs the xavp_avp var you set in the modparam

Re: [SR-Users] handle_ruri_alias() question or issue?

2018-09-02 Thread Joel Serrano
; IP of Called Server: 125.10.1.14 > > > > Called Number: 2135601240 > > > > I want the relay to go to the alias: *125.10.1.14:38869 > <http://125.10.1.14:38869>* > > > > *Thank you!* > > > > *From:* sr-users * On Behalf Of *Joel > Serrano

Re: [SR-Users] handle_ruri_alias() question or issue?

2018-09-02 Thread Joel Serrano
Yes no problem! On Sun, Sep 2, 2018 at 09:48 Wilkins, Steve wrote: > Hi Joel, > > > > Can I contact you at your email address? > > > > Thanks, > > -Steve > > > > *From:* sr-users * On Behalf Of *Joel > Serrano > *Sent:* Sunday, September

Re: [SR-Users] Help with kamailio/freeswitch

2018-09-25 Thread Joel Serrano
Have you tried to file a JIRA in case it's a bug? As an alternative, have you thought of using Kamailio as the FS gateway, and then have Kamailio handle all the gateway stuff... (so to your provider, the UAC would be K and not FS)... On Tue, Sep 25, 2018 at 6:04 AM David Villasmil <

Re: [SR-Users] Logging from cfg file

2018-12-29 Thread Joel Serrano
op of every >> interesting route ! >> >> >> Il giorno sab 29 dic 2018 alle 21:29 Joel Serrano ha >> scritto: >> >>> I wonder if there is a $something that contains the route-block-name? >>> >>> Anyone know? >>> >>>

Re: [SR-Users] Logging from cfg file

2018-12-29 Thread Joel Serrano
I wonder if there is a $something that contains the route-block-name? Anyone know? On Sat, Dec 29, 2018 at 10:52 David Villasmil < david.villasmil.w...@gmail.com> wrote: > I prefer using > > log(“L_ERR”, “[REQUEST_ROUTE]: $ci Register Request\n”); > > That way you have the route block where

Re: [SR-Users] logging destination IP and proto on reponse

2019-01-02 Thread Joel Serrano
Have you tried $si in the onreply_route? On Wed, Jan 2, 2019 at 17:02 Sergiu Pojoga wrote: > $sel(via[2].host) should give the 'destination' of the reply, provided > that the original request wasn't from behind NAT and one single proxy in > between UAs. > > Don't take my answer for granted, as

Re: [SR-Users] logging destination IP and proto on reponse

2019-01-02 Thread Joel Serrano
My bad, thought you wanted the source IP... So to get it right, you want to know to which IP belonging to Kamailio a response came in? On Wed, Jan 2, 2019 at 18:11 Joel Serrano wrote: > Have you tried $si in the onreply_route? > > On Wed, Jan 2, 2019 at 17:02 Sergiu Pojoga wrote:

Re: [SR-Users] AWS binat external -> internal routing and record_route

2019-01-16 Thread Joel Serrano
Hello Dmitry, I was wondering if you got this working? I'm facing a similar scenario and I don't know if it's worth going this path vs having a second port on internal IP without advertise just for internal traffic ? Thanks, Joel. On Mon, Dec 17, 2018 at 3:55 AM Dmitry Sytchev wrote: >

Re: [SR-Users] Dynamic UAC Registration

2019-01-20 Thread Joel Serrano
I’m not sure if I’m missing the important point here, but can you just set the realm to whatever the carrier expects in the uacreg table? I think I use it that way and we have different realms for different carriers... https://www.kamailio.org/docs/modules/5.2.x/modules/uac.html#idm1047648852

Re: [SR-Users] AWS binat external -> internal routing and record_route

2019-01-17 Thread Joel Serrano
t managed this to be done with conditions, > because it becomes harder when we decide about directions etc... > > I'd be glad to know if you find other ways to do this! > > ср, 16 янв. 2019 г. в 21:06, Joel Serrano : > > > > Hello Dmitry, > > > > I was wonderi

Re: [SR-Users] Routing of Audio and Video Stream.

2018-12-17 Thread Joel Serrano
ing flow. We need to add the first > (video)one. Now question is if that is possible? > > Thanks > > > > ------ > *From:* sr-users on behalf of Joel > Serrano > *Sent:* Monday, December 17, 2018 5:23:44 PM > > *To:* Kamailio (SER) - Users Mailing

Re: [SR-Users] Routing of Audio and Video Stream.

2018-12-17 Thread Joel Serrano
I think he wants to handle rtp like: User - kamailio/rtpengine - destination (video) User - kamailio (with/without rtpengine is unclear) - asterisk - destination (audio) ??? On Mon, Dec 17, 2018 at 08:22 Sergiu Pojoga wrote: > Still struggling to understanding the desired flow and outcome...

Re: [SR-Users] Merry Christmas and Happy Holidays!

2018-12-24 Thread Joel Serrano
+1! Merry Christmas & happy new year! On Mon, Dec 24, 2018 at 09:51 Daniel-Constantin Mierla wrote: > With the season holiday just starting, it's again a good time to express > my thanks and greetings to all the friends, developers and community > members that made 2018 another great year for

Re: [SR-Users] Automating installation

2018-11-29 Thread Joel Serrano
And I would not use a bash script nowadays with all the fancy stuff available for automation. If it was me, I would handle everything with ansible, but that is just my tool of preference. On Thu, Nov 29, 2018 at 1:47 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: > Or you could

Re: [SR-Users] xlog issue

2018-12-02 Thread Joel Serrano
; xlog("L_INFO","[START ROUTING]-(Source IP=$si:$sp/Destination > IP=$Ri:$Rp)\n"); > > route(REQINIT); > route(NATDETECT); > > # Handle Cancel Requests > route(CATCH_CANCEL); > route(RETRANSMISSIONS); > etc > > > > Joel Serrano : > > &

Re: [SR-Users] xlog issue

2018-12-02 Thread Joel Serrano
Can you paste your first lines of request_route? On Sun, Dec 2, 2018 at 07:15 Soltanici Ilie wrote: > Hello, > > I have a strange situation by using xlog module. I don't know for what > reason I'm not receiving all logs generated by kamailio. > > This is the configuration which I'm using in

Re: [SR-Users] is_e164 logic to detect valid number

2018-12-04 Thread Joel Serrano
You might also want to have a look at the “phonenum” module... https://www.kamailio.org/docs/modules/5.2.x/modules/phonenum.html On Tue, Dec 4, 2018 at 19:12 Patrick Wakano wrote: > Thanks for the replies guys! > I will probably add a length test to invalidate too short numbers! > By the way,

Re: [SR-Users] issues with the debian repo for kamailio 5.2

2018-11-21 Thread Joel Serrano
I reported this to @linuxmaniac so he is aware, he said he would take care of it :) On Wed, Nov 21, 2018 at 10:13 AM Daniel-Constantin Mierla wrote: > You also get v5.3, not v5.2, so probably some configuration needs to be > fixed in the build process to fetch the branch 5.2. > > Cheers, >

Re: [SR-Users] Dispatcher attributes

2019-01-09 Thread Joel Serrano
Hi Jason, We are doing that and it works. I’ll send you a snippet when I get home.. On Wed, Jan 9, 2019 at 13:32 Jason.Park wrote: > Hi. > > > > When using the attributes feature of the dispatcher module, is it possible > to directly access/address an individual attribute directly? > > > >

Re: [SR-Users] Dispatcher attributes

2019-01-09 Thread Joel Serrano
tion you call, one or the other will be set. For the "attr1" from your example, you would need to use (again, depending on the dispatcher function called): $(var(attrs){param.value,attr1}) or $(xavp(_dsdst_=>attrs){param.value,attr1}) Sorry for the confusion! Joel. On Wed, Jan 9

  1   2   3   >