[SR-Users] Unexpected behavior on tmrec with monthly recurrence

2020-02-25 Thread David Gonçalves
Hi, During some tests with the module tmrec, we stumble upon an unexpected behavior of the monthly recurrence with days of the week. The last week does not match our expected date. For example, the last Monday of March 2020 is day 30 (fifth Monday of the month) however, neither the 5MO or -1MO

Re: [SR-Users] record_route_advertised_address causes null send socket error

2020-02-25 Thread Daniel Greenwald
carrier<>kamailioes<->freeswitches I am sending a record route header with a private SRV in the direction of freeswitch boxes and removing it when sending packets to carrier. I am using a different (pubic) SRV in contact header being sent to the carrier. On Tue, Feb 25, 2020 at 4:59 PM

Re: [SR-Users] record_route_advertised_address causes null send socket error

2020-02-25 Thread Henning Westerholt
Hi, why are you calling record_route_advertised_address(..) on these replies or in-dialog requests? The record_route functions are usually used on initial dialog forming requests (INVITE, SUBSCRIBE etc..). Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services –

Re: [SR-Users] record_route_advertised_address causes null send socket error

2020-02-25 Thread Daniel Greenwald
They occur when calling it on responses to the initial INVITE, for example 183 and 200 OK. On Tue, Feb 25, 2020 at 4:33 PM Daniel-Constantin Mierla wrote: > Hello, > > are those messages printed during the processing of the initial INVITE or > when handling requests within dialog (re-INVITE,

Re: [SR-Users] record_route_advertised_address causes null send socket error

2020-02-25 Thread Daniel-Constantin Mierla
Hello, are those messages printed during the processing of the initial INVITE or when handling requests within dialog (re-INVITE, BYE, ...). Cheers, Daniel On 25.02.20 21:20, Daniel Greenwald wrote: > I am using record_route_advertised_address to insert a record route > header with an SRV

[SR-Users] record_route_advertised_address causes null send socket error

2020-02-25 Thread Daniel Greenwald
I am using record_route_advertised_address to insert a record route header with an SRV record. The header is added correctly and everything appears to be working fine however I get a CRITICAL log error when calling record_route_advertised_address('INTERNAL_SRV');

Re: [SR-Users] Understanding set_rtp_engine with two sets

2020-02-25 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > Hello, > > I didn't know about limitation, so far I needed only set_rtpengine_set() > with one parameter. Now I am wondering why won't work for > rtpengine_manage() because internally it calls the > rtpengine_offer()/_answer(). I have never used

Re: [SR-Users] Access to CANCEL messages sent during parallel forking

2020-02-25 Thread Yuriy Gorlichenko
You can try event_route[tm:local-request] for this. On Tue, 25 Feb 2020, 15:36 Marco Capetta, wrote: > Hi All, > > I have a question regarding call forking and how to access failed > branches: the ones for which kamailio sends out the CANCEL because on > another one a 200OK was received. > This

[SR-Users] Access to CANCEL messages sent during parallel forking

2020-02-25 Thread Marco Capetta
Hi All, I have a question regarding call forking and how to access failed branches: the ones for which kamailio sends out the CANCEL because on another one a 200OK was received. This is the scenario:  - A calls B  - 3 devices are registered on B, so a parallel forking is done to B1, B2 and

Re: [SR-Users] Understanding set_rtp_engine with two sets

2020-02-25 Thread Daniel-Constantin Mierla
Hello, I didn't know about limitation, so far I needed only set_rtpengine_set() with one parameter. Now I am wondering why won't work for rtpengine_manage() because internally it calls the rtpengine_offer()/_answer(). Not being familiar with this use case, I would to do a test and watch the

Re: [SR-Users] kamcli postgres support

2020-02-25 Thread Daniel-Constantin Mierla
Hello, pushing this one to the top, just in case someone missed the first message. Hoping to get someone knowing Python and using Postgres to help a bit with kamcli. Cheers, Daniel On 17.02.20 16:53, Daniel-Constantin Mierla wrote: > Hello, > > anyone in the community with Python knowledge

Re: [SR-Users] Kamailio OPTIONS Round-Trip

2020-02-25 Thread Daniel-Constantin Mierla
On 19.02.20 21:55, David Villasmil wrote: > +1 here. This feature would be a BIG plus. I’m also interested in what > Nuno pointed out, how is it decided which registrar will send the > OPTIONS to the UAC if we have multiple registrars sharing contacts via > DMQ? What scenarios/network

Re: [SR-Users] Database errors with usrloc db_mode=1 and dmq_usrloc

2020-02-25 Thread Joel Serrano
Thank you Daniel!! Joel. On Mon, Feb 24, 2020 at 23:45 Daniel-Constantin Mierla wrote: > Hello, > > ok, thanks fr testing, I pushed a commit for it in master and 5.3 branches > for now. > > Regarding the server id, I haven't implemented the dmq replication for > location records and I guess