Calls dropping after approximately 5 minutes

Please forgive my lack of Information. I’ll find whatever Is required.
All I have at the moment Is a call log.
Calls are dropping from all phones going through the asterisk server at approximately 5 minutes.
I know this Is vague but there might be something In the call logs that I’m missing due to my minimal knowledge.

` – AGI Script Executing Application: (GOTO) Options: (makecall,1)
– Goto (shipsat,makecall,1)
[Feb 9 07:06:47] ERROR[24624]: utils.c:1128 ast_carefulwrite: write() returned error: Broken pipe
[Feb 9 07:06:47] ERROR[24624]: utils.c:1128 ast_carefulwrite: write() returned error: Broken pipe
– <SIP/8551-0000005e>AGI Script checkUserAuth.agi completed, returning 0
– Executing [makecall@shipsat:1] NoOp(“SIP/8551-0000005e”, " DialOut 011302691026577 ") in new stack
– Executing [makecall@shipsat:2] Dial(“SIP/8551-0000005e”, “SIP/011302691026577@vitel-outbound,60,S(909.09090909091)”) in new stack
– Setting call duration limit to 909.000 seconds.
== Using SIP RTP CoS mark 5
– Called 011302691026577@vitel-outbound
– SIP/vitel-outbound-0000005f is making progress passing it to SIP/8551-0000005e
– SIP/vitel-outbound-0000005f answered SIP/8551-0000005e
– fixed jitterbuffer created on channel SIP/8551-0000005e
– fixed jitterbuffer created on channel SIP/vitel-outbound-0000005f
– Executing [h@shipsat:1] NoOp(“SIP/8551-0000005e”, "Call data : ANSWER : 7 : 7 : 2016-02-09 07:07:12 ") in new stack
– Executing [h@shipsat:2] AGI(“SIP/8551-0000005e”, “writeCdr.agi, 00302691026577, 2016-02-09 07:06:28, 2016-02-09 07:07:12, 43, ANSWERED, shipsat00E04C692143@2, 68545472, 7”) in new stack
– Launched AGI Script /storage/asterisk/root/var/lib/asterisk/agi-bin/writeCdr.agi
writeCdr.agi, 00302691026577, 2016-02-09 07:06:28, 2016-02-09 07:07:12, 43, ANSWERED, shipsat00E04C692143@2, 68545472, 7: AGI:GOT CDR direct write to DB error:UNABLE TO UPDATE CDR_DATA
[Feb 9 07:07:15] ERROR[24624]: utils.c:1128 ast_carefulwrite: write() returned error: Broken pipe
[Feb 9 07:07:15] ERROR[24624]: utils.c:1128 ast_carefulwrite: write() returned error: Broken pipe
– <SIP/8551-0000005e>AGI Script writeCdr.agi completed, returning 0
– fixed jitterbuffer destroyed on channel SIP/vitel-outbound-0000005f
== Spawn extension (shipsat, makecall, 2) exited non-zero on ‘SIP/8551-0000005e’
– fixed jitterbuffer destroyed on channel SIP/8551-0000005e
== Using SIP RTP CoS mark 5
– Executing [00302691026577@shipsat:1] Set(“SIP/8551-00000060”, “gateway=8551”) in new stack
– Executing [00302691026577@shipsat:2] Answer(“SIP/8551-00000060”, “”) in new stack
– Executing [00302691026577@shipsat:3] Set(“SIP/8551-00000060”, “GW_ID=2”) in new stack
– Executing [00302691026577@shipsat:4] Read(“SIP/8551-00000060”, “USERKEY,shipsat/enter-pin-number,10”) in new stack
– Accepting a maximum of 10 digits.
– <SIP/8551-00000060> Playing ‘shipsat/enter-pin-number.gsm’ (language ‘en’)
– User entered ‘68545472’
– Executing [00302691026577@shipsat:5] Set(“SIP/8551-00000060”, “BOXID=shipsat00E04C692143”) in new stack
– Executing [00302691026577@shipsat:6] Set(“SIP/8551-00000060”, “CDR(accountcode)=68545472”) in new stack
– Executing [00302691026577@shipsat:7] Set(“SIP/8551-00000060”, “CDR(userfield)=shipsat00E04C692143@2”) in new stack
– Executing [00302691026577@shipsat:8] AGI(“SIP/8551-00000060”, “checkUserAuth.agi,68545472,shipsat00E04C692143,2,00302691026577”) in new stack
– Launched AGI Script /storage/asterisk/root/var/lib/asterisk/agi-bin/checkUserAuth.agi
[Feb 9 07:09:57] ERROR[27064]: utils.c:1128 ast_carefulwrite: write() returned error: Broken pipe
[Feb 9 07:09:57] ERROR[27064]: utils.c:1128 ast_carefulwrite: write() returned error: Broken pipe
[Feb 9 07:09:57] ERROR[27064]: utils.c:1128 ast_carefulwrite: write() returned error: Broken pipe
[Feb 9 07:09:57] ERROR[27064]: utils.c:1128 ast_carefulwrite: write() returned error: Broken pipe
– AGI Script Executing Application: (GOTO) Options: (makecall,1)
– Goto (shipsat,makecall,1)
[Feb 9 07:09:57] ERROR[27064]: utils.c:1128 ast_carefulwrite: write() returned error: Broken pipe
[Feb 9 07:09:57] ERROR[27064]: utils.c:1128 ast_carefulwrite: write() returned error: Broken pipe
– <SIP/8551-00000060>AGI Script checkUserAuth.agi completed, returning 0
– Executing [makecall@shipsat:1] NoOp(“SIP/8551-00000060”, " DialOut 011302691026577 ") in new stack
– Executing [makecall@shipsat:2] Dial(“SIP/8551-00000060”, “SIP/011302691026577@vitel-outbound,60,S(849.09090909091)”) in new stack
– Setting call duration limit to 849.000 seconds.
== Using SIP RTP CoS mark 5
– Called 011302691026577@vitel-outbound
– SIP/vitel-outbound-00000061 is making progress passing it to SIP/8551-00000060
== Parsing ‘/etc/asterisk/extconfig.conf’: == Found
== Parsing ‘/etc/asterisk/logger.conf’: == Found
Asterisk Event Logger restarted
Asterisk Queue Logger restarted
== Parsing ‘/etc/asterisk/features.conf’: == Found
– Added extension ‘700’ priority 1 to parkedcalls (0x97f8128)
== Parsing ‘/etc/asterisk/codecs.conf’: == Found
– Reloading module ‘codec_gsm.so’ (GSM Coder/Decoder)
– Reloading module ‘app_playback.so’ (Sound File Playback Application)
– Reloading module ‘codec_g722.so’ (ITU G.722-64kbps G722 Transcoder)
– Reloading module ‘chan_sip.so’ (Session Initiation Protocol (SIP))
Reloading SIP
== Parsing ‘/etc/asterisk/sip.conf’: == Found
== Parsing ‘/etc/asterisk/users/default.conf’: == Found
== Using SIP CoS mark 4
> doing dnsmgr_lookup for ‘shipvoice.wlnet.com
– Reloading module ‘codec_adpcm.so’ (Adaptive Differential PCM Coder/Decoder)
– Reloading module ‘cdr_csv.so’ (Comma Separated Values CDR Backend)
– Reloading module ‘codec_speex.so’ (Speex Coder/Decoder)
– Reloading module ‘res_musiconhold.so’ (Music On Hold Resource)
– Reloading module ‘res_clialiases.so’ (CLI Aliases)
– Reloading module ‘codec_ulaw.so’ (mu-Law Coder/Decoder)
– Reloading module ‘codec_alaw.so’ (A-law Coder/Decoder)
– Reloading module ‘pbx_config.so’ (Text Extension Configuration)
== Parsing ‘/etc/asterisk/extensions.conf’: == Found
== Parsing ‘/etc/asterisk/exten/shipsat.conf’: == Found
== Setting global variable ‘SHIPSAT_ID’ to ‘shipsat003018A78355’
== Setting global variable ‘EXTERNAL_Dialstring’ to ‘Local/%s@callexternal’
– Registered extension context ‘default’ (0x98046a8) in local table 0x97fc298; registrar: pbx_config
– Including context ‘notinservice’ in context ‘default’
– Including context ‘shipsat’ in context ‘default’
– Registered extension context ‘shipsat’ (0x9824dd0) in local table 0x97fc298; registrar: pbx_config
– Added extension ‘_ZXXX’ priority 1 to shipsat (0x9824dd0)
– Added extension ‘600’ priority 1 to shipsat (0x9824dd0)
– Added extension ‘600’ priority 2 to shipsat (0x9824dd0)
– Added extension ‘600’ priority 3 to shipsat (0x9824dd0)
– Added extension ‘600’ priority 4 to shipsat (0x9824dd0)
– Added extension ‘625’ priority 1 to shipsat (0x9824dd0)
– Added extension ‘625’ priority 2 to shipsat (0x9824dd0)
– Added extension ‘625’ priority 3 to shipsat (0x9824dd0)
– Added extension ‘625’ priority 4 to shipsat (0x9824dd0)
– Added extension ‘625’ priority 5 to shipsat (0x9824dd0)
– Added extension ‘625’ priority 6 to shipsat (0x9824dd0)
[Feb 9 07:10:08] WARNING[1783]: pbx.c:7540 add_pri_lockopt: Unable to register extension ‘625’, priority 5 in ‘shipsat’, already in use
– Added extension ‘readbalance’ priority 1 to shipsat (0x9824dd0)
– Added extension ‘readbalance’ priority 2 to shipsat (0x9824dd0)
– Added extension ‘readbalance’ priority 3 to shipsat (0x9824dd0)
– Added extension ‘_X.’ priority 1 to shipsat (0x9824dd0)
– Added extension ‘_X.’ priority 2 to shipsat (0x9824dd0)
– Added extension ‘_X.’ priority 3 to shipsat (0x9824dd0)
– Added extension ‘_X.’ priority 4 to shipsat (0x9824dd0)
– Added extension ‘_X.’ priority 5 to shipsat (0x9824dd0)
– Added extension ‘_X.’ priority 6 to shipsat (0x9824dd0)
– Added extension ‘_X.’ priority 7 to shipsat (0x9824dd0)
– Added extension ‘_X.’ priority 8 to shipsat (0x9824dd0)
– Added extension ‘_X.’ priority 9 to shipsat (0x9824dd0)
– Added extension ‘h’ priority 1 to shipsat (0x9824dd0)
– Added extension ‘h’ priority 2 to shipsat (0x9824dd0)
– Added extension ‘badauth’ priority 1 to shipsat (0x9824dd0)
– Added extension ‘badauth’ priority 2 to shipsat (0x9824dd0)
– Added extension ‘nomoney’ priority 1 to shipsat (0x9824dd0)
– Added extension ‘nomoney’ priority 2 to shipsat (0x9824dd0)
– Added extension ‘makecall’ priority 1 to shipsat (0x9824dd0)
– Added extension ‘makecall’ priority 2 to shipsat (0x9824dd0)
– Added extension ‘makecall’ priority 3 to shipsat (0x9824dd0)
– Registered extension context ‘notinservice’ (0x9826ac8) in local table 0x97fc298; registrar: pbx_config
– Added extension ‘_XXXX’ priority 1 to notinservice (0x9826ac8)
– Added extension ‘_XXXX’ priority 2 to notinservice (0x9826ac8)
– Added extension ‘_XXXX’ priority 3 to notinservice (0x9826ac8)
– Added extension ‘_XXXX’ priority 4 to notinservice (0x9826ac8)
– Registered extension context ‘sip_peers’ (0x9826ee8) in local table 0x97fc298; registrar: pbx_config
– Added extension ‘_XXXX’ priority 2 to sip_peers (0x9826ee8)
– Registered extension context ‘app_dial_gosub_virtual_context’ (0x97f5bc0) in local table 0x97fc298; registrar: app_dial
– merging incls/swits/igpats from old(app_dial_gosub_virtual_context) to new(app_dial_gosub_virtual_context) context, registrar = pbx_config
– Added extension ‘s’ priority 1 to app_dial_gosub_virtual_context (0x97f5bc0)
– Registered extension context ‘parkedcalls’ (0x97f5f10) in local table 0x97fc298; registrar: features
– merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_config
– Added extension ‘700’ priority 1 to parkedcalls (0x97f5f10)
– Time to scan old dialplan and merge leftovers back into the new: 0.000145 sec
– Time to restore hints and swap in new dialplan: 0.000001 sec
– Time to delete the old dialplan: 0.000018 sec
– Total time merge_contexts_delete: 0.000164 sec
– Reloading module ‘codec_g726.so’ (ITU G.726-32kbps G726 Transcoder)
– Reloading module ‘res_crypto.so’ (Cryptographic Digital Signatures)
– Reloading module ‘chan_iax2.so’ (Inter Asterisk eXchange (Ver 2))
== Parsing ‘/etc/asterisk/iax.conf’: == Found
[Feb 9 07:10:08] NOTICE[1783]: iax2-provision.c:553 iax_provision_reload: No IAX provisioning configuration found, IAX provisioning disabled.
– SIP/vitel-outbound-00000061 answered SIP/8551-00000060
– fixed jitterbuffer created on channel SIP/vitel-outbound-00000061
– fixed jitterbuffer created on channel SIP/8551-00000060
== Parsing ‘/etc/asterisk/extconfig.conf’: == Found
== Parsing ‘/etc/asterisk/logger.conf’: == Found
Asterisk Event Logger restarted
Asterisk Queue Logger restarted
== Parsing ‘/etc/asterisk/features.conf’: == Found
– Added extension ‘700’ priority 1 to parkedcalls (0x97f5f10)
== Parsing ‘/etc/asterisk/codecs.conf’: == Found
– Reloading module ‘codec_gsm.so’ (GSM Coder/Decoder)
– Reloading module ‘app_playback.so’ (Sound File Playback Application)
– Reloading module ‘codec_g722.so’ (ITU G.722-64kbps G722 Transcoder)
– Reloading module ‘chan_sip.so’ (Session Initiation Protocol (SIP))
– Reloading module ‘codec_adpcm.so’ (Adaptive Differential PCM Coder/Decoder)
– Reloading module ‘cdr_csv.so’ (Comma Separated Values CDR Backend)
– Reloading module ‘codec_speex.so’ (Speex Coder/Decoder)
– Reloading module ‘res_musiconhold.so’ (Music On Hold Resource)
– Reloading module ‘res_clialiases.so’ (CLI Aliases)
– Reloading module ‘codec_ulaw.so’ (mu-Law Coder/Decoder)
– Reloading module ‘codec_alaw.so’ (A-law Coder/Decoder)
– Reloading module ‘pbx_config.so’ (Text Extension Configuration)
== Parsing ‘/etc/asterisk/extensions.conf’: == Found
== Parsing ‘/etc/asterisk/exten/shipsat.conf’: == Found
== Setting global variable ‘SHIPSAT_ID’ to ‘shipsat003018A78355’
== Setting global variable ‘EXTERNAL_Dialstring’ to ‘Local/%s@callexternal’
– Registered extension context ‘default’ (0x97fdd20) in local table 0x97fa118; registrar: pbx_config
– Including context ‘notinservice’ in context ‘default’
– Including context ‘shipsat’ in context ‘default’
– Registered extension context ‘shipsat’ (0x97e07e8) in local table 0x97fa118; registrar: pbx_config
– Added extension ‘_ZXXX’ priority 1 to shipsat (0x97e07e8)
– Added extension ‘600’ priority 1 to shipsat (0x97e07e8)
– Added extension ‘600’ priority 2 to shipsat (0x97e07e8)
– Added extension ‘600’ priority 3 to shipsat (0x97e07e8)
– Added extension ‘600’ priority 4 to shipsat (0x97e07e8)
– Added extension ‘625’ priority 1 to shipsat (0x97e07e8)
– Added extension ‘625’ priority 2 to shipsat (0x97e07e8)
– Added extension ‘625’ priority 3 to shipsat (0x97e07e8)
– Added extension ‘625’ priority 4 to shipsat (0x97e07e8)
– Added extension ‘625’ priority 5 to shipsat (0x97e07e8)
– Added extension ‘625’ priority 6 to shipsat (0x97e07e8)
[Feb 9 07:15:09] WARNING[26756]: pbx.c:7540 add_pri_lockopt: Unable to register extension ‘625’, priority 5 in ‘shipsat’, already in use
– Added extension ‘readbalance’ priority 1 to shipsat (0x97e07e8)
– Added extension ‘readbalance’ priority 2 to shipsat (0x97e07e8)
– Added extension ‘readbalance’ priority 3 to shipsat (0x97e07e8)
– Added extension ‘_X.’ priority 1 to shipsat (0x97e07e8)
– Added extension ‘_X.’ priority 2 to shipsat (0x97e07e8)
– Added extension ‘_X.’ priority 3 to shipsat (0x97e07e8)
– Added extension ‘_X.’ priority 4 to shipsat (0x97e07e8)
– Added extension ‘_X.’ priority 5 to shipsat (0x97e07e8)
– Added extension ‘_X.’ priority 6 to shipsat (0x97e07e8)
– Added extension ‘_X.’ priority 7 to shipsat (0x97e07e8)
– Added extension ‘_X.’ priority 8 to shipsat (0x97e07e8)
– Added extension ‘_X.’ priority 9 to shipsat (0x97e07e8)
– Added extension ‘h’ priority 1 to shipsat (0x97e07e8)
– Added extension ‘h’ priority 2 to shipsat (0x97e07e8)
– Added extension ‘badauth’ priority 1 to shipsat (0x97e07e8)
– Added extension ‘badauth’ priority 2 to shipsat (0x97e07e8)
– Added extension ‘nomoney’ priority 1 to shipsat (0x97e07e8)
– Added extension ‘nomoney’ priority 2 to shipsat (0x97e07e8)
– Added extension ‘makecall’ priority 1 to shipsat (0x97e07e8)
– Added extension ‘makecall’ priority 2 to shipsat (0x97e07e8)
– Added extension ‘makecall’ priority 3 to shipsat (0x97e07e8)
– Registered extension context ‘notinservice’ (0x97e7b20) in local table 0x97fa118; registrar: pbx_config
– Added extension ‘_XXXX’ priority 1 to notinservice (0x97e7b20)
– Added extension ‘_XXXX’ priority 2 to notinservice (0x97e7b20)
– Added extension ‘_XXXX’ priority 3 to notinservice (0x97e7b20)
– Added extension ‘_XXXX’ priority 4 to notinservice (0x97e7b20)
– Registered extension context ‘sip_peers’ (0x97e8ee8) in local table 0x97fa118; registrar: pbx_config
– Added extension ‘_XXXX’ priority 2 to sip_peers (0x97e8ee8)
– Registered extension context ‘parkedcalls’ (0x97de558) in local table 0x97fa118; registrar: features
– merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_config
– Added extension ‘700’ priority 1 to parkedcalls (0x97de558)
– Registered extension context ‘app_dial_gosub_virtual_context’ (0x982b4a0) in local table 0x97fa118; registrar: app_dial
– merging incls/swits/igpats from old(app_dial_gosub_virtual_context) to new(app_dial_gosub_virtual_context) context, registrar = pbx_config
– Added extension ‘s’ priority 1 to app_dial_gosub_virtual_context (0x982b4a0)
– Time to scan old dialplan and merge leftovers back into the new: 0.000019 sec
– Time to restore hints and swap in new dialplan: 0.000001 sec
– Time to delete the old dialplan: 0.000014 sec
– Total time merge_contexts_delete: 0.000034 sec
– Reloading module ‘codec_g726.so’ (ITU G.726-32kbps G726 Transcoder)
– Reloading module ‘res_crypto.so’ (Cryptographic Digital Signatures)
– Reloading module ‘chan_iax2.so’ (Inter Asterisk eXchange (Ver 2))
== Parsing ‘/etc/asterisk/iax.conf’: == Found
[Feb 9 07:15:09] NOTICE[26756]: iax2-provision.c:553 iax_provision_reload: No IAX provisioning configuration found, IAX provisioning disabled.
Reloading SIP
== Parsing ‘/etc/asterisk/sip.conf’: == Found
== Parsing ‘/etc/asterisk/users/default.conf’: == Found
== Using SIP CoS mark 4
> doing dnsmgr_lookup for ‘shipvoice.wlnet.com
– Executing [h@shipsat:1] NoOp(“SIP/8551-00000060”, "Call data : ANSWER : 347 : 346 : 2016-02-09 07:15:58 ") in new stack
– Executing [h@shipsat:2] AGI(“SIP/8551-00000060”, “writeCdr.agi, 00302691026577, 2016-02-09 07:09:41, 2016-02-09 07:15:58, 376, ANSWERED, shipsat00E04C692143@2, 68545472, 346”) in new stack
– Launched AGI Script /storage/asterisk/root/var/lib/asterisk/agi-bin/writeCdr.agi
writeCdr.agi, 00302691026577, 2016-02-09 07:09:41, 2016-02-09 07:15:58, 376, ANSWERED, shipsat00E04C692143@2, 68545472, 346: AGI:GOT CDR direct write to DB error:UNABLE TO UPDATE CDR_DATA
[Feb 9 07:16:01] ERROR[27064]: utils.c:1128 ast_carefulwrite: write() returned error: Broken pipe
[Feb 9 07:16:01] ERROR[27064]: utils.c:1128 ast_carefulwrite: write() returned error: Broken pipe
– <SIP/8551-00000060>AGI Script writeCdr.agi completed, returning 0
– fixed jitterbuffer destroyed on channel SIP/vitel-outbound-00000061
== Spawn extension (shipsat, makecall, 2) exited non-zero on ‘SIP/8551-00000060’
– fixed jitterbuffer destroyed on channel SIP/8551-00000060
shipsat001*CLI>

The Asterisk PBX currently does not have a way to reclaim SIP sessions that do not terminate

through normal signaling procedures due to network problems or when the other end-point or an

intermediary record-routing proxy dies. Currently, there is no way to detect and therefore reclaim

such “leaked” SIP sessions in Asterisk.

If using SIP check if any timer is activated, sip show settings

Session Timers

RTP Timeout:

RTP Hold Timeout:

You’ve had a crash. Are you using the most recent sub-version of a supported version, if so, please see https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace