[Kamailio-Users] t_newtran/t_reply vs. sl_send_reply

2008-07-30 Thread mayamatakeshi
Hello, sorry if this is a stupid question, but in the openser.cfg that comes with the source, I see the following: if (!lookup(location)) { switch ($retcode) { case -1: case -3: t_newtran(); t_reply(404, Not

[Kamailio-Users] Non-numeric prefixes in carrierroute:scan_prefix

2008-08-13 Thread mayamatakeshi
Hello, I just need a confirmation. We have Kamailio 1.3 running in production and it is working fine. But we received some reports from our OAM team that sometimes they want to set a non-numeric prefix at carrierroute::scan_prefix (like 'abc.') and this seems to not work. I have no complete

Re: [Kamailio-Users] Can openser.cfg lead to pkg memory problem?

2008-09-23 Thread mayamatakeshi
On Tue, Sep 23, 2008 at 6:00 PM, Daniel-Constantin Mierla [EMAIL PROTECTED] wrote: Hello, On 09/23/08 10:31, mayamatakeshi wrote: Hello, we have openser 1.3.3 running in production (current rev.: 4943). For 3 times in 50 days we had to restart openser to correct pkg memory problem

Re: [Kamailio-Users] Can openser.cfg lead to pkg memory problem?

2008-09-26 Thread mayamatakeshi
On Tue, Sep 23, 2008 at 6:00 PM, Daniel-Constantin Mierla [EMAIL PROTECTED] wrote: Hello, On 09/23/08 10:31, mayamatakeshi wrote: Hello, we have openser 1.3.3 running in production (current rev.: 4943). For 3 times in 50 days we had to restart openser to correct pkg memory problem

Re: [Kamailio-Users] Can openser.cfg lead to pkg memory problem?

2008-09-26 Thread mayamatakeshi
On Fri, Sep 26, 2008 at 6:24 PM, mayamatakeshi [EMAIL PROTECTED]wrote: On Tue, Sep 23, 2008 at 6:00 PM, Daniel-Constantin Mierla [EMAIL PROTECTED] wrote: Hello, On 09/23/08 10:31, mayamatakeshi wrote: Hello, we have openser 1.3.3 running in production (current rev.: 4943). For 3 times

Re: [Kamailio-Users] Can openser.cfg lead to pkg memory problem?

2008-10-06 Thread mayamatakeshi
On Sun, Oct 5, 2008 at 5:28 PM, Daniel-Constantin Mierla [EMAIL PROTECTED]wrote: Hello, mayamatakeshi wrote: On Fri, Sep 26, 2008 at 6:24 PM, mayamatakeshi [EMAIL PROTECTED]mailto: [EMAIL PROTECTED] wrote: On Tue, Sep 23, 2008 at 6:00 PM, Daniel-Constantin Mierla [EMAIL PROTECTED

Re: [Kamailio-Users] kamailio failed to generate nonce

2008-10-10 Thread mayamatakeshi
On Fri, Oct 10, 2008 at 4:13 PM, Daniel-Constantin Mierla [EMAIL PROTECTED] wrote: Hello, On 10/09/08 14:17, mayamatakeshi wrote: Hello, I'm testing with kamailio 1.4 (just got revision 5050). I'm stressing it using a sipp scenario to verify which population of subscribers kamailio can

[Kamailio-Users] Setting answer timeout

2009-01-05 Thread mayamatakeshi
Hello, I know I can customize the timeout for answer using fr_inv_timer: modparam(tm, fr_inv_timer, 20) But is it possible to set the answer timeout on a transaction basis? (so that it can be customized by subscriber for example). regards, mayama ___

Re: [Kamailio-Users] Setting answer timeout

2009-01-05 Thread mayamatakeshi
from the subscriber table using load_credentials(), among other things, if you're using auth_db. mayamatakeshi wrote: Hello, I know I can customize the timeout for answer using fr_inv_timer: modparam(tm, fr_inv_timer, 20) But is it possible to set the answer timeout on a transaction basis

[Kamailio-Users] Doubt about nat=yes

2009-01-24 Thread mayamatakeshi
Hello, I'm trying to understand this sample cfg: http://voip-info.org/wiki/view/OpenSER+And+RTPProxy This cfg is used as foundation for some of our cfg files here but nobody is sure about exactly how some things work. So I'm trying to clear things up. In particular, I am clueless about why there

Re: [Kamailio-Users] Doubt about nat=yes

2009-01-25 Thread mayamatakeshi
On Sun, Jan 25, 2009 at 3:06 AM, Iñaki Baz Castillo i...@aliax.net wrote: 2009/1/24 mayamatakeshi mayamatake...@gmail.com: Hello, I'm trying to understand this sample cfg: http://voip-info.org/wiki/view/OpenSER+And+RTPProxy This cfg is used as foundation for some of our cfg files here

Re: [Kamailio-Users] No UDP Address already in use?

2009-01-30 Thread mayamatakeshi
On Sat, Jan 31, 2009 at 3:53 AM, Luciano Afranllie listas.luaf...@gmail.com wrote: On Thu, Jan 29, 2009 at 3:04 PM, mayamatakeshi mayamatake...@gmail.com wrote: Hello, If I start a second instance of kamailio by mistake, if the cfg file instructs it to listen to tcp ports, the second

Re: [Kamailio-Users] How to send a to-tag in a CANCEL request generated by carrierroute?

2009-03-04 Thread mayamatakeshi
On Thu, Mar 5, 2009 at 1:10 AM, Iñaki Baz Castillo i...@aliax.net wrote: 2009/3/4 mayamatakeshi mayamatake...@gmail.com: Hello, I'm using the module carrierroute. I'm setting the carrierfailureroute table to try a second route if the first one times out. The first route is a GW that sends 183

[Kamailio-Users] Forgetting to call unforce_rtp_proxy

2009-03-10 Thread mayamatakeshi
Hello, is there any risk of having resources leaking if I fail to call unforce_rtp_proxy? Like having rtpproxy not freeing ports? I'm mean, my cfg is becoming bigger and I may fail to call this function somewhere. Should I be extremely careful about this? regards, takeshi

[Kamailio-Users] Modifying the URI in the header From more than once

2009-03-11 Thread mayamatakeshi
Hello, I'm trying to add CallForwarding to my kamailio.cfg. Before relaying an INVITE from one subscriber to another, I'm required to modify the From username to the PSTN number of the caller. So I use uac_replace_from and this works fine. I can see kamailio sendind this record-route:

Re: [Kamailio-Users] Modifying the URI in the header From more than once

2009-03-11 Thread mayamatakeshi
On Wed, Mar 11, 2009 at 8:33 PM, mayamatakeshi mayamatake...@gmail.com wrote: Hello, I'm trying to add CallForwarding to my kamailio.cfg. Before relaying an INVITE from one subscriber to another, I'm required to modify the From username to the PSTN number of the caller. So I use

Re: [Kamailio-Users] Using fr_inv_timer_avp

2009-03-14 Thread mayamatakeshi
On Sat, Mar 14, 2009 at 3:04 AM, Henning Westerholt henning.westerh...@1und1.de wrote: On Thursday 12 March 2009, mayamatakeshi wrote: - if I try to set the timer to something bigger than 60 seconds, the setting doesn't work and it seems the default value is used instead (I tested

Re: [Kamailio-Users] Dealing with REGISTER retransmissions

2009-03-24 Thread mayamatakeshi
  was thinking in doing something like this:          if (!proxy_authorize(, subscriber)) {                   t_newtran();                proxy_challenge(, 0);                exit;        }     Does anyone see any problem/shortcoming with this? you could also use pike module to drop too

Re: [Kamailio-Users] Dealing with REGISTER retransmissions

2009-03-24 Thread mayamatakeshi
. mayamatakeshi schrieb: Hello, we are running kamailio 1.4. Some days ago one of our subscribers SIP phone went crazy and bombarded our proxy with thousands of REGISTER requests. Actually, it didn't wait for any response of the proxy, it just kept sending REGISTER messages (same packet always

Re: [Kamailio-Users] Dealing with REGISTER retransmissions

2009-03-24 Thread mayamatakeshi
On Tue, Mar 24, 2009 at 7:37 PM, Iñaki Baz Castillo i...@aliax.net wrote: 2009/3/24 mayamatakeshi mayamatake...@gmail.com: So I was thinking, maybe I should create a transaction before sending the challenge so that REGISTER retransmissions would be absorbed. I was thinking in doing something

Re: [Kamailio-Users] correct usage of t_reply

2009-04-10 Thread mayamatakeshi
On Sat, Apr 11, 2009 at 12:53 PM, David Aldworth daldwo...@teliax.com wrote: I'm am attempting to return a 503 Service Unavailable after my kamailio server sends the provisional response to customer UA if we cannot find a route for the call. I am using: t_reply(503, Service Unavailable);

Re: [Kamailio-Users] correct usage of t_reply

2009-04-10 Thread mayamatakeshi
exists or not depending of which functions were called. I mean, you should know it. If you must recourse to some function to tell if a transaction exists or not, then I think the cfg is not clear. regards, takeshi P.S.: please, always CC to the list. On Apr 10, 2009, at 10:06 PM, mayamatakeshi

Re: [Kamailio-Users] using dialog to limit concurrent call, and limit monthly limits

2009-04-11 Thread mayamatakeshi
On Sat, Apr 11, 2009 at 3:44 PM, Jinsong Hu jinsong...@hotmail.com wrote: 2. people can use a single username/password , but uses it as a trunk, so they run multiple channels of voice call . With this they can run up thousands of dollars of bills on the kamailio owner. There are suggestion

Re: [Kamailio-Users] Profile takes some time to be cleared

2009-04-14 Thread mayamatakeshi
On Thu, Feb 26, 2009 at 3:22 AM, Daniel-Constantin Mierla mico...@gmail.com wrote: On 02/25/2009 06:16 PM, mayamatakeshi wrote: On Thu, Feb 26, 2009 at 12:34 AM, mayamatakeshi mayamatake...@gmail.com wrote: On Wed, Feb 25, 2009 at 7:29 PM, mayamatakeshi mayamatake...@gmail.com wrote

Re: [Kamailio-Users] using dialog to limit concurrent call, and limit monthly limits

2009-04-14 Thread mayamatakeshi
still using kamailio 1.4 so you may encounter other issues as I have not tested it with 1.5. regards, takeshi - Original Message - From: mayamatakeshi mayamatake...@gmail.com To: Jinsong Hu jinsong...@hotmail.com Cc: users@lists.kamailio.org Sent: Saturday, April 11, 2009 8:29 PM

Re: [Kamailio-Users] Profile takes some time to be cleared

2009-04-15 Thread mayamatakeshi
On Wed, Apr 15, 2009 at 4:27 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, On 04/15/2009 06:43 AM, mayamatakeshi wrote: On Thu, Feb 26, 2009 at 3:22 AM, Daniel-Constantin Mierla mico...@gmail.com wrote: On 02/25/2009 06:16 PM, mayamatakeshi wrote: On Thu, Feb 26, 2009

Re: [Kamailio-Users] Profile takes some time to be cleared

2009-04-16 Thread mayamatakeshi
On Wed, Apr 15, 2009 at 5:28 PM, Daniel-Constantin Mierla I did a patch some days ago. Can you test it with 1.5 or trunk? http://lists.kamailio.org/pipermail/users/2009-April/022811.html I modified my cfg to run with trunk (rev. 5795) and verified presence of the problem reported by Alex (no

[Kamailio-Users] snmpstats invalid condition in executeInterprocessBufferCmd

2009-05-27 Thread mayamatakeshi
Hello, we have kamailio 1.4 (r. 5728) running in production. We compiled kamailio with 4 times the default pkg memory pool size (#define PKG_MEM_POOL_SIZE 4*1024*1024 ). We use snmpstats to monitor registration and number of calls using Nagios and PRTG. Some days ago, after almost 30 days of

[Kamailio-Users] Choosing IP address when relaying request

2009-08-20 Thread mayamatakeshi
Hello, I have 2 ip addresses being listened in my cfg file. Is it possible to set which ip address will be used when relaying a request? regards, takeshi ___ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org

Re: [Kamailio-Users] Choosing IP address when relaying request

2009-08-20 Thread mayamatakeshi
On Thu, Aug 20, 2009 at 8:54 PM, mayamatakeshimayamatake...@gmail.com wrote: Hello, I have 2 ip addresses being listened in my cfg file. Is it possible to set which ip address will be used when relaying a request? OK. I've found it in the docs: force_send_socket([proto:]address[:port])

Re: [Kamailio-Users] Choosing IP address when relaying request

2009-08-20 Thread mayamatakeshi
On Thu, Aug 20, 2009 at 9:19 PM, Daniel-Constantin Mierlamico...@gmail.com wrote: On 20.08.2009 15:06 Uhr, mayamatakeshi wrote: On Thu, Aug 20, 2009 at 8:54 PM, mayamatakeshimayamatake...@gmail.com wrote: Hello, I have 2 ip addresses being listened in my cfg file. Is it possible to set

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 > >

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] 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-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:

[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

[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] 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] 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] 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] 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

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

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-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-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-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-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] 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

[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

[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] 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=