<action application="log" data="INFO credit_time=${credit_time}"/>
<action application="sched_hangup" data="+${credit_time:17:-1} ${Core-UUID}"/>In this scenario you don't have to check for return code, because you will get hangup
if authentication fails.