Re: [OpenSIPS-Users] Rtpproxy connection

2012-09-27 Thread spady
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?




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

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Rtpproxy connection

2012-09-27 Thread spady
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
udp0  0 127.0.0.1:7890  0.0.0.0:*  
27019/rtpproxy
unix  2  [ ] DGRAM5755127019/rtpproxy*





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

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] RTPProxy Error

2012-09-27 Thread Nathaniel L Keeling III

Razva,

Yes, Great! I am currently running version 1.8.1 of Opensips.


Thanks

Nathaniel

On 9/27/12 3:02 AM, Răzvan Crainea wrote:

Hi, Nathaniel!

You are right, according to OpenSIPS error code, one of the send 
function parameters is invalid, and most likely the file descriptor. 
Unfortunately I can't confirm this with the logs we have so far. In 
order to study the problem further we should add some extra debugging 
in the code, and follow the RTPProxy connections.
In order to see all the rtpproxy servers used, you could use the 
nh_show_rtpp MI command, but it doesn't give you enough information. 
You can only see which servers are you using and what is their current 
status.
Let me know if you are willing to add some extra debugging, and I will 
try to prepare a patch for you. If so, also let me know the OpenSIPS 
version you use.


Best regards,
Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 09/27/2012 11:55 AM, Nathaniel L Keeling III wrote:

Razvan,

This seems to occur when one client is Nat'ed and the other client 
has a public IP address. The client with the private IP, is 
established first and ok with rtpproxy. The second client, with 
public IP, is where the failure occurs. I can confirm that no packets 
are being sent to rtpproxy for the second client when I was checking 
with ngrep. I can also concur that I am getting audio one way, which 
is from the first client (one with private IP). I also see where the 
failing process originally establishes connectivity with rtpproxy 
successfully (the failing process here is 15868):


Sep 27 00:36:20 -f ./opensips[15868]: [ID 309935 local1.debug] 
DBG:core:init_mod_child: type=CHILD, rank=1, module=rtpproxy
Sep 27 00:36:20 -f ./opensips[15868]: [ID 389318 local1.debug] 
DBG:rtpproxy:connect_rtpproxies: [RTPProxy] set list 5a6b59e0
Sep 27 00:36:20 -f ./opensips[15868]: [ID 423527 local1.debug] 
DBG:rtpproxy:connect_rtpproxies: [Re]connecting sockets (1 > 0)
Sep 27 00:36:20 -f ./opensips[15868]: [ID 454524 local1.debug] 
DBG:rtpproxy:connect_rtpproxies: connected xxx:2
Sep 27 00:36:20 -f ./opensips[15867]: [ID 615994 local1.info] 
INFO:rtpproxy:rtpp_test: rtp proxy  found, 
support for it enabled
Sep 27 00:36:20 -f ./opensips[15868]: [ID 615994 local1.info] 
INFO:rtpproxy:rtpp_test: rtp proxy  found, 
support for it enabled
Sep 27 00:36:20 -f ./opensips[15870]: [ID 309935 local1.debug] 
DBG:core:init_mod_child: type=CHILD, rank=3, module=tm


Is there a list of the rtpproxies and their connections? If there is 
maybe, this is where the corruption is occurring?



Thanks

Nathaniel


On 9/18/12 12:57 PM, Nathaniel L Keeling III wrote:

Razvan,

I have copied the log file in the home directory of the server that 
you have access to. I was pretty large, so I thought that would be 
better. I also copied the opensip config file that we are using to 
that directory.


Thanks

Nathaniel

On 9/18/12 11:57 AM, Răzvan Crainea wrote:

Hi, Nathaniel!

The lack of media is not the problem. It seems like one of the 
OpenSIPS processes (pid 28602) doesn't initiate a proper 
communication channel with RTPproxy, or some data was corrupted. 
Can you please send me (privately if preferred) OpenSIPS logs so I 
can check this?


Best Regards,
Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 09/18/2012 06:45 PM, Nathaniel L Keeling III wrote:

Hello,

I am testing our new Opensips setup with SEMS and RTPProxy and I 
am seeing these errors in the log file. Client A and B are both 
natted. Client A calls client B. Client B is unavailable so call 
gets routed to SEMS for voicemail. I see this error on sending the 
200 reply back to SEMS. I am not receiving any audio and I am 
thinking this may be the reason. Any help would be appreciated. I 
am using the residential script generated from the menuconfig 
option and the latest version of rtpproxy, 1.2.1.


Sep 18 00:59:17 -f ./opensips[28602]: 
ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP 
proxy Invalid argument
Sep 18 00:59:17 -f ./opensips[28602]: [ID 848861 local1.error] 
ERROR:rtpproxy:send_rtpp_command: proxy 
 does not respond, disable it
Sep 18 00:59:17 -f ./opensips[28602]: [ID 863797 local1.debug] 
DBG:rtpproxy:raise_rtpproxy_event: no event sent
Sep 18 00:59:17 -f ./opensips[28602]: [ID 338976 local1.error] 
ERROR:rtpproxy:force_rtp_proxy_body: cannot lookup a session on a 
different RTPProxy


Thanks

Nathaniel


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users








___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Rtpproxy connection

2012-09-27 Thread Max Mühlbronner

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 
*To:* users@lists.opensips.org
*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  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
Users@lists.opensips.org 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Rtpproxy connection

2012-09-27 Thread Binan AL Halabi
SELinux disabled !

//Binan


- Forwarded Message -
From: Binan AL Halabi 
To: OpenSIPS users mailling list  
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 
To: users@lists.opensips.org 
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  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
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Rtpproxy connection

2012-09-27 Thread spady
Yes, it is!
I already tried with different users, both opensips and rtpproxy.




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

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Rtpproxy connection

2012-09-27 Thread Binan AL Halabi
hej spady,
I see rtpproxy is root
Is opensips is root in your system ? 


//Binan


 



 From: spady 
To: users@lists.opensips.org 
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  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
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Rtpproxy connection

2012-09-27 Thread spady
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.




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

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Rtpproxy connection

2012-09-27 Thread spady
I tried but i get the following error:

*Sep 27 15:09:49 opensips opensips: ERROR:core:set_mod_param_regex:
parameter  not found in module *

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*





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

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Rtpproxy connection

2012-09-27 Thread Binan AL Halabi
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 
To: users@lists.opensips.org 
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  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
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Rtpproxy connection

2012-09-27 Thread dpa
You should first start opensips, it creates unix socket and then rtpproxy.


-Original Message-
From: users-boun...@lists.opensips.org
[mailto:users-boun...@lists.opensips.org] On Behalf Of spady
Sent: Thursday, September 27, 2012 4:27 PM
To: users@lists.opensips.org
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  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
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Drouting and gateway monitoring

2012-09-27 Thread alexandre Moutot
Hi,

I was speaking about failure from drouting probing. Do you think that 
failure_block is reached when drouting probing failed ?

Regards,


MOUTOT Alexandre
a.mou...@alphalink.fr
+33 (0)6 62 91 95 14

- Original Message -
> From: "Binan AL Halabi" 
> To: "OpenSIPS users mailling list" 
> Cc: "a moutot" 
> Sent: Friday, September 21, 2012 11:32:51 AM
> Subject: Re: [OpenSIPS-Users] Drouting and gateway monitoring
> hej Alexandre,
> 
> 
> somthing like:
> 
> 
> 1- Add this to failure_route (this for 408 locally generated)
> 
> if(t_check_status("408") && (t_local_replied("all"))
> //cache here
> 
> 
> 2- To get something like global variable , use cache_store from
> localcache module
> //Binan
> 
> 
> 
> 
> From: alexandre Moutot 
> To: OpenSIPS users mailling list 
> Sent: Thursday, September 20, 2012 2:20 PM
> Subject: Re: [OpenSIPS-Users] Drouting and gateway monitoring
> 
> Hi
> 
> With probing mode a gateway could go down without failure_route
> processing.
> When you write "save in cache then number of timeouts", do you mean to
> save it into an AVP var ? AVP var aren't shared with different
> opensips process, isn'it ?
> 
> Regards,
> 
> MOUTOT Alexandre
> 
> - Original Message -
> > From: "Flavio Goncalves" < fla...@asteriskguide.com >
> > To: "OpenSIPS users mailling list" < users@lists.opensips.org >
> > Sent: Thursday, September 20, 2012 1:33:08 AM
> > Subject: Re: [OpenSIPS-Users] Drouting and gateway monitoring
> > Hi
> >
> >
> > You can use failure_route to generate events for gateway timeouts
> > (Internal 408), save in cache the number of timeouts and after a
> > certain thershold raise an event. Seems simpler and more effective
> > than checking all the time using fifo.
> >
> >
> > Flavio E. Goncalves
> > CEO - SipPulse, www.sippulse.com
> >
> >
> >
> >
> > 2012/9/15 Engineer voip < forvo...@gmail.com >
> >
> >
> > Hi,
> > I think the easiest way is to use a script with cron and send an
> > email
> > following the result of the command fifo opensipsctl dr_status
> > GatewayID without using the databases.
> >
> >
> >
> >
> > 2012/9/14 alexandre Moutot < a.mou...@alphalink.fr >
> >
> >
> > Hi,
> >
> > Thank you for your answer. Yes i can actively check via fifo
> > interface. To have some alert, i need to keep all gateways status in
> > a
> > cache and check all the time through the fifo. I can do that with a
> > simple script, a little database and cron. I'm looking for the other
> > way to do that.
> >
> >
> > Regards,
> >
> > MOUTOT Alexandre
> > a.mou...@alphalink.fr
> > +33 (0)6 62 91 95 14
> >
> >
> >
> > - Original Message -
> > > From: "Max Mühlbronner" < m...@42com.com >
> > > To: "OpenSIPS users mailling list" < users@lists.opensips.org >
> > > Sent: Friday, September 14, 2012 3:39:13 PM
> > > Subject: Re: [OpenSIPS-Users] Drouting and gateway monitoring
> > > Hello,
> > >
> > > Afaik there is no option for logging the disabled gateways (except
> > > at
> > > higher debug levels?).
> > >
> > > But you can actively check via fifo interface: "opensipsctl fifo
> > > dr_status GatewayID" which shows current status of the queried
> > > gateway.
> > >
> > >
> > > Best Regards
> > >
> > > Max M.
> > >
> > > On 09/14/2012 02:14 PM, alexandre Moutot wrote:
> > > > Hello,
> > > >
> > > > I'm using Opensips with the drouting module. All is ok and works
> > > > good. I'm using the probe_mode for several gateways : it works
> > > > good
> > > > but i don't have any feedback about gateways status. Is there a
> > > > capability to have a log or to execute an action when a gateway
> > > > status is modified or otherwise when a gateway goes down.
> > > >
> > > > Regards,
> > > >
> > > > MOUTOT Alexandre
> > > > a.mou...@alphalink.fr
> > > > +33 (0)6 62 91 95 14
> > > >
> > > > ___
> > > > Users mailing list
> > > > Users@lists.opensips.org
> > > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> > >
> > >
> > > --
> > > Max Mühlbronner
> > >
> > > 42com Telecommunication GmbH
> > > Straße der Pariser Kommune 12-16
> > > 10243 Berlin
> > >
> > > E-Mail: m...@42com.com
> > > Web: www.42com.com
> > >
> > > Firmenangaben/Company information:
> > > Handelsregister/Commercial register: Amtsgericht Berlin HRB 99071
> > > B
> > > Umsatzsteuer-ID/VAT-ID: DE223812306
> > > Geschäftsführer/CEO: Thomas Reinig, Alexander Reinig
> > >
> > > Diese E-Mail enthält Informationen von 42com Telecommunication
> > > GmbH.
> > > Diese sind möglicherweise vertraulich und ausschließlich für den
> > > Adressaten bestimmt. Sollten Sie diese elektronische Nachricht
> > > irrtümlicherweise erhalten haben, so informieren Sie uns bitte
> > > unverzüglich telefonisch oder per E-Mail.
> > >
> > > This message is intended only for the use of the individual or
> > > entity
> > > to which it is addressed. If you have received this message by
> > > mistake, please notify us immediately.
> > >
> > >
> > > ___
> > 

Re: [OpenSIPS-Users] Rtpproxy connection

2012-09-27 Thread spady
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  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
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Opensips crashes when retrieving AVPs from Radius requests

2012-09-27 Thread Samuel Muller
Hello,

I see something really strange in v.1.8.x that not happened in
v.1.7.x, concerning radius request.

I'm using aaa_radius, acct and auth_aaa modules.
I've 2 radius requests where i need to retrieve AVPs : one for the
auth, antoher one to check the callee's stuff using "call-check"
custom request (radius_sent_auth().

my sets are correctly defined, freeradius is sent back exactly what i
expect to, and the process looks really clean (PostgreSQL ok, ...).

but it crashes randomly when the function tries to extract AVPs:

2012-09-27T08:14:24.231112+00:00 vpp-scp [1296]:
31235822142010193058@192.168.1.55: - AUTH
2012-09-27T08:14:24.231120+00:00 vpp-scp [1296]:
DBG:core:parse_headers: flags=
2012-09-27T08:14:24.231675+00:00 vpp-scp [1296]:
DBG:sl:run_sl_callbacks: callback id 0 entered
2012-09-27T08:14:24.231692+00:00 vpp-scp [1296]:
DBG:siptrace:trace_sl_onreply_out: trace slonreply out
2012-09-27T08:14:24.231703+00:00 vpp-scp [1296]:
DBG:siptrace:trace_sl_onreply_out: nothing to trace...
2012-09-27T08:14:24.231714+00:00 vpp-scp [1296]: DBG:auth:check_nonce:
comparing [50640afe00033e97d5256be5383c2ea043e416ed4559] and
[50640afe00033e97d5256be5383c2ea043e416ed4559]
...
2012-09-27T08:14:24.247104+00:00 vpp-scp [1296]:
DBG:core:__search_avp_map: looking for [caller_username] avp  - found
43
2012-09-27T08:14:24.247114+00:00 vpp-scp [1296]:
DBG:aaa_radius:extract_avp: AVP 'caller_username'='10907'/0 has been
added
2012-09-27T08:14:24.248501+00:00 vpp-scp [1296]:
DBG:core:__search_avp_map: looking for [caller_stimeout] avp  - found
40
2012-09-27T08:14:24.248513+00:00 vpp-scp [1296]:
DBG:aaa_radius:extract_avp: AVP 'caller_stimeout'='3600'/0 has been
added
2012-09-27T08:14:24.248581+00:00 vpp-scp [1296]:
DBG:core:__search_avp_map: looking for [caller_stime] avp  - found -1
2012-09-27T08:14:32.802250+00:00 vpp-scp [1290]: DBG:core:handle_sigs:
status = 139
2012-09-27T08:14:32.802279+00:00 vpp-scp [1290]:
INFO:core:handle_sigs: child process 1296 exited by a signal 11
2012-09-27T08:14:32.802284+00:00 vpp-scp [1290]:
INFO:core:handle_sigs: core was generated
2012-09-27T08:14:32.802288+00:00 vpp-scp [1290]:
INFO:core:handle_sigs: terminating due to SIGCHLD
2012-09-27T08:14:32.802291+00:00 vpp-scp [1300]: INFO:core:sig_usr:
signal 15 received


I've core dumps, but nothing usefull ...

this happens with all radius modules (acct, auth_aaa, aaa_radius), and
only since I use the v.1.8.0 and now 1.8.1 too. (from 1.7.2, no
problems)

Any clues ?


Samuel MULLER
s...@l33.fr
www.l33.fr

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Rtpproxy connection

2012-09-27 Thread spady
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 :-)





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

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] load balance with LVS

2012-09-27 Thread Nick Chang
Hello

 

I used LVS for opensips.

 

But, It always not work.

Do have anyone success?? Or LVS can't used opensips.

 

I saw log.

DBG:dialog:get_dlg: no dialog callid='1920734891' found

DBG:dialog:dlg_onroute: Callid '1920734891' not found

 

It tell me, can't found Callid in another Server.

 

Thanks

Nick

 

 

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Rtpproxy connection

2012-09-27 Thread Binan AL Halabi
You have this in your previous logs :
ERROR:rtpproxy:send_rtpp_command: proxy 

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 
To: users@lists.opensips.org 
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
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Problem with 408 Request Timeout

2012-09-27 Thread nguyen khue
Hi all,

I have a problem with 408 request timeout. My model is following:

X-Lite -- OpenSIPS --- Asterisk.
X-Lite registered on OpenSIPS. Now, I make call from X-Lite to Asterisk via 
OpenSIPS, if Asterisk was died or not process INVITE message, OpenSIPS will 
generate 408 Request Timeout and send to X-Lite. I want capture message 408 
from scenarino, how I can do it?

Brs,
Khue Nguyen.___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] RTPProxy Error

2012-09-27 Thread Răzvan Crainea

Hi, Nathaniel!

You are right, according to OpenSIPS error code, one of the send 
function parameters is invalid, and most likely the file descriptor. 
Unfortunately I can't confirm this with the logs we have so far. In 
order to study the problem further we should add some extra debugging in 
the code, and follow the RTPProxy connections.
In order to see all the rtpproxy servers used, you could use the 
nh_show_rtpp MI command, but it doesn't give you enough information. You 
can only see which servers are you using and what is their current status.
Let me know if you are willing to add some extra debugging, and I will 
try to prepare a patch for you. If so, also let me know the OpenSIPS 
version you use.


Best regards,

Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 09/27/2012 11:55 AM, Nathaniel L Keeling III wrote:

Razvan,

This seems to occur when one client is Nat'ed and the other client has 
a public IP address. The client with the private IP, is established 
first and ok with rtpproxy. The second client, with public IP, is 
where the failure occurs. I can confirm that no packets are being sent 
to rtpproxy for the second client when I was checking with ngrep. I 
can also concur that I am getting audio one way, which is from the 
first client (one with private IP). I also see where the failing 
process originally establishes connectivity with rtpproxy successfully 
(the failing process here is 15868):


Sep 27 00:36:20 -f ./opensips[15868]: [ID 309935 local1.debug] 
DBG:core:init_mod_child: type=CHILD, rank=1, module=rtpproxy
Sep 27 00:36:20 -f ./opensips[15868]: [ID 389318 local1.debug] 
DBG:rtpproxy:connect_rtpproxies: [RTPProxy] set list 5a6b59e0
Sep 27 00:36:20 -f ./opensips[15868]: [ID 423527 local1.debug] 
DBG:rtpproxy:connect_rtpproxies: [Re]connecting sockets (1 > 0)
Sep 27 00:36:20 -f ./opensips[15868]: [ID 454524 local1.debug] 
DBG:rtpproxy:connect_rtpproxies: connected xxx:2
Sep 27 00:36:20 -f ./opensips[15867]: [ID 615994 local1.info] 
INFO:rtpproxy:rtpp_test: rtp proxy  found, 
support for it enabled
Sep 27 00:36:20 -f ./opensips[15868]: [ID 615994 local1.info] 
INFO:rtpproxy:rtpp_test: rtp proxy  found, 
support for it enabled
Sep 27 00:36:20 -f ./opensips[15870]: [ID 309935 local1.debug] 
DBG:core:init_mod_child: type=CHILD, rank=3, module=tm


Is there a list of the rtpproxies and their connections? If there is 
maybe, this is where the corruption is occurring?



Thanks

Nathaniel


On 9/18/12 12:57 PM, Nathaniel L Keeling III wrote:

Razvan,

I have copied the log file in the home directory of the server that 
you have access to. I was pretty large, so I thought that would be 
better. I also copied the opensip config file that we are using to 
that directory.


Thanks

Nathaniel

On 9/18/12 11:57 AM, Răzvan Crainea wrote:

Hi, Nathaniel!

The lack of media is not the problem. It seems like one of the 
OpenSIPS processes (pid 28602) doesn't initiate a proper 
communication channel with RTPproxy, or some data was corrupted. Can 
you please send me (privately if preferred) OpenSIPS logs so I can 
check this?


Best Regards,
Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 09/18/2012 06:45 PM, Nathaniel L Keeling III wrote:

Hello,

I am testing our new Opensips setup with SEMS and RTPProxy and I am 
seeing these errors in the log file. Client A and B are both 
natted. Client A calls client B. Client B is unavailable so call 
gets routed to SEMS for voicemail. I see this error on sending the 
200 reply back to SEMS. I am not receiving any audio and I am 
thinking this may be the reason. Any help would be appreciated. I 
am using the residential script generated from the menuconfig 
option and the latest version of rtpproxy, 1.2.1.


Sep 18 00:59:17 -f ./opensips[28602]: 
ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy 
Invalid argument
Sep 18 00:59:17 -f ./opensips[28602]: [ID 848861 local1.error] 
ERROR:rtpproxy:send_rtpp_command: proxy  
does not respond, disable it
Sep 18 00:59:17 -f ./opensips[28602]: [ID 863797 local1.debug] 
DBG:rtpproxy:raise_rtpproxy_event: no event sent
Sep 18 00:59:17 -f ./opensips[28602]: [ID 338976 local1.error] 
ERROR:rtpproxy:force_rtp_proxy_body: cannot lookup a session on a 
different RTPProxy


Thanks

Nathaniel


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users






___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] RTPProxy Error

2012-09-27 Thread Nathaniel L Keeling III

Razvan,

This seems to occur when one client is Nat'ed and the other client has a 
public IP address. The client with the private IP, is established first 
and ok with rtpproxy. The second client, with public IP, is where the 
failure occurs. I can confirm that no packets are being sent to rtpproxy 
for the second client when I was checking with ngrep. I can also concur 
that I am getting audio one way, which is from the first client (one 
with private IP). I also see where the failing process originally 
establishes connectivity with rtpproxy successfully (the failing process 
here is 15868):


Sep 27 00:36:20 -f ./opensips[15868]: [ID 309935 local1.debug] 
DBG:core:init_mod_child: type=CHILD, rank=1, module=rtpproxy
Sep 27 00:36:20 -f ./opensips[15868]: [ID 389318 local1.debug] 
DBG:rtpproxy:connect_rtpproxies: [RTPProxy] set list 5a6b59e0
Sep 27 00:36:20 -f ./opensips[15868]: [ID 423527 local1.debug] 
DBG:rtpproxy:connect_rtpproxies: [Re]connecting sockets (1 > 0)
Sep 27 00:36:20 -f ./opensips[15868]: [ID 454524 local1.debug] 
DBG:rtpproxy:connect_rtpproxies: connected xxx:2
Sep 27 00:36:20 -f ./opensips[15867]: [ID 615994 local1.info] 
INFO:rtpproxy:rtpp_test: rtp proxy  found, 
support for it enabled
Sep 27 00:36:20 -f ./opensips[15868]: [ID 615994 local1.info] 
INFO:rtpproxy:rtpp_test: rtp proxy  found, 
support for it enabled
Sep 27 00:36:20 -f ./opensips[15870]: [ID 309935 local1.debug] 
DBG:core:init_mod_child: type=CHILD, rank=3, module=tm


Is there a list of the rtpproxies and their connections? If there is 
maybe, this is where the corruption is occurring?



Thanks

Nathaniel


On 9/18/12 12:57 PM, Nathaniel L Keeling III wrote:

Razvan,

I have copied the log file in the home directory of the server that 
you have access to. I was pretty large, so I thought that would be 
better. I also copied the opensip config file that we are using to 
that directory.


Thanks

Nathaniel

On 9/18/12 11:57 AM, Răzvan Crainea wrote:

Hi, Nathaniel!

The lack of media is not the problem. It seems like one of the 
OpenSIPS processes (pid 28602) doesn't initiate a proper 
communication channel with RTPproxy, or some data was corrupted. Can 
you please send me (privately if preferred) OpenSIPS logs so I can 
check this?


Best Regards,
Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 09/18/2012 06:45 PM, Nathaniel L Keeling III wrote:

Hello,

I am testing our new Opensips setup with SEMS and RTPProxy and I am 
seeing these errors in the log file. Client A and B are both natted. 
Client A calls client B. Client B is unavailable so call gets routed 
to SEMS for voicemail. I see this error on sending the 200 reply 
back to SEMS. I am not receiving any audio and I am thinking this 
may be the reason. Any help would be appreciated. I am using the 
residential script generated from the menuconfig option and the 
latest version of rtpproxy, 1.2.1.


Sep 18 00:59:17 -f ./opensips[28602]: 
ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy 
Invalid argument
Sep 18 00:59:17 -f ./opensips[28602]: [ID 848861 local1.error] 
ERROR:rtpproxy:send_rtpp_command: proxy  
does not respond, disable it
Sep 18 00:59:17 -f ./opensips[28602]: [ID 863797 local1.debug] 
DBG:rtpproxy:raise_rtpproxy_event: no event sent
Sep 18 00:59:17 -f ./opensips[28602]: [ID 338976 local1.error] 
ERROR:rtpproxy:force_rtp_proxy_body: cannot lookup a session on a 
different RTPProxy


Thanks

Nathaniel


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Rtpproxy connection

2012-09-27 Thread Binan AL Halabi
hej,

You need rtpproxy-client

//Binan





 From: spady 
To: users@lists.opensips.org 
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
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users