Re: System и TrySystem вываливаются в hangup
вот фрагмент целиком
exten => ping,1,noop
exten => ping,n,trySystem(echo "${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)} [asterisk/ping] Marker dial to primary..." >> /var/log/asterisk/asterisk_ha.log)
exten => ping,n(AVAIL),ChanIsAvail(SIP/ha-to-primary,js)
exten => ping,n,Dial(SIP/ha-to-primary/far,15)
exten => ping,AVAIL+101,trySystem(echo "${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)} [asterisk/ping] Channel is unavaliable ${AVAILSTATUS}
." >> /var/log/asterisk/asterisk_ha.log)
|