[SR-Users] Re: Modifying SDP as drop-in replacement for overloaded Asterisk box - looking for help/paid consulting fast

2023-09-23 Thread Henning Westerholt via sr-users
://skalatan.de/blog/ Kamailio services - https://gilawa.com > -Original Message- > From: Markus via sr-users > Sent: Samstag, 23. September 2023 15:13 > To: Kamailio (SER) - Users Mailing List > Cc: Markus > Subject: [SR-Users] Re: Modifying SDP as drop-in replacement for ove

[SR-Users] Re: Modifying SDP as drop-in replacement for overloaded Asterisk box - looking for help/paid consulting fast

2023-09-23 Thread Markus via sr-users
Hm. To use RTPEngine I need Kamailio, correct? Or can I use RTPEngine just with Asterisk? If I need Kamailio: Kamailio in the default configuration is behaving differently than Asterisk in terms of the contents of the SIP header fields that it sends by default to the carrier IP (please see my

[SR-Users] Re: Modifying SDP as drop-in replacement for overloaded Asterisk box - looking for help/paid consulting fast

2023-09-22 Thread Alex Balashov via sr-users
So, forgive the silly question, but why do you need to do anything except to engage RTPEngine? Why rewrite any other SIP headers? > On Sep 22, 2023, at 5:11 AM, Markus via sr-users > wrote: > > Hi Alex, > > I'm trying to replace the Asterisk box with an instance of Kamailio+RTPEngine > becau

[SR-Users] Re: Modifying SDP as drop-in replacement for overloaded Asterisk box - looking for help/paid consulting fast

2023-09-22 Thread Shah Hussain Khattak via sr-users
Hmm, try to use: subst_hf() then: 3.15. subst_hf(hf, subexp, flags) Perl-like substitutions in the body of a header field. Meaning of the parameters is as follows: * hf - header field name. * subexp - substitution expression in the same format as of the 'subst' function parameter.

[SR-Users] Re: Modifying SDP as drop-in replacement for overloaded Asterisk box - looking for help/paid consulting fast

2023-09-22 Thread Markus via sr-users
textops.so was already loaded. Now added textopsx.so too but the error remains the same. Is $cU a pseudo-variable that should be available within Kamailio by default? I can't find it here: https://www.kamailio.org/wiki/cookbooks/5.5.x/pseudovariables Is it maybe $ct or something else? :) "$

[SR-Users] Re: Modifying SDP as drop-in replacement for overloaded Asterisk box - looking for help/paid consulting fast

2023-09-22 Thread Shah Hussain Khattak via sr-users
I should have mentioned, please load the following modules: loadmodule "textops.so" loadmodule "textopsx.so" then restart Kamailio. From: Markus Sent: Friday, September 22, 2023 5:58 PM To: sr-users@lists.kamailio.org Cc: Shah Hussain Khattak Subject: Re: [SR-

[SR-Users] Re: Modifying SDP as drop-in replacement for overloaded Asterisk box - looking for help/paid consulting fast

2023-09-22 Thread Markus via sr-users
Wow, cool, thanks! I added this snippet in the request_route { part, I hope that's correct. When I try to start Kamailio I get: kamailio: Not starting : invalid configuration file! kamailio: 0(2371) ERROR: [pvapi.c:828]: pv_parse_spec2(): error searching pvar "cU" kamailio: 0(2371) ERROR: [p

[SR-Users] Re: Modifying SDP as drop-in replacement for overloaded Asterisk box - looking for help/paid consulting fast

2023-09-22 Thread Markus via sr-users
Hi Alex, I'm trying to replace the Asterisk box with an instance of Kamailio+RTPEngine because the Asterisk box is heavily overloaded and calls that are passing through this box are encountering packet loss. The idea behind it is that the bundle of Kamailio+RTPEngine will be less CPU-intense

[SR-Users] Re: Modifying SDP as drop-in replacement for overloaded Asterisk box - looking for help/paid consulting fast

2023-09-22 Thread Shah Hussain Khattak
You can start with the following: # Change URI(s) $ru = "sip:" + $rU + "@3.3.3.3"; $tu = "sip:" + $tU + "@3.3.3.3"; $fu = "sip:" + $fU + "@2.2.2.2"; $var(contact_username) = $cU; # Remove existing Contact header remove_hf("Contact"); # I

[SR-Users] Re: Modifying SDP as drop-in replacement for overloaded Asterisk box - looking for help/paid consulting fast

2023-09-21 Thread Alex Balashov
Hi Markus, Can you elaborate upon the way in which you are using Kamailio+RTPEngine "as a drop-in replacement"? Drop-in replacement for what? Or that is to say, what are you trying to accomplish here, functionally? I have the suspicion that what you're doing is probably best accomplished in a

[SR-Users] Re: Modifying SDP as drop-in replacement for overloaded Asterisk box - looking for help/paid consulting fast

2023-09-21 Thread Ovidiu Sas
Probably you need to modify only the RURI. If you looking for a paid consultant you should post to the business mailing list. Also, you can take a look here: https://www.kamailio.org/w/business/ -ovidiu On Thu, Sep 21, 2023 at 21:29 Markus wrote: > Hi list, > > I'm trying to use Kamailio 4.4.4