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

2015-03-18 Thread Juha Heinanen
i suggest you use tls common names to identify servers behind your trunks, -- juha ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] missing BYE when 2 redundant kamailio servers share the same database

2015-03-18 Thread Ding Ma
This is the SIP log when using location routing for BYE from peer server. pjsua2_good.log Description: Binary data ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-

[SR-Users] missing BYE when 2 redundant kamailio servers share the same database

2015-03-18 Thread Ding Ma
This is the SIP log with the 500 error for BYE. pjsua2_missingbye.log Description: Binary data ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo

[SR-Users] missing BYE when 2 redundant kamailio servers share the same database

2015-03-18 Thread Ding Ma
Hi, all I'm trying to set up 2 kamailio servers for active-active redundancy. The two kamailio severs share the the same database with db_mode=3, and no registration replication. Use pjsua2 as SIP client for testing. The test setup is as follows: kamailio server 1(k1): 10.0.1.30:5061

Re: [SR-Users] Timeout after t_suspend and failure route

2015-03-18 Thread Mickael Marrache
Thanks Daniel! Your patch seems to have fixed it… Mickael From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Wednesday, March 18, 2015 8:54 PM To: Mickael Marrache; Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Timeout after t_suspend and failure route Ca

Re: [SR-Users] Timeout after t_suspend and failure route

2015-03-18 Thread Daniel-Constantin Mierla
Can you try with the patch from the next commit? - https://github.com/kamailio/kamailio/commit/6484b199fb48acc2c55f318812f2c968b845ca80 Cheers, Daniel On 18/03/15 17:09, Mickael Marrache wrote: > Confirmed. > > Thanks, > Mickael > > On 18 במרץ 2015, at 18:06, Daniel-Constantin Mierla

Re: [SR-Users] SQLOPS bug

2015-03-18 Thread Daniel-Constantin Mierla
Hello, thanks, patch pushed to master, 4.2 and 4.1 branches. Cheers, Daniel On 18/03/15 18:00, Mihaly Zachar wrote: > Hi Daniel, > > The patch was created on 4.1.4, sorry for that, but the bug still exists > at 4.2.3 (d76f8e3) and df86f2a as well. > > Cheers, > Misi > > On 03/18/15 17:45, Daniel

Re: [SR-Users] SQLOPS bug

2015-03-18 Thread Mihaly Zachar
Hi Daniel, The patch was created on 4.1.4, sorry for that, but the bug still exists at 4.2.3 (d76f8e3) and df86f2a as well. Cheers, Misi On 03/18/15 17:45, Daniel-Constantin Mierla wrote: > Hello, > > what version are you using? > > Cheers, > Daniel > > On 18/03/15 16:51, Mihaly Zachar wrote:

Re: [SR-Users] SQLOPS bug

2015-03-18 Thread Daniel-Constantin Mierla
Hello, what version are you using? Cheers, Daniel On 18/03/15 16:51, Mihaly Zachar wrote: > Hi Gents, > > Please consider applying this patch: > > > --- ./modules/sqlops/sql_api.c.orig 2015-03-18 16:33:56.994320505 +0100 > +++ ./modules/sqlops/sql_api.c 2015-03-18 16:34:11.254419341 +0100 >

Re: [SR-Users] Timeout after t_suspend and failure route

2015-03-18 Thread Mickael Marrache
Confirmed. Thanks, Mickael > On 18 במרץ 2015, at 18:06, Daniel-Constantin Mierla wrote: > > Hello, > > can't check the code right now, but to confirm, if you use t_on_failure() > before suspending the transaction, isn't executed? > > Cheers, > Daniel > >> On 18/03/15 15:56, Mickael Marrach

Re: [SR-Users] Timeout after t_suspend and failure route

2015-03-18 Thread Daniel-Constantin Mierla
Hello, can't check the code right now, but to confirm, if you use t_on_failure() before suspending the transaction, isn't executed? Cheers, Daniel On 18/03/15 15:56, Mickael Marrache wrote: > > Hi, > > > > When receiving an INVITE, I arm a failure route and set the fr_timer > to 30 seconds. Af

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

2015-03-18 Thread Daniel Tryba
On Wednesday 18 March 2015 08:32:10 canuck15 wrote: > I can run a cron job every hour to DNS lookup and update the ip_addr > table as needed so I think this is a satisfactory solution for IP > authentication. Is there a mechanism to identify all originating servers for a hostname/domain? If the

[SR-Users] SQLOPS bug

2015-03-18 Thread Mihaly Zachar
Hi Gents, Please consider applying this patch: --- ./modules/sqlops/sql_api.c.orig 2015-03-18 16:33:56.994320505 +0100 +++ ./modules/sqlops/sql_api.c 2015-03-18 16:34:11.254419341 +0100 @@ -743,7 +743,7 @@ LM_ERR("row index out of bounds [%d/%d]\n", i, res->nrows);

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

2015-03-18 Thread canuck15
Been struggling with this for awhile now. So far I am finding it rather difficult to come up with way to authenticate SIP trunks taking into account all possible scenarios. My setup is Kamailio combined with Asterisk realtime. Everything is in a MySQL database. All authentication is done by

[SR-Users] Timeout after t_suspend and failure route

2015-03-18 Thread Mickael Marrache
Hi, When receiving an INVITE, I arm a failure route and set the fr_timer to 30 seconds. After the fr_timer expires, I need to do some operations however I see the failure route is not executed. I guess it is related to the fact the INVITE has not been forwarded? If yes, how can I execut

[SR-Users] Kamailio and Busy Lamp Fields (BLF)

2015-03-18 Thread Daniel-Constantin Mierla
Hello, a bit of time ago I played with Kamailio and BLF, therefore I published kind of getting started configuration file for this feature. It is available at: - http://kb.asipto.com/kamailio:presence:k43-blf The plan was to add more to the tutorial, some guidelines for configuring the phones,

Re: [SR-Users] siremis login issue

2015-03-18 Thread Boris Ivanov
Thanks Daniel Meanwhile I installed it on Ubuntu precise. Works very good. BR/Boris From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Mittwoch, 18. März 2015 09:28 To: Boris Ivanov; Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] siremis login issue I will

Re: [SR-Users] siremis login issue

2015-03-18 Thread Daniel-Constantin Mierla
OK. What is the php version you have now? Just to compare and focus on the version that needs to be checked? Cheers, Daniel On 18/03/15 11:41, Boris Ivanov wrote: > > Thanks Daniel > > > > Meanwhile I installed it on Ubuntu precise. Works very good. > > > > BR/Boris > > > > *From:*Daniel-Co

Re: [SR-Users] siremis login issue

2015-03-18 Thread Daniel-Constantin Mierla
I will see if I can get this version somewhere and test. So far we mainly deployed to debian wheezy that has php 5.4. Cheers, Daniel On 12/03/15 11:39, Boris Ivanov wrote: > > php -v > > PHP 5.6.6 (cli) (built: Mar 5 2015 21:22:52) > > Copyright (c) 1997-2015 The PHP Group > > Zend Engine v2.6.0

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

2015-03-18 Thread Daniel-Constantin Mierla
On 13/03/15 16:39, Markus wrote: > [...] > > >> I think this is something specific for your environment. Kamailio >> doesn't have any issues sending redirect replies. A proxy might be >> required in case of natted endpoints when they cannot communicate each >> other. But otherwise, if you don't w

Re: [SR-Users] msilo clarification

2015-03-18 Thread Daniel-Constantin Mierla
On 13/03/15 12:55, mayamatakeshi wrote: > > > On Fri, Mar 13, 2015 at 8:25 PM, Daniel-Constantin Mierla > mailto:mico...@gmail.com>> wrote: > > Hello, > > > > On 13/03/15 10:54, mayamatakeshi wrote: >> Hello, >> maybe this phrase in the msilo doc is misleading: >> >> /Every ti

Re: [SR-Users] remove_hf_value

2015-03-18 Thread Daniel-Constantin Mierla
Hello, but the INVITE request goes out with 2 Record Route headers, if you get them in the 200ok. Not sure how it is going to work overall, you will have to manually set local sockets for requests within dialog, because you are doing also trasport layer gatewaying (tcp-udp). Anyhow, as a solutio

Re: [SR-Users] Dialogs not deleted on BYE

2015-03-18 Thread Daniel-Constantin Mierla
Some modules use local variables to store some values to be used later when an action is done. In this specific case, the add_rr_param(), which should be used internally by dialog, is checking to see if the Record-Route header was added. If yes, then the parameter is added to it. If not, it is kep