Re: sdp_remove_media() always uses the original message, right?

Ihor Olkhovskyi via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <CAJTkRNvo65tt7GUMZ289QNsFxtV6q17D3G7h6O2oagvHdgRvPQ@mail.gmail.com>
Hi!

In theory for every media type you have a separate m= line. So, knowing how
lumps system in Kamailio is working, it's ok not to
call msg_apply_changes() in between, as you are not modifying the SAME
lines,

Le lun. 16 févr. 2026 à 16:06, Benoit Panizzon via sr-users <
[email protected]> a écrit :

> Hi List
>
> sdp_remove_media("video");
> sdp_remove_media("image");
>
> Am I correct in the assumption, that this would only end in the image
> type to be removed, but not the video type as both work on the original
> SDP if no msg_apply_changes() is called in between?
>
> Mit freundlichen Grüssen
>
> -Benoît Panizzon-
> --
> I m p r o W a r e   A G    -    Leiter Commerce Kunden
> ______________________________________________________
>
> Zurlindenstrasse 29             Tel  +41 61 826 93 00
> CH-4133 Pratteln                Fax  +41 61 826 93 01
> Schweiz                         Web  http://www.imp.ch
> ______________________________________________________
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions --
> [email protected]
> To unsubscribe send an email to [email protected]
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
>


-- 
Best regards,
Ihor (Igor)

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.