[SR-Users] Use different flags in rtpproxy_manage() based on from which route its called

Aft nix aftnix at gmail.com
Thu Nov 8 11:40:57 CET 2012


Hi,

rtpproxy_manage() combines both rtpproxy_offer() and
rtpproxy_answer(). Now if i want different flags set for
rtpproxy_offer() and rtpproxy_answer() then how should i use
rtpproxy_manage()?

To specific, what i want :

route[REQUEST]{
.....
rtpproxy_offer("z20");
...
}

onreply_route[]{
....
rtpproxy_answer("z120");
....
}

Now in kamailio.cfg there is one call rtpproxy_manage() in
route[NATMANAGE]. route[NATMANAGE] is called from both route[REQUEST]
and onreply_route[]. So i can't emulate the functionality described
above. My question is using only rtpproxy_manage() is it possible to
emulate the above functionality?

Thanks in advance.

--
-aft



More information about the sr-users mailing list