Re: [SR-Users] Issue handling SRTP and RTP with rtpproxy and rtpengine

2015-07-15 Thread Alberto Sagredo
Roberto just call it on NATMANAGE as shown. I route everything now thru that route.. You have to configure rtpengine to use internal external interfaces route[NATMANAGE] { #!ifdef WITH_NAT # if (is_request()) { # if(has_totag()) { # if(check_route_param("nat=yes")) { # setbflag(FLB_NATB)

Re: [SR-Users] Issue handling SRTP and RTP with rtpproxy and rtpengine

2015-07-15 Thread Roberto Fichera
On 07/15/2015 08:44 AM, Alberto Sagredo wrote: Hi Alberto, can you also share part of the relevant place where you are calling that route? Cheers, Roberto Fichera. > Hi Daniel > > Kamailio is for hard people and fun :) > > Thanks Visily i finnaly got it working with your tip. You were right ab

Re: [SR-Users] Issue handling SRTP and RTP with rtpproxy and rtpengine

2015-07-15 Thread Alberto Sagredo
You are welcome! 2015-07-15 15:42 GMT+02:00 Daniel Tryba : > On Wednesday 15 July 2015 08:44:13 Alberto Sagredo wrote: > > Kamailio is for hard people and fun :) > > No comment on this one > > > Thanks Visily i finnaly got it working with your tip. You were right > about > > internal extern

Re: [SR-Users] Issue handling SRTP and RTP with rtpproxy and rtpengine

2015-07-15 Thread Daniel Tryba
On Wednesday 15 July 2015 08:44:13 Alberto Sagredo wrote: > Kamailio is for hard people and fun :) No comment on this one > Thanks Visily i finnaly got it working with your tip. You were right about > internal external options instead direction=... > > Here its some code to someone could nee

Re: [SR-Users] Issue handling SRTP and RTP with rtpproxy and rtpengine

2015-07-14 Thread Alberto Sagredo
Hi Daniel Kamailio is for hard people and fun :) Thanks Visily i finnaly got it working with your tip. You were right about internal external options instead direction=... Here its some code to someone could need it route[RTPPROXY] { if (is_method("INVITE")){ if(ds_is_from_list(1)){

Re: [SR-Users] Issue handling SRTP and RTP with rtpproxy and rtpengine

2015-07-14 Thread Daniel Tryba
On Tuesday 14 July 2015 18:19:02 Alberto Sagredo wrote: > In my tests rtpproxy recording waste less resources than asterisk > > That was one of the reasons How much time have you spend so far on a problem that asterisk can handle out of the box? ;) I'd love to do this with kamailio/rtpengine (I

Re: [SR-Users] Issue handling SRTP and RTP with rtpproxy and rtpengine

2015-07-14 Thread Alberto Sagredo
Hi daniel In my tests rtpproxy recording waste less resources than asterisk That was one of the reasons BR ALBERTO El martes, 14 de julio de 2015, Daniel Tryba escribió: > On Tuesday 14 July 2015 17:01:38 Alberto Sagredo wrote: > > What i try is to detect if i have SAVP from endpoint and tr

Re: [SR-Users] Issue handling SRTP and RTP with rtpproxy and rtpengine

2015-07-14 Thread Daniel Tryba
On Tuesday 14 July 2015 17:01:38 Alberto Sagredo wrote: > What i try is to detect if i have SAVP from endpoint and translate to RTP > to ASterisk an later RTP from ASterisk translate to SRTP using rtpengine Why not just handle SRTP with asterisk and record there?

Re: [SR-Users] Issue handling SRTP and RTP with rtpproxy and rtpengine

2015-07-14 Thread Alberto Sagredo
Thanks Vasily direction parameter i understood it was as ie options on rtpproxy, maybe im wrong. About them , i was ngreping all trace and that was the option to get SDP correct mapped using RTPengine.. WIll check with your comments and let you know back. BR 2015-07-14 17:16 GMT+02:00 Vasiliy

Re: [SR-Users] Issue handling SRTP and RTP with rtpproxy and rtpengine

2015-07-14 Thread Vasiliy Ganchev
Alberto Sagredo-2 wrote > Thanks Vasily i have changed a little today using a RTPPROXY route. > > Thats what i have right now > > But its not working as expected > > What i try is to detect if i have SAVP from endpoint and translate to RTP > to ASterisk an later RTP from ASterisk translate to SR

Re: [SR-Users] Issue handling SRTP and RTP with rtpproxy and rtpengine

2015-07-14 Thread Alberto Sagredo
Thanks Vasily i have changed a little today using a RTPPROXY route. Thats what i have right now But its not working as expected What i try is to detect if i have SAVP from endpoint and translate to RTP to ASterisk an later RTP from ASterisk translate to SRTP using rtpengine I had extrange behav

Re: [SR-Users] Issue handling SRTP and RTP with rtpproxy and rtpengine

2015-07-14 Thread Vasiliy Ganchev
Alberto Sagredo-2 wrote > ... > I have been able to make SRTP To RTP to Asterisk > > But im not able to call between SRTP extensions, i understand also SRTP to > RTP would work as im doing with Asterisk (Only the speak SRTP as rtpengine > trasncode) > > > If you need any more info let me know. >