[SR-Users] Problems building with stirshaken

2024-04-19 Thread Martin Nyström via sr-users
I am trying to build Kamailio with repo tags/5.6.4 to get my hands on the stirshaken module that was not part of apt repositories, however it results in a build error: root@ip-fobby:/usr/src/kamailio# make modules modules=modules/stirshaken make -C src/ modules make[1]: Entering directory '/usr/

[SR-Users] Re: lcr module, avp_subst to $avp(i:709)

2024-04-19 Thread Henning Westerholt via sr-users
Hello, If the input data is somehow well formed, you could use the following transformation to split around the pipe character for example: https://www.kamailio.org/wiki/cookbooks/devel/transformations#sselect_index_separator Cheers, Henning > -Original Message- > From: Ricardo Castil

[SR-Users] Re: Newbie: accounting and billing

2024-04-19 Thread Alex Balashov via sr-users
I think Fred's answer is correct, complete and I have no amendments to offer. :-) -- Alex > On Apr 19, 2024, at 8:34 AM, Fred Posner via sr-users > wrote: > > >> On Apr 19, 2024, at 1:02 PM, Ghulam Mustafa via sr-users >> wrote: >> >> >> Hello, >> I'm new to Kamailio and considering its

[SR-Users] Re: Newbie: accounting and billing

2024-04-19 Thread Fred Posner via sr-users
> On Apr 19, 2024, at 1:02 PM, Ghulam Mustafa via sr-users > wrote: > > > Hello, > I'm new to Kamailio and considering its use for our inbound/outbound proxy, > call rating, and billing system. Hello, thank you for flying Kamailio. > I'd like to get your feedback on my current approach and

[SR-Users] Re: Newbie: accounting and billing

2024-04-19 Thread Ricardo Castillo via sr-users
Hello, any query you make from Kamailio, you'll have to handle it yourself, so the load will be affected, of course. There are alternatives to use such as CGRates, or simply through reading JSON socket events. Also, avoid performing any procedures within the B2BUA, whether it's FreeSwitch or Ast

[SR-Users] Newbie: accounting and billing

2024-04-19 Thread Ghulam Mustafa via sr-users
Hello, I'm new to Kamailio and considering its use for our inbound/outbound proxy, call rating, and billing system. I'd like to get your feedback on my current approach and understand the best practices for this scenario. Currently, I'm using SQL queries within my Kamailio configuration to handle a

[SR-Users] lcr module, avp_subst to $avp(i:709)

2024-04-19 Thread Ricardo Castillo via sr-users
Hi, I'm trying to capture the content of an AVP from the LCR module and assign it to another variable to make use of what is obtained by the regex. For this, I have used the avp_subst. The content of $avp(i:709): 1|sip:|0|||2416027840||5061||;transport=udp|11|1 I need to extract the index that