[OpenSIPS-Users] change_reply_status - dropping SDP from 183?

Fabian Gast fgast+opensips at only640k.net
Mon Oct 28 07:06:15 EDT 2019


You can use something like

loadmodule "sipmsgops.so"

onreply_route[myreply] {
	
	if (t_check_status("183")) {
		change_reply_status("180", "Ringing");
		remove_body_part("application/sdp");
	}
}

Fabian

----- Ursprüngliche Mail -----
Von: "Monideth Pen" <monideth.pen at one-n.co.uk>
An: "OpenSIPS users mailling list" <users at lists.opensips.org>
Gesendet: Freitag, 18. Oktober 2019 10:06:42
Betreff: [OpenSIPS-Users] change_reply_status - dropping SDP from 183?

Hi, 
I am able to map 183 to 180 using the change_reply_status() function. 

However, I would also like to drop SDP if it is present in the 183. How could I achieve this? 

Thank you. 

_______________________________________________ 
Users mailing list 
Users at lists.opensips.org 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users 




More information about the Users mailing list