在 LINE notify 先申請權杖
https://notify-bot.line.me/my/
拿到LINE權杖後
編輯 /etc/asterisk/extensions_custom.conf
做法同這邊
exten => sms,n,System(curl -X POST -H 'Authorization: Bearer 輸入LINE權杖' -F 'message= ${BASE64_DECODE(${SMS_BASE64})} \n 簡訊SMS Form ${DONGLENAME} - ${CALLERID(num)}' 'https://notify-api.line.me/api/notify' )
exten => _X.,n,System(curl -X POST -H 'Authorization: Bearer 輸入LINE權杖' -F '${URIENCODE(現在家裡有來電 Call ${CALLERID(num)} via ${DONGLENAME})}' 'https://notify-api.line.me/api/notify')