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

Premalatha Kuppan premalatha at ngintech.com
Thu Jul 29 17:07:36 CEST 2010


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 <bogdan at voice-system.ro
> wrote:

> If you run tcpdump on the opensips server, you will be able to see the
> address where opensips try to connect via TCP....and 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 TCP; iam
> > using PJSIP. Registration is successful.
> >
> > On Thu, Jul 22, 2010 at 8:19 PM, Bogdan-Andrei Iancu
> > <bogdan at voice-system.ro <mailto:bogdan at voice-system.ro>> wrote:
> >
> >     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 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 204548-4 /usr/local/sbin/opensips[8224]:
> >     > ERROR:core:tcpconn_connect: tcp_blocking_connect failed
> >     > Jul 22 02:50:18 204548-4 /usr/local/sbin/opensips[8224]:
> >     > ERROR:core:tcp_send: connect failed
> >     > Jul 22 02:50:18 204548-4 /usr/local/sbin/opensips[8224]:
> >     > ERROR:tm:msg_send: tcp_send failed
> >     > Jul 22 02:50:18 204548-4 /usr/local/sbin/opensips[8224]:
> >     > ERROR:tm:t_forward_nonack: sending request failed
> >     >
> >     >
> >     > SIP/2.0 477 Send failed (477/TM)
> >     > Via: SIP/2.0/UDP ASTERISK:5070;branch=z9hG4bK4a4c0fee;rport=5070
> >     > From: "user1" <sip:user1 at ASTERISK:5070>;tag=as06435674
> >     > To:
> >     <sip:user2 at OPENSIPS:5060>;tag=24e512da0179608b69beef65168adaa1-0387
> >     > Call-ID: 28ab65ff537a55fd786353e052dbf4c3 at 204.12.57.221
> >     <mailto:28ab65ff537a55fd786353e052dbf4c3 at 204.12.57.221>
> >     > <mailto:28ab65ff537a55fd786353e052dbf4c3 at 204.12.57.221
> >     <mailto:28ab65ff537a55fd786353e052dbf4c3 at 204.12.57.221>>
> >     > CSeq: 102 INVITE
> >     > Server: OpenSIPS (1.6.2-tls (x86_64/linux))
> >     > Content-Length: 0
> >     >
> >     > Any insight ?
> >     >
> >     > Thanks,
> >     > Prem
> >     >
> >
> ------------------------------------------------------------------------
> >     >
> >     > _______________________________________________
> >     > Users mailing list
> >     > Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> >     > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >     >
> >
> >
> >     --
> >     Bogdan-Andrei Iancu
> >     OpenSIPS Bootcamp
> >     20 - 24 September 2010, Frankfurt, Germany
> >     www.voice-system.ro <http://www.voice-system.ro>
> >
> >
> >     _______________________________________________
> >     Users mailing list
> >     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> >     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
>
> --
> Bogdan-Andrei Iancu
> OpenSIPS Bootcamp
> 20 - 24 September 2010, Frankfurt, Germany
> www.voice-system.ro
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100729/6281cf61/attachment-0001.htm 


More information about the Users mailing list