Re: [OpenSIPS-Users] About nat_traversal fix_contact()

2013-06-03 Thread Samuel
Hi Iñaki,

I'm struggling with this NAT traversal module.

I have the following setup:

UA-NAT box P1 - P2/REGISTRAR---WORLD!

- I just own P1 configuration (P2 is a voip service provider)

- I can successfully register, and use nat_keepalive and forcerport. 
The SIP Contact is sent from P1 to REGISTRAR with private IP 192.168.a.b
I'm using Path module to send Path header to keep P1 allways in the middle.

- I can establish outgoing calls. Use nat_keepalive and fix_contact().
Contact properly updated and SDP generated by P2 contains the NAT box IP
address. Audio Ok.

- BUT incoming calls do not work. 
Since Path is included the INVITE is properly sent from P2 to P1. But then I
can't find a way to retrieve the public IP of NAT box that is received in
PAth header from P2 to use as destination of packet.

INVITE received from P2:

INVITE sip:9015009@192.168.1.103:2907;rinstance=6FF04BD1 SIP/2.0
Via: SIP/2.0/UDP P2IP:5060;branch=z9hG4bKb6j3tfgmmi4809fsu1tp3a5ob0
Call-ID: SDeue3301-75834c789dc311e457f77711e400d33c-gurpko2
CSeq: 1 INVITE
From: Anonymous
sip:Restricted@P2IP;tag=SDeue3301-21175933_8cce6d4f_2ca134f9-9aef-40e6-9771-00fa9719af6c
To:
sip:9015009-akfeepv94jd3e@10.0.5.77:5060;rinstance=6FF04BD1;useradd=P1IP;userport=8891
Max-Forwards: 69
Contact: Anonymous sip:Restricted@P2IP:5060;transport=udp
Allow: INVITE
Accept: application/sdp
Anonymity: uri
Min-SE: 90
X-UUID: 6ebba188b5134ab1854da88011983247
Supported: timer,replaces
Content-Disposition: session;handling=required
Content-Type: application/sdp
X-DID: 2815204000
Content-Length: 282
Route: sip:P1IP:8891;lr;received=sip:xx.xx.xx.xx:46625

So how to retrieve this received IP xx.xx.xx.xx from INVITE and use it as
destination for my INVITE instead of use the IP received in the RURI?

What is the best way to do it?

Thanks for help,
Samuel





--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/About-nat-traversal-fix-contact-tp1487591p7586596.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] media proxy/Rtpproxy in opensips

2013-06-03 Thread Nandini madhu
Dear All,


i have integrated mediaproxy and Rtpproxy  with opensips.To get audio call
in voip clients.

But iam getting the errors in /var/log/syslog as follows:-


Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
Connection refused
Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
ERROR:rtpproxy:send_rtpp_command: proxy udp:127.0.0.1:5 does not
respond, disable it
Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
WARNING:rtpproxy:rtpp_test: support for RTP proxy udp:127.0.0.1:5 has
been disabled temporarily
Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
Connection refused
Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
ERROR:rtpproxy:send_rtpp_command: proxy udp:192.168.2.40:5 does not
respond, disable it
Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
WARNING:rtpproxy:rtpp_test: support for RTP proxy udp:192.168.2.40:5
has been disabled temporarily
Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3708]:
ERROR:mediaproxy:mediaproxy_connect: failed to connect to
/var/run/mediaproxy/dispatcher.sock: No such file or directory
Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3709]:
ERROR:mediaproxy:mediaproxy_connect: failed to connect to
/var/run/mediaproxy/dispatcher.sock: No such file or directory

please help me in this issue.

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


Re: [OpenSIPS-Users] OpenSIPS Documentation re-Factory

2013-06-03 Thread Bogdan-Andrei Iancu
Hi Pete,

We avoided to purge the old URLs (actually we reconfigured all of them
as redirects to the new corresponding pages) to avoid external broken
links (there are external pages linking parts of the docs by the old pages).

The Indexing of the functions is not yet addressed - we try to find a
way to automatize the way the Index is generating. The 1.4 one is
manually done, but this simply does not work on regular bases :(.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 06/02/2013 10:42 AM, Pete Kelly wrote:
 The main menus at least are much better than before.

 One of the problems with the old docs was that some of the links still
 pointed to v1.4 versions etc and you really had to click a lot of
 links to get through to the modules documentation.

 Now it's in a tree structure and contains the version at the end it's
 much cleaner.

 Is there a way to purge the old URLs so that any search results won't
 bring them up? The function index is very useful but it seems to be
 stuck on 1.4 still:

 http://www.opensips.org/Documentation/Script-FunctionsIdx-1-4


 On 31 May 2013 13:43, Bogdan-Andrei Iancu bog...@opensips.org
 mailto:bog...@opensips.org wrote:

 Hello,

 In the past weeks, we undertook a complex process of re-factoring the
 OpenSIPS documentation on the OpenSIPS web site.

 The main targets of this re-factoring were:

 - enhancing docs by covering new areas like installing,
 configuring,
 db managing

 - creating an OpenSIPS Manual with a logic flow to help you with
 understanding OpenSIPS from downloading to scripting.

 - re-structuring in a per-version approach (you can jump across
 versions for the same topic)  and  with a next and prev
 linking (to
 go through documentation in a more fluid way).


 The root of everything is http://opensips.org/Documentation/Manuals ,
 please give it ride and let us know your opinion on this:
  - is it better than before ?
  - missing topics in manual ?
  - broken links ?

 Feeback is welcome and it we will make it matter ;)


 Best regards,

 --
 Bogdan-Andrei Iancu
 OpenSIPS Founder and Developer
 http://www.opensips-solutions.com


 ___
 Users mailing list
 Users@lists.opensips.org mailto: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] Fwd: self-presence was incorrect when application exited abnormally

2013-06-03 Thread Saúl Ibarra Corretgé

On Jun 1, 2013, at 9:19 AM, Yuming Zheng wrote:

 In this scenario,if Device A set to idel and device B set to busy,What status 
 should be displayed on the buddy?
 According the most recent time stamp is not reasonable,because this will be 
 refreshed by device A and B round robin, As the time stamp of the pidf is 
 fetched from the device side,device time is not synchronized with the world 
 time possibly,eg.it has set to 1980-06-01 by default.
 

Well, you have just found the presence fun! It's undefined, up to the client to 
decide, actually. You can use the user-input element from RPID to set the last 
activity timestamp, which could act as a tie breaker, for example.

--
Saúl Ibarra Corretgé
AG Projects




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


Re: [OpenSIPS-Users] Opensips + Asterisk on the same server

2013-06-03 Thread Flavio Goncalves
Hi Roman,

I had the same problem and in all the cases I've used a new IP address for
Asterisk. The problem is related to the routing of sequential messages, if
the address is the same (not considering the port) it considers the
destination as itself and loops the sequential requests. I'm not sure if
someone has a better solution.

Flavio E. Goncalves

2013/6/2 Roman Davydov openvoip...@gmail.com

 Hello!

 I am having problems with relaying messages. And I guess it is related  to
 the ports in From/To headers.

 My schema is :

 UAC -  ( OpenSips:5060 - Asterisk:5061 )

 Opensips and asterisk are on the same host (it is a schema requirement - I
 have another similar mirror). Asterisk works as B2B (canreinvite=no, etc).
 Let me know please, is it possible to use them so with load_balancer module
 and correctly process dialogs ?


 thanks

 --

 Best Regards,
 Roman Davydov,
 site: www.openvoip.co
 email: openvoip...@gmail.com
 cell: +1 (347) 637-8703
 skype: openvoip.co

 ___
 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] media proxy/Rtpproxy in opensips

2013-06-03 Thread Flavio Goncalves
Hi Nandini,

The addresses specified at the module rtpproxy.so are not matching the
addresses specified in the -s parameter of your rtpproxy daemons. Do you
have two instances of the rtpproxy running in the addresses 127.0.0.1:5000and
192.168.2.40:5.

Flavio E. Goncalves

Dear All,


 i have integrated mediaproxy and Rtpproxy  with opensips.To get audio call
 in voip clients.

 But iam getting the errors in /var/log/syslog as follows:-


 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
 Connection refused
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: proxy udp:127.0.0.1:5 does not
 respond, disable it
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: support for RTP proxy udp:127.0.0.1:5
 has been disabled temporarily
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
 Connection refused
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: proxy udp:192.168.2.40:5 does not
 respond, disable it
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: support for RTP proxy udp:192.168.2.40:5
 has been disabled temporarily
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3708]:
 ERROR:mediaproxy:mediaproxy_connect: failed to connect to
 /var/run/mediaproxy/dispatcher.sock: No such file or directory
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3709]:
 ERROR:mediaproxy:mediaproxy_connect: failed to connect to
 /var/run/mediaproxy/dispatcher.sock: No such file or directory

 please help me in this issue.

 Thanks in advance
 Nandini

 ___
 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] About nat_traversal fix_contact()

2013-06-03 Thread Flavio Goncalves
Hi Samuel,

Try using add_path_received().

Flavio E. Goncalves




2013/5/28 Samuel samuelcam...@hotmail.com

 Hi Iñaki,

 I'm struggling with this NAT traversal module.

 I have the following setup:

 UA-NAT box P1 - P2/REGISTRAR---WORLD!

 - I just own P1 configuration (P2 is a voip service provider)

 - I can successfully register, and use nat_keepalive and forcerport.
 The SIP Contact is sent from P1 to REGISTRAR with private IP 192.168.a.b
 I'm using Path module to send Path header to keep P1 allways in the middle.

 - I can establish outgoing calls. Use nat_keepalive and fix_contact().
 Contact properly updated and SDP generated by P2 contains the NAT box IP
 address. Audio Ok.

 - BUT incoming calls do not work.
 Since Path is included the INVITE is properly sent from P2 to P1. But then
 I
 can't find a way to retrieve the public IP of NAT box that is received in
 PAth header from P2 to use as destination of packet.

 INVITE received from P2:

 INVITE sip:9015009@192.168.1.103:2907;rinstance=6FF04BD1 SIP/2.0
 Via: SIP/2.0/UDP P2IP:5060;branch=z9hG4bKb6j3tfgmmi4809fsu1tp3a5ob0
 Call-ID: SDeue3301-75834c789dc311e457f77711e400d33c-gurpko2
 CSeq: 1 INVITE
 From: Anonymous
 sip:Restricted@P2IP
 ;tag=SDeue3301-21175933_8cce6d4f_2ca134f9-9aef-40e6-9771-00fa9719af6c
 To:
 sip:9015009-akfeepv94jd3e@10.0.5.77:5060
 ;rinstance=6FF04BD1;useradd=P1IP;userport=8891
 Max-Forwards: 69
 Contact: Anonymous sip:Restricted@P2IP:5060;transport=udp
 Allow: INVITE
 Accept: application/sdp
 Anonymity: uri
 Min-SE: 90
 X-UUID: 6ebba188b5134ab1854da88011983247
 Supported: timer,replaces
 Content-Disposition: session;handling=required
 Content-Type: application/sdp
 X-DID: 2815204000
 Content-Length: 282
 Route: sip:P1IP:8891;lr;received=sip:xx.xx.xx.xx:46625

 So how to retrieve this received IP xx.xx.xx.xx from INVITE and use it as
 destination for my INVITE instead of use the IP received in the RURI?

 What is the best way to do it?

 Thanks for help,
 Samuel





 --
 View this message in context:
 http://opensips-open-sip-server.1449251.n2.nabble.com/About-nat-traversal-fix-contact-tp1487591p7586596.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] media proxy/Rtpproxy in opensips

2013-06-03 Thread Nandini madhu
Dear Flavio,

Thanks for your prompt response.
opensips server is running on 192.168.2.40.so i have given that IP
address,in rtpproxy.

Please let me know, is it possible ,to check the rtpproxy is loaded, and on
which ip address is it running

Thanks in advance
Nandini


On Mon, Jun 3, 2013 at 4:05 PM, Flavio Goncalves fla...@voffice.com.brwrote:

 Hi Nandini,

 The addresses specified at the module rtpproxy.so are not matching the
 addresses specified in the -s parameter of your rtpproxy daemons. Do you
 have two instances of the rtpproxy running in the addresses 127.0.0.1:5000and
 192.168.2.40:5.

 Flavio E. Goncalves

 Dear All,


 i have integrated mediaproxy and Rtpproxy  with opensips.To get audio
 call in voip clients.

 But iam getting the errors in /var/log/syslog as follows:-


 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
 Connection refused
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: proxy udp:127.0.0.1:5 does not
 respond, disable it
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: support for RTP proxy udp:127.0.0.1:5
 has been disabled temporarily
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
 Connection refused
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: proxy udp:192.168.2.40:5 does
 not respond, disable it
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: support for RTP proxy udp:192.168.2.40:5
 has been disabled temporarily
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3708]:
 ERROR:mediaproxy:mediaproxy_connect: failed to connect to
 /var/run/mediaproxy/dispatcher.sock: No such file or directory
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3709]:
 ERROR:mediaproxy:mediaproxy_connect: failed to connect to
 /var/run/mediaproxy/dispatcher.sock: No such file or directory

 please help me in this issue.

 Thanks in advance
 Nandini

 ___
 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] media proxy/Rtpproxy in opensips

2013-06-03 Thread Flavio Goncalves
You can use ps -ef |grep rtpproxy,

Flavio E. Goncalves


2013/6/3 Nandini madhu sermj2...@gmail.com

 Dear Flavio,

 Thanks for your prompt response.
 opensips server is running on 192.168.2.40.so i have given that IP
 address,in rtpproxy.

 Please let me know, is it possible ,to check the rtpproxy is loaded, and
 on which ip address is it running

 Thanks in advance
 Nandini


 On Mon, Jun 3, 2013 at 4:05 PM, Flavio Goncalves fla...@voffice.com.brwrote:

 Hi Nandini,

 The addresses specified at the module rtpproxy.so are not matching the
 addresses specified in the -s parameter of your rtpproxy daemons. Do you
 have two instances of the rtpproxy running in the addresses
 127.0.0.1:5000 and 192.168.2.40:5.

 Flavio E. Goncalves

  Dear All,


 i have integrated mediaproxy and Rtpproxy  with opensips.To get audio
 call in voip clients.

 But iam getting the errors in /var/log/syslog as follows:-


 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
 Connection refused
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: proxy udp:127.0.0.1:5 does not
 respond, disable it
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: support for RTP proxy udp:127.0.0.1:5
 has been disabled temporarily
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
 Connection refused
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: proxy udp:192.168.2.40:5 does
 not respond, disable it
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: support for RTP proxy udp:
 192.168.2.40:5 has been disabled temporarily
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3708]:
 ERROR:mediaproxy:mediaproxy_connect: failed to connect to
 /var/run/mediaproxy/dispatcher.sock: No such file or directory
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3709]:
 ERROR:mediaproxy:mediaproxy_connect: failed to connect to
 /var/run/mediaproxy/dispatcher.sock: No such file or directory

 please help me in this issue.

 Thanks in advance
 Nandini

 ___
 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


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


Re: [OpenSIPS-Users] media proxy/Rtpproxy in opensips

2013-06-03 Thread Nandini madhu
Thanks for your reply.

i have got the following output
# ps -ef |grep rtpproxy
opensips  4340  2876  0 16:35 pts/000:00:00 grep --color=auto rtpproxy

so my rtpproxy is running on host opensips,i believe.
still i could not solve the problem

the errors are same :-

un  3 16:38:05 opensips /usr/local/sbin/opensips[4373]:
ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
Connection refused
Jun  3 16:38:05 opensips /usr/local/sbin/opensips[4373]:
ERROR:rtpproxy:send_rtpp_command: proxy udp:opensips:5 does not
respond, disable it
Jun  3 16:38:05 opensips /usr/local/sbin/opensips[4373]:
WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
Jun  3 16:38:05 opensips /usr/local/sbin/opensips[4373]:
WARNING:rtpproxy:rtpp_test: support for RTP proxy udp:opensips:5 has
been disabled temporarily
Jun  3 16:38:05 opensips /usr/local/sbin/opensips[4372]:
ERROR:mediaproxy:mediaproxy_connect: failed to connect to
/var/run/mediaproxy/dispatcher.sock: No such file or directory


please help me.



On Mon, Jun 3, 2013 at 4:27 PM, Flavio Goncalves fla...@voffice.com.brwrote:

 You can use ps -ef |grep rtpproxy,

 Flavio E. Goncalves


 2013/6/3 Nandini madhu sermj2...@gmail.com

 Dear Flavio,

 Thanks for your prompt response.
 opensips server is running on 192.168.2.40.so i have given that IP
 address,in rtpproxy.

 Please let me know, is it possible ,to check the rtpproxy is loaded, and
 on which ip address is it running

 Thanks in advance
 Nandini


 On Mon, Jun 3, 2013 at 4:05 PM, Flavio Goncalves 
 fla...@voffice.com.brwrote:

 Hi Nandini,

 The addresses specified at the module rtpproxy.so are not matching the
 addresses specified in the -s parameter of your rtpproxy daemons. Do you
 have two instances of the rtpproxy running in the addresses
 127.0.0.1:5000 and 192.168.2.40:5.

 Flavio E. Goncalves

  Dear All,


 i have integrated mediaproxy and Rtpproxy  with opensips.To get audio
 call in voip clients.

 But iam getting the errors in /var/log/syslog as follows:-


 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
 Connection refused
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: proxy udp:127.0.0.1:5 does not
 respond, disable it
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: support for RTP proxy udp:127.0.0.1:5
 has been disabled temporarily
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
 Connection refused
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: proxy udp:192.168.2.40:5 does
 not respond, disable it
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: support for RTP proxy udp:
 192.168.2.40:5 has been disabled temporarily
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3708]:
 ERROR:mediaproxy:mediaproxy_connect: failed to connect to
 /var/run/mediaproxy/dispatcher.sock: No such file or directory
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3709]:
 ERROR:mediaproxy:mediaproxy_connect: failed to connect to
 /var/run/mediaproxy/dispatcher.sock: No such file or directory

 please help me in this issue.

 Thanks in advance
 Nandini

 ___
 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



 ___
 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] media proxy/Rtpproxy in opensips

2013-06-03 Thread Laszlo
no, it's not running at all. Can you look at the relevant log entries (if
any) in the syslog during you start running rtpproxy? Also, what is the
command you used for starting rtpproxy?

-Laszlo


2013/6/3 Nandini madhu sermj2...@gmail.com

 Thanks for your reply.

 i have got the following output
 # ps -ef |grep rtpproxy
 opensips  4340  2876  0 16:35 pts/000:00:00 grep --color=auto rtpproxy

 so my rtpproxy is running on host opensips,i believe.
 still i could not solve the problem

 the errors are same :-

 un  3 16:38:05 opensips /usr/local/sbin/opensips[4373]:
 ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
 Connection refused
 Jun  3 16:38:05 opensips /usr/local/sbin/opensips[4373]:
 ERROR:rtpproxy:send_rtpp_command: proxy udp:opensips:5 does not
 respond, disable it
 Jun  3 16:38:05 opensips /usr/local/sbin/opensips[4373]:
 WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
 Jun  3 16:38:05 opensips /usr/local/sbin/opensips[4373]:
 WARNING:rtpproxy:rtpp_test: support for RTP proxy udp:opensips:5 has
 been disabled temporarily
 Jun  3 16:38:05 opensips /usr/local/sbin/opensips[4372]:
 ERROR:mediaproxy:mediaproxy_connect: failed to connect to
 /var/run/mediaproxy/dispatcher.sock: No such file or directory


 please help me.



 On Mon, Jun 3, 2013 at 4:27 PM, Flavio Goncalves fla...@voffice.com.brwrote:

 You can use ps -ef |grep rtpproxy,

 Flavio E. Goncalves


 2013/6/3 Nandini madhu sermj2...@gmail.com

 Dear Flavio,

 Thanks for your prompt response.
 opensips server is running on 192.168.2.40.so i have given that IP
 address,in rtpproxy.

 Please let me know, is it possible ,to check the rtpproxy is loaded, and
 on which ip address is it running

 Thanks in advance
 Nandini


 On Mon, Jun 3, 2013 at 4:05 PM, Flavio Goncalves 
 fla...@voffice.com.brwrote:

 Hi Nandini,

 The addresses specified at the module rtpproxy.so are not matching the
 addresses specified in the -s parameter of your rtpproxy daemons. Do you
 have two instances of the rtpproxy running in the addresses
 127.0.0.1:5000 and 192.168.2.40:5.

 Flavio E. Goncalves

  Dear All,


 i have integrated mediaproxy and Rtpproxy  with opensips.To get audio
 call in voip clients.

 But iam getting the errors in /var/log/syslog as follows:-


 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
 Connection refused
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: proxy udp:127.0.0.1:5 does
 not respond, disable it
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: support for RTP proxy udp:127.0.0.1:5
 has been disabled temporarily
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
 Connection refused
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: proxy udp:192.168.2.40:5 does
 not respond, disable it
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: support for RTP proxy udp:
 192.168.2.40:5 has been disabled temporarily
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3708]:
 ERROR:mediaproxy:mediaproxy_connect: failed to connect to
 /var/run/mediaproxy/dispatcher.sock: No such file or directory
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3709]:
 ERROR:mediaproxy:mediaproxy_connect: failed to connect to
 /var/run/mediaproxy/dispatcher.sock: No such file or directory

 please help me in this issue.

 Thanks in advance
 Nandini

 ___
 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



 ___
 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] media proxy/Rtpproxy in opensips

2013-06-03 Thread Flavio Goncalves
Hi Nandini,

The results are showing exactly the opposite, what you see in pas is your
own command (grep). Without basic Linux knowledge, it will be a very hard
mission to run OpenSIPS.

Flavio E. Goncalves




2013/6/3 Nandini madhu sermj2...@gmail.com

 Thanks for your reply.

 i have got the following output
 # ps -ef |grep rtpproxy
 opensips  4340  2876  0 16:35 pts/000:00:00 grep --color=auto rtpproxy

 so my rtpproxy is running on host opensips,i believe.
 still i could not solve the problem

 the errors are same :-

 un  3 16:38:05 opensips /usr/local/sbin/opensips[4373]:
 ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
 Connection refused
 Jun  3 16:38:05 opensips /usr/local/sbin/opensips[4373]:
 ERROR:rtpproxy:send_rtpp_command: proxy udp:opensips:5 does not
 respond, disable it
 Jun  3 16:38:05 opensips /usr/local/sbin/opensips[4373]:
 WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
 Jun  3 16:38:05 opensips /usr/local/sbin/opensips[4373]:
 WARNING:rtpproxy:rtpp_test: support for RTP proxy udp:opensips:5 has
 been disabled temporarily
 Jun  3 16:38:05 opensips /usr/local/sbin/opensips[4372]:
 ERROR:mediaproxy:mediaproxy_connect: failed to connect to
 /var/run/mediaproxy/dispatcher.sock: No such file or directory


 please help me.



 On Mon, Jun 3, 2013 at 4:27 PM, Flavio Goncalves fla...@voffice.com.brwrote:

 You can use ps -ef |grep rtpproxy,

 Flavio E. Goncalves


 2013/6/3 Nandini madhu sermj2...@gmail.com

 Dear Flavio,

 Thanks for your prompt response.
 opensips server is running on 192.168.2.40.so i have given that IP
 address,in rtpproxy.

 Please let me know, is it possible ,to check the rtpproxy is loaded, and
 on which ip address is it running

 Thanks in advance
 Nandini


 On Mon, Jun 3, 2013 at 4:05 PM, Flavio Goncalves 
 fla...@voffice.com.brwrote:

 Hi Nandini,

 The addresses specified at the module rtpproxy.so are not matching the
 addresses specified in the -s parameter of your rtpproxy daemons. Do you
 have two instances of the rtpproxy running in the addresses
 127.0.0.1:5000 and 192.168.2.40:5.

 Flavio E. Goncalves

  Dear All,


 i have integrated mediaproxy and Rtpproxy  with opensips.To get audio
 call in voip clients.

 But iam getting the errors in /var/log/syslog as follows:-


 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
 Connection refused
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: proxy udp:127.0.0.1:5 does
 not respond, disable it
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: support for RTP proxy udp:127.0.0.1:5
 has been disabled temporarily
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
 Connection refused
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: proxy udp:192.168.2.40:5 does
 not respond, disable it
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: support for RTP proxy udp:
 192.168.2.40:5 has been disabled temporarily
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3708]:
 ERROR:mediaproxy:mediaproxy_connect: failed to connect to
 /var/run/mediaproxy/dispatcher.sock: No such file or directory
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3709]:
 ERROR:mediaproxy:mediaproxy_connect: failed to connect to
 /var/run/mediaproxy/dispatcher.sock: No such file or directory

 please help me in this issue.

 Thanks in advance
 Nandini

 ___
 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



 ___
 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] AVP on local route

2013-06-03 Thread M.Khaled W Chehab
Hi,

 

The   execution for the avp_db_query is not working fine  in local route
after the  acc_db_request  ,

 

As I print the query using xlog( and   insert t it to myql ,the query
executed normally which means I have no problem in the mysql query  .

 

My question: how can update the record in the acc table  after
acc_db_request(200 Dialog Timeout, 

 

 

local_route {

if (is_method(BYE)   $DLG_dir==UPSTREAM) {

 xlog(L_INFO, --Debug Customer
ID:$avp(Cusid)/IP:$si-Reply:
$T_reply_code--Source:$rd\nDialed:$fU\n:);

 

acc_db_request(200 Dialog Timeout, acc);

 

avp_db_query(UPDATE `opensips`.`acc` SET `pdd`='$var(pdd)' WHERE `CALLID`
='$ci' and `method`='INVITE' );

 

 

BTW: I cant find the acc record for the call unless  the call  ended ,and in
my case I set the  acc_db_request(200 Dialog Timeout  then call
avp_db_query(   is  that should insert the call in the acc to update it
later 

 

Regards

,.

 

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


Re: [OpenSIPS-Users] media proxy/Rtpproxy in opensips

2013-06-03 Thread Tijmen de Mes

Hi Nandini,

The same things apply for media proxy, if there is no 
/var/run/mediaproxy/dispatcher.sock two things can be wrong,

1. It is not running,
2. the permissions are wrong on the socket.

My guess is that you have the first case. Why do you want Mediaproxy 
and  rtpproxy both running?


Best regards,

--
Tijmen de Mes
AG Projects


On 06/03/2013 01:28 PM, Flavio Goncalves wrote:

Hi Nandini,

The results are showing exactly the opposite, what you see in pas is 
your own command (grep). Without basic Linux knowledge, it will be a 
very hard mission to run OpenSIPS.


Flavio E. Goncalves


2013/6/3 Nandini madhu sermj2...@gmail.com mailto:sermj2...@gmail.com

Thanks for your reply.

i have got the following output
# ps -ef |grep rtpproxy
opensips  4340  2876  0 16:35 pts/000:00:00 grep --color=auto
rtpproxy

so my rtpproxy is running on host opensips,i believe.
still i could not solve the problem

the errors are same :-

un  3 16:38:05 opensips /usr/local/sbin/opensips[4373]:
ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP
proxy Connection refused
Jun  3 16:38:05 opensips /usr/local/sbin/opensips[4373]:
ERROR:rtpproxy:send_rtpp_command: proxy udp:opensips:5 does
not respond, disable it
Jun  3 16:38:05 opensips /usr/local/sbin/opensips[4373]:
WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
Jun  3 16:38:05 opensips /usr/local/sbin/opensips[4373]:
WARNING:rtpproxy:rtpp_test: support for RTP proxy
udp:opensips:5 has been disabled temporarily
Jun  3 16:38:05 opensips /usr/local/sbin/opensips[4372]:
ERROR:mediaproxy:mediaproxy_connect: failed to connect to
/var/run/mediaproxy/dispatcher.sock: No such file or directory


please help me.



On Mon, Jun 3, 2013 at 4:27 PM, Flavio Goncalves
fla...@voffice.com.br mailto:fla...@voffice.com.br wrote:

You can use ps -ef |grep rtpproxy,

Flavio E. Goncalves


2013/6/3 Nandini madhu sermj2...@gmail.com
mailto:sermj2...@gmail.com

Dear Flavio,

Thanks for your prompt response.
opensips server is running on 192.168.2.40.so
http://192.168.2.40.so i have given that IP address,in
rtpproxy.

Please let me know, is it possible ,to check the rtpproxy
is loaded, and on which ip address is it running

Thanks in advance
Nandini


On Mon, Jun 3, 2013 at 4:05 PM, Flavio Goncalves
fla...@voffice.com.br mailto:fla...@voffice.com.br wrote:

Hi Nandini,

The addresses specified at the module rtpproxy.so are
not matching the addresses specified in the -s
parameter of your rtpproxy daemons. Do you have two
instances of the rtpproxy running in the addresses
127.0.0.1:5000 http://127.0.0.1:5000 and
192.168.2.40:5 http://192.168.2.40:5.

Flavio E. Goncalves

Dear All,


i have integrated mediaproxy and Rtpproxy  with
opensips.To get audio call in voip clients.

But iam getting the errors in /var/log/syslog as
follows:-


Jun  3 14:19:48 opensips
/usr/local/sbin/opensips[3706]:
ERROR:rtpproxy:send_rtpp_command: can't send
command to a RTP proxy Connection refused
Jun  3 14:19:48 opensips
/usr/local/sbin/opensips[3706]:
ERROR:rtpproxy:send_rtpp_command: proxy
udp:127.0.0.1:5 http://127.0.0.1:5
does not respond, disable it
Jun  3 14:19:48 opensips
/usr/local/sbin/opensips[3706]:
WARNING:rtpproxy:rtpp_test: can't get version of
the RTP proxy
Jun  3 14:19:48 opensips
/usr/local/sbin/opensips[3706]:
WARNING:rtpproxy:rtpp_test: support for RTP proxy
udp:127.0.0.1:5 http://127.0.0.1:5 has
been disabled temporarily
Jun  3 14:19:48 opensips
/usr/local/sbin/opensips[3706]:
ERROR:rtpproxy:send_rtpp_command: can't send
command to a RTP proxy Connection refused
Jun  3 14:19:48 opensips
/usr/local/sbin/opensips[3706]:
ERROR:rtpproxy:send_rtpp_command: proxy
udp:192.168.2.40:5
http://192.168.2.40:5 does not respond,
disable it
Jun  3 14:19:48 opensips
/usr/local/sbin/opensips[3706]:
WARNING:rtpproxy:rtpp_test: can't get version of
   

Re: [OpenSIPS-Users] media proxy/Rtpproxy in opensips

2013-06-03 Thread Nandini madhu
Dear All,

iam working on opensips server from last two months...
I have installed and integrated  opensips and asterisk  server successfully
in my pc.
To register my voip clients. to get audio communication and messaging.
with opensips + asterisk server my clients are registered well and audio is
fine very well.
 the problem is iam working under standalone network.
firstly i tried the configuration in Wifi network,everything is  fine.
 but when the same configuration ,iam working under wimax network,in voip
clients call is established well,
  but i cant hear audio ,on both the sides,

  that's why by studying through logs,i came to know that
mediaproxy/rtpproxy resolves the issue.
so iam integrating rtpproxy/mediaproxy by following this below link

http://voiprookie.blogspot.in/2009/04/rtpproxy-12x-installation.html
http://voiprookie.blogspot.in/2009/04/blog-post.html

Nandini


On Mon, Jun 3, 2013 at 5:09 PM, Tijmen de Mes tij...@ag-projects.comwrote:

  Hi Nandini,

 The same things apply for media proxy, if there is no
 /var/run/mediaproxy/dispatcher.sock two things can be wrong,
 1. It is not running,
 2. the permissions are wrong on the socket.

 My guess is that you have the first case. Why do you want Mediaproxy and
 rtpproxy both running?

 Best regards,

 --
 Tijmen de Mes
 AG Projects


 On 06/03/2013 01:28 PM, Flavio Goncalves wrote:

 Hi Nandini,

  The results are showing exactly the opposite, what you see in pas is
 your own command (grep). Without basic Linux knowledge, it will be a very
 hard mission to run OpenSIPS.

   Flavio E. Goncalves


 2013/6/3 Nandini madhu sermj2...@gmail.com

Thanks for your reply.

  i have got the following output
 # ps -ef |grep rtpproxy
 opensips  4340  2876  0 16:35 pts/000:00:00 grep --color=auto rtpproxy

  so my rtpproxy is running on host opensips,i believe.
  still i could not solve the problem

  the errors are same :-

 un  3 16:38:05 opensips /usr/local/sbin/opensips[4373]:
 ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
 Connection refused
 Jun  3 16:38:05 opensips /usr/local/sbin/opensips[4373]:
 ERROR:rtpproxy:send_rtpp_command: proxy udp:opensips:5 does not
 respond, disable it
 Jun  3 16:38:05 opensips /usr/local/sbin/opensips[4373]:
 WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
 Jun  3 16:38:05 opensips /usr/local/sbin/opensips[4373]:
 WARNING:rtpproxy:rtpp_test: support for RTP proxy udp:opensips:5 has
 been disabled temporarily
 Jun  3 16:38:05 opensips /usr/local/sbin/opensips[4372]:
 ERROR:mediaproxy:mediaproxy_connect: failed to connect to
 /var/run/mediaproxy/dispatcher.sock: No such file or directory


  please help me.



 On Mon, Jun 3, 2013 at 4:27 PM, Flavio Goncalves 
 fla...@voffice.com.brwrote:

 You can use ps -ef |grep rtpproxy,

  Flavio E. Goncalves


 2013/6/3 Nandini madhu sermj2...@gmail.com

  Dear Flavio,

  Thanks for your prompt response.
  opensips server is running on 192.168.2.40.so i have given that IP
 address,in rtpproxy.

  Please let me know, is it possible ,to check the rtpproxy is loaded,
 and on which ip address is it running

  Thanks in advance
  Nandini


 On Mon, Jun 3, 2013 at 4:05 PM, Flavio Goncalves fla...@voffice.com.br
  wrote:

 Hi Nandini,

  The addresses specified at the module rtpproxy.so are not matching
 the addresses specified in the -s parameter of your rtpproxy daemons. Do
 you have two instances of the rtpproxy running in the addresses
 127.0.0.1:5000 and 192.168.2.40:5.

   Flavio E. Goncalves

Dear All,


  i have integrated mediaproxy and Rtpproxy  with opensips.To get
 audio call in voip clients.

  But iam getting the errors in /var/log/syslog as follows:-


 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
 Connection refused
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: proxy udp:127.0.0.1:5 does
 not respond, disable it
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: support for RTP proxy udp:
 127.0.0.1:5 has been disabled temporarily
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
 Connection refused
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 ERROR:rtpproxy:send_rtpp_command: proxy udp:192.168.2.40:5
 does not respond, disable it
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: can't get version of the RTP proxy
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3706]:
 WARNING:rtpproxy:rtpp_test: support for RTP proxy udp:
 192.168.2.40:5 has been disabled temporarily
 Jun  3 14:19:48 opensips /usr/local/sbin/opensips[3708]:
 ERROR:mediaproxy:mediaproxy_connect: failed to connect to
 

Re: [OpenSIPS-Users] Fwd: self-presence was incorrect when application exited abnormally

2013-06-03 Thread Yuming Zheng
What means  the user-input element?
Actually device can compare the tuple id from the rpid with himself to keep
different presence state himself if he
subscribe the presence to himself.
and in another case, the two devices can make the state synchronized with
each other  if he
subscribe the presence to himself and do not care the tuple id.
So,practically,what is reasonable choice to implement by the client?

Best Regards,

frank.zheng


2013/6/3 Saúl Ibarra Corretgé s...@ag-projects.com


 On Jun 1, 2013, at 9:19 AM, Yuming Zheng wrote:

  In this scenario,if Device A set to idel and device B set to busy,What
 status should be displayed on the buddy?
  According the most recent time stamp is not reasonable,because this will
 be refreshed by device A and B round robin, As the time stamp of the pidf
 is fetched from the device side,device time is not synchronized with the
 world time possibly,eg.it has set to 1980-06-01 by default.
 

 Well, you have just found the presence fun! It's undefined, up to the
 client to decide, actually. You can use the user-input element from RPID to
 set the last activity timestamp, which could act as a tie breaker, for
 example.

 --
 Saúl Ibarra Corretgé
 AG Projects




 ___
 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] media proxy/Rtpproxy in opensips

2013-06-03 Thread Nick Khamis
So basically to do not have a working environment yeah As mentioned:
* You do not need both media proxy and rtp proxy. Which one you need
depends on your network (i..e, bridging vs public network).
* The original error is either due to a non running rtp media proxy,
or misconfiguration of module variables in your script, or both

Also explained to you is the learning curve of OpenSIPS, it took me
upwards of 2 years to have a basic understanding of how a proxy as
such can fit in our architecture. Even then, I run into uncharted
territory.

My suggestion is, take a week maybe two or three or four, and go
through real material vs blogs written by people that know as much
about OpenSIPS, Linux, how to solve world peace as you and I, and go
through Building Telephony Systems with OpenSIPS 1.6. Notice is say
1.6 and not .8 or .9, you will have to make the transition to the
script yourself or ask on this list. I will be more than happy to
help.

The other benefit of going through the material is you will get enough
of an understanding to be able to ask the same questions without being
called out. Question like no audio one way audio etc.. do not
help, we need sip traces, explanation of your network, c= and record
route information.

Kind Regards,

Nick.

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


Re: [OpenSIPS-Users] Sipcapture issue

2013-06-03 Thread Nikita Tarasov

Do you have any results?

I have the same problems.



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


[OpenSIPS-Users] CPU leak with opensips 1.7.1-notls‏

2013-06-03 Thread Yuriy Nasida
Hello,
What is the best way to understand the reason of CPU leak with my opensips 
installation (opensips 1.7.1-notls) ?CPU leak grows even with small amount of 
calls. I increased debug level but still don't have any clue.
Please advice.
Thanks.   ___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] OpenSips and Ekiga

2013-06-03 Thread Alberto Ayala
Hello subscribers

I'm trying to integrate OpenSips and Ekiga

I was able to install using EPEL packages in a CentOS 5.x machine

opensips mysql is working. (I create two users for testing purpouse)

when I login to the server using ekiga (sip server I see my status as
register)

and when I try to call I get in the log resource busy:

May 30 10:37:30 localhost /usr/sbin/opensips[2797]: ACC: call missed:
timestamp=1369935450;method=INVITE;from_tag=981a3e3c-080a-1910-909d-08002700c8d5;to_tag=d20e3a3c-080a-1910-8dd7-005056c1;call_id=981a3e3c-080a-1910-909e-08002700c8d5@bluebox;code=487;reason=Request
Terminated
May 30 10:42:20 localhost /usr/sbin/opensips[5148]: ACC: call missed:
timestamp=1369935740;method=INVITE;from_tag=4a45ef3d-080a-1910-8dda-005056c1;to_tag=e173f33d-080a-1910-90af-08002700c8d5;call_id=ae45ef3d-080a-1910-8dda-005056c1@fei-pc;code=487;reason=Request
Terminated
May 30 10:58:35 localhost /usr/sbin/opensips[5147]: ACC: call missed:
timestamp=1369936715;method=INVITE;from_tag=f697b243-080a-1910-9351-08002700c8d5;to_tag=;call_id=f697b243-080a-1910-9352-08002700c8d5@bluebox;code=487;reason=Request
Terminated
May 30 10:59:24 localhost /usr/sbin/opensips[5150]: ACC: call missed:
timestamp=1369936764;method=INVITE;from_tag=647d1944-080a-1910-9355-08002700c8d5;to_tag=;call_id=967d1944-080a-1910-9355-08002700c8d5@bluebox;code=487;reason=Request
Terminated
May 30 11:03:36 localhost /usr/sbin/opensips[5150]: ACC: call missed:
timestamp=1369937016;method=INVITE;from_tag=18a19c45-080a-1910-999a-08002700c8d5;to_tag=09ac9c45-080a-1910-999c-08002700c8d5;call_id=18a19c45-080a-1910-999b-08002700c8d5@bluebox;code=486;reason=Busy
Here
May 30 11:05:17 localhost /usr/sbin/opensips[5149]: ACC: call missed:
timestamp=1369937117;method=INVITE;from_tag=16da3646-080a-1910-99b7-08002700c8d5;to_tag=a8e33646-080a-1910-99b9-08002700c8d5;call_id=16da3646-080a-1910-99b8-08002700c8d5@bluebox;code=486;reason=Busy
Here
May 30 13:38:31 localhost /usr/sbin/opensips[29295]: ACC: call missed:
timestamp=1369946311;method=INVITE;from_tag=d535d47c-080a-1910-9377-08002700c8d5;to_tag=a53dd47c-080a-1910-9379-08002700c8d5;call_id=d535d47c-080a-1910-9378-08002700c8d5@bluebox;code=486;reason=Busy
Here
May 30 13:39:25 localhost /usr/sbin/opensips[29295]: ACC: call missed:
timestamp=1369946365;method=INVITE;from_tag=ecc0277d-080a-1910-9384-08002700c8d5;to_tag=e2ca277d-080a-1910-9385-08002700c8d5;call_id=ecc0277d-080a-1910-9385-08002700c8d5@bluebox;code=486;reason=Busy
Here

any help is going to be appreciated.

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


Re: [OpenSIPS-Users] Fwd: self-presence was incorrect when application exited abnormally

2013-06-03 Thread Yuming Zheng
Thanks,Maybe simplify this question is more reasonable,I will try this
first.

BR,


2013/6/3 Saúl Ibarra Corretgé s...@ag-projects.com


 On Jun 3, 2013, at 1:58 PM, Yuming Zheng wrote:

  What means  the user-input element?

 This one: http://tools.ietf.org/html/rfc4480#section-3.14

  Actually device can compare the tuple id from the rpid with himself to
 keep different presence state himself if he
  subscribe the presence to himself.

 Correct. You can use the instance ID as the tuple ID, for example. Hence
 the contact element would contain the GRUU to reach that particular user.

  and in another case, the two devices can make the state synchronized
 with each other  if he
  subscribe the presence to himself and do not care the tuple id.
  So,practically,what is reasonable choice to implement by the client?
 

 In Blink we started by having different presence states per device, XMPP
 style, but in practice this brought some trouble so we went back and
 implemented it in a way all presence states are synced for a given AoR,
 essentially what Skype does.


 Regards,

 --
 Saúl Ibarra Corretgé
 AG Projects




 ___
 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] Looking For OpenSIPS consultant / expert

2013-06-03 Thread paul snom
our company is looking for an experience OpenSIPS expert willing and able
to provide verifiable references to work on a long term project on contract
basis if anyone is interested pls contact us at: proemail0001 at gmail.com

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


Re: [OpenSIPS-Users] Looking For OpenSIPS consultant / expert

2013-06-03 Thread Nick Khamis
Hello Paul, maybe if you can disclose some general information on what
your requirements are, would only help in getting the better
quallified individual. Is this a entirely a proxy setup in charge of
billing, and of course routing. Will you need LCR. Will there be a
need for media server integragtion, or maybe multiple media servers
with the proxy providing LB of some sort. Maybe you want to take
advantage of web sockets A little more detail about the propsed,
will only better the chance of seeking out the correct candidate. Oh,
and there is the time factor as well.

Kind Regards,

Nick

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


Re: [OpenSIPS-Users] Looking For OpenSIPS consultant / expert

2013-06-03 Thread paul snom
Hi Nick;

Thanks for the good points and input!! We're a small ERP software
developer, it has been a long standing goal of ours to develop Telephony
Order Entry systems for a few verticals.  After doing some research we have
decided to implement OpenSIPS as a front end to Asterisk Media Servers
which we've already been testing, for proxy, billing, LB, user
provisioning, and...

There's two scenarios we're implementing: 1. decentralized, dynamic script
inbound/outbound call center.  2. Limited VOIP service provider


We have a good customer base from which we anticipate drawing positive long
term results, therefor we would prefer to work with someone interested in a
building a long term working arrangement, for ongoing support of our own
infrastructure and also of our clients who wish to have their own
infrastructure, which happens to be the case at the moment.

For our our project we would like to start asap... for 2 other client
projects we would like to see positive results from our own in-house
project first

We also have a very good marketing team, if the situation is right there
might also be some cross marketing opportunities.

In a nutshell that's our OpenSIPS story, hopefully I didn't bore anyone too
much!!!

Again, thanks for the input!!

Paul



On Mon, Jun 3, 2013 at 11:58 PM, Nick Khamis sym...@gmail.com wrote:

 Hello Paul, maybe if you can disclose some general information on what
 your requirements are, would only help in getting the better
 quallified individual. Is this a entirely a proxy setup in charge of
 billing, and of course routing. Will you need LCR. Will there be a
 need for media server integragtion, or maybe multiple media servers
 with the proxy providing LB of some sort. Maybe you want to take
 advantage of web sockets A little more detail about the propsed,
 will only better the chance of seeking out the correct candidate. Oh,
 and there is the time factor as well.

 Kind Regards,

 Nick

 ___
 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