Pre_assign_call_vars

Sets variables for a callerid before call starts. Alotech keeps these variables for 60 seconds.  If the call initiated in 60 seconds and "Set Variables Before Call" flag enabled in IVR's Root attendant step, call will be processed with these pre-assigned variables.

ParameterDescription
calleridCaller ID information
variablesVariables in JSON format

Example: http://alotech.alo-tech.com/api/?function=pre_assign_call_vars&app_token=123456&callerid=0507XXXXXXX&variables={"order_no":"12345"}