How to replace session connection in new versions

23 views
Skip to first unread message

Omar Atef

unread,
Aug 21, 2026, 11:02:19 AMAug 21
to Sipwise rtpengine
Hello Dears,

I have two issues.
1- I tried to upgrade rtpeninge from 10.5 to 12+ and found the Kamailio function "replace-session-connection" has deprecated. So, how to change c= in SDP with newest verson?

2- I was working in some of countries that has very restricted on VoIP calls, it was working for about 12 months, but suddenly, all calls now have very bad voice and voice distortion. so I tried to upgrade as one of solution. Does anyone have any recommendations?

Richard Fuchs

unread,
Aug 21, 2026, 11:30:29 AMAug 21
to rtpe...@googlegroups.com
On 21/08/2026 11.02, Omar Atef wrote:
> 1- I tried to upgrade rtpeninge from 10.5 to 12+ and found the
> Kamailio function "replace-session-connection" has deprecated. So, how
> to change c= in SDP with newest verson?
The c= lines are now always in the media sections, and session-level c=
lines are always removed, so there's no point in changing them since
they don't exist.
> 2- I was working in some of countries that has very restricted on VoIP
> calls, it was working for about 12 months, but suddenly, all calls now
> have very bad voice and voice distortion. so I tried to upgrade as one
> of solution. Does anyone have any recommendations?

That's a very broad and vague question, so the only recommendation I
have is to closely inspect and analyse an affected RTP flow and see if
you can identify something that would result in bad quality (jitter,
packet loss, invalid payloads, etc).

Cheers

Omar Atef

unread,
Aug 21, 2026, 3:17:09 PMAug 21
to Sipwise rtpengine
Thank you for you answer.

1- I couldn't get how the session level is removed, I am using PJSIP at Asterisk and add Kamailio with RTPengine in front.

2- I realized that the country has done configuration changes to the global DPI which caused a lot of packet lossI tried to offer rtcp-mux and ICE. It was working for almost a year!
I am just asking if there is any extra configuration I can do to bypass this DPI?

Richard Fuchs

unread,
Aug 21, 2026, 3:48:45 PMAug 21
to rtpe...@googlegroups.com
On 21/08/2026 15.17, Omar Atef wrote:
1- I couldn't get how the session level is removed, I am using PJSIP at Asterisk and add Kamailio with RTPengine in front.
The only thing you have to do is not use that option any more.
2- I realized that the country has done configuration changes to the global DPI which caused a lot of packet lossI tried to offer rtcp-mux and ICE. It was working for almost a year!

Use encryption maybe? Really no idea, and well outside of the scope of what rtpengine is for.

Cheers

Reply all
Reply to author
Forward
0 new messages