Hi everyone,
I want to configure my kamailio+rtpengine to use the option bundle in SDP.
I have a dedicated route to configure the specific rtpengine_manage options for
each case (it's based on a route I saw in github)
route[SETUP_BY_TRANSPORT] {
if ($ru =~ "transport=ws") {
xlog("L_INFO", "Request going to WS");
if(sdp_with_transport("RTP/SAVPF")) {
rtpengine_manage("replace-origin
replace-session-connection DTLS=passive SDES-off ICE=force SRTP AVPF
rtcp-mux-reject bundle=accept");
t_on_reply("REPLY_WS_TO_WS");
return;
}
rtpengine_manage("replace-origin replace-session-connection
DTLS=passive SDES-off ICE=force UDP/TLS/RTP/SAVPF bundle=accept bundle=accept");
t_on_reply("REPLY_FROM_WS");
}
else if ($proto =~ "ws") {
xlog("L_INFO", "Request coming from WS");
rtpengine_manage("replace-origin replace-session-connection
DTLS SDES-off ICE=force SRTP AVPF bundle=accept");
t_on_reply("REPLY_TO_WS");
}
else {
xlog("L_INFO", "This is a classic phone call");
if (isflagset(RTPENGINE_NO_SRTP)){
xlog("L_INFO", "Llamada de Telealarm a la IPS (no
srtp)");
rtpengine_manage("replace-origin
replace-session-connection DTLS=off SDES-off RTP/AVP");
t_on_reply("REPLY_NO_SRTP");
return;
}
if ($tU=~"^ips") {
rtpengine_manage("replace-origin
replace-session-connection DTLS=passive SDES-off UDP/TLS/RTP/SAVPF");
t_on_reply("REPLY_NO_SRTP_ICE");
return;
}
if (isflagset(RTPENGINE_NO_ICE)) {
rtpengine_manage("replace-origin
replace-session-connection DTLS=passive SDES-off UDP/TLS/RTP/SAVPF ICE=remove");
t_on_reply("MANAGE_CLASSIC_REPLY");
return;
}
rtpengine_manage("replace-origin replace-session-connection
DTLS=passive SDES-off UDP/TLS/RTP/SAVPF ICE=force");
t_on_reply("MANAGE_CLASSIC_REPLY_NO_ICE");
return;
}
}
Reading the rtpengine and kamailio docs I see that rtpengine shows more options
than kamailio rtpengine module.
In rtpengine options it shows bundle option but in kamailio it doesn't appear.
And I've tried to set this option but it doesn't work. Kamailio recives the
invite with bundle but when it sends the invite to my asterisk the invite
doesn't have the bundle option enabled
Does anyone know what could be happening? Maybe I'm doing something wrong
Thanks in advance for your time and help
Samuel Moya Tinoco
Departamento de Sistemas y Redes
Móvil: (+34) 606985997
[email protected]<mailto:[email protected]>
ViveLibre
C/ La Orotava 4
28660 Boadilla del Monte
Madrid
www.vivelibre.es<http://www.vivelibre.es/>
[cid:[email protected]]
Soluciones inteligentes
para la autonomía personal
"Tanto este mensaje como todos los posibles documentos adjuntos al mismo son
confidenciales y están dirigidos exclusivamente a los destinatarios de los
mismos. Por favor, si Usted no es uno de dichos destinatarios, notifíquenos
este hecho y elimine el mensaje de su sistema. Queda prohibida la copia,
difusión o revelación de su contenido a terceros sin el previo consentimiento
por escrito de VIVELIBRE AUTONOMÍA PERSONAL S.L.U. (VIVELIBRE). En caso
contrario, vulnerará la legislación vigente. De conformidad con lo establecido
en el Reglamento (UE) 2016/679, General de Protección de Datos, le informamos
de que sus datos son objeto de tratamiento por VIVELIBRE, en calidad de
Responsable del Tratamiento. VIVELIBRE tratará sus datos con la finalidad de
mantener la relación contractual, gestionar su solicitud, así como remitirle
comunicaciones de carácter comercial relacionadas con su ámbito de actividad y
los servicios prestados. Si desea ejercitar sus derechos de acceso,
rectificación, supresión, limitación, oposición o portabilidad, puede dirigirse
a la dirección postal Calle de la Orotava 4, 28660, Boadilla del Monte,
(Madrid) o a la dirección de correo electrónico [email protected].
Para obtener más información sobre cómo tratamos sus datos, consulta nuestra
Política de Privacidad en Política de Privacidad - Vivelibre."
__________________________________________________________
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!