[SR-Users] dispatcher/carrierroute and branches across SBC and remote peer

2017-11-27 Thread Nathan Ward
Hi, We use Kamailio as a SIP server, and SEMS as an SBC. We have a need to use the dispatcher/carrierroute modules to provide HA/load sharing across two different parts of our environment: 1) Our SBCs 2) Our peer’s SIP servers We have pairs of SBCs (for now) and they have the same network

Re: [SR-Users] allow_trusted not passing

2017-11-27 Thread voipspace voipspace
Unfortunately that does not work. Second argument is required27.11.2017, 15:19, "Alexandru Covalschi" <568...@gmail.com>:Tryif (!allow_trusted("$si")) {    xlog("L_INFO","\n\n--NOT trusted! - $si - $proto");    sl_send_reply("403", "Forbidden");    exit;} Alexandru

Re: [SR-Users] URL problems connecting to external (Azure) MySQL database

2017-11-27 Thread Samuel F .
Hi again, Reviewing the source for the parsing function it looks like it won't be possible. https://github.com/kamailio/kamailio/blob/5295a4f5eac08c1bb100bf554a995833c434c4dc/src/modules/db_mysql/my_uri.c#L147 We see that once it hits the @, if it hasn't hit a : or / before it will assume

Re: [SR-Users] URL problems connecting to external (Azure) MySQL database

2017-11-27 Thread Floimair Florian
Thanks for your quick reply! Unfortunately the result is exactly the same error. With best regards Florian Floimair Von: sr-users [mailto:sr-users-boun...@lists.kamailio.org] Im Auftrag von Samuel F. Gesendet: Montag, 27. November 2017 16:04 An: Kamailio (SER) - Users Mailing List

Re: [SR-Users] allow_trusted not passing

2017-11-27 Thread Alexandru Covalschi
Try if (!allow_trusted("$si")) { xlog("L_INFO","\n\n--NOT trusted! - $si - $proto"); sl_send_reply("403", "Forbidden"); exit; } Alexandru Covalschi VoIP Engineer and System Administrator tel: +373 673 98 493 > 27 нояб. 2017 г., в 11:48, voipspace

Re: [SR-Users] URL problems connecting to external (Azure) MySQL database

2017-11-27 Thread Samuel F .
Hey, Could you try replacing the @-sign in the username with: %40 (percent-forty)? // Samuel From: sr-users on behalf of Floimair Florian Sent: Monday, November 27, 2017 3:33:21 PM To: Kamailio

[SR-Users] URL problems connecting to external (Azure) MySQL database

2017-11-27 Thread Floimair Florian
Hi! I'm having troubles connecting Kamailio to an external MySQL database (on Microsoft Azure Cloud). Initially creating the database with kamctl worked fine, but accessing it at runtime via db_url fails. A somewhat unusual thing about the connection to a MySQL database on Azure is that the

Re: [SR-Users] Kamailio didn't start before increasing fork_delay

2017-11-27 Thread igor.potjevlesch
Hello Daniel, Thank you. Do you know some OS counters (in /proc I guess?) I can look to in order to diagnose deeper? Anyway, I'm already sure that the CAPS was higher than during another period of time. Regards, Igor. De : Daniel-Constantin Mierla [mailto:mico...@gmail.com]

[SR-Users] allow_trusted not passing

2017-11-27 Thread voipspace voipspace
Hi I have the following condition below in my config if (!allow_trusted("$si", "$proto")) {    xlog("L_INFO","\n\n--NOT trusted! - $si - $proto");    sl_send_reply("403", "Forbidden");    exit;} I checked that $si is the same ip as in the permissions table and confirmed that it has been loadedwith 

[SR-Users] Releasing Kamailio v5.1.0

2017-11-27 Thread Daniel-Constantin Mierla
Hello, with no relevant new bugs reported lately, it is time to fix the date for releasing next major version, respectively Kamailio v5.1.0. I am proposing Monday, December 11, 2018, as the release date for v5.1.0, with a fallback option to next day, if a bit of time is still needed. Currently