Rtpproxy connection

classic Classic list List threaded Threaded
25 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Rtpproxy connection

Spady#7
Hi all, I thought to open a new threat about my issue because is not ( i suppose ) related to scripting.

My issue is that any time rtpproxy has to be invoked by opensips script i get the following error:

ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy Connection refused

and rtpproxy shuts down.
I am investigating on it by some weeks and seems to be an hard problem ( for me :-) ) .
What I am asking is in which way OPenSips try to connect to rtpproxy. What's the "command" that it tries to send but it can't because "Connection is refused". Who refused the connection?
Can someone explain me all of that so i can figured out my original problem.
Thanks to all
Reply | Threaded
Open this post in threaded view
|

Re: Rtpproxy connection

Binan83
Hi Spady,

see these links:
RTPProxy Control Protocol:
http://www.b2bua.org/wiki/RTPproxy/Protocol#RTPproxyControlProtocol

and RTPProxy Howitworks section:
http://linux.die.net/man/8/rtpproxy

Try to send command to rtpproxy like creating new session and see what it gets, according to that you can know if the problem comes from your script or not.


 
//Binan



From: spady <[hidden email]>
To: [hidden email]
Sent: Wednesday, September 26, 2012 6:15 PM
Subject: [OpenSIPS-Users] Rtpproxy connection

Hi all, I thought to open a new threat about my issue because is not ( i
suppose ) related to scripting.

My issue is that any time rtpproxy has to be invoked by opensips script i
get the following error:

*ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
Connection refused*

and rtpproxy shuts down.
I am investigating on it by some weeks and seems to be an hard problem ( for
me :-) ) .
What I am asking is in which way OPenSips try to connect to rtpproxy. What's
the "command" that it tries to send but it can't because "Connection is
refused". Who refused the connection?
Can someone explain me all of that so i can figured out my original problem.
Thanks to all




--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Rtpproxy-connection-tp7581935.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
voipmagazine.wordpress.com/
Reply | Threaded
Open this post in threaded view
|

Re: Rtpproxy connection

Binan83
- see if rtpproxy is still working when the request is made (use ps command to check the process) -When "rtpproxy" opensips module send request to "rtpproxy" server
- Is there any error in the rtpproxy server side (NOT OPENSIP side) -check the log

//Binan


From: Binan AL Halabi <[hidden email]>
To: OpenSIPS users mailling list <[hidden email]>
Sent: Wednesday, September 26, 2012 9:27 PM
Subject: Re: [OpenSIPS-Users] Rtpproxy connection

Hi Spady,

see these links:
RTPProxy Control Protocol:
http://www.b2bua.org/wiki/RTPproxy/Protocol#RTPproxyControlProtocol

and RTPProxy Howitworks section:
http://linux.die.net/man/8/rtpproxy

Try to send command to rtpproxy like creating new session and see what it gets, according to that you can know if the problem comes from your script or not.


 
//Binan



From: spady <[hidden email]>
To: [hidden email]
Sent: Wednesday, September 26, 2012 6:15 PM
Subject: [OpenSIPS-Users] Rtpproxy connection

Hi all, I thought to open a new threat about my issue because is not ( i
suppose ) related to scripting.

My issue is that any time rtpproxy has to be invoked by opensips script i
get the following error:

*ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
Connection refused*

and rtpproxy shuts down.
I am investigating on it by some weeks and seems to be an hard problem ( for
me :-) ) .
What I am asking is in which way OPenSips try to connect to rtpproxy. What's
the "command" that it tries to send but it can't because "Connection is
refused". Who refused the connection?
Can someone explain me all of that so i can figured out my original problem.
Thanks to all




--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Rtpproxy-connection-tp7581935.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
voipmagazine.wordpress.com/
Reply | Threaded
Open this post in threaded view
|

Re: Rtpproxy connection

Spady#7
In reply to this post by Binan83
Hi Binan, thanks for your reply.
I read links you posted me but i cannot understand how to send command to rtpproxy to test it.

I tried from CLI like:

root@opensips:~# rtpproxy VF 20050322

but i get no response. Probably is not the way like it should. Can you explain me better?
Thanks again.
Reply | Threaded
Open this post in threaded view
|

Re: Rtpproxy connection

Spady#7
- No!, after opensips module sends command to rtpproxy this one shut down ( i cannot see anymore with ps command )

- in rtpproxy logs i cannot see any specific error. Below example of code that I get from rtpproxy:
Sep 27 00:31:01 opensips rtpproxy[19991]: DBUG:handle_command: received command "20126_5 UIER172.16.52.121c0,8,18,101 M2EzYzNmMmRmYzg0MGNiY2M1YjhjMTUzMWFkOWNiYTg 37.103.117.107 60234 cfd2be4f;1"
Sep 27 00:31:01 opensips rtpproxy[19991]: INFO:handle_command: new session M2EzYzNmMmRmYzg0MGNiY2M1YjhjMTUzMWFkOWNiYTg, tag cfd2be4f;1 requested, type strong


As you can see, no error!!!

P.S. I started rtpproxy like below:
rtpproxy -F -s udp:127.0.0.1:10177 -l 10.9.23.41/151.x.x.201 -u root -d DBUG:LOG_LOCAL2
Reply | Threaded
Open this post in threaded view
|

Re: Rtpproxy connection

Denis
Hello

Instead of udp socket for control try to use unix socket. Maybe it will
help.

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of spady
Sent: Thursday, September 27, 2012 2:41 AM
To: [hidden email]
Subject: Re: [OpenSIPS-Users] Rtpproxy connection

- No!, after opensips module sends command to rtpproxy this one shut down (
i cannot see anymore with ps command )

- in rtpproxy logs i cannot see any specific error. Below example of code
that I get from rtpproxy:
*Sep 27 00:31:01 opensips rtpproxy[19991]: DBUG:handle_command: received
command "20126_5 UIER172.16.52.121c0,8,18,101
M2EzYzNmMmRmYzg0MGNiY2M1YjhjMTUzMWFkOWNiYTg 37.103.117.107 60234 cfd2be4f;1"
Sep 27 00:31:01 opensips rtpproxy[19991]: INFO:handle_command: new session
M2EzYzNmMmRmYzg0MGNiY2M1YjhjMTUzMWFkOWNiYTg, tag cfd2be4f;1 requested, type
strong*

As you can see, no error!!!

P.S. I started rtpproxy like below:
*rtpproxy -F -s udp:127.0.0.1:10177 -l 10.9.23.41/151.x.x.201 -u root -d
DBUG:LOG_LOCAL2*



--
View this message in context:
http://opensips-open-sip-server.1449251.n2.nabble.com/Rtpproxy-connection-tp
7581935p7581940.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Rtpproxy connection

Binan83
In reply to this post by Spady#7
hej,

You need rtpproxy-client

//Binan



From: spady <[hidden email]>
To: [hidden email]
Sent: Thursday, September 27, 2012 12:35 AM
Subject: Re: [OpenSIPS-Users] Rtpproxy connection

Hi Binan, thanks for your reply.
I read links you posted me but i cannot understand how to send command to
rtpproxy to test it.

I tried from CLI like:

*root@opensips:~# rtpproxy VF 20050322*

but i get no response. Probably is not the way like it should. Can you
explain me better?
Thanks again.




--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Rtpproxy-connection-tp7581935p7581939.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
voipmagazine.wordpress.com/
Reply | Threaded
Open this post in threaded view
|

Re: Rtpproxy connection

Binan83
In reply to this post by Spady#7
You have this in your previous logs :
ERROR:rtpproxy:send_rtpp_command: proxy <udp:127.0.0.1:7890>

and in config file
modparam("rtpproxy", "rtpproxy_sock", "udp:127.0.0.1:7890") # CUSTOMIZE ME

and your are running the proxy like
 rtpproxy -F -s udp:127.0.0.1:10177 -l 10.9.23.41/151.x.x.201 -u root -d DBUG:LOG_LOCAL2*

have you changed the port !!!!!

//Binan


From: spady <[hidden email]>
To: [hidden email]
Sent: Thursday, September 27, 2012 12:40 AM
Subject: Re: [OpenSIPS-Users] Rtpproxy connection

- No!, after opensips module sends command to rtpproxy this one shut down ( i
cannot see anymore with ps command )

- in rtpproxy logs i cannot see any specific error. Below example of code
that I get from rtpproxy:
*Sep 27 00:31:01 opensips rtpproxy[19991]: DBUG:handle_command: received
command "20126_5 UIER172.16.52.121c0,8,18,101
M2EzYzNmMmRmYzg0MGNiY2M1YjhjMTUzMWFkOWNiYTg 37.103.117.107 60234 cfd2be4f;1"
Sep 27 00:31:01 opensips rtpproxy[19991]: INFO:handle_command: new session
M2EzYzNmMmRmYzg0MGNiY2M1YjhjMTUzMWFkOWNiYTg, tag cfd2be4f;1 requested, type
strong*

As you can see, no error!!!

P.S. I started rtpproxy like below:
*rtpproxy -F -s udp:127.0.0.1:10177 -l 10.9.23.41/151.x.x.201 -u root -d
DBUG:LOG_LOCAL2*



--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Rtpproxy-connection-tp7581935p7581940.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
voipmagazine.wordpress.com/
Reply | Threaded
Open this post in threaded view
|

Re: Rtpproxy connection

Spady#7
Hi Binan,
don't care about it. I made a lot of changing to figure out the issue so traces could be different to one another. Configuration of opensips and rtpproxy are always correct ( I mean the two part was always matched ).
Thanks anyway :-)

Reply | Threaded
Open this post in threaded view
|

Re: Rtpproxy connection

Spady#7
In reply to this post by Denis
I have some news but issue still present.
I used unix socket, instead of udp, but RTPPROXY crashes at each call.
Below traces of opensips side and rtpproxy side:

OPENSIPS:

Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26026]: ERROR:rtpproxy:send_rtpp_command: can't read reply from a RTP proxy
Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26026]: ERROR:rtpproxy:send_rtpp_command: proxy <unix:/var/run/rtpproxy.sock> does not respond, disable it
Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26026]: ERROR:rtpproxy:force_rtp_proxy_body: no available proxies
Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26020]: ERROR:rtpproxy:force_rtp_proxy: Unable to parse body
Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26021]: ERROR:rtpproxy:force_rtp_proxy: Unable to parse body
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26024]: ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26022]: ERROR:rtpproxy:force_rtp_proxy: Unable to parse body
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26022]: ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26022]: ERROR:rtpproxy:engage_close_callback: cannot unforce rtp proxy
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26025]: ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies
Sep 27 13:02:03 opensips /usr/local/opensips_proxy/sbin/opensips[26026]: ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies
Sep 27 13:02:05 opensips /usr/local/opensips_proxy/sbin/opensips[26024]: ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies



RTPPROXY:

Sep 27 13:01:46 opensips rtpproxy[25993]: DBUG:handle_command: received command "VF 20071116"
Sep 27 13:01:57 opensips rtpproxy[25993]: DBUG:handle_command: received command "UIER172.16.52.121c0,8,18,101 ZGY2Yjk5ZGJiNDQ0ZWI0MGVhZmMzODAxNDc3YzgwMjI 151.x.x.19 60242 671d9c3d;1"                                                                                                                                                                              


Any idea???
Reply | Threaded
Open this post in threaded view
|

Re: Rtpproxy connection

Denis
You should first start opensips, it creates unix socket and then rtpproxy.


-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of spady
Sent: Thursday, September 27, 2012 4:27 PM
To: [hidden email]
Subject: Re: [OpenSIPS-Users] Rtpproxy connection

I have some news but issue still present.
I used unix socket, instead of udp, but RTPPROXY crashes at each call.
Below traces of opensips side and rtpproxy side:

OPENSIPS:

*Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26026]:
ERROR:rtpproxy:send_rtpp_command: can't read reply from a RTP proxy Sep 27
13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26026]:
ERROR:rtpproxy:send_rtpp_command: proxy <unix:/var/run/rtpproxy.sock> does
not respond, disable it Sep 27 13:01:57 opensips
/usr/local/opensips_proxy/sbin/opensips[26026]:
ERROR:rtpproxy:force_rtp_proxy_body: no available proxies Sep 27 13:01:57
opensips /usr/local/opensips_proxy/sbin/opensips[26020]:
ERROR:rtpproxy:force_rtp_proxy: Unable to parse body Sep 27 13:01:57
opensips /usr/local/opensips_proxy/sbin/opensips[26021]:
ERROR:rtpproxy:force_rtp_proxy: Unable to parse body Sep 27 13:02:02
opensips /usr/local/opensips_proxy/sbin/opensips[26024]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies Sep 27 13:02:02
opensips /usr/local/opensips_proxy/sbin/opensips[26022]:
ERROR:rtpproxy:force_rtp_proxy: Unable to parse body Sep 27 13:02:02
opensips /usr/local/opensips_proxy/sbin/opensips[26022]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies Sep 27 13:02:02
opensips /usr/local/opensips_proxy/sbin/opensips[26022]:
ERROR:rtpproxy:engage_close_callback: cannot unforce rtp proxy Sep 27
13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26025]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies Sep 27 13:02:03
opensips /usr/local/opensips_proxy/sbin/opensips[26026]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies Sep 27 13:02:05
opensips /usr/local/opensips_proxy/sbin/opensips[26024]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies *


RTPPROXY:

*Sep 27 13:01:46 opensips rtpproxy[25993]: DBUG:handle_command: received
command "VF 20071116"
Sep 27 13:01:57 opensips rtpproxy[25993]: DBUG:handle_command: received
command "UIER172.16.52.121c0,8,18,101
ZGY2Yjk5ZGJiNDQ0ZWI0MGVhZmMzODAxNDc3YzgwMjI 151.x.x.19 60242 671d9c3d;1"

*

Any idea???




--
View this message in context:
http://opensips-open-sip-server.1449251.n2.nabble.com/Rtpproxy-connection-tp
7581935p7581952.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Rtpproxy connection

Binan83
In reply to this post by Spady#7
Now i will suggest stupid thing,
write simple script with only nathelper (old fasion) and without rtpproxy module

modparam("nathelper", "rtpproxy_sock", "udp:127.0.0.1:7890")
instead of
modparam("rtpproxy", "rtpproxy_sock", "udp:127.0.0.1:7890")

And enable the notification socket.

see what you get

//Binan

From: spady <[hidden email]>
To: [hidden email]
Sent: Thursday, September 27, 2012 2:26 PM
Subject: Re: [OpenSIPS-Users] Rtpproxy connection

I have some news but issue still present.
I used unix socket, instead of udp, but RTPPROXY crashes at each call.
Below traces of opensips side and rtpproxy side:

OPENSIPS:

*Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26026]:
ERROR:rtpproxy:send_rtpp_command: can't read reply from a RTP proxy
Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26026]:
ERROR:rtpproxy:send_rtpp_command: proxy <unix:/var/run/rtpproxy.sock> does
not respond, disable it
Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26026]:
ERROR:rtpproxy:force_rtp_proxy_body: no available proxies
Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26020]:
ERROR:rtpproxy:force_rtp_proxy: Unable to parse body
Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26021]:
ERROR:rtpproxy:force_rtp_proxy: Unable to parse body
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26024]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26022]:
ERROR:rtpproxy:force_rtp_proxy: Unable to parse body
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26022]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26022]:
ERROR:rtpproxy:engage_close_callback: cannot unforce rtp proxy
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26025]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies
Sep 27 13:02:03 opensips /usr/local/opensips_proxy/sbin/opensips[26026]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies
Sep 27 13:02:05 opensips /usr/local/opensips_proxy/sbin/opensips[26024]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies *


RTPPROXY:

*Sep 27 13:01:46 opensips rtpproxy[25993]: DBUG:handle_command: received
command "VF 20071116"
Sep 27 13:01:57 opensips rtpproxy[25993]: DBUG:handle_command: received
command "UIER172.16.52.121c0,8,18,101
ZGY2Yjk5ZGJiNDQ0ZWI0MGVhZmMzODAxNDc3YzgwMjI 151.x.x.19 60242 671d9c3d;1"                                                                                                                                                                             
*

Any idea???




--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Rtpproxy-connection-tp7581935p7581952.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
voipmagazine.wordpress.com/
Reply | Threaded
Open this post in threaded view
|

Re: Rtpproxy connection

Spady#7
I tried but i get the following error:

Sep 27 15:09:49 opensips opensips: ERROR:core:set_mod_param_regex: parameter <rtpproxy_sock> not found in module <nathelper>

Seems that parameter you suggested me is not more avaible in nathelper module.

I started rtpproxy like below

root     27019     1  0 15:05 ?        00:00:00 rtpproxy -F -s udp:127.0.0.1 7890 10.9.23.41/151.8.12.201 -u root -d DBUG LOG_LOCAL2

Reply | Threaded
Open this post in threaded view
|

Re: Rtpproxy connection

Spady#7
In reply to this post by Binan83
I tried to use RTPPROXY_CLIENT but i get an error:

root@opensips:/tmp# java rtpproxy-client-api-0.2.jar
Exception in thread "main" java.lang.NoClassDefFoundError: rtpproxy-client-api-0/2/jar
Caused by: java.lang.ClassNotFoundException: rtpproxy-client-api-0.2.jar
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: rtpproxy-client-api-0.2.jar.  Program will exit.


What that means? I suppose some trouble with java but i cannot understand what.
Reply | Threaded
Open this post in threaded view
|

Re: Rtpproxy connection

Binan83
In reply to this post by Spady#7
hej spady,
I see rtpproxy is root
Is opensips is root in your system ?

//Binan



From: spady <[hidden email]>
To: [hidden email]
Sent: Thursday, September 27, 2012 2:26 PM
Subject: Re: [OpenSIPS-Users] Rtpproxy connection

I have some news but issue still present.
I used unix socket, instead of udp, but RTPPROXY crashes at each call.
Below traces of opensips side and rtpproxy side:

OPENSIPS:

*Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26026]:
ERROR:rtpproxy:send_rtpp_command: can't read reply from a RTP proxy
Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26026]:
ERROR:rtpproxy:send_rtpp_command: proxy <unix:/var/run/rtpproxy.sock> does
not respond, disable it
Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26026]:
ERROR:rtpproxy:force_rtp_proxy_body: no available proxies
Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26020]:
ERROR:rtpproxy:force_rtp_proxy: Unable to parse body
Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26021]:
ERROR:rtpproxy:force_rtp_proxy: Unable to parse body
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26024]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26022]:
ERROR:rtpproxy:force_rtp_proxy: Unable to parse body
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26022]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26022]:
ERROR:rtpproxy:engage_close_callback: cannot unforce rtp proxy
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26025]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies
Sep 27 13:02:03 opensips /usr/local/opensips_proxy/sbin/opensips[26026]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies
Sep 27 13:02:05 opensips /usr/local/opensips_proxy/sbin/opensips[26024]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies *


RTPPROXY:

*Sep 27 13:01:46 opensips rtpproxy[25993]: DBUG:handle_command: received
command "VF 20071116"
Sep 27 13:01:57 opensips rtpproxy[25993]: DBUG:handle_command: received
command "UIER172.16.52.121c0,8,18,101
ZGY2Yjk5ZGJiNDQ0ZWI0MGVhZmMzODAxNDc3YzgwMjI 151.x.x.19 60242 671d9c3d;1"                                                                                                                                                                             
*

Any idea???




--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Rtpproxy-connection-tp7581935p7581952.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
voipmagazine.wordpress.com/
Reply | Threaded
Open this post in threaded view
|

Re: Rtpproxy connection

Spady#7
This post was updated on .
Yes, it is!
I already tried with different users, both opensips and rtpproxy.

root     29723 29695  0 16:38 ?        00:00:00 /usr/local/opensips_proxy/sbin/opensips -P /var/run/opensips/opensips.pid -m 128 -M 4 -u root -g root -f /usr/local/opensips_proxy/etc/opensips/opensips_residential_2012-8-31_15:52:56.CFG
Reply | Threaded
Open this post in threaded view
|

Rtpproxy connection

Binan83
In reply to this post by Binan83
SELinux disabled !

//Binan

----- Forwarded Message -----
From: Binan AL Halabi <[hidden email]>
To: OpenSIPS users mailling list <[hidden email]>
Sent: Thursday, September 27, 2012 4:31 PM
Subject: Re: [OpenSIPS-Users] Rtpproxy connection

hej spady,
I see rtpproxy is root
Is opensips is root in your system ?

//Binan



From: spady <[hidden email]>
To: [hidden email]
Sent: Thursday, September 27, 2012 2:26 PM
Subject: Re: [OpenSIPS-Users] Rtpproxy connection

I have some news but issue still present.
I used unix socket, instead of udp, but RTPPROXY crashes at each call.
Below traces of opensips side and rtpproxy side:

OPENSIPS:

*Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26026]:
ERROR:rtpproxy:send_rtpp_command: can't read reply from a RTP proxy
Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26026]:
ERROR:rtpproxy:send_rtpp_command: proxy <unix:/var/run/rtpproxy.sock> does
not respond, disable it
Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26026]:
ERROR:rtpproxy:force_rtp_proxy_body: no available proxies
Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26020]:
ERROR:rtpproxy:force_rtp_proxy: Unable to parse body
Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26021]:
ERROR:rtpproxy:force_rtp_proxy: Unable to parse body
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26024]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26022]:
ERROR:rtpproxy:force_rtp_proxy: Unable to parse body
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26022]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26022]:
ERROR:rtpproxy:engage_close_callback: cannot unforce rtp proxy
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26025]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies
Sep 27 13:02:03 opensips /usr/local/opensips_proxy/sbin/opensips[26026]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies
Sep 27 13:02:05 opensips /usr/local/opensips_proxy/sbin/opensips[26024]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies *


RTPPROXY:

*Sep 27 13:01:46 opensips rtpproxy[25993]: DBUG:handle_command: received
command "VF 20071116"
Sep 27 13:01:57 opensips rtpproxy[25993]: DBUG:handle_command: received
command "UIER172.16.52.121c0,8,18,101
ZGY2Yjk5ZGJiNDQ0ZWI0MGVhZmMzODAxNDc3YzgwMjI 151.x.x.19 60242 671d9c3d;1"                                                                                                                                                                             
*

Any idea???




--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Rtpproxy-connection-tp7581935p7581952.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
voipmagazine.wordpress.com/
Reply | Threaded
Open this post in threaded view
|

Re: Rtpproxy connection

Max Mühlbronner
In reply to this post by Binan83
Check which port rtpproxy is running on, to see if the port is reachable.

netstat -anp|grep rtpproxy


"No available proxies", means opensips it not able to connect to your Rtpproxy control ports or unix socket.



Best Regards

Max M.

On 09/27/2012 04:31 PM, Binan AL Halabi wrote:
hej spady,
I see rtpproxy is root
Is opensips is root in your system ?

//Binan



From: spady [hidden email]
To: [hidden email]
Sent: Thursday, September 27, 2012 2:26 PM
Subject: Re: [OpenSIPS-Users] Rtpproxy connection

I have some news but issue still present.
I used unix socket, instead of udp, but RTPPROXY crashes at each call.
Below traces of opensips side and rtpproxy side:

OPENSIPS:

*Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26026]:
ERROR:rtpproxy:send_rtpp_command: can't read reply from a RTP proxy
Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26026]:
ERROR:rtpproxy:send_rtpp_command: proxy <unix:/var/run/rtpproxy.sock> does
not respond, disable it
Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26026]:
ERROR:rtpproxy:force_rtp_proxy_body: no available proxies
Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26020]:
ERROR:rtpproxy:force_rtp_proxy: Unable to parse body
Sep 27 13:01:57 opensips /usr/local/opensips_proxy/sbin/opensips[26021]:
ERROR:rtpproxy:force_rtp_proxy: Unable to parse body
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26024]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26022]:
ERROR:rtpproxy:force_rtp_proxy: Unable to parse body
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26022]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26022]:
ERROR:rtpproxy:engage_close_callback: cannot unforce rtp proxy
Sep 27 13:02:02 opensips /usr/local/opensips_proxy/sbin/opensips[26025]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies
Sep 27 13:02:03 opensips /usr/local/opensips_proxy/sbin/opensips[26026]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies
Sep 27 13:02:05 opensips /usr/local/opensips_proxy/sbin/opensips[26024]:
ERROR:rtpproxy:unforce_rtp_proxy_f: no available proxies *


RTPPROXY:

*Sep 27 13:01:46 opensips rtpproxy[25993]: DBUG:handle_command: received
command "VF 20071116"
Sep 27 13:01:57 opensips rtpproxy[25993]: DBUG:handle_command: received
command "UIER172.16.52.121c0,8,18,101
ZGY2Yjk5ZGJiNDQ0ZWI0MGVhZmMzODAxNDc3YzgwMjI 151.x.x.19 60242 671d9c3d;1"                                                                                                                                                                             
*

Any idea???




--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Rtpproxy-connection-tp7581935p7581952.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Rtpproxy connection

Spady#7
Hi Max,
"No available proxies" and so on is because after first error ( opensips can't connect to rtpproxy and then it disable rtpproxy momentaly ).

btw the port is listening:

root@opensips:/tmp# netstat -anp|grep rtpproxy
udp        0      0 127.0.0.1:7890          0.0.0.0:*                           27019/rtpproxy
unix  2      [ ]         DGRAM                    57551    27019/rtpproxy


Reply | Threaded
Open this post in threaded view
|

Re: Rtpproxy connection

Spady#7
In reply to this post by Binan83
Hi Binan,
i checked the debian and i really think that SELinux is not implemented and is obviuosly NOT RUNNING!!

Maybe i did not understand you. Should be running?
12