[Kamailio-Users] Engaging rtpproxy

Graham Wooden graham at g-rock.net
Tue Oct 28 15:00:00 CET 2008


Thanks Klaus. I will try the force_rtp_proxy() in the 302  
failure_route tonight; I already have the get_redirects and t_relay in  
there.

However, what is the best way to get in there for the 200 OK for the  
reply without having it be for evey call?

Thanks!

-graham

> Hi!
>
> Note: There are 2 RTP proxies for Kamailio:
>  for Kamailio <= 1.3: rtpproxy (controlled via nathelper module) and
> mediaproxy (controlled via mediaproxy module)
>
>  for Kamailio >= 1.4: rtpproxy (controlled via nathelper module) and
> mediaproxy2 (controlled via mediaproxy module)
>
> mediaproxy2 is a Linux kernel module and I think you can not record
> with it. AFAIK rtpproxy supports recording of sessions.
> http://www.kamailio.org/docs/modules/devel/nathelper.html#id2506972
>
> 3xx can be caught in failure_route.
>
> There you execute get_redirects("*"); the force_rtpproxy and then
> t_relay. Further make sure that force_rtp_proxy() is also called for
> the 200 OK response (reply route) and furter in-dialog requests.
>
> regards
> Klaus
>
> Graham Wooden schrieb:
>> Hi list,
>> I currently don¹t proxy audio nor have any plans to for all calls, except
>> for the "302 Redirect", where I need kamailio to become a b2bua with
>> RTPproxy (or for the record CALEA).
>>
>> However, I can¹t seem to get the ³if² statement down on where
>> ³engage_media_proxy² gets called without doing it for all outbound calls.
>> What is the best way to identify a call that was from a SIP client that
>> issued a 302?
>>
>> My last effort was:
>>   if ( uri == mysqlf && is_method("INVITE") ){
>>
>> But that seemed to get every call.  Any guidance would be appreciated,
>> thanks.
>>
>> -graham
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.kamailio.org
>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users







More information about the Users mailing list