[SR-Users] Dialog module - default_timeout behavior

2020-02-02 Thread Gholamreza Sabery
Hi, According to the documentation default_timeout is "The default dialog timeout (in seconds), in the absence of a custom value provided in an AVP". There is also a "send_bye" option which can automatically send a BYE message on dialog timeout. Suppose that a user sends an INVITE and the call is

Re: [SR-Users] Dialog module - default_timeout behavior

2020-02-02 Thread Gholamreza Sabery
t; > > On Feb 2, 2020, at 5:52 AM, Gholamreza Sabery > wrote: > > > >  > > Hi, > > > > According to the documentation default_timeout is "The default dialog > timeout (in seconds), in the absence of a custom value provided in an AVP". > There

Re: [SR-Users] Dialog module - default_timeout behavior

2020-02-03 Thread Gholamreza Sabery
. You can use the acc module without dialog support, for > example. > > > > Cheers, > > > > Henning > > > > -- > > Henning Westerholt – https://skalatan.de/blog/ > > Kamailio services – https://gilawa.com > > > > *From:* sr-users *O

[SR-Users] SRTP-DTLS and rtpengine

2020-09-12 Thread Gholamreza Sabery
Hi, I checked rtpengine's documentation, and I wonder what happens if I use SRTP-DTLS with rtpengine? My connection will be hop by hop encrypted with rtpengine, or like TURN my connection will remain end-to-end encrypted?? Thx a lot ___ Kamailio (SER) -

Re: [SR-Users] SRTP-DTLS and rtpengine

2020-09-12 Thread Gholamreza Sabery
Thx a lot On Sat, Sep 12, 2020 at 4:17 PM Richard Fuchs wrote: > On 12/09/2020 05.51, Gholamreza Sabery wrote: > > Hi, > > > > I checked rtpengine's documentation, and I wonder what happens if I > > use SRTP-DTLS with rtpengine? My connection will be hop by hop

[SR-Users] Enabling tcp_write_buf

2018-08-20 Thread Gholamreza Sabery
Hi, In the documentation of "tcp_wq_max" option it is written that : > It has no effect if *tcp_write_buf *is not enabled. > > The interesting fact is that, there is not description of what it is and how > one can enable it. There is even a question about it in the mailing lists: https://lists.

Re: [SR-Users] Forward SIP request between two Kamailio servers

2018-09-14 Thread Gholamreza Sabery
This Medium post might also be handy: https://medium.com/@tumalevich/kamailio-registration-replication-without-dmq-65e225f9a8a7 On Fri, Sep 14, 2018 at 1:57 PM Daniel Tryba wrote: > On Thu, Sep 13, 2018 at 08:19:00AM +, Nathanael Eneroth wrote: > > UA1<--->KAM1<>KAM2<>UA2 > > int1

[SR-Users] Repository for automatic deployment of Kamailio

2019-02-11 Thread Gholamreza Sabery
of the repository: https://github.com/ghrst/Kamailio-HA Regards Gholamreza Sabery Tabrizy ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] DMQ_USRLOC

2019-04-22 Thread Gholamreza Sabery
Hi, Recently, I started to use dmq_usrloc module. I successfully set it up. Unfortunately, the documentation does not specify the behavior of dmq_usrloc module with other Kamailio modules. For example, I see a bunch of KDMQ messages are exchanged between nodes, but how the lookup() function behave

Re: [SR-Users] DMQ_USRLOC

2019-04-23 Thread Gholamreza Sabery
mewhat > counterproductive. > > Cheers, > > Charles > > > On Mon, 22 Apr 2019 at 14:12, Gholamreza Sabery > wrote: > >> Hi, >> >> Recently, I started to use dmq_usrloc module. I successfully set it up. >> Unfortunately, the documentation does no

Re: [SR-Users] DMQ_USRLOC

2019-04-23 Thread Gholamreza Sabery
Point taken. Thanks a lot for your replies. :) On Tue, Apr 23, 2019 at 10:18 PM John Petrini wrote: > Another great feature of dmq_usrloc is that you can run it on a alternate > port. This offers a few nice benefits: > > >- You separate the noise of replication traffic from regular SIP >

[SR-Users] Querying in-memory location table (dmq_usrloc)

2019-06-16 Thread Gholamreza Sabery
I am using dmq_usrloc, to replicate user locations across multiple Kamailio instances. Everything works fine. The problem occurs when a user on Kam1 wants to call a user on Kam2. How can I query the in-memory location table to see where the user is registered? PS: I use a Path header to specify th

Re: [SR-Users] Querying in-memory location table (dmq_usrloc)

2019-06-16 Thread Gholamreza Sabery
cfg mode). > > Cheers, > > Henning > > -- > *Von:* sr-users im Auftrag von > Gholamreza Sabery > *Gesendet:* Sonntag, 16. Juni 2019 10:08 > *An:* Kamailio (SER) - Users Mailing List > *Betreff:* [SR-Users] Querying in-memory location table (dm

[SR-Users] max_contacts does not work as expected

2017-11-13 Thread Gholamreza Sabery
I have a Kamailio server that has: modparam("registrar", "max_contacts", 2) But recently I noticed some users have more than two records in the location table. For example one of the users has three different records with nearly the same information. The records are as follows. Is this behavior n

[SR-Users] max_contacts does not work as expected

2017-11-14 Thread Gholamreza Sabery
I have a Kamailio server that has: modparam("registrar", "max_contacts", 2) But recently I noticed some users have more than two records in the location table. For example one of the users has three different records with nearly the same information. The records are as follows. Is this behavior n

Re: [SR-Users] max_contacts does not work as expected

2017-11-15 Thread Gholamreza Sabery
Hello Daniel, I use a value of 3 for db_mode. On Wed, Nov 15, 2017 at 11:11 AM, Daniel-Constantin Mierla < mico...@gmail.com> wrote: > Hello, > > what is the value of db_mode parameter for usrloc module? > > Cheers, > Daniel > > On 15.11.17 06:36, Gholamreza Saber

Re: [SR-Users] max_contacts does not work as expected

2017-11-16 Thread Gholamreza Sabery
No ideas? On Wed, Nov 15, 2017 at 3:27 PM, Gholamreza Sabery wrote: > Hello Daniel, > > I use a value of 3 for db_mode. > > On Wed, Nov 15, 2017 at 11:11 AM, Daniel-Constantin Mierla < > mico...@gmail.com> wrote: > >> Hello, >> >> what is the

Re: [SR-Users] max_contacts does not work as expected

2017-11-16 Thread Gholamreza Sabery
? > > Cheers, > Daniel > > On 16.11.17 16:51, Gholamreza Sabery wrote: > > No ideas? > > On Wed, Nov 15, 2017 at 3:27 PM, Gholamreza Sabery > wrote: > >> Hello Daniel, >> >> I use a value of 3 for db_mode. >> >> On Wed, Nov 15, 2017 at 11:

Re: [SR-Users] max_contacts does not work as expected

2017-11-17 Thread Gholamreza Sabery
M, Daniel-Constantin Mierla < >> mico...@gmail.com> wrote: >> >>> Very busy with the work this week ... >>> >>> To see if this a limitation of db only mode or not, can you test with >>> db_mode=1? >>> >>> Cheers, >>>

Re: [SR-Users] max_contacts does not work as expected

2017-11-26 Thread Gholamreza Sabery
? On Fri, Nov 17, 2017 at 8:51 PM, Gholamreza Sabery wrote: > Thank you very much Dimitri, good point. > > On Fri, Nov 17, 2017 at 2:38 PM, Dmitri Savolainen > wrote: > >> One of them is expired in my mind and wiating for "usrloc" >> "timer_interval" f

Re: [SR-Users] max_contacts does not work as expected

2017-11-29 Thread Gholamreza Sabery
No body has any other ideas? On Sun, Nov 26, 2017 at 11:49 AM, Gholamreza Sabery wrote: > I have tested it. These records are not actually expired. I even found a > situation in which a user has 16 different records in the database with the > same expiration time and the same receiv

Re: [SR-Users] max_contacts does not work as expected

2017-12-04 Thread Gholamreza Sabery
Most parameters are default. I only changed max_contacts to two and use a db_mode of 3. On Mon, Dec 4, 2017 at 7:14 PM, Dmitri Savolainen wrote: > It seems strange. Colud you show all usrloc/registrar parameters? > > 2017-11-30 8:27 GMT+03:00 Gholamreza Sabery : > >> No body h

[SR-Users] Limiting Kamailios accepted methods

2018-04-12 Thread Gholamreza Sabery
Hi, I want to limit Kamailios accepted methods to REGISTER, INVITE and their related methods like BYE and CANCEL. How to do this in Kamailio? Is there a standard way or I should use is_method function? Regards ___ Kamailio (SER) - Users Mailing List sr

Re: [SR-Users] Limiting Kamailios accepted methods

2018-04-12 Thread Gholamreza Sabery
ethod("SUBSCRIBE|NOTIFY|PUBLISH|INFO|MESSAGE")) { > > sl_send_reply("405", "Method Not Allowed"); > > exit; > > } > > > > Regards, > > > > Grant Bagdasarian > > Senior Developer > > +31765727054 &

Re: [SR-Users] Limiting Kamailios accepted methods

2018-04-12 Thread Gholamreza Sabery
n INVITE dialog can be more than just ACK, BYE and CANCEL, > you can get REFER, UPDATE, INFO, NOTIFY... > > So I would allow all requests that have a To-tag (see has_totag() and > Route header added by kamailio (loose_route() should return true). > Cheers, > Daniel > > >

Re: [SR-Users] Options for SIP traffic duplicating to third party tcp port

2018-07-22 Thread Gholamreza Sabery
Hi, I think it is better for you to also take a look at Homer. It provides a free and very nice web-interface to see captured SIP packets and also search for them. For more information refer to: https://github.com/sipcapture/homer On Sun, Jul 22, 2018 at 12:07 PM, Henning Westerholt wrote: >