[OpenSIPS-Users] TCP CONNECT ERROR;

Anca Vamanu anca at opensips.org
Mon Jul 26 12:20:47 CEST 2010


Hi Prem,

There are some things that you have to take care if you want TCP to work:

1) set the script parameter : tcp_accept_aliases = 1'
2) the top most Via header in Register from the client must contain 
'alias' parameter.  To check this print the Register message from the 
script: xlog("$mb\n"); If you don't see this parameter, you can fix it 
from the server by calling force_tcp_alias() on that Register.
3) the ip and port  in the top most Via for Register must match exactly 
the ip and port in the Contact header for tcp reusage to work. Check this.

Regards,

-- 
Anca Vamanu
www.voice-system.ro



On 07/26/2010 08:54 AM, Premalatha Kuppan wrote:
> Hi,
>
> I have Integrated setup of Opensips(TLS) (1.6.2)) and Asterisk 
> (1.4.3.1). When i try to make call to TCP enabled client. The call fails.
>
> Below is the Error observed at Opensips.
>
> Jul 23 13:54:45 204548-4 /usr/local/sbin/opensips[8374]
> : new branch at sip:999_456_1000 at 209.242.149.98:1036;transport=TCP
> Jul 23 13:54:55 204548-4 /usr/local/sbin/opensips[8374]: 
> ERROR:core:tcp_blocking_connect: timeout 10 s elapsed from 10 s
> Jul 23 13:54:55 204548-4 /usr/local/sbin/opensips[8374]: 
> ERROR:core:tcpconn_connect: tcp_blocking_connect failed
> Jul 23 13:54:55 204548-4 /usr/local/sbin/opensips[8374]: 
> ERROR:core:tcp_send: connect failed
> Jul 23 13:54:55 204548-4 /usr/local/sbin/opensips[8374]: 
> ERROR:tm:msg_send: tcp_send failed
> Jul 23 13:54:55 204548-4 /usr/local/sbin/opensips[8374]: 
> ERROR:tm:t_forward_nonack: sending request failed
> Jul 23 13:54:55 204548-4 /usr/local/sbin/opensips[8374]: ACC: call 
> missed: 
> timestamp=1279907695;method=INVITE;from_tag=as2bf86f8d;to_tag=;call_id=6ef81f740f13e4d778513d1315fc76fc at 204.12.57.221 
> <mailto:6ef81f740f13e4d778513d1315fc76fc at 204.12.57.221>;code=477;reason=Request 
> Failure
> Jul 23 13:54:57 204548-4 /usr/local/sbin/opensips[8374]: ACC: 
> transaction answered: 
> timestamp=1279907697;method=BYE;from_tag=as7d156ab4;to_tag=3488896563-937568;call_id=11504845-3488896563-937560 at sg2-lax.yourvoip.net 
> <mailto:11504845-3488896563-937560 at sg2-lax.yourvoip.net>;code=200;reason=OK
>
> Any Insight ?
>
> Thanks,
> Prem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100726/05657d6a/attachment.htm 


More information about the Users mailing list