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

2023-09-28 Thread James Lipski via sr-users
Hello, To add to my previous reply, the reason for asking whether if it's possible to change the order of transactions (CANCEL first, then INVITE) is I've ran into issues where 2 200OKs are being received roughly at the same time; such as the call example from my previous post, where the receiv

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

2023-09-28 Thread Ben Kaufman via sr-users
Also, since a picture is worth a thousand words, it can be seen here that the INVITE for the new branch is sent before the CANCEL of the earlier branch. Again, I'm not sure why this would make any difference, but it does seem to be the current behavior. [A screenshot of a computer screen Des

[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(); t_on_failure("MANAGE_FAILU

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

2023-09-28 Thread James Lipski via sr-users
Hello, As with my previous update, I'm using the skeleton configurations (with minor changes, such as defining an external voicemail destination) just for testing purposes. With the skeleton configurations, I'm still seeing that the INVITE packet to the voicemail server sent first, and then the

[SR-Users] Re: periodic could not resolve hostname

2023-09-28 Thread Sergiu Pojoga via sr-users
Your suggestion led me to review the DNS settings and found `dns_cache_negative_ttl=600` which kind of matches the occasional dns outage period. Changes the value to 0 (disabled). Will see how it goes, so far no more errors of this kind. Thanks again Daniel. On Thu, Sep 28, 2023 at 1:02 PM Dani

[SR-Users] Re: Software bill of materials (SBOM)

2023-09-28 Thread Daniel-Constantin Mierla via sr-users
On 28.09.23 13:13, Olle E. Johansson via sr-users wrote: > > >> On 28 Sep 2023, at 12:36, Ivan Ribakov via sr-users >> wrote: >> >> Hi Olle, >> >> Yes, I realised by now that taking enabled Kamailio modules into >> account when generating SBOM is too much to ask. I'd be ok with >> obtaining full

[SR-Users] Re: Software bill of materials (SBOM)

2023-09-28 Thread Ivan Ribakov via sr-users
I see, thanks for sharing your experience Olle. I'm no autoconf expert - does anyone know if it's possible to dump more or less concise list of all linked libraries used either during build configuration or the actual build process? I'm thinking that should be pretty close to the source of truth f

[SR-Users] Re: periodic could not resolve hostname

2023-09-28 Thread Daniel-Constantin Mierla via sr-users
Hello, when this happens, can you look at the cache content and see if the corresponding record has negative_entry set to yes? If that's the case, the record was marked as bad (unresolvable due to a failed dns query or maybe blocklisting activated on 503). Cheers, Daniel On 28.09.23 14:48, Sergi

[SR-Users] periodic could not resolve hostname

2023-09-28 Thread Sergiu Pojoga via sr-users
Aloha, I'm experiencing this internal DNS problem with Kamailio, can't seem to figure out what's causing it. Maybe someone can help. Essentially, from time to time (one or two times a day) this situation happens, starting with logs: linux kamailio[773]: ERROR: uac [uac_reg.c:1163]: uac_reg_send(

[SR-Users] Re: Software bill of materials (SBOM)

2023-09-28 Thread Olle E. Johansson via sr-users
> On 28 Sep 2023, at 12:36, Ivan Ribakov via sr-users > wrote: > > Hi Olle, > > Yes, I realised by now that taking enabled Kamailio modules into account when > generating SBOM is too much to ask. I'd be ok with obtaining full list of > Kamailio dependencies (with transitive dependencies if

[SR-Users] Re: kamailio Behind nat. How Record-Route should be added ?

2023-09-28 Thread codenot--- via sr-users
i tried. but it does't work. modparam("rr", "enable_double_rr", 1) __ 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 recipien

[SR-Users] Re: kamailio Behind nat. How Record-Route should be added ?

2023-09-28 Thread codenot--- via sr-users
modparam("rr", "enable_double_rr", 1) i tried. but it does't work __ 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 recipient

[SR-Users] Re: Software bill of materials (SBOM)

2023-09-28 Thread Ivan Ribakov via sr-users
Hi Olle, Yes, I realised by now that taking enabled Kamailio modules into account when generating SBOM is too much to ask. I'd be ok with obtaining full list of Kamailio dependencies (with transitive dependencies if possible) and then manually filtering them based on module usage. Not sure if at a

[SR-Users] Re: kamailio Behind nat. How Record-Route should be added ?

2023-09-28 Thread Yuriy G via sr-users
There are many possibilities. One of - use listen names and advertised address with allow_double_rr option. Once you do that - you'll be able to add 2 rr headers, and kamailio will be able to handle gateway functionality between interfaces via RR/Route headers On Thu, 28 Sept 2023, 11:53 codenot

[SR-Users] kamailio Behind nat. How Record-Route should be added ?

2023-09-28 Thread codenot--- via sr-users
UA1(192.168.0.1) --> kamailio (internal:192.168.0.2 public:1.1.1.1) --> UA2(2.2.2.2) if in UA1 INVITE, I write KSR.rr.record_route(). so UA2(2.2.2.2) received sip msg (Record-Route: ), so Kamailio can received BYE/ACK from UA2. but,Kamailio can't received BYE/ACK from UA1. if in UA1 INVI

[SR-Users] Re: Software bill of materials (SBOM)

2023-09-28 Thread Olle E. Johansson via sr-users
Still digging through this. There are tools that can list your packages if you install Linux packages, i.e. Debian. But there are no tools that can parse your kamailio config to really see what’s loaded and active. It all depends on what you want to do with the SBOM - if you want to check for v

[SR-Users] Re: What is the expected behavior for dispatcher's ds_next_dst?

2023-09-28 Thread Henning Westerholt via sr-users
Hello Geoff, thanks for the debug output, it's as I suspected and also described earlier from Daniel. As already mentioned, the common way of working with dispatcher is to call the ds_select_dst() in the request route, and then in the failure route just iterate over this set of destinations. I

[SR-Users] Re: Software bill of materials (SBOM)

2023-09-28 Thread Henning Westerholt via sr-users
Hello, I think Olle was looking into that some month ago, maybe (when he reads it) can share some of his research results if possible. You can also find some of his articles e.g., on his linkedin page. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https: