[SR-Users] Pass all rtp to RTPProxy

Peter Lemenkov lemenkov at gmail.com
Mon Sep 5 10:10:09 CEST 2011


Hello

2011/9/5 Stas Bakulin <stasbakulin at gmail.com>:
> Hello!
>
> What is it right way to pass all rtp traffic through RTPProxy?
> How this can be configured in Kamailio?

* Create RTP proxying session on each INVITE

rtpproxy_offer();

*  On every positive reply extract modify answer:

rtpproxy_answer();

* On every BYE / CANCEL / failure reply tear down session (if any):

unforce_rtp_proxy();

That's almost all. You should consider providing modifiers to
rtpproxy_offer(), catch reinvites, be careful of refers and be aware
of some other obscure magic - but the above text will works in most
cases.
-- 
With best regards, Peter Lemenkov.



More information about the sr-users mailing list