sorvani / freepbx-helper-scripts

Assorted scripts and files that work with FreePBX
GNU General Public License v3.0
71 stars 27 forks source link

Monitor trunk failure script missing information #13

Closed Yannik closed 3 years ago

Yannik commented 3 years ago

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?

Yannik commented 3 years ago

Just found this discussion: https://community.freepbx.org/t/how-can-i-pass-a-variable-to-the-trunk-monitor-agi-script/68184/13