[SR-Users] How to configure ndb_redis sentinel

2023-10-20 Thread mayamatakeshi via sr-users
Hi, regarding ndb_redis, I have 3 sentinels like this: "192.168.88.155:26379" "192.168.88.156:26379" "192.168.88.157:26379" So was thinking that I would configure ndb_redis this way: modparam("ndb_redis", "server", "name=srvZ;sentinel_group=myredis;sentinel_master=1;sentinel=

[SR-Users] Re: Use Kamailio and RTPEngine to play wav file as early media to announce a server maintenance

2023-03-14 Thread mayamatakeshi
On Wed, Mar 15, 2023 at 11:21 AM mayamatakeshi wrote: > > > On Wed, Mar 15, 2023 at 2:56 AM wrote: > >> I am looking to configure Kamailio and RTPEngine to play a wav file for >> any new calls during a scheduled asterisk server maintenance. I have set up >> the fo

[SR-Users] Re: Use Kamailio and RTPEngine to play wav file as early media to announce a server maintenance

2023-03-14 Thread mayamatakeshi
On Wed, Mar 15, 2023 at 2:56 AM wrote: > I am looking to configure Kamailio and RTPEngine to play a wav file for > any new calls during a scheduled asterisk server maintenance. I have set up > the following within route{} to send the call to a early_media route based > on a variable that I can

Re: [SR-Users] Testing dialog module (and acc with dialog cdrs)

2022-10-17 Thread mayamatakeshi
On Mon, Oct 17, 2022 at 7:45 AM mayamatakeshi wrote: > > > On Fri, Oct 14, 2022 at 6:21 PM Daniel-Constantin Mierla < > mico...@gmail.com> wrote: > >> Based on your parameters, it seems that acc should send cdrs also to >> syslog. I think I identified an issue o

Re: [SR-Users] Testing dialog module (and acc with dialog cdrs)

2022-10-17 Thread mayamatakeshi
On Mon, Oct 17, 2022 at 10:01 PM Daniel-Constantin Mierla wrote: > The rpc command is to arm the printing of the pkg usage summary in the > syslog file. Then, when the kamailio process handles the next sip message, > it is printing the summary in the syslog file, so look inside > /var/log/syslog

Re: [SR-Users] Testing dialog module (and acc with dialog cdrs)

2022-10-16 Thread mayamatakeshi
On Fri, Oct 14, 2022 at 6:21 PM Daniel-Constantin Mierla wrote: > Based on your parameters, it seems that acc should send cdrs also to > syslog. I think I identified an issue on that code and pushed a fix, can > you test with latest master git branch? > > > OK. I have started 2 load test

Re: [SR-Users] Testing dialog module (and acc with dialog cdrs)

2022-10-16 Thread mayamatakeshi
On Fri, Oct 14, 2022 at 5:25 PM Daniel-Constantin Mierla wrote: > OK. Can you run the tests for a while and then execute: > > kamctl rpc corex.pkg_summary idx 1 > > The value for idx should be the kamailio process expected to handle sip > traffic. If it is mostly udp and the first socket is the

Re: [SR-Users] Testing dialog module (and acc with dialog cdrs)

2022-10-14 Thread mayamatakeshi
"acc", "log_facility", "LOG_LOCAL0") modparam("acc", "log_flag", 10) modparam("acc", "cdr_facility", "LOG_LOCAL0") modparam("acc", "cdr_log_enable", 1) On Fri, Oct 14, 2022 at 3:57 PM Daniel-Consta

Re: [SR-Users] Testing dialog module (and acc with dialog cdrs)

2022-10-13 Thread mayamatakeshi
On Mon, Oct 3, 2022 at 11:41 AM mayamatakeshi wrote: > > > On Mon, Sep 26, 2022 at 8:32 PM Daniel-Constantin Mierla < > mico...@gmail.com> wrote: > >> Hello, >> >> as I am not a user of dialog variables, I am turning to community to ask >&g

Re: [SR-Users] Testing dialog module (and acc with dialog cdrs)

2022-10-02 Thread mayamatakeshi
On Mon, Sep 26, 2022 at 8:32 PM Daniel-Constantin Mierla wrote: > Hello, > > as I am not a user of dialog variables, I am turning to community to ask > for help testing the current master branch with configurations that make > use of dialog variables and acc dialog-based cdr generation. > > With

Re: [SR-Users] Disabling video rtp proxing

2022-08-31 Thread mayamatakeshi
rg/docs/modules/devel/modules/textops.html#textops.f.set_body > > Then you get your changes. > > On Fri, 26 Aug 2022, 01:23 mayamatakeshi, wrote: > >> Hi, >> Yes, I tried. >> I had this code in my cfg file: >> >> sdp_remove_media("video"); >>

Re: [SR-Users] Disabling video rtp proxing

2022-08-25 Thread mayamatakeshi
/sdpops.html#sdpops.f.sdp_remove_media > > > > Cheers, > > > > Henning > > > > -- > > Henning Westerholt – https://skalatan.de/blog/ > > Kamailio services – https://gilawa.com > > > > *From:* sr-users *On Behalf Of * > mayamatakeshi

[SR-Users] Disabling video rtp proxing

2022-08-24 Thread mayamatakeshi
Hi, I'm using rtpengine for RTP proxying with kamailio. I use it just for audio. But eventually some terminal reinvites offering video. I don't want to refuse the request but just disable RTP proxying for video as my employer has limited bandwidth and want to reserve it only for audio. So I

[SR-Users] Kamailio 5.5 TLS critical log in Debian 11

2022-03-09 Thread mayamatakeshi
I'm testing with this kamailio version: $ kamcmd version kamailio 5.5.4 (x86_64/linux) 54c9df on: $ cat /etc/issue Debian GNU/Linux 11 \n \l with: $ openssl version OpenSSL 1.1.1k 25 Mar 2021 Whenever I start kamailio I get 3199 log lines like this: 2022-03-10T10:04:39.700676+09:00

Re: [SR-Users] Use specific expires per User-Agent

2022-01-30 Thread mayamatakeshi
; > Ignore the incorrect documentation for the ‘expires’ parameter; it appears > to be a duplicate of the summary for the ‘max_contacts’ parameter. > > — Alex > > > On Jan 31, 2022, at 1:15 AM, mayamatakeshi > wrote: > > > > Hi, > > I have a requirement

[SR-Users] Use specific expires per User-Agent

2022-01-30 Thread mayamatakeshi
Hi, I have a requirement to specify a REGISTER max_expires based on the User-Agent. I checked the docs and it seems there is no pseudo-variable or something like that would permit this. I would like to be able to do something like this: if($ua ~= "Some-UA") { $max_expires=100; } else {

Re: [SR-Users] Does cfgutils usleep block the process?

2022-01-19 Thread mayamatakeshi
Thanks. On Thu, Jan 20, 2022 at 11:21 AM Alex Balashov wrote: > Yes, it blocks the process. > > — > Sent from mobile, with due apologies for brevity and errors. > > On Jan 19, 2022, at 9:15 PM, mayamatakeshi > wrote: > >  > Hi, it seems execution of uslee

[SR-Users] Does cfgutils usleep block the process?

2022-01-19 Thread mayamatakeshi
Hi, it seems execution of usleep eventually reaches this code: https://github.com/kamailio/kamailio/blob/master/src/core/ut.h#L508 so it seems it would block the process and so it might cause delay of packet processing if many processes do this at the same time. Can someone confirm this?

Re: [SR-Users] Different REGISTER expires based on User-Agent

2020-02-11 Thread mayamatakeshi
. On Tue, Feb 11, 2020 at 8:43 PM Yuriy Gorlichenko wrote > But you will see those changes in the pcap even without > apply_message_changes > It is highly recommended to not use this function as it parses all message > again. > > On Tue, 11 Feb 2020, 12:29 mayamatakeshi, wrote:

Re: [SR-Users] Different REGISTER expires based on User-Agent

2020-02-11 Thread mayamatakeshi
On Tue, Feb 11, 2020 at 7:48 PM Daniel Tryba wrote: > On Tue, Feb 11, 2020 at 08:03:29AM +0900, mayamatakeshi wrote: > > Actually, my idea was to do something like this before handing the > REGISTER > > to registrar save() function: > >

Re: [SR-Users] Different REGISTER expires based on User-Agent

2020-02-10 Thread mayamatakeshi
On Sun, Feb 9, 2020 at 8:49 AM David Villasmil < david.villasmil.w...@gmail.com> wrote: > I wonder whether changing the expire value constantly will impact all > expires, as opposed to just the one you’re trying to set it to. If, say you > lower it for a register, will that expire all existing

Re: [SR-Users] Different REGISTER expires based on User-Agent

2020-02-08 Thread mayamatakeshi
On Mon, Feb 3, 2020 at 7:24 AM Alex Balashov wrote: > On Mon, Feb 03, 2020 at 07:17:42AM +0900, mayamatakeshi wrote: > > > is it possible to reply with a different expires for a REGISTER depending > > on some condition like the User-Agent? > > I am thinking maybe I can

[SR-Users] Different REGISTER expires based on User-Agent

2020-02-02 Thread mayamatakeshi
Hi, is it possible to reply with a different expires for a REGISTER depending on some condition like the User-Agent? I am thinking maybe I can use: $ulc(profile=>expires) = 600 (but my kamailio dev machine is out of service and I cannot test this right now).

Re: [SR-Users] Command Line SIP client

2019-10-31 Thread mayamatakeshi
hi, i like this one: https://github.com/alfredh/baresip On Thursday, October 31, 2019, Gaurav Bmotra wrote: > hi > i m looking for Command Line SIP client , where i can register user form > CLI for testing > > thank you > > -- > > > > > > > > > *Regards:* > Gaurav Kumar > >