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
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
On Fri, Nov 9, 2012 at 2:08 PM, Daniel-Constantin Mierla miconda@gmail.com wrote:
Hello,
On 11/8/12 11:40 AM, Aft nix wrote:
<snip>
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().
Thanks for the solution.
I'm thinking of setting up a kamailio lab in my lapto using VMs. Any pointer on that how should i proceed?
If i have that i can check first hand these little things without bothering others.
The lab should only be a place for testing kamailio features. nothing else.
How can i set it up without any sort of sip client?(Like can i use one kamailio instance as sip client for generating sip msgs?)
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
-- -aft
Hello
you can use uac module to generate sip requests from the config file:
http://kamailio.org/docs/modules/3.3.x/modules_k/uac.html#id2494432
Regards
Javi On 11/11/2012 11:40 AM, Aft nix wrote:
On Fri, Nov 9, 2012 at 2:08 PM, Daniel-Constantin Mierla miconda@gmail.com wrote:
Hello,
On 11/8/12 11:40 AM, Aft nix wrote:
<snip> > 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(). > Thanks for the solution.
I'm thinking of setting up a kamailio lab in my lapto using VMs. Any pointer on that how should i proceed?
If i have that i can check first hand these little things without bothering others.
The lab should only be a place for testing kamailio features. nothing else.
How can i set it up without any sort of sip client?(Like can i use one kamailio instance as sip client for generating sip msgs?)
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
-- -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