Projekt

Allgemein

Profil

Dial command

Von Anonym vor mehr als 7 Jahren hinzugefügt

Hallo !

Ich versuche gerade die Anwahl über unsere IP-Telefonanlage (Asterisk), brings aber irgendwie nicht hin
mein CTI-Abschnitt in der kivitendo.conf sieht wie folgt aus:

[cti]
# If you want phone numbers to be clickable then this must be set to a
# command that does the actually dialing. Within this command three
# variables are replaced before it is executed:
# _
# 1. <%phone_extension%> and <%phone_password%> are taken from the user_
# configuration (changeable in the admin interface).
# 2. <%number%> is the number to dial. It has already been sanitized
# and formatted correctly regarding e.g. the international dialing
# prefix.
#_
# The following is an example that works with the OpenUC telephony_
# server:
# dial_command = curl --insecure -X PUT https://<%phone_extension%>:<%phone_password%>@IP.AD.D
_dial_command = http://10.x.x.x/gemeinschaft/prov/call-init.php?user=kalchmair&to=<%number%> _

  1. If you need to dial something before the actual number then set
  2. external_prefix to it.
    external_prefix = 0
  3. The prefix for international calls (numbers starting with +).
    international_dialing_prefix = 00_

kivitendo schreibt mir dann zwar hin
Information: Wähle jetzt 067684833
aber das wars leider auch schon

wobei ich dann später kalchmair durch <%phone_extension%> ersetzen werden damit immer der richtige User / Nebenstelle mitgegeben wird

geb ich in die Adressleiste des Browsers folgendes ein
http://10.x.x.x/gemeinschaft/prov/call-init.php?user=kalchmair&to=0067684833
wird die Nummer von meinem Arbeitsplatztelefon angewählt, der Befehl würde also stimmen

Grüße
Reinhard


Antworten (1)

RE: Dial command - Von Jan Büren vor mehr als 7 Jahren hinzugefügt

Ich hab das selber noch nie ausprobiert.
Ich würde mal folgende Dinge überprüfen:

a) Das Kommando muss vom kivitendo-Server aus ausführbar sein
Ich würde vermuten, dass der Server diesen HTTP-Request direkt auslöst und nicht per AJAX über den Browser geht.

b) Was loggt bspw. Firefox Live HTTP Headers mit?

    (1-1/1)