Re: [OpenSIPS-Users] Rtpproxy connection

2012-09-26 Thread dpa
Hello

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

-Original Message-
From: users-boun...@lists.opensips.org
[mailto:users-boun...@lists.opensips.org] On Behalf Of spady
Sent: Thursday, September 27, 2012 2:41 AM
To: users@lists.opensips.org
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
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-26 Thread spady
- 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


Re: [OpenSIPS-Users] Rtpproxy connection

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


Re: [OpenSIPS-Users] Rtpproxy connection

2012-09-26 Thread Binan AL Halabi
- 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 
To: OpenSIPS users mailling list  
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 
To: users@lists.opensips.org 
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
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-26 Thread Binan AL Halabi
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 
To: users@lists.opensips.org 
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
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] Support for ECDHE ciphersuites in TLS???

2012-09-26 Thread AJ
Hi,

I have OpenSIPS 1.7.2 working fine with TLS 1.0, running on CentOS 6.3

However, now I want to use some ECDHE ciphersuites, for instance:  
ECDHE-ECDSA-AES128-SHA
I have built an appropriate OpenSSL (1.0.0j) in CentOS to support this, and 
have generated the appropriate certs:

openssl ecparam -out ca-privkey.pem -name secp256r1 -genkey -outform pem
openssl req -x509 -new -key ca-privkey.pem -out ca_cert.pem -outform PEM -days 
3650
openssl ecparam -out privkey.pem -name secp256r1 -genkey -outform pem
openssl req -new -nodes -key privkey.pem -outform pem -out cert_req.pem
openssl ca -keyfile ca-privkey.pem  -cert ca_cert.pem -in cert_req.pem -out 
cert.pem


However, when I try to connect from my phone I am always getting:
Sep 23 03:32:10 opensips /usr/sbin/opensips[1576]: ERROR:core:tls_accept: some 
error in SSL (ret=-1, err=1, errno=0/Success):
Sep 23 03:32:10 opensips /usr/sbin/opensips[1576]: 
ERROR:core:tls_print_errstack: error:1408A0C1:SSL 
routines:SSL3_GET_CLIENT_HELLO:no shared cipher


If I use the OpenSSL s_server test-tool, I can connect from my phone just fine 
with these certs:
openssl s_server -accept  -cert cert.pem -key key.pem -pass stdin -CAfile 
calist.pem -cipher ECDHE-ECDSA-AES128-SHA



Does OpenSIPS support ECDHE ciphersuites?
If so, what am I doing wrong?

Thanks!
AJ


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


[OpenSIPS-Users] Rtpproxy connection

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


[OpenSIPS-Users] children parameter

2012-09-26 Thread Matt Hamilton
Hi,

I'm trying to find out what the criteria for setting the "children" parameter 
is. 

We are running Opensips (as a dispatcher) on a dedicated server with a single 
Intel® Xeon® X5660, 2.8Ghz, 6 core processor and 16GB RAM. Currently 
children=8. What can be the optimum value on this server to handle 1000-5000 
calls per second (and about 1 subscriptions and registrations every minute)?

Does number of cores have an impact on Opensips performance?

Thanks,
Matt


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


Re: [OpenSIPS-Users] opensips Cache

2012-09-26 Thread Nick Chang
Hello

 

I capture the sip traffic.

 

Now A call B. B phone is rining.

 

But A display 408 request timeout after B receive this phone call . 

 

I guess, A can’t receive Reponses from B.

 

Do everyone have any suggest??

I checked Call-id and via header, it’s all the same, not different.

 

Thanks

Nick

 



-- 2012-09-26 17:18:40 - Received from 202.153.189.163:5060 from 
111.81.234.119:5060

OPTIONS sip:0939723377@111.81.234.119:5060 SIP/2.0

Record-Route: 

Via: SIP/2.0/UDP 10.1.2.150;branch=z9hG4bKdae.aede0757.0

Via: SIP/2.0/UDP 
192.168.10.119:5060;received=211.75.166.164;rport=5060;branch=z9hG4bK2860

From: ;tag=24255

To: 

Call-ID: 10952

CSeq: 21 OPTIONS

Accept: application/sdp

Max-Forwards: 69

User-Agent: Linphone/3.5.2 (eXosip2/3.6.0)

Content-Length: 0

 

 

 



-- 2012-09-26 17:18:40 - Sent to 202.153.189.163:5060 from 111.81.234.119:5060

SIP/2.0 200 OK

Accept: application/reginfo+xml, application/sdp, 
application/simple-message-summary, message/sipfrag, multipart/mixed, 
multipart/related

Via: SIP/2.0/UDP 
10.1.2.150;branch=z9hG4bKdae.aede0757.0;received=202.153.189.163, SIP/2.0/UDP 
192.168.10.119:5060;received=211.75.166.164;rport=5060;branch=z9hG4bK2860

From: ;tag=24255

To: ;tag=4129052289

Call-ID: 10952

CSeq: 21 OPTIONS

Allow: ACK, BYE, CANCEL, INVITE, NOTIFY, OPTIONS, REFER, SUBSCRIBE, UPDATE

Allow-Events: refer

Contact: 

Server: Media5-fone/3.3.1.642

Supported: 100rel, replaces

Content-Length: 0

 



RTCP statistics for Call: 21560

Local Min Jitter: 0

Local Max Jitter: 0

Local Avg Jitter: 0

Local Packet Sent: 1099

Local Packet Lost: 0

Local Packet Recv: 0

Local Min Latency: 0

Local Max Latency: 0

Local Avg Latency: 0

Remote Jitter: 0

Remote Packet Sent: 0

Remote Packet Lost: 0

 

 



-- 2012-09-26 17:18:44 - Received from 202.153.189.163:5060 from 
111.81.234.119:5060

OPTIONS sip:0939723377@111.81.234.119:5060 SIP/2.0

Record-Route: 

Via: SIP/2.0/UDP 10.1.2.150;branch=z9hG4bKdae.aede0757.0

Via: SIP/2.0/UDP 
192.168.10.119:5060;received=211.75.166.164;rport=5060;branch=z9hG4bK2860

From: ;tag=24255

To: 

Call-ID: 10952

CSeq: 21 OPTIONS

Accept: application/sdp

Max-Forwards: 69

User-Agent: Linphone/3.5.2 (eXosip2/3.6.0)

Content-Length: 0

 

 

 



-- 2012-09-26 17:18:44 - Sent to 202.153.189.163:5060 from 111.81.234.119:5060

SIP/2.0 200 OK

Accept: application/reginfo+xml, application/sdp, 
application/simple-message-summary, message/sipfrag, multipart/mixed, 
multipart/related

Via: SIP/2.0/UDP 
10.1.2.150;branch=z9hG4bKdae.aede0757.0;received=202.153.189.163, SIP/2.0/UDP 
192.168.10.119:5060;received=211.75.166.164;rport=5060;branch=z9hG4bK2860

From: ;tag=24255

To: ;tag=4129052289

Call-ID: 10952

CSeq: 21 OPTIONS

Allow: ACK, BYE, CANCEL, INVITE, NOTIFY, OPTIONS, REFER, SUBSCRIBE, UPDATE

Allow-Events: refer

Contact: 

Server: Media5-fone/3.3.1.642

Supported: 100rel, replaces

Content-Length: 0

 



-- 2012-09-26 17:18:48 - Received from 202.153.189.163:5060 from 
111.81.234.119:5060

OPTIONS sip:0939723377@111.81.234.119:5060 SIP/2.0

Record-Route: 

Via: SIP/2.0/UDP 10.1.2.150;branch=z9hG4bKdae.aede0757.0

Via: SIP/2.0/UDP 
192.168.10.119:5060;received=211.75.166.164;rport=5060;branch=z9hG4bK2860

From: ;tag=24255

To: 

Call-ID: 10952

CSeq: 21 OPTIONS

Accept: application/sdp

Max-Forwards: 69

User-Agent: Linphone/3.5.2 (eXosip2/3.6.0)

Content-Length: 0

 

 

 



-- 2012-09-26 17:18:48 - Sent to 202.153.189.163:5060 from 111.81.234.119:5060

SIP/2.0 200 OK

Accept: application/reginfo+xml, application/sdp, 
application/simple-message-summary, message/sipfrag, multipart/mixed, 
multipart/related

Via: SIP/2.0/UDP 
10.1.2.150;branch=z9hG4bKdae.aede0757.0;received=202.153.189.163, SIP/2.0/UDP 
192.168.10.119:5060;received=211.75.166.164;rport=5060;branch=z9hG4bK2860

From: ;tag=24255

To: ;tag=4129052289

Call-ID: 10952

CSeq: 21 OPTIONS

Allow: ACK, BYE, CANCEL, INVITE, NOTIFY, OPTIONS, REFER, SUBSCRIBE, UPDATE

Allow-Events: refer

Contact: 

Server: Media5-fone/3.3.1.642

Supported: 100rel, replaces

Content-Length: 0

 



-- 2012-09-26 17:18:51 - Received from 202.153.189.163:5060 from 
111.81.234.119:5060

SIP/2.0 408 Request Timeout

Via: SIP/2.0/UDP 
111.81.234.119;received=111.81.234.119;rport=5060;branch=z9hG4bKfc18a4bb30ae86d45

From: "0939723377" ;tag=58c7dbfb9c

To: 
;tag=155c340f586c28d0300cf5a6ccf90d99-0c70

Call-ID: fc69eccabcb266e3

CSeq: 571012371 INVITE

Server: OpenSIPS (1.8.1-notls (x86_64/linux))

Content-Length: 0

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