Digium Switchvox (Event Notifications). Параметры соединения и формат данных SMDR/CDR


Данные ниже соответствуют только программе Advanced PBX Data Logger и могут быть не применимы для других программных продуктов.

Overview

The Event Notifications are set up in the Switchvox Admin Tool Suite: https://your_switchvox/admin

Log into the Admin Suite and use the URL Manager page (System Setup > URL Manager).

For more information about using the Admin Suite and the URL Manager, see the Switchvox Administrator Manual.

You can set up Switchvox to notify your Web-based applications when a particular event occurs in Switchvox. Switchvox can submit information about the event, and then accept return XML that includes instructions to set a Caller ID for that call, transfer the call to an extension, and/or set a display URL for use in the Switchboard.

URLs

For each event that you want a notification, you can set up a URL to your application. Those URLs can include variables that will resolve to event-specific data. When the event happens, Switchvox builds the URL with the event's data, then posts a request to the newly formed URL.

Also, you can set up a Default URL so that you do not have to enter a full URL for every event. Then for each event, you can choose to use that Default URL, or a different URL.

For detailed description visit Digium's Wiki

URL format

Our parser is designed for the following default URL:

http://192.168.0.100/route.cgi?date=%VM_DATE%&event=%EVENT_TYPE%&ext=%EXTENSION%&cid_number=%CALLER_ID_NUMBER%&cid_name=%CALLER_ID_NAME%&did=%INCOMING_DID%&duration=%VM_DUR%&data=%FEATURE_DATA%&vm_msgnum=%VM_MSGNUM%&dialed=%DIALED_NUMBER%&endofdata

You need to verify your PBX settings before using our software as a data collection server. 192.168.0.100 - should be replaced with the IP address of a computer where our software is installed.

Configuring Advanced PBX Data Logger

Advanced PBX Data Logger should be configured to the TCP server mode and listen on 0.0.0.0:80 (see below). The port number should match the value from the SMDR settings in Switchvox.

TCP Server Mode for Switchvox

80

80

Данные, извлекаемые PBX Data Logger

ОписаниеТип данныхИмя колонки
Время звонкаdatetimeCALL_TIME
Тип звонкаstringCALL_TYPE
РасширениеstringEXT
Вызывающий телефонstringCALLER_PHONE
Caller namestringFLAG1
DNISstringFLAG2
Длительность звонка (с)integerCALL_DURATION_S
Длительность звонкаdatetimeCALL_DURATION
Call datastringFLAG3
Voice message numberstringFLAG4
Набранный номерstringDIALED_PHONE
НаправлениеstringDIRECTION

Замечание: Продукты и компании, указанные здесь используются только для обозначение и идентификации и могут быть торговыми и/или зарегистрированными марками соответствующих компаний.