Home page
array:1 [
"scenario" => array:3 [
"step1" => array:3 [
"delay_after" => 200
"cmd" => "telephony.externalcall.register"
"params" => array:3 [
"USER_ID" => 1
"PHONE_NUMBER" => "999"
"TYPE" => 2
]
]
"step2" => array:3 [
"delay_after" => 0
"cmd" => "telephony.externalcall.finish"
"params" => array:5 [
"USER_ID" => 1
"CALL_ID" => "$scenario->steps['step1']['result']['CALL_ID']"
"ADD_TO_CHAT" => 1
"DURATION" => 20
"CALL_STATUS" => "200"
]
]
"step3" => array:3 [
"delay_after" => 0
"cmd" => "telephony.externalCall.attachRecord"
"params" => array:3 [
"CALL_ID" => "$scenario->steps['step1']['result']['CALL_ID']"
"RECORD_URL" => "https://www.chosic.com/wp-content/uploads/2020/07/Art-Of-Silence_V2.mp3"
"FILENAME" => "$scenario->steps['step1']['result']['CALL_ID'].'_'.time().'.mp3'"
]
]
]
]