[SR-Users] Re: Dns record not alone?

2024-07-17 Thread Ben Kaufman via sr-users
Hi, I had observed the same thing a few weeks ago and asked in the Matrix chat. Daniel indicated that the warnings are safe, and will be changed to debug level in the near future: On Wed, June 26th: 1. miconda: I pushed a commit to make them debug. I added the warnings when invastigated

[SR-Users] Re: Change the To Header in the failure_route

2024-07-12 Thread Ben Kaufman via sr-users
The manner in which this reply is "confidently wrong" makes it looks like it may have been pulled directly from AI? -Original Message- From: Henning Westerholt via sr-users Sent: Friday, July 12, 2024 9:04 AM To: Kamailio (SER) - Users Mailing List Cc: Maria Jonas ; Henning Westerholt

[SR-Users] Re: SRV in advertise?

2024-07-01 Thread Ben Kaufman via sr-users
While I don't know if it will or won't cause the failure, you shouldn't have a port number in something you're intending to use as a SRV record. - Kaufman From: David Villasmil Sent: Monday, July 1, 2024 9:19 AM To: Ben Kaufman Cc: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users

[SR-Users] Re: SRV in advertise?

2024-07-01 Thread Ben Kaufman via sr-users
Are you using a hostname that should resolve as srv , for example, sip.domain.com, or are you using the underscore, scheme, underscore transport protocol, hostname type like _sip._udp.domain.com ? Regards, Kaufman From: David Villasmil via sr-users Sent: Sunday, June 30, 2024 6:02 PM

[SR-Users] Re: SecSIPID Assistance

2024-06-20 Thread Ben Kaufman via sr-users
Except for `expire` and `timeout`, those parameters don't exist for secsip id- at least according to the module documentation: https://kamailio.org/docs/modules/stable/modules/secsipid Regards, Kaufman From: Blake Ivey Sent: Thursday, June 20, 2024 3:39 PM To: Ben Kaufman Cc: sr-users

[SR-Users] Re: SecSIPID Assistance

2024-06-20 Thread Ben Kaufman via sr-users
What is the error you're getting? Regards, Kaufman From: Blake Ivey via sr-users Sent: Thursday, June 20, 2024 3:14 PM To: Kamailio (SER) - Users Mailing List Cc: Blake Ivey Subject: [SR-Users] SecSIPID Assistance CAUTION: This email originated from outside the organization. Do not click

[SR-Users] Re: Assistance Needed: Converting 11-Digit US Numbers to E.164 in Kamailio

2024-06-05 Thread Ben Kaufman via sr-users
…. Until you encounter something like STIR/SHAKEN (as implemented in the USA and Canada) which requires the e.164 globalized format which is without the leading “+”. Sometimes it’s impossible to win. Regards, Kaufman From: David Villasmil Sent: Tuesday, June 4, 2024 6:53 AM To: Kamailio

[SR-Users] Re: Assistance Needed: Converting 11-Digit US Numbers to E.164 in Kamailio

2024-05-31 Thread Ben Kaufman via sr-users
Ben Kaufman Subject: Re: [SR-Users] Assistance Needed: Converting 11-Digit US Numbers to E.164 in Kamailio CAUTION: This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. > On May 31, 2024, a

[SR-Users] Re: Assistance Needed: Converting 11-Digit US Numbers to E.164 in Kamailio

2024-05-31 Thread Ben Kaufman via sr-users
Answered in order of easiest answer to most complex: > Does it start with a 0? No. I've never encountered any US number requiring a prefix of "0" nor a US number being written that way. > US numbers are fixed lenght 11 digits? The USA is in the North American Numbering Plan (NANP).

[SR-Users] Re: Assistance Needed: Converting 11-Digit US Numbers to E.164 in Kamailio

2024-05-31 Thread Ben Kaufman via sr-users
A few points, and reasons why the issue is both more simple and more complex than indicated: 1. The definition of E.164 isn’t clear here. My assumption is that you mean a digit string that starts with a plus character. There is no requirement in the E.164 specification that a leading

[SR-Users] Re: libstirshaken installation issues

2024-05-29 Thread Ben Kaufman via sr-users
to extract it. It also seems to get less development attention. If you're running Debian on x86, libsecsipid can be entirely installed from packages as well. Regards, Kaufman -Original Message- From: Daniel-Constantin Mierla via sr-users Sent: Wednesday, May 29, 2024 12:52 AM

[SR-Users] Re: q_malloc.c:520 WARNINGs

2024-05-15 Thread Ben Kaufman via sr-users
The issue is trivial to reproduce. I didn’t test every dialplan module function, but it occurs with both dp_transalate() and dp_match(). I’ve opened an issue in GitHub: https://github.com/kamailio/kamailio/issues/3851 Regards, Kaufman From: Ben Kaufman via sr-users Sent: Monday, May 13

[SR-Users] Re: q_malloc.c:520 WARNINGs

2024-05-13 Thread Ben Kaufman via sr-users
I’ve just noticed a similar behavior in kamailio 5.8.1 after upgrading from 5.6.3. I haven’t had time to poke around on it much yet. Wondering if anyone found the root cause? In my case I’m calling just `dp_match("1", "$rU");` I’ll try to update with a simplified scenario, etc. From: Joel

[SR-Users] Re: Retransmission behaviour after ACK

2024-05-06 Thread Ben Kaufman via sr-users
To be a bit more specific, the issue would appear to be that Kamailio is not correlating the ACK with the transaction. Compare the ACK sent by Asterisk to the ACK sent by SIPp to see what is wrong with the SIPp ACK. From: Sergio Charrua Sent: Monday, May 6, 2024 10:39 AM To: Ben Kaufman Cc

[SR-Users] Re: Retransmission behaviour after ACK

2024-05-06 Thread Ben Kaufman via sr-users
` as the contact in your ACK: (https://sipp.readthedocs.io/en/latest/scenarios/keywords.html#next-url) Kaufman From: Sergio Charrua via sr-users Sent: Monday, May 6, 2024 6:57 AM To: Kamailio (SER) - Users Mailing List Cc: Sergio Charrua Subject: [SR-Users] Retransmission behaviour after ACK CAUTION

[SR-Users] Re: compile without downtime

2024-04-17 Thread Ben Kaufman via sr-users
You can definitely compile (`make`) without downtime. Installation without downtime is likely safe, but I don't think you'll find many people willing to give you a guarantee on it. The biggest problems with just running `make install` blindly are the potential to clobber config files or

[SR-Users] Re: Newbie looking for advice

2024-04-09 Thread Ben Kaufman via sr-users
at's the general jumping of point. You might have other needs (failover routing, caller id dips, etc), but that should get you started. Regards, Kaufman From: Wayne Wenthin via sr-users Sent: Tuesday, April 9, 2024 3:06 PM To: sr-users@lists.kamailio.org Cc: Wayne Wenthin Subject: [SR-Users

[SR-Users] Re: making HTTP requests in stateless redirects

2024-04-08 Thread Ben Kaufman via sr-users
, disable automatic 100 Trying from the TM module. Kaufman Senior Voice Engineer E: bkauf...@bcmone.com SIP.US Client Support: 800.566.9810 | SIPTRUNK Client Support: 800.250.6510 | Flowroute Client Support: 855.356.9768 [img]<https://www.sip.us/> [img]<https://www.siptrunk

[SR-Users] Re: RFC: uptime metric for xhttp_prom module

2024-04-05 Thread Ben Kaufman via sr-users
I've only ever used "all" as well, and never tried anything else until writing this response yesterday. I think separate param names is fine. -Original Message- From: Ovidiu Sas Sent: Thursday, April 4, 2024 6:58 PM To: Ben Kaufman Cc: Kamailio (SER) - Users Mailing List

[SR-Users] Re: Kamailio Visions 2030 for Appalachia

2024-04-05 Thread Ben Kaufman via sr-users
The release was from April 1st – April Fool’s day. ;) Regards, Kaufman From: Alexandru Covalschi via sr-users Sent: Thursday, April 4, 2024 11:38 PM To: Kamailio (SER) - Users Mailing List Cc: Tom Lynn ; Alexandru Covalschi <568...@gmail.com> Subject: [SR-Users] Re: Kamailio Vision

[SR-Users] Re: RFC: uptime metric for xhttp_prom module

2024-04-04 Thread Ben Kaufman via sr-users
Is this a variable named "xhttp_prom_stats", or the modparam key "xhttp_prom_stats"? There's already two separate parameters, right: - xhttp_prom_stats - corresponds to the rpc stats.get_statistics, thus it's argument corresponds to that RPC call - xhttp_prom_pkg_stats - Corresponds to the rpc

[SR-Users] Re: append_hf not working

2024-03-11 Thread Ben Kaufman via sr-users
There's also the question of when the header was appended as well, right? Calling append_hf() after creating a transaction will only apply that header to the current branch, not to subsequent branches. -Original Message- From: James Browne via sr-users Sent: Monday, March 11, 2024

[SR-Users] Re: SIP Redirect Server

2024-03-10 Thread Ben Kaufman via sr-users
e told to “consider this request like there’s an `rport` in the top most via header” by setting `force_rport`. This is what you want based on your description below. Regards, Kaufman From: Antonio via sr-users Sent: Sunday, March 10, 2024 11:08 AM To: Fred Posner Cc: Kamailio (SER) - Users Mailin

[SR-Users] Re: High CPU with DMQ on ARM64 (graviton) - Tuning values for DMQ worker_usleep

2024-02-09 Thread Ben Kaufman via sr-users
utilization to a normal level, but I don't have any idea if 1000us is a "good" value - it's just the value that's in the example in the documentation. Kaufman Senior Voice Engineer E: bkauf...@bcmone.com SIP.US Client Support: 800.566.9810 | SIPTRUNK Client Support: 80

[SR-Users] Re: High CPU with DMQ on ARM64 (graviton) - Tuning values for DMQ worker_usleep

2024-02-09 Thread Ben Kaufman via sr-users
Just checking to see if anyone had any ideas about tuning on this feature. From: Ben Kaufman via sr-users Sent: Thursday, February 1, 2024 8:38 AM To: Kamailio (SER) - Users Mailing List Cc: Ben Kaufman Subject: [SR-Users] High CPU with DMQ on ARM64 (graviton) - Tuning values for DMQ

[SR-Users] High CPU with DMQ on ARM64 (graviton) - Tuning values for DMQ worker_usleep

2024-02-01 Thread Ben Kaufman via sr-users
f 60 - 300 seconds with 7 - 9 nodes on the DMQ bus. Any general recommendations on tuning values for this setting? https://github.com/kamailio/kamailio/issues/822 Regards, Kaufman __ Kamailio - Users Mailing List - Non Commercial D

[SR-Users] Re: trigger different branch route on branch added with append_branch

2024-01-18 Thread Ben Kaufman via sr-users
I think what you want is PATH: https://www.kamailio.org/docs/modules/devel/modules/path.html -Original Message- From: Benoit Panizzon via sr-users Sent: Thursday, January 18, 2024 10:02 AM To: sr-users@lists.kamailio.org Cc: Benoit Panizzon Subject: [SR-Users] trigger different branch

[SR-Users] Re: Using http_async_query - transaction seems "reused" for subsequent SIP INVITE requests received ? (Kamailio 5.7.3)

2024-01-12 Thread Ben Kaufman via sr-users
I think you can remove the warning simply by "touching" the ruri: $ru = $ru; -Original Message- From: Chaigneau, Nicolas via sr-users Sent: Friday, January 12, 2024 8:26 AM To: Kamailio (SER) - Users Mailing List Cc: Chaigneau, Nicolas Subject: [SR-Users] Re: Using http_async_query

[SR-Users] Re: No access to variables within timer route

2023-11-30 Thread Ben Kaufman via sr-users
What I'm not clear on from your example is the use of the timer: - Kamailio gets an invite, write a record to redis where the key identifies the user. - On call teardown, find the key and delete it. What is the timer route doing? It should be able to read redis. -Original Message-

[SR-Users] Re: No access to variables within timer route

2023-11-30 Thread Ben Kaufman via sr-users
>From the rtimer documentation overview: > The module executes route blocks on a timer base. It can create new timer > processes and execute many route blocks on same timer. > A static faked SIP message is given as parameter to called functions, so > all functions available for

[SR-Users] Re: Sharing load between rtpengine servers

2023-11-10 Thread Ben Kaufman via sr-users
>From a strictly linguistic point of view the sentence, "This is supported by >all rtpengine commands except rtpengine_manage()" is at the end of the second >paragraph, which is in reference to the second argument. I would take it to >mean that the second argument is not supported by

[SR-Users] Re: Sequential fork with different Call-Ids

2023-11-07 Thread Ben Kaufman via sr-users
be why you need a separate call-id for each call. Kamailio will generate a new branch parameter for the via's that it adds, so this shouldn't be necessary. Regards, Kaufman. From: Vanderlei Torres Batistela via sr-users Sent: Tuesday, November 7, 2023 11:36 AM To: sr-users@lists.kamailio.org

[SR-Users] Re: STIR/SHAKEN with Kamailio

2023-10-20 Thread Ben Kaufman via sr-users
ts unless you recognize the sender and know the content is safe. > On 19 Oct 2023, at 18:46, Alex Balashov via sr-users > wrote: > > Would join Kaufman here to say that free-range STIR/SHAKEN > implementations in the US are limited by the small number of certified > authentication

[SR-Users] Re: STIR/SHAKEN with Kamailio

2023-10-19 Thread Ben Kaufman via sr-users
- we use this to create div passports (as opposed to shaken passports) in some situations. Not sure how it will be implemented there, but the biggest challenge for me in the US was acquiring certificates because there is a very limited number of regulatory approved vendors. Regards, Kaufman

[SR-Users] Re: Using DMQ to sync the TM module.

2023-10-11 Thread Ben Kaufman via sr-users
It would seem the best solution is to use something that can use the SIP protocol for making routing decisions - for example, Kamailio acting as a stateless load balancer, either as a replacement for your load balancer or between your layer4 load balancer (just doing pure round-robin of

[SR-Users] Re: Serial Forking with differing next hop for each branch?

2023-10-10 Thread Ben Kaufman via sr-users
? CAUTION: This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. > On 10 Oct 2023, at 10:17, Barry Flanagan via sr-users > wrote: > > On 10/10/2023 15:09, Ben Kaufman wrote: >&g

[SR-Users] Re: Serial Forking with differing next hop for each branch?

2023-10-10 Thread Ben Kaufman via sr-users
Would this work: use append_branch() in the request_route, then in your failure route: $var(temp_ru) = $ru; t_next_contacts(); $du = $ru; $ru = $var(temp_ru); -Original Message- From: Barry Flanagan Sent: Tuesday, October 10, 2023 8:24 AM To: Ben Kaufman ; Kamailio (SER) - Users

[SR-Users] Re: Serial Forking with differing next hop for each branch?

2023-10-10 Thread Ben Kaufman via sr-users
append_branch() will automatically sort by q value. -Original Message- From: Barry Flanagan via sr-users Sent: Tuesday, October 10, 2023 5:15 AM To: sr-users Cc: Barry Flanagan Subject: [SR-Users] Re: Serial Forking with differing next hop for each branch? CAUTION: This email

[SR-Users] Re: CANCEL first, then INVITE.

2023-10-09 Thread Ben Kaufman via sr-users
TM should be able to different between the 200 reply to the locally generated CANCEL and the 200 OK for the relayed INVITE. You shouldn't have a problrm. Can you post your config? Kaufman From: James Lipski via sr-users Sent: Saturday, October 7, 2023 9:01:03

[SR-Users] Re: CANCEL first, then INVITE.

2023-09-28 Thread Ben Kaufman via sr-users
Description automatically generated] -Original Message- From: Ben Kaufman via sr-users Sent: Thursday, September 28, 2023 5:05 PM To: Kamailio (SER) - Users Mailing List Cc: James Lipski ; Ben Kaufman Subject: [SR-Users] Re: CANCEL first, then INVITE. CAUTION: This email originated

[SR-Users] Re: CANCEL first, then INVITE.

2023-09-28 Thread Ben Kaufman via sr-users
I can reproduce this behavior easily with the config below, but I'm not quite sure how/why it matters. request_route { xinfo("[$ru] recieved\n"); $rd = "target2"; append_branch("sip:$rU@target1", "1.0"); t_load_contacts(); t_next_contacts();

[SR-Users] Re: Multi-dimensional data in htable

2023-09-22 Thread Ben Kaufman via sr-users
Fri, 22 Sep 2023 at 08:20, Ben Kaufman via sr-users > wrote: > Thank you. I'll look into that! > Kaufman > __ > Kamailio - Users Mailing List - Non Commercial Discussions To > unsubscribe send an email to sr-users-le...@list

[SR-Users] Re: Multi-dimensional data in htable

2023-09-22 Thread Ben Kaufman via sr-users
Thank you. I'll look into that! Kaufman __ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only

[SR-Users] Multi-dimensional data in htable

2023-09-17 Thread Ben Kaufman
s really usable outside of loading from a database, and looks like it's short hand for managing/creating linked lists. The other option would be to simply serialize the data before storing it in the htable - which is fine, I just want to be sure I'm not overlooking a more convenient me

[SR-Users] Re: load_module(): could not find module in

2023-09-08 Thread Ben Kaufman
More specifically, it's the entire mi_* interface. Use the rpc interfaces instead. Refer to the 4.4 to 5.0 upgrade guide https://www.kamailio.org/wiki/install/upgrade/4.4.x-to-5.0.0 -Original Message- From: Ben Kaufman Sent: Friday, September 8, 2023 3:18 PM To: Kamailio (SER

[SR-Users] Re: load_module(): could not find module in

2023-09-08 Thread Ben Kaufman
The fifo module was deprecated in 5.0 -Original Message- From: a...@cosmicinfotech.com Sent: Friday, September 8, 2023 5:07 AM To: sr-users@lists.kamailio.org Subject: [SR-Users] load_module(): could not find module in CAUTION: This email originated from outside the organization. Do

[SR-Users] Re: use_dns_failover default value

2023-08-23 Thread Ben Kaufman
I'd argue that even *IF* name resolution became increasingly common, that changing defaults would tend to break existing configs and is not something that should be done lightly. In this case, general practice is to handle the failure in the script logic on branch failure, and so the feature

[SR-Users] Re: change A number using a pool of numbers

2023-08-03 Thread Kaufman
ould make that would be faster than pulling a random member out of redis. Kaufman From: Ali Taher Sent: Thursday, August 3, 2023 1:32 AM To: Kamailio (SER) - Users Mailing List Subject: [SR-Users] Re: change A number using a pool of numbers CAUTION: This email originated from outside the organi

[SR-Users] Re: change A number using a pool of numbers

2023-08-02 Thread Kaufman
so that replies can have the original values restored. For other miscellaneous headers like P-Asserted-Identity, just remove the old header and append a new one. Regards, Kaufman From: Ali Taher Sent: Wednesday, August 2, 2023 1:20 AM To: Kamailio (SER) - Users Mailing List Subject: [SR

[SR-Users] Re: Saving credentials in yaml/txt format

2023-07-31 Thread Kaufman
Without getting too pendantic, isn't saving this data into a "yaml/txt" file just changing where it's hard coded? Generally, Kamailio will store information like this in a database. Someone pointed you to the db_text module, but I'd recommend db_sqlite although for the purpose of your

[SR-Users] Re: event_route[tm:local-response] only executes a few times

2023-07-07 Thread Kaufman
Following up here. Shouldn't event_route[tm:local-response] be executed for every locally generated request, not just the first few after Kamailio start? Kaufman From: Kaufman Sent: Wednesday, July 5, 2023 11:14 AM To: Kamailio (SER) - Users Mailing List Subject: [SR-Users] event_route

[SR-Users] event_route[tm:local-response] only executes a few times

2023-07-05 Thread Kaufman
Hello, I'm writing a 302 redirect server and wanting to capture some events on all replies, so I'm trying to do this in event_route[tm:local-response], but I noticed that the event route is only called a few times for the first few requests, and then never gets executed again. This is the

[SR-Users] Re: SL absorbed ACK is counted as dropped by core.drop_requests

2023-07-04 Thread Kaufman
Daniel, Thank you. That answers the question. Knowing this, I can just get the difference between the dropped and absorbed counter and go with that to get the number of "dropped, but not dropped by SL ACK handling" count. Kaufman Sr. VoIP Engineer - BCM One +1.612.735.

[SR-Users] Re: SL absorbed ACK is counted as dropped by core.drop_requests

2023-07-03 Thread Kaufman
Just following up on this; Should an ACK absorbed by the SL module get counted as a dropped request? Kaufman From: Kaufman Sent: Tuesday, June 27, 2023 6:52 PM To: Kamailio (SER) - Users Mailing List Subject: [SR-Users] SL absorbed ACK is counted as dropped by core.drop_requests CAUTION

[SR-Users] SL absorbed ACK is counted as dropped by core.drop_requests

2023-06-27 Thread Kaufman
:[$ru] To:[$tu] From:[$fu]\n"); sl_send_reply("404", "Not Found"); } event_route[sl:filtered-ack] { xnotice("sl:filtered-ack ACK [$ci] to local reply absorbed\n"); } Then validate by kamcmd stats.fetch core:drop_requests Is this the designed and &quo

[SR-Users] Re: Kamailio - could not allocate private memory from pkg pool

2023-06-06 Thread Kaufman
start Kamailio. You might also consider building packages from source depending if there's supporting code for your distribution. While this is slightly more work, it does leave you with a simpler installation pattern. - Kaufman -Original Message- From: Muhammad Danish Moosa Sent: Tuesda

[SR-Users] Missing transformations for {val.*}?

2023-06-02 Thread Kaufman
" 0(114) ERROR: [core/pvapi.c:1131]: pv_parse_spec2(): invalid parsing in [$(avp(nothing){val.ne})] at (4) 0(114) ERROR: xlog [xlog.c:551]: xdbg_fixup_helper(): wrong format[Null val: $(avp(nothing){val.ne})] 0(114) ERROR: [core/route.c:1169]: fix_actions(): fixing failed (code=-1) at cfg:/etc/kam

[SR-Users] Re: Docker repository removed

2023-04-14 Thread Kaufman
e. A side note, for dependency reasons it's challenging to build some modules for alpine. If anyone knows how to build and package secsipid for alpine, I'd love to know! :) https://hub.docker.com/repository/docker/whosgonna/kamailio-apks/general Kaufman From: Manel Villar Sent: Friday, Apri

[SR-Users] Re: CLI & destination based LCR

2023-04-13 Thread Kaufman
opclass is pretty helpful in making the queries more efficient: https://github.com/dimitri/prefix Kaufman From: John Cahill Sent: Thursday, April 13, 2023 4:57 AM To: sr-users@lists.kamailio.org Subject: [SR-Users] CLI & destination based LCR CAUTION: This email originated from out

[SR-Users] Re: Three year old issue with a new CVE vulnerability report being reported

2023-03-28 Thread Kaufman
Sorry - for clarification, this issue is or is not fixed in Kamailio v5.6.4? > The latest stable branch is 5.6, with v5.6.4 released out of it. Kaufman -Original Message- From: Olle E. Johansson Sent: Tuesday, March 28, 2023 9:47 AM To: sr-users@lists.kamailio.org Subject:

[SR-Users] Re: DB_CLUSTER failure with carrierroute (and others?)

2023-02-08 Thread Kaufman
In this case, though the underlying connection supports it - if I use a db_sqlite connection directly, it works. It fails when abstracted by db_cluster. As Henning said, I'll try to the debug logging from it as well (and compare it to using sqlite directly). Kaufman Sr. VoIP Engineer - BCM

[SR-Users] Re: DB_CLUSTER failure with carrierroute (and others?)

2023-02-08 Thread Kaufman
I cannot reproduce this issue against mysql, so perhaps it is just something related to abstraction and concurrent access with sqlite. Kaufman From: Kaufman Sent: Wednesday, February 8, 2023 10:48 AM To: Kamailio (SER) - Users Mailing List Subject: [SR-Users] DB_CLUSTER failure

[SR-Users] DB_CLUSTER failure with carrierroute (and others?)

2023-02-08 Thread Kaufman
iled 0(1) ERROR: carrierroute [cr_data.c:179]: reload_route_data(): could not load routing data 0(1) ERROR: carrierroute [carrierroute.c:240]: mod_init(): could not prepare route data 0(1) ERROR: [core/sr_module.c:942]: init_mod(): Error while initializing module carrierroute (/usr/lib/kamailio/m

[SR-Users] Re: Setting socket_workers does not work if using interface name

2023-01-18 Thread Kaufman
it as an environmental variable: docker run --rm -it -e INTERFACE=0.0.0.0 whosgonna/kamsockets The script, etc. can be found here: https://github.com/whosgonna/kam_sockets Kaufman From: Karsten Horsmann Sent: Friday, January 13, 2023 12:45 PM To: Kamailio (SER) - Users Mailing List Subject: [SR-Users] Re

[SR-Users] Setting socket_workers does not work if using interface name

2023-01-12 Thread Kaufman
four listeners on the socket. Note this is just a quick cursory observation. Is it by design or a design limitation? Kaufman __ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-le

[SR-Users] Re: Direct Routing, SIP, INVITE TO TEAMS (400 BAD REQUEST)

2022-12-29 Thread Kaufman
In your top Record-Route you have: socket=; Not sure if that is legal. Kaufman -Original Message- From: Alex Balashov Sent: Thursday, December 29, 2022 9:02 AM To: Kamailio (SER) - Users Mailing List Subject: [SR-Users] Re: Direct Routing, SIP, INVITE TO TEAMS (400 BAD REQUEST

[SR-Users] Re: How to make a branch trigger persistent (still being active after failure route is triggered)?

2022-12-20 Thread Kaufman
> Does this make he variable more 'constant'? :-) No - without quotes you're declaring it as though it were a constant. Put it in quotes to indicate that it is a variable. Kaufman -Original Message- From: Benoît Panizzon Sent: Tuesday, December 20, 2022 11:05 AM To: Kaufman

[SR-Users] Re: How to make a branch trigger persistent (still being active after failure route is triggered)?

2022-12-20 Thread Kaufman
Try quoting the pseudovariable? t_on_branch("$avp(broute_trigger)"); Kaufman -Original Message- From: Benoît Panizzon Sent: Friday, December 16, 2022 10:28 AM To: Kamailio (SER) - Users Mailing List Subject: [SR-Users] Re: How to make a branch trigger persistent (s

Re: [SR-Users] Database Failure Detection at runtime

2022-12-05 Thread Kaufman
DB_CLUSTER module, perhaps? Kaufman From: sr-users On Behalf Of Waqar 40 Sent: Monday, December 5, 2022 6:49 AM To: Kamailio (SER) - Users Mailing List Subject: [SR-Users] Database Failure Detection at runtime Hello Everyone, I am using Kamailio sqlops module to write to a remote database

Re: [SR-Users] USRLOC module - Not all records are written to the db with db_mode 2

2022-11-09 Thread Kaufman
I encountered a similar problem and I believe that the issues wass with something causing an inconsistent state where kamailio was attempting to UPDATE a row that doesn't exist.. Try setting db_check_update to 1. Kaufman -Original Message- From: sr-users On Behalf Of Markus Bönke

Re: [SR-Users] About kamailio + freeswitch issue on Kamailio v5.6

2022-10-11 Thread Kaufman
decent clues. Kaufman Sr. VoIP Engineer - BCM One +1.612.735.9309 bkauf...@bcmone.com<mailto:bkauf...@bcmone.com> 24 hour client support: +1.855.639.6300 From: sr-users On Behalf Of Henning Westerholt Sent: Monday, October 10, 2022 5:57 AM To: Kamailio (SER) - Users Mailing List Cc: Spar

Re: [SR-Users] Intermittent delays relaying BYE (up to 1s)

2022-08-25 Thread Kaufman
operation. As a possible reason, if you're doing accounting and the db is blocked you may have latency in processing the BYE. Kaufman Sr. VoIP Engineer - BCM One From: sr-users On Behalf Of Lewis Hutchinson Sent: Thursday, August 25, 2022 8:37 AM To: sr-users@lists.kamailio.org Subject: [SR

Re: [SR-Users] proper way for infinite loop in event_route for evrexec module

2022-08-16 Thread Kaufman
). It should be easier to trigger an external script from your shell (or via web api, etc) than via kamcmd/kamcli, isn't it? Kaufman Sr. VoIP Engineer - BCM One From: sr-users On Behalf Of Patrick Karton Sent: Tuesday, August 16, 2022 2:27 AM To: Kamailio (SER) - Users Mailing List Subject: Re

Re: [SR-Users] remove_hf() does not remove the complete line

2022-08-11 Thread Kaufman
eing is to function as a SIP proxy, and proper insertion of the Via: header is usually critical to that function it wouldn't seem so. Kaufman From: sr-users On Behalf Of Federico Cabiddu Sent: Thursday, August 11, 2022 6:31 AM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Use

Re: [SR-Users] recompute distribution list

2022-08-08 Thread Kaufman
and deactivating hosts, and replacing hosts. Additionally, if carrierroute's data is updated (i.e. if reading from database) it can be completely reloaded. Kaufman From: sr-users On Behalf Of David Villasmil Sent: Monday, August 8, 2022 1:39 PM To: Henning Westerholt Cc: Kamailio (SER) - Users Mailing

Re: [SR-Users] Newbie - Installation Issue - ERROR: could not load the script in /usr/lib/kamailio//kamctl/kamdbctl.mysql for database engine MYSQL

2022-08-02 Thread Kaufman
I believe you also need to: apk add kamailio-mysql Kaufman Sr. VoIP Engineer - BCM One +1.612.735.9309 bkauf...@bcmone.com<mailto:bkauf...@bcmone.com> 24 hour client support: +1.855.639.6300 From: sr-users On Behalf Of Henning Westerholt Sent: Monday, August 1, 2022 8:35 AM To: Ka

Re: [SR-Users] issue using phonenum module

2022-06-13 Thread Ben Kaufman
, then region 'ZZ'. Kaufman From: sr-users On Behalf Of David Escartín Sent: Monday, June 13, 2022 8:49 AM To: Kamailio (SER) - Users Mailing List ; Vicente Hernando ; Javier Gallart Subject: [SR-Users] issue using phonenum module Hello all we are using the phonenum_match_cn function to detect

[SR-Users] Use of interface name or listening socket name as DMQ server_socket

2022-06-10 Thread Ben Kaufman
_workers", 3) modparam("dmq", "ping_interval", 30) request_route { exit; } I get the following error during startup: 0(1) ERROR: dmq [dmq.c:241]: mod_init(): server_uri is not a socket the proxy is listening on Thoughts? I realize that I can configure and p

Re: [SR-Users] remove headers with less than 5 characters with textops

2022-06-07 Thread Ben Kaufman
I know it's not really a direct answer to your question, but wouldn't that remove the Cseq: header. Are you sure that's desirable? Ben Kaufman From: sr-users On Behalf Of Patrick Karton Sent: Tuesday, June 7, 2022 9:59 AM To: sr-users@lists.kamailio.org Subject: [SR-Users] remove headers

Re: [SR-Users] Tips on picking random element from a list

2022-05-04 Thread Ben Kaufman
ber of ## elements: $var(rand) = $RANDOM mod $cnt($avp(cid)); ## Use the random integer to get the CID out of the list $var(rand_cid) = $(avp(cid)[$var(rand)]); ``` Ben Kaufman Sr. VoIP Engineer - BCM One +1.612.735.9309 bkauf...@bcmone.com 24 hour client support: +1.855.639.630

Re: [SR-Users] Tips on picking random element from a list

2022-05-04 Thread Ben Kaufman
ach one-tenth of the time", either of the above methods should work. Hashing the call-id would even ensure that the same call will get the same value if you have to recalculate it. Ben Kaufman Sr. VoIP Engineer - BCM One +1.612.735.9309 bkauf...@bcmone.com<mailto:bkauf...@b

Re: [SR-Users] How to submit updates for core documentation?

2022-04-11 Thread Ben Kaufman
I've added the doc for the two commands to the wiki. https://www.kamailio.org/wiki/cookbooks/devel/core#trydefenv I wasn't sure if they should have been grouped near #!defenv or alphabetically. I decided on the latter - I hope that's good. Ben Kaufman From: sr-users On Behalf Of Ben Kaufman

Re: [SR-Users] Kamailio preprocessor to get hostname

2022-04-06 Thread Ben Kaufman
#!defenv HOSTNAME Should work. Ben Kaufman From: sr-users On Behalf Of David VILLAUME Sent: Wednesday, April 6, 2022 2:00 PM To: Kamailio (SER) - Users Mailing List Subject: [SR-Users] Kamailio preprocessor to get hostname Hello all , Do you know any way to get the hostname of my server

Re: [SR-Users] How to submit updates for core documentation?

2022-03-24 Thread Ben Kaufman
That would be nice if the self registration doesn't work (I don't think it does). I'd prefer to not use a different email address, though, so I'll ping you individually. Thank you. Ben Kaufman Sr. VoIP Engineer - BCM One +1.612.735.9309 bkauf...@bcmone.com<mailto:bkauf...@bcmone.com> 2

[SR-Users] How to submit updates for core documentation?

2022-03-24 Thread Ben Kaufman
. I don't see this in the /doc section of the repo. What's the process for me to submit this documentation? Ben Kaufman Sr. VoIP Engineer - BCM One +1.612.735.9309 bkauf...@bcmone.com<mailto:bkauf...@bcmone.com> 24 hour client support: +1.855.639.6300 [https://www.bcmone.com/files/

[SR-Users] DMQ version compatability

2022-03-18 Thread Ben Kaufman
more transport protocols." Is it possible to get a bit more clarification on this, particularly as it relates to DMQ_USRLOC? I'm hoping to do rolling updates, but don't want to end up in a situation where I've caused myself more problems than I've solved. B

Re: [SR-Users] SQLOPS sql_query_async() not functioning in an async manner?

2022-02-23 Thread Ben Kaufman
Thank you for the clarification, though unfortunate for my use case, this does make sense. And, from a confirmation standpoint, yes, the failure is if the initial connection is never made. I'll have to go another option like mentioned. Ben Kaufman Sr. VoIP Engineer - BCM One +1.612.735.9309

[SR-Users] SQLOPS sql_query_async() not functioning in an async manner?

2022-02-22 Thread Ben Kaufman
I'm not sure if this is by design or not. I have things I want to log to a SQL DB, but it's not nearly as important as call handling, so the sql_query_async() function looked ideal, but in testing, if the DB is not responsive, the call processing gets blocked. In the example below, I'm using

Re: [SR-Users] kamailio log dialog correlation

2022-01-21 Thread Ben Kaufman
For line number: xlogl([ [facility,] level,] format) Similar to xlog(), in addition prints configuration file line number at the beginning of message. https://kamailio.org/docs/modules/5.5.x/modules/xlog.html#xlog.f.xlogl Ben Kaufman -Original Message- From: sr-users

Re: [SR-Users] Kamailio Stop processing SIP traffic

2021-12-27 Thread Ben Kaufman
LCR selections, etc. present. Additionally, reducing the problem to the simplest configuration in which it can occur is usually an invaluable tool for problem isolation. Regards, Ben Kaufman From: sr-users On Behalf Of pwerspire Sent: Monday, December 27, 2021 10:45 AM To: Kamailio (SER)

Re: [SR-Users] Unquoted values from #!defenv

2021-12-09 Thread Ben Kaufman
And hindsight is always 20/20. The initial question was about this: !!defenv HOME . . . event_route[evrexec:timer] { xlog("L_N", "HOME: " + HOME + "\n"); } $def(HOME) would work. Ben Kaufman Sr. VoIP Engineer P: E: bkauf...@bcmone.com<ma

Re: [SR-Users] Unquoted values from #!defenv

2021-12-09 Thread Ben Kaufman
> it is empty string followed by token 'bar' and followed by another empty > string. OK. It makes perfect sense when viewed that way. Ben Kaufman Sr. VoIP Engineer P: E: bkauf...@bcmone.com<mailto:bkauf...@bcmone.com> 24 hour client support: 855.639.6300 From: Daniel-Constantin

Re: [SR-Users] Unquoted values from #!defenv

2021-12-09 Thread Ben Kaufman
to start when using #!defenvs with a quoted variable. If I set: export FOO= "\"bar\"\" and use: #!defenvs FOO Kamailio will fail to start. I would expect it to have literal quotes in the string. Ben Kaufman Sr. VoIP Engineer P: E: bkauf...@bcmone.com<mailto:bkauf

Re: [SR-Users] Unquoted values from #!defenv

2021-12-09 Thread Ben Kaufman
It does appear that #!devenvs subsequently has problems if the environmental variable is already quoted, though. I'll put together an example and open a ticket for it. From: Ben Kaufman Sent: Thursday, December 9, 2021 8:57 AM To: Kamailio (SER) - Users Mailing List Subject: RE: [SR-Users

Re: [SR-Users] Unquoted values from #!defenv

2021-12-09 Thread Ben Kaufman
forward(); } event_route[evrexec:timer] { xlog("L_N", "HOME: " + HOME + "\n"); } Regards, Kaufman From: Daniel-Constantin Mierla Sent: Thursday, December 9, 2021 3:55 AM To: Kamailio (SER) - Users Mailing List ; Ben Kaufman Subject: Re: [SR-Users] Unquote

Re: [SR-Users] Unquoted values from #!defenv

2021-12-08 Thread Ben Kaufman
Kaufman Sr. VoIP Engineer P: E: bkauf...@bcmone.com<mailto:bkauf...@bcmone.com> 24 hour client support: 855.639.6300 From: sr-users On Behalf Of Ben Kaufman Sent: Tuesday, December 7, 2021 9:12 AM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Unquoted values from #!defenv Tha

Re: [SR-Users] Unquoted values from #!defenv

2021-12-07 Thread Ben Kaufman
Thank you. I've been using -A to set values thus far as CMD arguments to the container's ENTRYPOINT. If submitting a pull request, would it be preferrable to allow #!defenv/#!defenvs to accept undefined values, or to add new keywords like #!ifdefenv/#!ifdefenvs ? Ben Kaufman From: Daniel

Re: [SR-Users] Unquoted values from #!defenv

2021-12-06 Thread Ben Kaufman
loadmodule "debugger" . . . #!endif Ben Kaufman From: Daniel-Constantin Mierla Sent: Monday, December 6, 2021 3:55 AM To: Kamailio (SER) - Users Mailing List ; Ben Kaufman Subject: Re: [SR-Users] Unquoted values from #!defenv Hello, #!substdef does not set the value inside quo

Re: [SR-Users] NIST advisory

2021-12-01 Thread Ben Kaufman
(cherry picked from commit 7135feee9cdc93efa8c0c3e4abf24a9335ce42de) (cherry picked from commit 63e227383d9c5112f287299981d217f1558a15a8) Ben Kaufman From: sr-users On Behalf Of David Villasmil Sent: Wednesday, December 1, 2021 4:13 PM To: Kamailio (SER) - Users Mailing List Subjec

[SR-Users] Unquoted values from #!defenv

2021-11-30 Thread Ben Kaufman
quot; modparam("evrexec", "exec", "name=evrexec:timer;wait=1000;workers=1;") #!defenv HOME request_route{ forward(); } event_route[evrexec:timer] { xlog("L_N", "HOME: " + HOME + "\n"); } Ben Kaufman __

  1   2   >