Re: [OpenSIPS-Users] 477 Send failed from Opensips via TCP

2010-08-02 Thread Bogdan-Andrei Iancu
You need to use a media relay (rtpproxy or mediaproxy) to make RTP go through the nat. Regards, Bogdan Premalatha Kuppan wrote: > What about TLS, i can establish the call using TLS, but audio not > heard. TLS is also behind NAT. I can RTP packets from TLS client to > Opensips. I believe RTP is

Re: [OpenSIPS-Users] 477 Send failed from Opensips via TCP

2010-07-29 Thread Premalatha Kuppan
What about TLS, i can establish the call using TLS, but audio not heard. TLS is also behind NAT. I can RTP packets from TLS client to Opensips. I believe RTP is Peer to peer. But, in my setup, since asterisk doesn't support TLS/TCP, i forward the call to opensips for protocol switching to connect

Re: [OpenSIPS-Users] 477 Send failed from Opensips via TCP

2010-07-29 Thread Andrew Pogrebennyk
On 29.07.2010 18:12, Bogdan-Andrei Iancu wrote: > oh yes, you need to use the nathelper module to fix the signalling - to > replace the private ips with public Ips in contact - during registration > and during calls.. IIRC UA which uses TCP behind NAT shall create connection to proxy and keep it f

Re: [OpenSIPS-Users] 477 Send failed from Opensips via TCP

2010-07-29 Thread Premalatha Kuppan
Can you please tell me the params, is it correct, modparam("registrar", "received_avp", "$avp(s:rcv)") #---nathelper params -- modparam("nathelper", "received_avp", "$avp(s:rcv)") if (client_nat_test("3")) { xlog("CLIENT BEHIND NAT\n"); if (method=="SUBSCRIBE") na

Re: [OpenSIPS-Users] 477 Send failed from Opensips via TCP

2010-07-29 Thread Bogdan-Andrei Iancu
oh yes, you need to use the nathelper module to fix the signalling - to replace the private ips with public Ips in contact - during registration and during calls.. Regards, Bogdan Premalatha Kuppan wrote: > Thanks Bogdan. My application is behind NAT. Do i need to change any > configuration

Re: [OpenSIPS-Users] 477 Send failed from Opensips via TCP

2010-07-29 Thread Premalatha Kuppan
Thanks Bogdan. My application is behind NAT. Do i need to change any configuration in opensips.cfg. On Thu, Jul 29, 2010 at 7:53 PM, Bogdan-Andrei Iancu wrote: > If you run tcpdump on the opensips server, you will be able to see the > address where opensips try to connect via TCPand check

Re: [OpenSIPS-Users] 477 Send failed from Opensips via TCP

2010-07-29 Thread Bogdan-Andrei Iancu
If you run tcpdump on the opensips server, you will be able to see the address where opensips try to connect via TCPand check if that is the real IP and port where pjsip is listening on... Regards, Bogdan Premalatha Kuppan wrote: > Thanks Bogdan for your reply. Yes Destination is supporting

Re: [OpenSIPS-Users] 477 Send failed from Opensips via TCP

2010-07-22 Thread Premalatha Kuppan
Thanks Bogdan for your reply. Yes Destination is supporting TCP; iam using PJSIP. Registration is successful. On Thu, Jul 22, 2010 at 8:19 PM, Bogdan-Andrei Iancu wrote: > Hi Premalatha, > > That means opensips was not able to open a TCP connection to the > destiation address. I see this is an I

Re: [OpenSIPS-Users] 477 Send failed from Opensips via TCP

2010-07-22 Thread Bogdan-Andrei Iancu
Hi Premalatha, That means opensips was not able to open a TCP connection to the destiation address. I see this is an INVITE, so the question is - is the destination party supporting TCP ? Regards. Bogdan Premalatha Kuppan wrote: > Hi, > > Iam using opensips with TLS enabled. Iam trying to make

[OpenSIPS-Users] 477 Send failed from Opensips via TCP

2010-07-21 Thread Premalatha Kuppan
Hi, Iam using opensips with TLS enabled. Iam trying to make a call via TCP; registration is successful. UDP works fine, but for TCP iam getting following error Jul 22 02:50:18 204548-4 /usr/local/sbin/opensips[8224]: ERROR:core:tcp_blocking_connect: timeout 10 s elapsed from 10 s Jul 22 02:50:18