我有一个存储过程。它有两个输出参数。如何使用 Asterisk MYSQL 命令调用它?当我使用这个命令时,我没有得到任何结果:
exten => s,n,MYSQL(Query resultid ${connid} CALL RemainingTime(${WeekID}, @rDay, @rHour)\;SELECT @rDay, @rHour\;)
exten => s,n,MYSQL(Fetch foundRow ${resultid} remainingDay remainingHour)
exten =>s,n,NoOp(${remainingDay})
exten =>s,n,NoOp(${remainingHour})
剩余日和剩余时间为空;