How to change media protocol?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

How to change media protocol?

Dragomir Haralambiev
Hello,

I have OpenSips + rtpengine.
Opensips receive INVITE with Media Protocol: RTP/SAVP
How to setup Opensips to forward INVITE to ITSP with Media Protocol: RTP/AVP. Like this scheme:


INVITE with Media Protocol: RTP/SAVP --> (OpenSips +rtpengine) ---->INVITE with Media Protocol: RTP/AVP ---> ITSP

Best regards,
Dragomir

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: How to change media protocol?

Johan De Clercq

Change ruri to transport:udp.

 

Start the params that you give to rtpengine_offer or answer with RTP/AVP or RTP/SAVP accordingly.

 

From: Users <[hidden email]> On Behalf Of Dragomir Haralambiev
Sent: Thursday, June 27, 2019 10:36 PM
To: OpenSIPS users mailling list <[hidden email]>
Subject: [OpenSIPS-Users] How to change media protocol?

 

Hello,

I have OpenSips + rtpengine.
Opensips receive INVITE with Media Protocol: RTP/SAVP
How to setup Opensips to forward INVITE to ITSP with Media Protocol: RTP/AVP. Like this scheme:


INVITE with Media Protocol: RTP/SAVP --> (OpenSips +rtpengine) ---->INVITE with Media Protocol: RTP/AVP ---> ITSP

 

Best regards,

Dragomir


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: How to change media protocol?

Dragomir Haralambiev
Hi,

Thanks for your reply.

Yes I use rtpengine_offer like this:
rtpengine_offer("RTP/AVP/SAVP replace-session-connection replace-origin ICE=remove")

In this case Opensips + Rtpengine send INVITE to ITSP with Media Protocol: RTP/SAVP, 
But ITSP not supported RTP/SAVP (they supported only RTP/AVP).

I'm looking for a way to setup Opensips to change Media Protocol from RTP/SAVP to RTP/AVP. 
 It means converting encrypted media to normal.

Best regards,
Dragomir


На пт, 28.06.2019 г. в 10:52 ч. johan de clercq <[hidden email]> написа:

Change ruri to transport:udp.

 

Start the params that you give to rtpengine_offer or answer with RTP/AVP or RTP/SAVP accordingly.

 

From: Users <[hidden email]> On Behalf Of Dragomir Haralambiev
Sent: Thursday, June 27, 2019 10:36 PM
To: OpenSIPS users mailling list <[hidden email]>
Subject: [OpenSIPS-Users] How to change media protocol?

 

Hello,

I have OpenSips + rtpengine.
Opensips receive INVITE with Media Protocol: RTP/SAVP
How to setup Opensips to forward INVITE to ITSP with Media Protocol: RTP/AVP. Like this scheme:


INVITE with Media Protocol: RTP/SAVP --> (OpenSips +rtpengine) ---->INVITE with Media Protocol: RTP/AVP ---> ITSP

 

Best regards,

Dragomir

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: How to change media protocol?

Johan De Clercq
See earlier response. 

On Fri, 28 Jun 2019, 13:46 Dragomir Haralambiev, <[hidden email]> wrote:
Hi,

Thanks for your reply.

Yes I use rtpengine_offer like this:
rtpengine_offer("RTP/AVP/SAVP replace-session-connection replace-origin ICE=remove")

In this case Opensips + Rtpengine send INVITE to ITSP with Media Protocol: RTP/SAVP, 
But ITSP not supported RTP/SAVP (they supported only RTP/AVP).

I'm looking for a way to setup Opensips to change Media Protocol from RTP/SAVP to RTP/AVP. 
 It means converting encrypted media to normal.

Best regards,
Dragomir


На пт, 28.06.2019 г. в 10:52 ч. johan de clercq <[hidden email]> написа:

Change ruri to transport:udp.

 

Start the params that you give to rtpengine_offer or answer with RTP/AVP or RTP/SAVP accordingly.

 

From: Users <[hidden email]> On Behalf Of Dragomir Haralambiev
Sent: Thursday, June 27, 2019 10:36 PM
To: OpenSIPS users mailling list <[hidden email]>
Subject: [OpenSIPS-Users] How to change media protocol?

 

Hello,

I have OpenSips + rtpengine.
Opensips receive INVITE with Media Protocol: RTP/SAVP
How to setup Opensips to forward INVITE to ITSP with Media Protocol: RTP/AVP. Like this scheme:


INVITE with Media Protocol: RTP/SAVP --> (OpenSips +rtpengine) ---->INVITE with Media Protocol: RTP/AVP ---> ITSP

 

Best regards,

Dragomir

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: How to change media protocol?

Johan De Clercq
In reply to this post by Dragomir Haralambiev
If goes to provider: rtp/avp
Else rtp/savp

So put your parameters in a var before calling rtpengine

On Fri, 28 Jun 2019, 13:46 Dragomir Haralambiev, <[hidden email]> wrote:
Hi,

Thanks for your reply.

Yes I use rtpengine_offer like this:
rtpengine_offer("RTP/AVP/SAVP replace-session-connection replace-origin ICE=remove")

In this case Opensips + Rtpengine send INVITE to ITSP with Media Protocol: RTP/SAVP, 
But ITSP not supported RTP/SAVP (they supported only RTP/AVP).

I'm looking for a way to setup Opensips to change Media Protocol from RTP/SAVP to RTP/AVP. 
 It means converting encrypted media to normal.

Best regards,
Dragomir


На пт, 28.06.2019 г. в 10:52 ч. johan de clercq <[hidden email]> написа:

Change ruri to transport:udp.

 

Start the params that you give to rtpengine_offer or answer with RTP/AVP or RTP/SAVP accordingly.

 

From: Users <[hidden email]> On Behalf Of Dragomir Haralambiev
Sent: Thursday, June 27, 2019 10:36 PM
To: OpenSIPS users mailling list <[hidden email]>
Subject: [OpenSIPS-Users] How to change media protocol?

 

Hello,

I have OpenSips + rtpengine.
Opensips receive INVITE with Media Protocol: RTP/SAVP
How to setup Opensips to forward INVITE to ITSP with Media Protocol: RTP/AVP. Like this scheme:


INVITE with Media Protocol: RTP/SAVP --> (OpenSips +rtpengine) ---->INVITE with Media Protocol: RTP/AVP ---> ITSP

 

Best regards,

Dragomir

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: How to change media protocol?

Dragomir Haralambiev
Hi,

I do this but Opensips +rtpengine not converting encrypted media to normal.

 if (isflagset(SRC_WS) && isbflagset(DST_WS)) {
         $var(rtpengine_flags) = "ICE=force-relay DTLS=passive";
} else if (isflagset(SRC_WS) && !isbflagset(DST_WS)) {
         $var(rtpengine_flags) = "RTP/AVP replace-session-connection replace-origin ICE=remove";
} else if (!isflagset(SRC_WS) && isbflagset(DST_WS)) {
         $var(rtpengine_flags) = "UDP/TLS/RTP/SAVPF ICE=force";
} else if (!isflagset(SRC_WS) && !isbflagset(DST_WS)) {
         $var(rtpengine_flags) = "RTP/AVP/SAVP replace-session-connection replace-origin ICE=remove";
  }

rtpengine_offer("$var(rtpengine_flags)");


На пт, 28.06.2019 г. в 16:38 ч. Johan De Clercq <[hidden email]> написа:
If goes to provider: rtp/avp
Else rtp/savp

So put your parameters in a var before calling rtpengine

On Fri, 28 Jun 2019, 13:46 Dragomir Haralambiev, <[hidden email]> wrote:
Hi,

Thanks for your reply.

Yes I use rtpengine_offer like this:
rtpengine_offer("RTP/AVP/SAVP replace-session-connection replace-origin ICE=remove")

In this case Opensips + Rtpengine send INVITE to ITSP with Media Protocol: RTP/SAVP, 
But ITSP not supported RTP/SAVP (they supported only RTP/AVP).

I'm looking for a way to setup Opensips to change Media Protocol from RTP/SAVP to RTP/AVP. 
 It means converting encrypted media to normal.

Best regards,
Dragomir


На пт, 28.06.2019 г. в 10:52 ч. johan de clercq <[hidden email]> написа:

Change ruri to transport:udp.

 

Start the params that you give to rtpengine_offer or answer with RTP/AVP or RTP/SAVP accordingly.

 

From: Users <[hidden email]> On Behalf Of Dragomir Haralambiev
Sent: Thursday, June 27, 2019 10:36 PM
To: OpenSIPS users mailling list <[hidden email]>
Subject: [OpenSIPS-Users] How to change media protocol?

 

Hello,

I have OpenSips + rtpengine.
Opensips receive INVITE with Media Protocol: RTP/SAVP
How to setup Opensips to forward INVITE to ITSP with Media Protocol: RTP/AVP. Like this scheme:


INVITE with Media Protocol: RTP/SAVP --> (OpenSips +rtpengine) ---->INVITE with Media Protocol: RTP/AVP ---> ITSP

 

Best regards,

Dragomir

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: How to change media protocol?

Johan De Clercq
Drop the webrtc part and you will be fine

On Fri, 28 Jun 2019, 15:45 Dragomir Haralambiev, <[hidden email]> wrote:
Hi,

I do this but Opensips +rtpengine not converting encrypted media to normal.

 if (isflagset(SRC_WS) && isbflagset(DST_WS)) {
         $var(rtpengine_flags) = "ICE=force-relay DTLS=passive";
} else if (isflagset(SRC_WS) && !isbflagset(DST_WS)) {
         $var(rtpengine_flags) = "RTP/AVP replace-session-connection replace-origin ICE=remove";
} else if (!isflagset(SRC_WS) && isbflagset(DST_WS)) {
         $var(rtpengine_flags) = "UDP/TLS/RTP/SAVPF ICE=force";
} else if (!isflagset(SRC_WS) && !isbflagset(DST_WS)) {
         $var(rtpengine_flags) = "RTP/AVP/SAVP replace-session-connection replace-origin ICE=remove";
  }

rtpengine_offer("$var(rtpengine_flags)");


На пт, 28.06.2019 г. в 16:38 ч. Johan De Clercq <[hidden email]> написа:
If goes to provider: rtp/avp
Else rtp/savp

So put your parameters in a var before calling rtpengine

On Fri, 28 Jun 2019, 13:46 Dragomir Haralambiev, <[hidden email]> wrote:
Hi,

Thanks for your reply.

Yes I use rtpengine_offer like this:
rtpengine_offer("RTP/AVP/SAVP replace-session-connection replace-origin ICE=remove")

In this case Opensips + Rtpengine send INVITE to ITSP with Media Protocol: RTP/SAVP, 
But ITSP not supported RTP/SAVP (they supported only RTP/AVP).

I'm looking for a way to setup Opensips to change Media Protocol from RTP/SAVP to RTP/AVP. 
 It means converting encrypted media to normal.

Best regards,
Dragomir


На пт, 28.06.2019 г. в 10:52 ч. johan de clercq <[hidden email]> написа:

Change ruri to transport:udp.

 

Start the params that you give to rtpengine_offer or answer with RTP/AVP or RTP/SAVP accordingly.

 

From: Users <[hidden email]> On Behalf Of Dragomir Haralambiev
Sent: Thursday, June 27, 2019 10:36 PM
To: OpenSIPS users mailling list <[hidden email]>
Subject: [OpenSIPS-Users] How to change media protocol?

 

Hello,

I have OpenSips + rtpengine.
Opensips receive INVITE with Media Protocol: RTP/SAVP
How to setup Opensips to forward INVITE to ITSP with Media Protocol: RTP/AVP. Like this scheme:


INVITE with Media Protocol: RTP/SAVP --> (OpenSips +rtpengine) ---->INVITE with Media Protocol: RTP/AVP ---> ITSP

 

Best regards,

Dragomir

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: How to change media protocol?

Dragomir Haralambiev
.......
} else if (!isflagset(SRC_WS) && !isbflagset(DST_WS)) {
         $var(rtpengine_flags) = "RTP/AVP/SAVP replace-session-connection replace-origin ICE=remove";
  }  

in this case:
   $var(rtpengine_flags) = "RTP/AVP/SAVP replace-session-connection replace-origin ICE=remove";

rtpengine_offer("$var(rtpengine_flags)");  

This is no working.
Opensips received 
RTP/SAVP and forrward RTP/SAVP.
I like to received 
RTP/SAVP and forrward RTP/AVP.



На пт, 28.06.2019 г. в 17:47 ч. Johan De Clercq <[hidden email]> написа:
Drop the webrtc part and you will be fine

On Fri, 28 Jun 2019, 15:45 Dragomir Haralambiev, <[hidden email]> wrote:
Hi,

I do this but Opensips +rtpengine not converting encrypted media to normal.

 if (isflagset(SRC_WS) && isbflagset(DST_WS)) {
         $var(rtpengine_flags) = "ICE=force-relay DTLS=passive";
} else if (isflagset(SRC_WS) && !isbflagset(DST_WS)) {
         $var(rtpengine_flags) = "RTP/AVP replace-session-connection replace-origin ICE=remove";
} else if (!isflagset(SRC_WS) && isbflagset(DST_WS)) {
         $var(rtpengine_flags) = "UDP/TLS/RTP/SAVPF ICE=force";
} else if (!isflagset(SRC_WS) && !isbflagset(DST_WS)) {
         $var(rtpengine_flags) = "RTP/AVP/SAVP replace-session-connection replace-origin ICE=remove";
  }

rtpengine_offer("$var(rtpengine_flags)");


На пт, 28.06.2019 г. в 16:38 ч. Johan De Clercq <[hidden email]> написа:
If goes to provider: rtp/avp
Else rtp/savp

So put your parameters in a var before calling rtpengine

On Fri, 28 Jun 2019, 13:46 Dragomir Haralambiev, <[hidden email]> wrote:
Hi,

Thanks for your reply.

Yes I use rtpengine_offer like this:
rtpengine_offer("RTP/AVP/SAVP replace-session-connection replace-origin ICE=remove")

In this case Opensips + Rtpengine send INVITE to ITSP with Media Protocol: RTP/SAVP, 
But ITSP not supported RTP/SAVP (they supported only RTP/AVP).

I'm looking for a way to setup Opensips to change Media Protocol from RTP/SAVP to RTP/AVP. 
 It means converting encrypted media to normal.

Best regards,
Dragomir


На пт, 28.06.2019 г. в 10:52 ч. johan de clercq <[hidden email]> написа:

Change ruri to transport:udp.

 

Start the params that you give to rtpengine_offer or answer with RTP/AVP or RTP/SAVP accordingly.

 

From: Users <[hidden email]> On Behalf Of Dragomir Haralambiev
Sent: Thursday, June 27, 2019 10:36 PM
To: OpenSIPS users mailling list <[hidden email]>
Subject: [OpenSIPS-Users] How to change media protocol?

 

Hello,

I have OpenSips + rtpengine.
Opensips receive INVITE with Media Protocol: RTP/SAVP
How to setup Opensips to forward INVITE to ITSP with Media Protocol: RTP/AVP. Like this scheme:


INVITE with Media Protocol: RTP/SAVP --> (OpenSips +rtpengine) ---->INVITE with Media Protocol: RTP/AVP ---> ITSP

 

Best regards,

Dragomir

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users