OpenSIPS 2.2.x - 477/TM Error - TCP/TLS Client

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

OpenSIPS 2.2.x - 477/TM Error - TCP/TLS Client

Farrukh Ahmed
Hello,

I am using OpenSIPs version 2.2 and when we register we have no issue but when i try to make call i get error message 477/TM. I have searched about it but i could not got any solution to this problem.

The user is behind TCP and Error Logs mentioned this.

I am getting following error in my syslog.

--------------
Syslog Error
--------------

Nov 20 10:49:34 s93334 /usr/sbin/opensips[16318]: ERROR:core:tcp_connect_blocking: timeout 99211 ms elapsed from 100000 s
Nov 20 10:49:34 s93334 /usr/sbin/opensips[16318]: ERRORroto_tls:tls_sync_connect: tcp_blocking_connect failed
Nov 20 10:49:34 s93334 /usr/sbin/opensips[16318]: ERRORroto_tlsroto_tls_send: connect failed
Nov 20 10:49:34 s93334 /usr/sbin/opensips[16318]: ERROR:tm:msg_send: send() to 192.168.1.6:56716 for proto tls/3 failed
Nov 20 10:49:34 s93334 /usr/sbin/opensips[16318]: ERROR:tm:t_forward_nonack: sending request failed
Nov 20 10:49:34 s93334 /usr/sbin/opensips[16318]: ERROR:acc:acc_db_request: database not loaded! Probably database url not defined!


--------------------------------
OpenSIPS Configuration File
--------------------------------


Looking forward for your help.

Thank you.
--
Farrukh Ahmed

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: OpenSIPS 2.2.x - 477/TM Error - TCP/TLS Client

Razvan Crainea-3
Hello, Ahmed!

Make sure you call fix_nated_register() [1] on all REGISTER messages that come from a private IP. You can test whether an IP is private or not using the nat_uac_test() function[2].

[1] http://www.opensips.org/html/docs/modules/2.3.x/nathelper.html#idp5594464
[2] http://www.opensips.org/html/docs/modules/2.3.x/nathelper.html#idp5598784

Best regards,
Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com
On 11/29/2017 04:30 PM, Farrukh Ahmed wrote:
Hello,

I am using OpenSIPs version 2.2 and when we register we have no issue but when i try to make call i get error message 477/TM. I have searched about it but i could not got any solution to this problem.

The user is behind TCP and Error Logs mentioned this.

I am getting following error in my syslog.

--------------
Syslog Error
--------------

Nov 20 10:49:34 s93334 /usr/sbin/opensips[16318]: ERROR:core:tcp_connect_blocking: timeout 99211 ms elapsed from 100000 s
Nov 20 10:49:34 s93334 /usr/sbin/opensips[16318]: ERRORroto_tls:tls_sync_connect: tcp_blocking_connect failed
Nov 20 10:49:34 s93334 /usr/sbin/opensips[16318]: ERRORroto_tlsroto_tls_send: connect failed
Nov 20 10:49:34 s93334 /usr/sbin/opensips[16318]: ERROR:tm:msg_send: send() to 192.168.1.6:56716 for proto tls/3 failed
Nov 20 10:49:34 s93334 /usr/sbin/opensips[16318]: ERROR:tm:t_forward_nonack: sending request failed
Nov 20 10:49:34 s93334 /usr/sbin/opensips[16318]: ERROR:acc:acc_db_request: database not loaded! Probably database url not defined!


--------------------------------
OpenSIPS Configuration File
--------------------------------


Looking forward for your help.

Thank you.
--
Farrukh Ahmed


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users