Respone Paths

From MiRTA PBX documentation
Jump to navigation Jump to search

Sometimes you need to collect data from your callers, like "order number" or "client codes". Sometimes you need to collect multiple values and to be able to recover these pieces of information in a structured and consistent way. The object you have available is the "Response Path". When you place this object on your destination list, the system starts collecting START of calls, CALLERID, QUEUE used, VARIABLES read, extension ANSWERING and let these pieces of information available in the Status/Response Paths Logs page.

Responsepathsimple.png

In this example, we are creating a client data collection response path for incoming calls. We can configure for how many days the results will be available in the system. After this number of days, the data will be automatically deleted. It is also possible to define an XML template to recover the info stored in this format using proxyapi. The available variables are: ${ANSWER} ${STATUS} ${QUEUEID} ${QUEUENAME} ${CALLERID} ${MEDIAFILE} ${UNIQUEID} and any variable by its name

In this destination, we are going to start our response path and then collect the client number and the client order number. The call will be sent to a queue where the agent picking up the call can access the data inserted by the caller.

Responsapathsimpledestination.png

While the call is still running, you can check the status of the data entered using the web interface or using the proxyapi.

Responsepathsimpleresult.png