I’m not sure to be honest. Out of curiosity, why don’t you just pass both streams (audio+video) vía asterisk or rtpengine? I don’t understand why you want to separate them..
In any case, you can always mangle the SDP manually and adjust it as you need, but I don’t know how that will play as one (rtpengine) doesn’t know the existence of the other (asterisk), you would probably have to manage everything manually.... I don’t see it. Maybe someone else here can give you a more accurate response... sorry I can’t help anymore On Mon, Dec 17, 2018 at 19:54 Abhijit Dutta <[email protected]> wrote: > Hi Joel, > Your interpretation of the requirement is correct. Just to stress > RTPEngine is there in audio path as I mentioned in point 1 below. So... > > User - Kamailio/rtpengine-destination (video) > User - Kamailio/rtpengine-Asterisk (audio) > > Later part (audio) is the existing flow. We need to add the first > (video)one. Now question is if that is possible? > > Thanks > > > > ------------------------------ > *From:* sr-users <[email protected]> on behalf of Joel > Serrano <[email protected]> > *Sent:* Monday, December 17, 2018 5:23:44 PM > > *To:* Kamailio (SER) - Users Mailing List > *Subject:* Re: [SR-Users] Routing of Audio and Video Stream. > > I think he wants to handle rtp like: > > User - kamailio/rtpengine - destination (video) > User - kamailio (with/without rtpengine is unclear) - asterisk - > destination (audio) > > ??? > > On Mon, Dec 17, 2018 at 08:22 Sergiu Pojoga <[email protected]> wrote: > > Still struggling to understanding the desired flow and outcome... > > My assumption of your topology: there's an Asterisk box, some SIP > video-enabled phones registered to Asterisk via Kamailio, with Rtpengine as > media proxy. > > Phone A video calls Phone B. What do you want to happen, drop video, pass > it along or something else (not sure what else is possible) ? > > On Mon, Dec 17, 2018 at 10:42 AM Abhijit Dutta <[email protected]> wrote: > > Hi Sergiu, > > Tendering my apology for the confusion. This is what is intended. For a > call which has both audio video... > 1. Audio packets directed towards Asterisk from Kamailio (RTPEngine) > 2. Video packets not via Asterisk. RTPEngine directly sends to > destination. > > Thanks > Abhijit > ------------------------------ > *From:* sr-users <[email protected]> on behalf of > Sergiu Pojoga <[email protected]> > *Sent:* Monday, December 17, 2018 3:25:13 PM > *To:* Kamailio (SER) - Users Mailing List > *Subject:* Re: [SR-Users] Routing of Audio and Video Stream. > > Hi Abhijit, > > Not wanting to remove video contradicts with your original plan "*Is it > possible to redirect only the audio stream towards Asterisk... and not to > send the video stream to Asterisk*" > > So which one is it? > > Regards, > --Sergiu > > On Sat, Dec 15, 2018 at 2:24 AM Abhijit Dutta <[email protected]> wrote: > > Hi Sergiu, > > Thank you for your help. > > If we remove the video m line, I have a doubt if the video stream will > still get routed to destination (from Kamailio-RTPEngine). I do not want > the video to be droped from the call. I am learning how to use Kamailio, so > excuse me for my limited knowledge of the system. > > Thanks > Abhijit > > ------------------------------ > *From:* sr-users <[email protected]> on behalf of > Sergiu Pojoga <[email protected]> > *Sent:* Friday, December 14, 2018 1:53 PM > *To:* Kamailio (SER) - Users Mailing List > *Subject:* Re: [SR-Users] Routing of Audio and Video Stream. > > sdp_remove_media("video"); > > > https://kamailio.org/docs/modules/5.1.x/modules/sdpops.html#sdpops.f.sdp_remove_media > > On Fri, Dec 14, 2018 at 6:55 AM Daniel-Constantin Mierla < > [email protected]> wrote: > > Hello, > > > I guess you still need to send the INVITE to Asterisk, right? > > > Cheers, > Daniel > > > On 14.12.18 11:15, Abhijit Dutta wrote: > > Hi All, > > Is it possible to redirect only the audio stream towards Asterisk from > Kamailio (Proxy) via RTPEngine and not to send the video stream to > Asterisk. I am yet to get the complete reason why my client wants this to > happen though. > > Thanks > Abhijit > > _______________________________________________ > Kamailio (SER) - Users Mailing > [email protected]https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > -- > Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- > www.linkedin.com/in/miconda > Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com > Kamailio Advanced Training -- www.asipto.com > > _______________________________________________ > Kamailio (SER) - Users Mailing List > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > _______________________________________________ > Kamailio (SER) - Users Mailing List > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > _______________________________________________ > Kamailio (SER) - Users Mailing List > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > _______________________________________________ > Kamailio (SER) - Users Mailing List > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
