Hi all,
I tried to get asterisk 11 to execute this:
Gosub (subGetTrunkInfo, start, 1($current_trunk, status)).
But the debug log read:
[2015-03-13 23:05:46] VERBOSE[13043][C-00000006] res_agi.c: <Message/ast_msg_queue>AGI Rx << Gosub (subGetTrunkInfo, start, 1(trunk1, status))
[2015-03-13 23:05:46] VERBOSE[13043][C-00000006] res_agi.c: <Message/ast_msg_queue>AGI Tx >> 200 result=-1 Gosub label not found
While there’s this in the dialplan:
dialplan show subGetTrunkInfo
[ Context 'subGetTrunkInfo' created by 'pbx_config' ]
'start' => 1. NoOp() [pbx_config]
2. Return(${SIPPEER(${ARG1},${ARG2})}) [pbx_config]
-= 1 extension (2 priorities) in 1 context. =-
*CLI>
What am I doing wrong?