Hi,

place the force_xxxx commands before the forward command, otherwise they will have no impact on the forwarded request.

regards,
bogdan

Script Head wrote:

Hello everyone,

I am trying to debug why my rtpproxy isn't working. I have the following setup, on my LAN.

softphone (192.168.1.100 <http://192.168.1.100>) -> openser/rtpproxy ( 192.168.1.10 <http://192.168.1.10>) -> asterisk (192.168.1.12 <http://192.168.1.12>)

The rtpproxy is running and I see commands flying thru it.

the following route works

        if(method=="INVITE") {
                if(uri=~"^sip:[0-9]{6}1[0-9]*{10}@") {
                        forward(192.168.1.12 <http://192.168.1.12>,5060);
                };
         }

when I replace it with this route

        if(method=="INVITE") {
                if(uri=~"^sip:[0-9]{6}1[0-9]*{10}@") {
                        forward(192.168.1.12 <http://192.168.1.12>,5060);
                };
                force_rport();
                force_rtp_proxy();
        }

I get dead air while asterisk logs show that my test message is playing. How should I proceed to debug this?

ScriptHead

------------------------------------------------------------------------

_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to