Went through the logs and found this:
rtp.c: Unable to allocate RTP socket: Too many open files
acl.c: Cannot create socket
pbx_spool.c: Unable to open directory /var/spool/asterisk/outgoing:
Too many open files
I enabled SYSMAXFILES=262144 and MAXFILES=32768 in /usr/sbin/
safe_asterisk and errors went away.
However, these errors (also from logs) are what am now
troubleshooting:
channel.c: [r1] Request to call on device which can not make call at
this moment
app_dial.c: Unable to create channel of type 'Datacard' (cause 44 -
Requested channel not available)
This seems to occur when datacards are in the 'dialing' state. Seems
asterisk doesn't know the channel is busy when it is in the dialing
state and still tries to send a call to it.
This is despite have a call-limit of 10 on the sip peer (12 datacards
installed) and all cards are either in 'dialing' or 'active' state.