Re: [SR-Users] location

2017-01-05 Thread Daniel-Constantin Mierla
-- > *From: *"volga629" > *To: *"miconda" > *Cc: *"sr-users" > *Sent: *Monday, January 2, 2017 11:40:33 AM > *Subject: *Re: [SR-Users] location > > Hello Danie

Re: [SR-Users] location

2017-01-04 Thread Slava Bendersky
s" Sent: Monday, January 2, 2017 11:40:33 AM Subject: Re: [SR-Users] location Hello Daniel, I am trying save user contact on reply 200 OK from freeswitch. Contact is set in $avp(aor) which contain updated user location. Slava. From: "miconda" To: "volga629" ,

Re: [SR-Users] location

2017-01-02 Thread Slava Bendersky
Hello Daniel, I am trying save user contact on reply 200 OK from freeswitch. Contact is set in $avp(aor) which contain updated user location. Slava. From: "miconda" To: "volga629" , "sr-users" Sent: Monday, January 2, 2017 10:45:34 AM Subject: Re: [SR-Us

Re: [SR-Users] location

2017-01-02 Thread Daniel-Constantin Mierla
Hello, the third parameter is not for contact, it is the address of record -- the user address, eg., al...@sipdomain.com, not al...@phone.ip What exactly do you need to achieve? Maybe there are other options that you can use. Cheers, Daniel On 02/01/2017 15:12, Slava Bendersky wrote: > Hello Da

Re: [SR-Users] location

2017-01-02 Thread Slava Bendersky
Hello Daniel, Meaning if(!save("location", "0x04", "$var(aor)")) ---> $var(aor) ignored. It use default Contact. Here are the log $var(aor) = "sip:" + $tU + "@" + $(avp(rcvcontact){uri.host}) + ":" + $(avp(rcvcontact){uri.port}); INFO:

Re: [SR-Users] location

2017-01-02 Thread Daniel-Constantin Mierla
o same problem with location save ? > > Slava. > > > *From: *"volga629" > *To: *"sr-users" > *Sent: *Monday, December 26, 2016 1:13:49 PM > *Subject: *[SR-Users] location > >

Re: [SR-Users] location

2017-01-02 Thread Slava Bendersky
Hello Everyone, Is possible get help on issue ? I asked on IRC channel and another person so same problem with location save ? Slava. From: "volga629" To: "sr-users" Sent: Monday, December 26, 2016 1:13:49 PM Subject: [SR-Users] location Hello Everyone, Why save

[SR-Users] location

2016-12-26 Thread Slava Bendersky
Hello Everyone, Why save location will ignore on pv var when trying save on reply 200 OK. if(is_method("REGISTER") && fnmatch("$rs", "200")) { xlog("L_INFO", "OnReply: Registration is $rs OK saving --> $avp(rcvcontact) in db\n"); $var(oar) = "sip:" + $tU + "@" + $(avp(rcvcontact){uri.host}) +

Re: [SR-Users] Location Table In db_mode 3

2016-09-25 Thread Phil Lavin
riginal Message- From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Juha Heinanen Sent: 25 September 2016 10:35 To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Location Table In db_mode 3 Gholamreza Sabery writes: > Thank you so much. I will try it;

Re: [SR-Users] Location Table In db_mode 3

2016-09-25 Thread Juha Heinanen
Gholamreza Sabery writes: > Thank you so much. I will try it; but it seems that this option affects the > whole database. I think it applies to the whole mysql server, i.e., to all of its databases. -- Juha ___ SIP Express Router (SER) and Kamailio (O

Re: [SR-Users] Location Table In db_mode 3

2016-09-25 Thread Gholamreza Sabery
ata to disk every second. > > > > > > *From:* sr-users [mailto:sr-users-boun...@lists.sip-router.org] *On > Behalf Of *Gholamreza Sabery > *Sent:* 25 September 2016 09:16 > > *To:* Kamailio (SER) - Users Mailing List > *Subject:* Re: [SR-Users] Location Table In db

Re: [SR-Users] Location Table In db_mode 3

2016-09-25 Thread Phil Lavin
un...@lists.sip-router.org>] > On Behalf Of > Gholamreza Sabery Sent: 24 September 2016 20:25 > To: Kamailio (SER) - Users Mailing List > mailto:sr-users@lists.sip-router.org>> > Subject: Re: [SR-Users] Location Table In db_mode 3 > > Thank you so much for your resp

Re: [SR-Users] Location Table In db_mode 3

2016-09-25 Thread Gholamreza Sabery
> > Gholamreza Sabery > Sent: 24 September 2016 20:25 > > To: Kamailio (SER) - Users Mailing List > > Subject: Re: [SR-Users] Location Table In db_mode 3 > > > > Thank you so much for your response. Well if putting the table into > memory > > is not a good

Re: [SR-Users] Location Table In db_mode 3

2016-09-24 Thread Sergey Okhapkin
g] On Behalf Of > Gholamreza Sabery Sent: 24 September 2016 20:25 > To: Kamailio (SER) - Users Mailing List > Subject: Re: [SR-Users] Location Table In db_mode 3 > > Thank you so much for your response. Well if putting the table into memory > is not a good option what is the best

Re: [SR-Users] Location Table In db_mode 3

2016-09-24 Thread Phil Lavin
om: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Gholamreza Sabery Sent: 24 September 2016 20:25 To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Location Table In db_mode 3 Thank you so much for your response. Well if putting the table into memory is not

Re: [SR-Users] Location Table In db_mode 3

2016-09-24 Thread Gholamreza Sabery
gt; Behalf Of *Gholamreza Sabery > *Sent:* 24 September 2016 20:04 > *To:* Kamailio (SER) - Users Mailing List > *Subject:* Re: [SR-Users] Location Table In db_mode 3 > > > > On average I have about 2000 registrations per second and this > configuration does not work with th

Re: [SR-Users] Location Table In db_mode 3

2016-09-24 Thread Phil Lavin
: [SR-Users] Location Table In db_mode 3 You could look at tweaking MySQL setting innodb_flush_log_at_trx_commit<http://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_flush_log_at_trx_commit> and setting its value to 0. It’ll make your database not ACID compliant,

Re: [SR-Users] Location Table In db_mode 3

2016-09-24 Thread Phil Lavin
ts.sip-router.org] On Behalf Of Gholamreza Sabery Sent: 24 September 2016 20:04 To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Location Table In db_mode 3 On average I have about 2000 registrations per second and this configuration does not work with this rate. Maximum num

Re: [SR-Users] Location Table In db_mode 3

2016-09-24 Thread Gholamreza Sabery
ave? > > > > > > *From:* sr-users [mailto:sr-users-boun...@lists.sip-router.org] *On > Behalf Of *Gholamreza Sabery > *Sent:* 24 September 2016 19:39 > *To:* Kamailio (SER) - Users Mailing List > *Subject:* [SR-Users] Location Table In db_mode 3 > > > > I have

Re: [SR-Users] Location Table In db_mode 3

2016-09-24 Thread Phil Lavin
What rate of registrations do you have? From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Gholamreza Sabery Sent: 24 September 2016 19:39 To: Kamailio (SER) - Users Mailing List Subject: [SR-Users] Location Table In db_mode 3 I have multiple Kamailio servers in an

[SR-Users] Location Table In db_mode 3

2016-09-24 Thread Gholamreza Sabery
I have multiple Kamailio servers in an Active/Active scenario (the database is a MySQL server) using db_mode 3. But when the number of clients goes up writes on the location table become too much and it causes database problems. I even put my location table on a separate SSD disk on the server to s

[SR-Users] Location Table In db_mode 3

2016-09-23 Thread Gholamreza Sabery
I have multiple Kamailio servers in an Active/Active scenario (the database is a MySQL server) using db_mode 3. But when the number of clients goes up writes on the location table become too much and it causes database problems. I even put my location table on a separate SSD disk on the server to s

Re: [SR-Users] Location of Encryption Algorithm in TLS Module

2014-09-10 Thread Klaus Darilion
The TLS module uses OpenSSL libraries. You can force a dedicated algorithm with the standard OpenSSL methods. If you want to change an algorithm, you have to change OpenSSL. regards Klaus On 10.09.2014 08:09, aawaise wrote: > Hello, > > I have downloaded and unzipped kamailio package available o

[SR-Users] Location of Encryption Algorithm in TLS Module

2014-09-09 Thread aawaise
Hello, I have downloaded and unzipped kamailio package available online. I want to know about TLS module, My question is that where is the encryption module located in TLS module ?? Is it in some .c file of TLS module or does TLS module use AES encryption available in LINUX or UNIX systems?? This

Re: [SR-Users] location of log file

2014-08-16 Thread Olle E. Johansson
On 16 Aug 2014, at 01:49, Kamrul Khan wrote: > Hi, Im new to kamailio. Can someone tell me where to find the logs (from > xlog() or log() ) ? thanks in advanced > Kamailio logs to the syslog (or rsyslog) daemon of your system. Depending on your configuration of syslog it may end up in /var/lo

[SR-Users] location of log file

2014-08-15 Thread Kamrul Khan
Hi, Im new to kamailio. Can someone tell me where to find the logs (from xlog() or log() ) ? thanks in advanced ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-route

Re: [SR-Users] Location issue

2014-06-11 Thread Daniel-Constantin Mierla
llo Daniel, It works fine with “db_op_rui”. Thank you. Regards, Igor. *De :*Igor Potjevlesch [mailto:igor.potjevle...@gmail.com] *Envoyé :* mercredi 28 mai 2014 16:31 *À :* mico...@gmail.com; 'Kamailio (SER) - Users Mailing List' *Objet :* RE: [SR-Users] Location issue Hello Daniel, D

Re: [SR-Users] Location issue

2014-06-10 Thread Igor Potjevlesch
Hello Daniel, It works fine with “db_op_rui”. Thank you. Regards, Igor. De : Igor Potjevlesch [mailto:igor.potjevle...@gmail.com] Envoyé : mercredi 28 mai 2014 16:31 À : mico...@gmail.com; 'Kamailio (SER) - Users Mailing List' Objet : RE: [SR-Users] Location issue He

Re: [SR-Users] Location issue

2014-05-28 Thread Igor Potjevlesch
: sr-users-boun...@lists.sip-router.org <mailto:sr-users-boun...@lists.sip-router.org> [mailto:sr-users-boun...@lists.sip-router.org] De la part de Daniel-Constantin Mierla Envoyé : mercredi 28 mai 2014 11:58 À : Kamailio (SER) - Users Mailing List Objet : Re: [SR-Users] Location issue

Re: [SR-Users] Location issue

2014-05-28 Thread Daniel-Constantin Mierla
[mailto:sr-users-boun...@lists.sip-router.org] *De la part de* Daniel-Constantin Mierla *Envoyé :* mercredi 28 mai 2014 11:58 *À :* Kamailio (SER) - Users Mailing List *Objet :* Re: [SR-Users] Location issue Hello, what is the value for db_mode parameter? Can you try with db_ops_ruid set to 1

Re: [SR-Users] Location issue

2014-05-28 Thread Igor Potjevlesch
: Kamailio (SER) - Users Mailing List Objet : Re: [SR-Users] Location issue Hello, what is the value for db_mode parameter? Can you try with db_ops_ruid set to 1: http://kamailio.org/docs/modules/stable/modules/usrloc.html#usrloc.p.db_ops_ruid Also, does database server logs point any error? Cheers

Re: [SR-Users] Location issue

2014-05-28 Thread Daniel-Constantin Mierla
Hello, what is the value for db_mode parameter? Can you try with db_ops_ruid set to 1: http://kamailio.org/docs/modules/stable/modules/usrloc.html#usrloc.p.db_ops_ruid Also, does database server logs point any error? Cheers, Daniel On 28/05/14 11:35, Igor Potjevlesch wrote: Hello, I’m run

[SR-Users] Location issue

2014-05-28 Thread Igor Potjevlesch
Hello, I'm running Kamailio 4.1.3 and having a strange issue. After a restart of Kamailio, some username are still in memory and updated accordingly with usual re-REGISTER flow. But the entries in location db is deleted. Kamailio tries to do a SQL UPDATE which fails because of that. So, fo

Re: [SR-Users] Location table not updated

2014-05-05 Thread sam
Yes I am also getting this issue. - Original Message - From: VOIP Tests To: Kamailio Mailing List Sent: Monday, May 05, 2014 8:23 PM Subject: [SR-Users] Location table not updated Hello, can someone let me know the reason that the location table does not get updated? Out

Re: [SR-Users] Location table not updated

2014-05-05 Thread Olle E. Johansson
On 05 May 2014, at 14:23, VOIP Tests wrote: > Hello, can someone let me know the reason that the location table does not > get updated? Out of 15 extension only a few registered phones details get > updated in this table and the rest are not. But I can see all the extension > in Kamailio when

[SR-Users] Location table not updated

2014-05-05 Thread VOIP Tests
Hello, can someone let me know the reason that the location table does not get updated? Out of 15 extension only a few registered phones details get updated in this table and the rest are not. But I can see all the extension in Kamailio when I run kamctl ul show --brief. Thank you, Arun __

Re: [SR-Users] Location table not getting updated

2014-05-04 Thread VOIP Tests
Once I reboot the phone the location table gets populated? Any idea how to correct the issue? Thank you. Arun On Sat, May 3, 2014 at 10:27 PM, VOIP Tests wrote: > No, the table does not seem to get updated. The entries in kamctl ul show > --brief does not match the entries in the location tabl

Re: [SR-Users] Location table not getting updated

2014-05-03 Thread VOIP Tests
No, the table does not seem to get updated. The entries in kamctl ul show --brief does not match the entries in the location table. Any suggestions? Thank you, Arun On Sat, May 3, 2014 at 10:10 PM, Alex Balashov wrote: > On 05/03/2014 11:08 PM, VOIP Tests wrote: > >> Hello Alex, my usrloc set

Re: [SR-Users] Location table not getting updated

2014-05-03 Thread Alex Balashov
On 05/03/2014 11:08 PM, VOIP Tests wrote: Hello Alex, my usrloc setting are as follows: #!ifdef WITH_USRLOCDB modparam("usrloc", "db_url", DBURL) modparam("usrloc", "db_mode", 2) modparam("usrloc", "use_domain", MULTIDOMAIN) modparam("usrloc", "matching_mode", 1) Then, I would say wait for se

Re: [SR-Users] Location table not getting updated

2014-05-03 Thread VOIP Tests
Hello Alex, my usrloc setting are as follows: #!ifdef WITH_USRLOCDB modparam("usrloc", "db_url", DBURL) modparam("usrloc", "db_mode", 2) modparam("usrloc", "use_domain", MULTIDOMAIN) modparam("usrloc", "matching_mode", 1) Arun On Sat, May 3, 2014 at 9:51 PM, Alex Balashov wrote: > On 05/03/201

Re: [SR-Users] Location table not getting updated

2014-05-03 Thread Alex Balashov
On 05/03/2014 10:50 PM, VOIP Tests wrote: Hello, can someone let me know what could be the reason that the location table in the kamailiio db does not get updated? There are some extensions that I can see in the location table but not others, but I am still able to make extension to extension c

[SR-Users] Location table not getting updated

2014-05-03 Thread VOIP Tests
Hello, can someone let me know what could be the reason that the location table in the kamailiio db does not get updated? There are some extensions that I can see in the location table but not others, but I am still able to make extension to extension calls to all extensions. This is a multi domai

Re: [SR-Users] Location table issue

2013-09-10 Thread Ali Jawad
Strangely db_mode 3 did bring down the no of users to 0 in kamctl ul show --brief on one server, but I could register on that server and make a call and it would still show 0, although I did set timer to 3600. On Tue, Sep 10, 2013 at 4:21 PM, Ali Jawad wrote: > Hi > I did change db_mode to 3 ,

Re: [SR-Users] Location table issue

2013-09-10 Thread Ali Jawad
Hi I did change db_mode to 3 , and restarted both server, it did not really affect the setup, I will change timer and retry as well. Regards On Tue, Sep 10, 2013 at 4:19 PM, Alex Balashov wrote: > On 09/10/2013 09:18 AM, Ali Jawad wrote: > > So if the timer is 1 sec, they will get deleted if th

Re: [SR-Users] Location table issue

2013-09-10 Thread Alex Balashov
On 09/10/2013 09:18 AM, Ali Jawad wrote: So if the timer is 1 sec, they will get deleted if the client does not send a keep alive ? or other servers are affecting each other ? I think the two servers are affecting each other. Try change the db_mode to 3, and set your timer interval to someth

Re: [SR-Users] Location table issue

2013-09-10 Thread Ali Jawad
So if the timer is 1 sec, they will get deleted if the client does not send a keep alive ? or other servers are affecting each other ? Regards On Tue, Sep 10, 2013 at 4:14 PM, Alex Balashov wrote: > On 09/10/2013 09:13 AM, Ali Jawad wrote: > > Will do but the issue is that the contacts are not

Re: [SR-Users] Location table issue

2013-09-10 Thread Ali Jawad
Will do but the issue is that the contacts are not added to start with, but will try 3 On Tue, Sep 10, 2013 at 4:12 PM, Alex Balashov wrote: > That may not stop the other server from deleting its contacts. Try using > db_mode 3. > > > On 09/10/2013 08:53 AM, Ali Jawad wrote: > > Dear Alex >> O

Re: [SR-Users] Location table issue

2013-09-10 Thread Alex Balashov
On 09/10/2013 09:13 AM, Ali Jawad wrote: Will do but the issue is that the contacts are not added to start with, but will try 3 I'm not so sure about that. I would hypothesise that they are simply being deleted too quickly for you to notice, since your timer interval is 1 second. -- Alex

Re: [SR-Users] Location table issue

2013-09-10 Thread Alex Balashov
That may not stop the other server from deleting its contacts. Try using db_mode 3. On 09/10/2013 08:53 AM, Ali Jawad wrote: Dear Alex One server is for iphone users and one for android users, so technically speaking a user is registered to only one server at a time, apart from a few exceptio

Re: [SR-Users] Location table issue

2013-09-10 Thread Ali Jawad
Dear Alex One server is for iphone users and one for android users, so technically speaking a user is registered to only one server at a time, apart from a few exceptions I guess. Please see my settings below : # - usrloc params - /* enable DB persistency for location entries */ #!ifdef W

Re: [SR-Users] Location table issue

2013-09-10 Thread Alex Balashov
On 09/10/2013 08:45 AM, Ali Jawad wrote: 100% positive that both are using the same db_mode parameter for usrloc, and yes they both share the same database and table the only different table is the accounting table. Both kamailio servers work great and newly registered users through site can log

Re: [SR-Users] Location table issue

2013-09-10 Thread Ali Jawad
Dear Alex 100% positive that both are using the same db_mode parameter for usrloc, and yes they both share the same database and table the only different table is the accounting table. Both kamailio servers work great and newly registered users through site can logon just fine to both systems and

Re: [SR-Users] Location table issue

2013-09-10 Thread Alex Balashov
On 09/10/2013 08:37 AM, Ali Jawad wrote: Dear All I do have two kamailio servers, same firewall same config the only difference is the listening IPs, and the alias name, they do use the same database. And both insert accounting information into different tables. My issue is that one kamailio do

[SR-Users] Location table issue

2013-09-10 Thread Ali Jawad
Dear All I do have two kamailio servers, same firewall same config the only difference is the listening IPs, and the alias name, they do use the same database. And both insert accounting information into different tables. My issue is that one kamailio does correctly store users in the location ta

Re: [SR-Users] location() vs registered()

2013-06-14 Thread Victor V. Kustov
Hello, Olle! >> Whats difference between registered("location") and >> lookup("location")? >THe first one returns TRUE if an AOR is registred. thanks. if (!lookup("location",$dlg_var(callee)) && !lookup("location",$dlg_var(caller))) route(TRANSIT); why i get error: loading modules under /usr

Re: [SR-Users] location() vs registered()

2013-06-14 Thread Olle E. Johansson
14 jun 2013 kl. 10:33 skrev "Victor V. Kustov" : > Hi all! > > Whats difference between registered("location") and lookup("location")? THe first one returns TRUE if an AOR is registred. The second one - lookup - changes the destination set of the current request based on the registred contacts

[SR-Users] location() vs registered()

2013-06-14 Thread Victor V. Kustov
Hi all! Whats difference between registered("location") and lookup("location")? -- WBR, Victor JID: coy...@bks.tv JID: coy...@bryansktel.ru I use FREE operation system: 3.9.4-calculate GNU/Linux ___ SIP Express Router (SER) and Kamailio (OpenSE

Re: [SR-Users] Location of "kamailio.cfg"

2010-12-14 Thread Daniel-Constantin Mierla
Datum: Mon, 13 Dec 2010 15:09:01 +0100 Von: Daniel-Constantin Mierla An: "Nicolas Rüger" CC: sr-users Betreff: Re: [SR-Users] Location of "kamailio.cfg" Hello, On 12/13/10 2:39 PM, "Nicolas Rüger" wrote: Hello, where can I change/configure the location of file "k

Re: [SR-Users] Location of "kamailio.cfg"

2010-12-13 Thread Nicolas Rüger
h. like "~") as the parameter list seems to be handed over as string. Thank you Daniel... Regards, Nicolas Original-Nachricht > Datum: Mon, 13 Dec 2010 15:09:01 +0100 > Von: Daniel-Constantin Mierla > An: "Nicolas Rüger" > CC: sr-users

Re: [SR-Users] Location of "kamailio.cfg"

2010-12-13 Thread Daniel-Constantin Mierla
Hello, On 12/13/10 2:39 PM, "Nicolas Rüger" wrote: Hello, where can I change/configure the location of file "kamailio.cfg"? Reason: We like to use different "kamailio.cfg" files depending on the user that starts the kamailio. default path to kamailio.cfg is set at compile time. Anyhow, you ca

[SR-Users] Location of "kamailio.cfg"

2010-12-13 Thread Nicolas Rüger
Hello, where can I change/configure the location of file "kamailio.cfg"? Reason: We like to use different "kamailio.cfg" files depending on the user that starts the kamailio. Thank you... Regards, Nicolas -- Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief! Jetzt De-Mail-Adresse