Hello,

On 11/8/12 11:40 AM, Aft nix wrote:
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?
in route[NATMANAGE] you can see that there are some functions that help to detect if a request or a reply is processed, respectively is_request()/is_reply().

You can have if conditions and execute any of rtpproxy_*() functions with different parameters.

Cheers,
Daniel

Thanks in advance.

--
-aft

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - 
http://asipto.com/u/katu


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to