Unable to create channel of type 'SIP' (cause 20 - Subscriber absent) == Everyone is busy/congested at this time (1:0/0/1)

Hi. I’m facing an Issue with an asterisk server at work.

It works for a while, let’s say a couple of days and then I get the below error when trying to make outbound calls through the SIP trunk.

Unable to create channel of type ‘SIP’ (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)

I have to run “core restart now” to get It running again.

Could this be a configuration Issue of some kind or anything to do with the SIP trunk provider ?

This indicates either a registration failure or a qualify failure. You will need ot look up the log to work out which.

Qualify is where Asterisk sends OPTIONS requests to a peer to confirm that it is still there.

Thanks for the Info.

I don’t believe It’s a registration Issue. I will check the logs.

Would setting Qualify to ‘no’ help with this because other servers we are using do not have the qualify option set and are not having these Issue.

Yes, you logs are really needed to understand the state of things. Not enabling qualify could just mask a problem - for example if qualify doesn’t get a response to its request, that means if you send a call it may also not get a response and the call could fail.

This Is the output around the time I was having the Issue.

When this occurs, inbound calls are still working through the SIP trunk.
While I was facing the Issue I checked:

“sip show registry” : trunks were registered.
“sip show peers” : phones were registered.

That’s why It’s a bit confusing from the logs. I know It’s showing a DNS Issue at one point but I always see “Sent” in “sip show registry” when that occurs not registered.

[Feb 9 12:23:00] ERROR[5525] chan_sip.c: Serious Network Trouble; __sip_xmit returns error for pkt data
[Feb 9 12:23:00] WARNING[5525] acl.c: Cannot connect
[Feb 9 12:23:00] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d0c8b8 (len 543) to 192.168.8.11:5064 returned -2: Network is unreachable
[Feb 9 12:23:00] ERROR[5525] chan_sip.c: Serious Network Trouble; __sip_xmit returns error for pkt data
[Feb 9 12:23:00] WARNING[5525] acl.c: Cannot connect
[Feb 9 12:23:00] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d0cb68 (len 543) to 192.168.8.11:5062 returned -2: Network is unreachable
[Feb 9 12:23:00] ERROR[5525] chan_sip.c: Serious Network Trouble; __sip_xmit returns error for pkt data
[Feb 9 12:23:00] ERROR[5525] netsock2.c: getaddrinfo(“sip.mtnsat.net”, “(null)”, …): Temporary failure in name resolution
[Feb 9 12:23:00] WARNING[5525] acl.c: Unable to lookup ‘sip.mtnsat.net
[Feb 9 12:23:00] WARNING[5525] acl.c: Cannot connect
[Feb 9 12:23:00] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d18138 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:23:00] NOTICE[5525] chan_sip.c: – Registration for ‘6531637445@sip.mtnsat.net’ timed out, trying again (Attempt #2)
[Feb 9 12:23:00] ERROR[5525] netsock2.c: getaddrinfo(“sip.mtnsat.net”, “(null)”, …): Temporary failure in name resolution
[Feb 9 12:23:00] WARNING[5525] acl.c: Unable to lookup ‘sip.mtnsat.net
[Feb 9 12:23:00] WARNING[5525] acl.c: Cannot connect
[Feb 9 12:23:00] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d17998 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:00] NOTICE[5525] chan_sip.c: – Registration for ‘85258060338@sip.mtnsat.net’ timed out, trying again (Attempt #2)
[Feb 9 12:23:00] ERROR[5525] netsock2.c: getaddrinfo(“sip.mtnsat.net”, “(null)”, …): Temporary failure in name resolution
[Feb 9 12:23:00] WARNING[5525] acl.c: Unable to lookup ‘sip.mtnsat.net
[Feb 9 12:23:00] WARNING[5525] acl.c: Cannot connect
[Feb 9 12:23:00] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d19c98 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:00] NOTICE[5525] chan_sip.c: – Registration for ‘61871001842@sip.mtnsat.net’ timed out, trying again (Attempt #2)
[Feb 9 12:23:01] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d18138 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:23:01] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d17998 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:01] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d19c98 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:02] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d18138 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:23:02] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d17998 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:02] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d19c98 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:04] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d18138 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:23:04] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d17998 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:04] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d19c98 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:08] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d18138 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:23:08] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d17998 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:08] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d19c98 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:10] NOTICE[5525] chan_sip.c: Peer ‘8552’ is now Reachable. (20ms / 2000ms)
[Feb 9 12:23:11] WARNING[5497] func_cdr.c: Using the CDR function to set ‘accountcode’ is deprecated. Please use the CHANNEL function instead.
[Feb 9 12:23:11] ERROR[11245][C-00000000] utils.c: write() returned error: Broken pipe
[Feb 9 12:23:11] ERROR[11245][C-00000000] utils.c: write() returned error: Broken pipe
[Feb 9 12:23:11] ERROR[11245][C-00000000] utils.c: write() returned error: Broken pipe
[Feb 9 12:23:11] ERROR[11245][C-00000000] utils.c: write() returned error: Broken pipe
[Feb 9 12:23:11] ERROR[11245][C-00000000] utils.c: write() returned error: Broken pipe
[Feb 9 12:23:12] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d18138 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:23:12] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d17998 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:12] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d19c98 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:16] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d18138 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:23:16] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d17998 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:16] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d19c98 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:20] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d18138 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:23:20] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d17998 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:20] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d19c98 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:27] ERROR[5525] netsock2.c: getaddrinfo(“sip.mtnsat.net”, “(null)”, …): Temporary failure in name resolution
[Feb 9 12:23:27] WARNING[5525] acl.c: Unable to lookup ‘sip.mtnsat.net
[Feb 9 12:23:27] WARNING[5525] acl.c: Cannot connect
[Feb 9 12:23:27] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d180f0 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:23:27] NOTICE[5525] chan_sip.c: – Registration for ‘6531637445@sip.mtnsat.net’ timed out, trying again (Attempt #3)
[Feb 9 12:23:34] ERROR[11245][C-00000000] utils.c: write() returned error: Broken pipe
[Feb 9 12:23:55] ERROR[5525] netsock2.c: getaddrinfo(“sip.mtnsat.net”, “(null)”, …): Temporary failure in name resolution
[Feb 9 12:23:55] WARNING[5525] acl.c: Unable to lookup ‘sip.mtnsat.net
[Feb 9 12:23:55] WARNING[5525] acl.c: Cannot connect
[Feb 9 12:23:55] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d14878 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:55] NOTICE[5525] chan_sip.c: – Registration for ‘85258060338@sip.mtnsat.net’ timed out, trying again (Attempt #3)
[Feb 9 12:23:55] WARNING[5525] acl.c: Cannot connect
[Feb 9 12:23:55] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d18710 (len 510) to 192.168.8.11:5060 returned -2: Network is unreachable
[Feb 9 12:23:55] ERROR[5525] netsock2.c: getaddrinfo(“sip.mtnsat.net”, “(null)”, …): Temporary failure in name resolution
[Feb 9 12:23:55] WARNING[5525] acl.c: Unable to lookup ‘sip.mtnsat.net
[Feb 9 12:23:55] WARNING[5525] acl.c: Cannot connect
[Feb 9 12:23:55] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d16b40 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:55] NOTICE[5525] chan_sip.c: – Registration for ‘61871001842@sip.mtnsat.net’ timed out, trying again (Attempt #3)
[Feb 9 12:23:55] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d180f0 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:23:55] ERROR[5525] netsock2.c: getaddrinfo(“sip.mtnsat.net”, “(null)”, …): Temporary failure in name resolution
[Feb 9 12:23:55] WARNING[5525] acl.c: Unable to lookup ‘sip.mtnsat.net
[Feb 9 12:23:55] WARNING[5525] acl.c: Cannot connect
[Feb 9 12:23:55] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d1b818 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:23:55] NOTICE[5525] chan_sip.c: – Registration for ‘6531637445@sip.mtnsat.net’ timed out, trying again (Attempt #4)
[Feb 9 12:23:55] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d18518 (len 522) to 192.168.8.11:5060 returned -2: Network is unreachable
[Feb 9 12:23:55] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d18518 (len 522) to 192.168.8.11:5060 returned -2: Network is unreachable
[Feb 9 12:23:55] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d18518 (len 522) to 192.168.8.11:5060 returned -2: Network is unreachable
[Feb 9 12:23:55] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d18518 (len 522) to 192.168.8.11:5060 returned -2: Network is unreachable
[Feb 9 12:23:55] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d18518 (len 522) to 192.168.8.11:5060 returned -2: Network is unreachable
[Feb 9 12:23:55] WARNING[5525] acl.c: Cannot connect
[Feb 9 12:23:55] WARNING[5525][C-00000001] chan_sip.c: sip_xmit of 0xb6d0fe28 (len 558) to 193.111.140.133:5071 returned -2: Network is unreachable
[Feb 9 12:23:55] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d18518 (len 522) to 192.168.8.11:5060 returned -2: Network is unreachable
[Feb 9 12:23:55] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d18518 (len 522) to 192.168.8.11:5060 returned -2: Network is unreachable
[Feb 9 12:23:55] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d18518 (len 522) to 192.168.8.11:5060 returned -2: Network is unreachable
[Feb 9 12:23:55] WARNING[15426][C-00000001] chan_sip.c: sip_xmit of 0xb6703fe8 (len 852) to 193.111.140.133:5071 returned -2: Network is unreachable
[Feb 9 12:23:55] ERROR[15426][C-00000001] chan_sip.c: Serious Network Trouble; __sip_xmit returns error for pkt data
[Feb 9 12:23:56] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d14878 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:56] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d16b40 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:56] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d1b818 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:23:57] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d14878 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:57] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d16b40 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:57] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d1b818 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:23:59] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d14878 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:59] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d16b40 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:23:59] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d1b818 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:24:03] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d14878 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:03] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d16b40 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:03] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d1b818 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:24:07] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d14878 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:07] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d16b40 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:07] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d1b818 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:24:11] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d14878 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:11] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d16b40 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:11] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d1b818 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:24:15] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d14878 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:15] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d16b40 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:15] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d1b818 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:24:15] ERROR[5525] netsock2.c: getaddrinfo(“sip.mtnsat.net”, “(null)”, …): Temporary failure in name resolution
[Feb 9 12:24:15] WARNING[5525] acl.c: Unable to lookup ‘sip.mtnsat.net
[Feb 9 12:24:15] WARNING[5525] acl.c: Cannot connect
[Feb 9 12:24:15] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d04a68 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:15] NOTICE[5525] chan_sip.c: – Registration for ‘85258060338@sip.mtnsat.net’ timed out, trying again (Attempt #4)
[Feb 9 12:24:15] ERROR[5525] netsock2.c: getaddrinfo(“sip.mtnsat.net”, “(null)”, …): Temporary failure in name resolution
[Feb 9 12:24:15] WARNING[5525] acl.c: Unable to lookup ‘sip.mtnsat.net
[Feb 9 12:24:15] WARNING[5525] acl.c: Cannot connect
[Feb 9 12:24:15] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d16b30 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:15] NOTICE[5525] chan_sip.c: – Registration for ‘61871001842@sip.mtnsat.net’ timed out, trying again (Attempt #4)
[Feb 9 12:24:15] ERROR[5525] netsock2.c: getaddrinfo(“sip.mtnsat.net”, “(null)”, …): Temporary failure in name resolution
[Feb 9 12:24:15] WARNING[5525] acl.c: Unable to lookup ‘sip.mtnsat.net
[Feb 9 12:24:15] WARNING[5525] acl.c: Cannot connect
[Feb 9 12:24:15] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d1b818 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:24:15] NOTICE[5525] chan_sip.c: – Registration for ‘6531637445@sip.mtnsat.net’ timed out, trying again (Attempt #5)
[Feb 9 12:24:16] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d04a68 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:16] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d16b30 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:16] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d1b818 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:24:17] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d04a68 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:17] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d16b30 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:17] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d1b818 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:24:19] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d04a68 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:19] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d16b30 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:19] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d1b818 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:24:23] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d04a68 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:23] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d16b30 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:23] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d1b818 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:24:24] NOTICE[5525] chan_sip.c: Peer ‘8551’ is now Reachable. (4ms / 2000ms)
[Feb 9 12:24:27] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d04a68 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:27] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d16b30 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:27] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d1b818 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:24:31] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d04a68 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:31] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d16b30 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:31] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d1b818 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:24:35] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d04a68 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:35] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d16b30 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:24:35] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d1b818 (len 396) to (null) returned -1: Invalid argument
[Feb 9 12:25:15] ERROR[5525] netsock2.c: getaddrinfo(“sip.mtnsat.net”, “(null)”, …): Temporary failure in name resolution
[Feb 9 12:25:15] WARNING[5525] acl.c: Unable to lookup ‘sip.mtnsat.net
[Feb 9 12:25:15] WARNING[5525] acl.c: Cannot connect
[Feb 9 12:25:15] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d04868 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:25:15] NOTICE[5525] chan_sip.c: – Registration for ‘85258060338@sip.mtnsat.net’ timed out, trying again (Attempt #5)
[Feb 9 12:25:33] NOTICE[5525] chan_sip.c: – Registration for ‘61871001842@sip.mtnsat.net’ timed out, trying again (Attempt #5)
[Feb 9 12:25:40] NOTICE[5525] chan_sip.c: – Registration for ‘6531637445@sip.mtnsat.net’ timed out, trying again (Attempt #6)
[Feb 9 12:25:40] WARNING[5525] chan_sip.c: sip_xmit of 0xb6d04868 (len 399) to (null) returned -1: Invalid argument
[Feb 9 12:25:40] NOTICE[5525] chan_sip.c: – Registration for ‘85258060338@sip.mtnsat.net’ timed out, trying again (Attempt #6)
^C
root@shipsat000C2983BFFB asterisk> ^C
root@shipsat000C2983BFFB asterisk> ^C
root@shipsat000C2983BFFB asterisk> cat messages | grep -i “Feb 9 06”
[Feb 9 06:00:59] WARNING[5598] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[Feb 9 06:01:19] WARNING[5625] chan_sip.c: Retransmission timeout reached on transmission 82455e8681a965a22d1bfc2d5fe16827 for seqno 1 (Critical Response) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
[Feb 9 06:01:19] WARNING[5625] chan_sip.c: Hanging up call 82455e8681a965a22d1bfc2d5fe16827 - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
[Feb 9 06:02:00] ERROR[31794][C-000001bc] utils.c: write() returned error: Broken pipe
[Feb 9 06:03:51] WARNING[5598] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[Feb 9 06:04:11] ERROR[2569][C-000001bd] utils.c: write() returned error: Broken pipe
[Feb 9 06:04:11] ERROR[2569][C-000001bd] utils.c: write() returned error: Broken pipe
[Feb 9 06:04:11] ERROR[2569][C-000001bd] utils.c: write() returned error: Broken pipe
[Feb 9 06:04:11] ERROR[2569][C-000001bd] utils.c: write() returned error: Broken pipe
[Feb 9 06:04:11] ERROR[2569][C-000001bd] utils.c: write() returned error: Broken pipe
[Feb 9 06:04:29] ERROR[5625] netsock2.c: getaddrinfo(“sippubhol.sip.mtnsat.net”, “(null)”, …): Temporary failure in name resolution
[Feb 9 06:04:29] WARNING[5625] acl.c: Unable to lookup ‘sippubhol.sip.mtnsat.net
[Feb 9 06:04:36] WARNING[5625] chan_sip.c: Retransmission timeout reached on transmission d0e3fd857d1754fc8aa139c98750bd81 for seqno 1 (Critical Response) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
[Feb 9 06:04:36] WARNING[5625] chan_sip.c: Hanging up call d0e3fd857d1754fc8aa139c98750bd81 - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
[Feb 9 06:06:44] WARNING[5598] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[Feb 9 06:07:03] WARNING[5625] chan_sip.c: Retransmission timeout reached on transmission 45c85864074ffebfc8d0ab4dc3c022a5 for seqno 1 (Critical Response) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
[Feb 9 06:07:03] WARNING[5625] chan_sip.c: Hanging up call 45c85864074ffebfc8d0ab4dc3c022a5 - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
[Feb 9 06:09:51] WARNING[5598] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[Feb 9 06:10:10] WARNING[5625] chan_sip.c: Retransmission timeout reached on transmission 5cd1c7bdcfcd999f7551f36b7e0f9226 for seqno 1 (Critical Response) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
[Feb 9 06:10:10] WARNING[5625] chan_sip.c: Hanging up call 5cd1c7bdcfcd999f7551f36b7e0f9226 - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
[Feb 9 06:10:51] ERROR[10493][C-000001bf] utils.c: write() returned error: Broken pipe
[Feb 9 06:10:51] ERROR[10493][C-000001bf] utils.c: write() returned error: Broken pipe
[Feb 9 06:12:21] WARNING[5598] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[Feb 9 06:12:40] WARNING[5625] chan_sip.c: Retransmission timeout reached on transmission e4ab898cad4041589f28d5ce4700fcdd for seqno 1 (Critical Response) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
[Feb 9 06:12:40] WARNING[5625] chan_sip.c: Hanging up call e4ab898cad4041589f28d5ce4700fcdd - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
[Feb 9 06:15:12] WARNING[5598] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[Feb 9 06:15:31] WARNING[5625] chan_sip.c: Retransmission timeout reached on transmission a531bd600196a65021cdb112a051752a for seqno 1 (Critical Response) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
[Feb 9 06:15:31] WARNING[5625] chan_sip.c: Hanging up call a531bd600196a65021cdb112a051752a - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
[Feb 9 06:16:02] ERROR[15390][C-000001c1] utils.c: write() returned error: Broken pipe
[Feb 9 06:18:04] WARNING[5598] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[Feb 9 06:18:23] WARNING[5625] chan_sip.c: Retransmission timeout reached on transmission 5fcf2db67041f7235bde3e3e037bd65b for seqno 1 (Critical Response) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
[Feb 9 06:18:23] WARNING[5625] chan_sip.c: Hanging up call 5fcf2db67041f7235bde3e3e037bd65b - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
[Feb 9 06:19:35] ERROR[18797][C-000001c2] utils.c: write() returned error: Broken pipe
[Feb 9 06:19:35] ERROR[18797][C-000001c2] utils.c: write() returned error: Broken pipe
[Feb 9 06:20:55] WARNING[5598] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[Feb 9 06:21:14] WARNING[5625] chan_sip.c: Retransmission timeout reached on transmission acb08f41207ea380e607fc492e668523 for seqno 1 (Critical Response) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
[Feb 9 06:21:14] WARNING[5625] chan_sip.c: Hanging up call acb08f41207ea380e607fc492e668523 - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
[Feb 9 06:23:44] WARNING[5598] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[Feb 9 06:24:03] WARNING[5625] chan_sip.c: Retransmission timeout reached on transmission f475fc3e6aede0fcec0650a01bda289d for seqno 1 (Critical Response) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
[Feb 9 06:24:03] WARNING[5625] chan_sip.c: Hanging up call f475fc3e6aede0fcec0650a01bda289d - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
[Feb 9 06:26:38] WARNING[5598] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[Feb 9 06:26:57] WARNING[5625] chan_sip.c: Retransmission timeout reached on transmission 4d0a12bb51ef3edbd146a7eba643f7d0 for seqno 1 (Critical Response) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
[Feb 9 06:26:57] WARNING[5625] chan_sip.c: Hanging up call 4d0a12bb51ef3edbd146a7eba643f7d0 - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
[Feb 9 06:29:34] WARNING[5598] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[Feb 9 06:29:53] WARNING[5625] chan_sip.c: Retransmission timeout reached on transmission 5ef5c76506b18d5e045156f1b3cc94f6 for seqno 1 (Critical Response) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
[Feb 9 06:29:53] WARNING[5625] chan_sip.c: Hanging up call 5ef5c76506b18d5e045156f1b3cc94f6 - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
[Feb 9 06:31:09] ERROR[32754][C-000001c6] utils.c: write() returned error: Broken pipe
[Feb 9 06:32:16] WARNING[5598] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[Feb 9 06:32:36] WARNING[5625] chan_sip.c: Retransmission timeout reached on transmission b77c2106ce766bcbb1280508d9fb6da5 for seqno 1 (Critical Response) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
[Feb 9 06:32:36] WARNING[5625] chan_sip.c: Hanging up call b77c2106ce766bcbb1280508d9fb6da5 - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
[Feb 9 06:35:11] WARNING[5598] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[Feb 9 06:35:24] ERROR[7519][C-000001c8] utils.c: write() returned error: Broken pipe
[Feb 9 06:35:24] ERROR[7519][C-000001c8] utils.c: write() returned error: Broken pipe
[Feb 9 06:35:24] ERROR[7519][C-000001c8] utils.c: write() returned error: Broken pipe
[Feb 9 06:35:24] ERROR[7519][C-000001c8] utils.c: write() returned error: Broken pipe
[Feb 9 06:35:24] ERROR[7519][C-000001c8] utils.c: write() returned error: Broken pipe
[Feb 9 06:35:31] WARNING[5625] chan_sip.c: Retransmission timeout reached on transmission 71052f204bdc97c680bfe4ff50098fda for seqno 1 (Critical Response) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions

All of those messages are pointing to some sort of network issue outside of Asterisk. You should not be experiencing those messages if all is well. Your grep also shows retransmission timeouts which means the other side did not get the SIP message, or the response was lost.

I Just want to point out that this Is running on a vessel In the open ocean so I guess many of these are expected but why would the subscriber error I’m getting be resolved with a “core restart now” every time ?

It would cause Asterisk to reopen the network socket. I know of lots of people who run Asterisk on DigitalOcean and don’t experience those errors, so I’d seriously look at the droplet outside of Asterisk and see if anything seems wrong.

I mean In the actual Ocean. It’s on a ship.

Oh, well, if DNS becomes unreachable then chan_sip will start blocking on DNS requests and will generally perform poorly. It will just start slowing down and traffic will get backed up. You can improve it using a caching DNS proxy.

OK. Understood. I will look into that.

I could maybe change to the IP address for now until I look Into the DNS proxy, even though that has other disadvantages.

Thanks

This error might occur for different reasons but I’ve observed the issue in the below scenario.

When the asterisk server is not bound to proper IPv4 ot IPv6 address.

To fix the problem,

  1. Open sip.conf in the path /etc/asterisk/
  2. Check the value of udpbindaddress to proper IPv4 or V6 address
  3. Restart asterisk server
  4. Perform sip reload
  5. Give command “sip show settings” and check the udpbindaddress.
  6. Give command “sip show peers” and check the host field of SIP numbers.

Make sure that asterisk server is running with proper bind address.

This will generally happen if the peer hasn’t registered, and can also happen for some status codes returned from the other end. It is generally necessary to look for an earlier message at a higher debugging level, as this message is generated very late, as the Dial application is winding down after a failure.

A mis-configured bind address is probably a relatively rare cause.

Incidentally, it can only ever happen when the Asterisk daemon is a SIP client.