...
Sr. | Variable | Variable Description | Variable Category | Variable Type |
1 | $sys.datetime | This variable will give current system date and time. | SYSTEM | datetime |
2 | $sys.date | This variable will give current system date. | SYSTEM | date |
3 | $call.cdr | This variable will give cdrID of call. | CALL | string |
4 | $call.start | This variable will give the date and time of call when it was started. | CALL | datetime |
5 | $call.end | This variable will give the date and time of call when it was ended. | CALL | datetime |
6 | $call.dtmf | This variable will give the series of DTMF pressed by customer in call. | CALL | string |
7 | $call.state | This variable will give the current state of call. The state can be ‘in process’, ‘completed’ etc. | CALL | string |
8 | $call.connect | This variable will give the date and time of call when it got connected | CALL | datetime |
9 | $call.isIncoming | This variable will show weather the call is incoming or not (True if incoming ) | CALL | boolean |
10 | $call.cli | For Outbound Flows: This variable will provide Number from which call is initiated (DID). For Inbound Flows: This variable will provide the phone number of customer from which the call is coming . | CALL | string |
11 | $call.dnis | For Outbound Flows: This variable will provide the number of customer to which the call is made. For Inbound Flows: This Variable will provide the Number (DID) on which incoming call was Landed. | CALL | string |
12 | $call.remoteHangup | This variable will give idea of call that weather it was remote hangup or not. “yes” if remote hangup | CALL | boolean |
13 | $call.isdn | This variable will give ISDN cause codes of the call. | CALL | integer |
14 | $call.cost | This variable will give the total cost of the call | CALL | double |
15 | $call.cost.currency | This variable will give the currency in which the cost is calculated for call | CALL | string |
16 | $call.recorded | This variable will show weather the call was recorded or not. “Yes” if the the recording is enable. | CALL | boolean |
17 | $call.recordingUri | This variable will give the URL of call recording where it is stored. | CALL | string |
18 | $call.lastdtmfreceived | This variable will give the last DTMF received in the call | CALL | string |
19 | $call.attemptnumber | This variable will give the attempt number of the call | CALL | integer |
20 | $call.lastlabelreceived | CALL | string | |
21 | $call.agent.connect | This variable will give show weather agent was connected or not. “Yes” if agent got connected. | CALL | boolean |
22 | $sys.time | This variable will give the system time | SYSTEM | time |
23 | $call.cli.number | This variable will give the phone number | CALL | string |
24 | $call.cli.countrycode | This variable will give the country code of cli number | CALL | string |
25 | $call.cli.type | This variable will give the CLI Type of number. The type can be … | CALL | string |
26 | $call.dnis.number | This variable will give the phone number | CALL | string |
27 | $call.dnis.countrycode | This variable will give the country code of the number | CALL | string |
28 | $call.dnis.type | This variable will give DNIS type of number. The type can be … | CALL | string |
29 | $call.lastWebhookStatus | This variable will give the last webhook status of the call. The status can be … | CALL | boolean |
30 | $call.duration | This variable will give total call duration of a particular call | CALL | integer |
31 | $flow.syskey.rescheduledCall | This variable is use to forcefully set reschedule in case of outbound flow. Assign value as ‘yes’ if you want to forcefully reschedule a call. | SYSTEM | string |
32 | $flow.syskey.reschedule_agent_call | This variable is use to forcefully set agent reschedule in case of dialer flow. Assign value as ‘yes’ if you want to forcefully reschedule a call. | SYSTEM | String |
33 | $flow.syskey.reschedule_customer_call | This variable is use to forcefully set customer reschedule in case of dialer flow. Assign value as ‘yes’ if you want to forcefully reschedule a call. | SYSTEM | String |
34 | $call.agent.recordingUri | This variable will give URL of agent recording (if enabled for agent) stored. | CALL | String |
35 | $call.flow.recordingUri | This variable will give URL of recording for whole flow (if enabled in the flow) stored. | CALL | String |
36 | $call.play_and_record.recordingUri | This variable will give the URL of recording for play and record widget stored. | CALL | String |
37 | $call.agent_dialer.recordingUri | This variable will give the URL of agent recording in case of dialer flow where it is stored. | CALL | String |
38 | $call.ivr_recording.recordingUri | This variable will give the URL of the recording of IVR (Recording Widget) where it is stored. | CALL | String |
39 | $call.queue.recordingUri | This variable will give the URL of the recording of queue (if it is enabled in queue) where it is stored. | CALL | String |
40 | $flow.syskey.agentID | This variable will give the agent ID of agent who got connected. | SYSTEM | |
41 | $flow.syskey.agent.attempt_number | This variable will give the attempt number of agent in case of Dialer Flow. | SYSTEM | |
42 | $flow.syskey.agent.cli | This variable will give the DID number from which the call to agent was made. | SYSTEM | |
43 | $flow.syskey.agent.cli.number | This variable will give only the number of CLI of agent | SYSTEM | |
44 | $flow.syskey.agent.cli.country_code | This variable will give the country code of the CLI of agent | SYSTEM | |
45 | $flow.syskey.agent.type | This variable will give the type of agent that got connected. The type can be dynamic or direct dial. | SYSTEM | |
46 | $flow.syskey.loginType | This variable will give the login type of agent who got connected. The login type can be mobile phone, deskphone, landline, softphone. | SYSTEM | |
47 | $call.agent.cdr | CALL |
...
Response Codes in widgets
Error Response codes are the variables which gets updated after the execution of the widget. Error Response codes helps in knowing particular status of the field and in troubleshooting if the widget gets failed.
...