On Sun, Apr 17, 2011 at 7:26 PM, Iñaki Baz Castillo <[email protected]> wrote:
> 2011/4/17 Jeff Chua <[email protected]>:
>> Thanks for the link. I'll try it out. Does anyone has a full
>> opensips.cfg that works with NAT? It seems the "codes" are ...
>> partially shown only ... and I can't seems to figure it out as a whole
>
> What is your problem exactly? What does it mean "codes are partially shown"?
My problem is I'm new to opensips and when I looked at the rtpproxy
module, there's are partial codes in the as shown. I just don't know
how to put it all together.
route {
...
if (is_method("INVITE")) {
if (has_sdp()) {
if (rtpproxy_offer())
t_on_reply("1");
} else {
t_on_reply("2");
}
}
if (is_method("ACK") && has_sdp())
rtpproxy_answer();
...
}
onreply_route[1]
{
...
if (has_sdp())
rtpproxy_answer();
...
}
onreply_route[2]
{
...
if (has_sdp())
rtpproxy_offer();
...
}
Thanks,
Jeff
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users