|
@@ -64,17 +64,17 @@ route {
|
|
if (method == "INVITE") {
|
|
if (method == "INVITE") {
|
|
if (lookup("location-internal")) {
|
|
if (lookup("location-internal")) {
|
|
if (dst_ip == 192.168.0.1)
|
|
if (dst_ip == 192.168.0.1)
|
|
- if (force_rtp_proxy("FAII"))
|
|
|
|
|
|
+ if (rtpproxy_offer("FAII"))
|
|
t_on_reply("1");
|
|
t_on_reply("1");
|
|
if (dst_ip == 192.168.1.1)
|
|
if (dst_ip == 192.168.1.1)
|
|
- if (force_rtp_proxy("FAEI"))
|
|
|
|
|
|
+ if (rtpproxy_offer("FAEI"))
|
|
t_on_reply("1");
|
|
t_on_reply("1");
|
|
} else if (lookup("location-external")) {
|
|
} else if (lookup("location-external")) {
|
|
if (dst_ip == 192.168.0.1)
|
|
if (dst_ip == 192.168.0.1)
|
|
- if (force_rtp_proxy("FAIE"))
|
|
|
|
|
|
+ if (rtpproxy_offer("FAIE"))
|
|
t_on_reply("1");
|
|
t_on_reply("1");
|
|
if (dst_ip == 192.168.1.1)
|
|
if (dst_ip == 192.168.1.1)
|
|
- if (force_rtp_proxy("FAEE"))
|
|
|
|
|
|
+ if (rtpproxy_offer("FAEE"))
|
|
t_on_reply("1");
|
|
t_on_reply("1");
|
|
} else {
|
|
} else {
|
|
sl_send_reply("403", "Call cannot be served here");
|
|
sl_send_reply("403", "Call cannot be served here");
|
|
@@ -101,5 +101,5 @@ route {
|
|
onreply_route[1] {
|
|
onreply_route[1] {
|
|
if (!(status=~"183" || status=~"200"))
|
|
if (!(status=~"183" || status=~"200"))
|
|
break;
|
|
break;
|
|
- force_rtp_proxy("FA");
|
|
|
|
|
|
+ rtpproxy_answer("FA");
|
|
}
|
|
}
|