sorvani/freepbx-helper-scripts

Monitor trunk failure script missing information

Closed this issue · 1 comments

Hi,

unfortunately the variable $agi_arg_1 does not seem to be set on freepbx 15.

Therefore the trunk failure message looks like this:
The call was attempted from channel [PJSIP/101-00000162] using the trunk [].

It would be really nice to know the trunk which failed at a glance. Any ideas how to fix this?