Hello
2011/9/5 Stas Bakulin stasbakulin@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.