PHP AGI - Goto funktioniert nicht

akhonych

Neuer User
Mitglied seit
4 Feb 2013
Beiträge
10
Punkte für Reaktionen
0
Punkte
0
Hallo Community,
ich versuche seit mehreren Tagen schon einen Goto in einer PHP-Applikation zu implementieren. Irgendwie scheitert das bei mir.

Der Grundgedanke: Ein Kunde ruft an und wird nach einer Kunden-Nummer gefragt, diese wird mittels einer API über HTTP-Request überprüft. (Ist bereits erledigt und funktioniert) Ist diese Korrekt, wird der Kunde zu einer Hotline (Warteschleife) intern umgeleitet. (Hier scheiterts)

Ich habe einmal die Queue (queues.conf):

Code:
[CALLFLOW-382079049510b89eaecd10-QUEUE-18]
music = default
strategy=ringall
timeout=20
wrapuptime=60
ringinuse=no
periodic-announce = /storage/usbdisk1/askoziapbx/media/sounds/cfe/23-20130131-143311-0
periodic-announce-frequency = 30
announce-holdtime=no
joinempty=no
leavewhenempty=no
member => SIP/28
member => SIP/25

Die Extension:
Code:
[CALLFLOW-382079049510b89eaecd10]
; Askozia call flow - CALLFLOW-382079049510b89eaecd10
exten => CALLFLOW-START,1(module-1),Answer(0)
exten => CALLFLOW-START,n(module-45),Playback(/storage/usbdisk1/askoziapbx/media/sounds/cfe/23-20130131-145808-0)
exten => CALLFLOW-START,n(module-89),NoOp(TimeSwitch module: 13))
exten => CALLFLOW-START,n,GotoIfTime(08:30-16:55,mon-thu,*,*?module-18)
exten => CALLFLOW-START,n,GotoIfTime(08:30-13:55,fri,*,*?module-18)
exten => CALLFLOW-START,n,Goto(module-108)
exten => CALLFLOW-START,n(module-108),Goto(CFE-PHONE-UNIQUE-internalandexternal,08003301000,1)
exten => CALLFLOW-START,n(module-109),Hangup()
exten => CALLFLOW-START,n,QueueLog(CALLFLOW-382079049510b89eaecd10-QUEUE-18,${UNIQUEID},NONE,CALLERID,${CALLERID(all)},,${CUSTOM1},${CUSTOM2},${CUSTOM3})
exten => CALLFLOW-START,n(module-18),Queue(CALLFLOW-382079049510b89eaecd10-QUEUE-18,Ct,,,1200)
exten => CALLFLOW-START,n,QueueLog(CALLFLOW-382079049510b89eaecd10-QUEUE-18,${UNIQUEID},NONE,QUEUETIMEOUT,${CDR(duration)},${CDR(billsec)})
exten => CALLFLOW-START,n(module-67),Background(/storage/usbdisk1/askoziapbx/media/sounds/cfe/23-20130131-151418-0)
exten => CALLFLOW-START,n,WaitExten(10)
exten => 1,1(module-68),Goto(CALLFLOW-382079049510b89eaecd10-SUB-7,submodule,1)
exten => i,1(module-69),Goto(CALLFLOW-382079049510b89eaecd10-SUB-8,submodule,1)
[CALLFLOW-382079049510b89eaecd10-SUB-7]
exten => submodule,1(module-71),System(echo "Date: \`date\`" > /tmp/email-${UNIQUEID})
exten => submodule,n,System(echo "To: [email protected]" >> /tmp/email-${UNIQUEID})
exten => submodule,n,System(echo "Subject: AskoziaPBX Benachrichtigung:Rückruf - Störung, Caller: ${CALLERID(all)}" >> /tmp/email-${UNIQUEID})
exten => submodule,n,System(echo "From: AskoziaPBX call flow <[email protected]>" >> /tmp/email-${UNIQUEID})
exten => submodule,n,System(echo "X-Mailer: AskoziaPBX" >> /tmp/email-${UNIQUEID})
exten => submodule,n,System(echo "Content-Type: multipart/mixed\; boundary=\"EMAIL-062127284d6c4ec9e5ffc2ffa832e036\"\n" >> /tmp/email-${UNIQUEID})
exten => submodule,n,System(echo "--EMAIL-062127284d6c4ec9e5ffc2ffa832e036" >> /tmp/email-${UNIQUEID})
exten => submodule,n,System(echo "Content-Type: text/plain\; format=flowed\; charset=UTF-8" >> /tmp/email-${UNIQUEID})
exten => submodule,n,System(echo "Content-Disposition: inline" >> /tmp/email-${UNIQUEID})
exten => submodule,n,System(echo "Content-Transfer-Encoding: 8bit\n" >> /tmp/email-${UNIQUEID})
exten => submodule,n,System(echo "Störung: Ein Kunde wünscht um einen Rückruf nach einer längeren Wartezeit.\n\nDate: ${STRFTIME(${EPOCH},,%d%m%Y-%H:%M:%S)}\nCaller ID: ${CALLERID(all)}\nDuration: ${ANSWEREDTIME}\n" >> /tmp/email-${
UNIQUEID})
exten => submodule,n,System(echo "--EMAIL-062127284d6c4ec9e5ffc2ffa832e036" >> /tmp/email-${UNIQUEID})
exten => submodule,n,System(/usr/bin/msmtp -C /etc/msmtp.conf -t < /tmp/email-${UNIQUEID})
exten => submodule,n,System(rm -f /tmp/email-${UNIQUEID})
exten => submodule,n(module-72),Playback(/storage/usbdisk1/askoziapbx/media/sounds/cfe/23-20130131-151008-0)
exten => submodule,n(module-73),Hangup()
[CALLFLOW-382079049510b89eaecd10-SUB-8]
exten => submodule,1(module-70),Hangup()

Und den ganz einfachen PHPAGI Script:
Code:
<?php
  require('phpagi.php');

  $agi = new AGI();
  
  $agi->answer();
  
  $agi->exec("Goto", "CALLFLOW-382079049510b89eaecd10,CALLFLOW-START,1");
  
  $agi->hangup();

?>

So weit, so gut... Wenn ich den PHPAGI unter der 06 anruf, wird der Anruf sofort gedroppt. Ich kann folgendes aus dem Log mitlesen:
Code:
    -- Executing [06@SIP-PHONE-1384179416504dff20be433:1] NoOp("SIP/23-00000926", "internal calling application: Stoerung Pruefung") in new stack
    -- Executing [06@SIP-PHONE-1384179416504dff20be433:2] Set("SIP/23-00000926", "CDR(InternalCalleridNum)=06") in new stack
    -- Executing [06@SIP-PHONE-1384179416504dff20be433:3] Goto("SIP/23-00000926", "DIALPLAN-APPLICATION-8347095074ff2eda27d93b,06,1") in new stack
    -- Goto (DIALPLAN-APPLICATION-8347095074ff2eda27d93b,06,1)
  == Extension Changed 23[internal] new state InUse for Notify User 25
    -- Executing [06@DIALPLAN-APPLICATION-8347095074ff2eda27d93b:1] AGI("SIP/23-00000926", "DIALPLAN-APPLICATION-8347095074ff2eda27d93b.php") in new stack
    -- Launched AGI Script /etc/asterisk/agi-bin/DIALPLAN-APPLICATION-8347095074ff2eda27d93b.php
    -- AGI Script Executing Application: (Goto) Options: (CALLFLOW-382079049510b89eaecd10,CALLFLOW-START,1)
    -- Goto (CALLFLOW-382079049510b89eaecd10,CALLFLOW-START,1)
    -- <SIP/23-00000926>AGI Script DIALPLAN-APPLICATION-8347095074ff2eda27d93b.php completed, returning 4
  == Spawn extension (CALLFLOW-382079049510b89eaecd10, CALLFLOW-START, 0) exited non-zero on 'SIP/23-00000926'


Wenn ich allerdings eine einfache Extension einrichte unter z.b. Nummer 07:
Code:
[DIALPLAN-APPLICATION-809297694510bb60504ec2]
exten => _[0-9a-zA-Z*#]!,1,Answer()
exten => _[0-9a-zA-Z*#]!,2,Goto(CALLFLOW-382079049510b89eaecd10,CALLFLOW-START,1)
exten => _[0-9a-zA-Z*#]!,3,Hangup()
exten => s,1,Answer()
exten => s,2,Goto(CALLFLOW-382079049510b89eaecd10,CALLFLOW-START,1)
exten => s,3,Hangup()

... Dann funktioniert es komischerweise, obwohl der Goto-Befehl genau identisch ist.

An was könnte es liegen?

Vielen Dank!

Gruß,
Anton


Edit:
Asterisk 10.9.0
phpagi.php,v 2.14 2005/05/25
 
Hi,

Wo ist der AGI Aufruf (DIALPLAN-APPLICATION) der im Log vorkommt in deinem Dialplan?

Ich würde im AGI Skript nur Daten manipulieren und im Dialplan die Logik, bzw. Branching Kontrolle belassen.
Dann kann man sich Callflow (Goto und Hangup) im AGI Skript sowieso sparen.
Bspw. mit einem kleinen AGI Skript, welches nur eine Variable setzt:

callflowhelper.php
PHP:
<?php
require('phpagi.php');

$agi = new AGI();

$context = "CALLFLOW-382079049510b89eaecd10";
$exten = "CALLFLOW-START";
$prioOrLabel = 1;

$agi->set_variable("GOTO_CONTEXT", $context);  
$agi->set_variable("GOTO_EXTEN", $exten);  
$agi->set_variable("GOTO_PRIO", $prioOrLabel);  
  

?>

Im Diaplan Aufruf des AGI Skriptes
Code:
exten => s,1,AGI(callflowhelper.php) 
;Goto(context,extension,priority)
exten => s,2,Goto(${GOTO_CONTEXT},${GOTO_EXTEN},${GOTO_PRIO})
 
Hi,
danke für die schnelle Antwort!

Ich hab es so probiert wie du geschrieben hast, allerdingt komme ich da nicht weiter. Der Anruf wird automatisch abgebrochen:

Code:
 == Using SIP RTP CoS mark 5
  == Extension Changed 23[internal] new state InUse for Notify User 24
    -- Executing [07@SIP-PHONE-1384179416504dff20be433:1] NoOp("SIP/23-00000cc4", "internal calling callflow: Stoerung PHP") in new stack
  == Extension Changed 23[internal] new state InUse for Notify User 26
  == Extension Changed 23[internal] new state InUse for Notify User 27
    -- Executing [07@SIP-PHONE-1384179416504dff20be433:2] Set("SIP/23-00000cc4", "CDR(InternalCalleridNum)=07") in new stack
    -- Executing [07@SIP-PHONE-1384179416504dff20be433:3] Goto("SIP/23-00000cc4", "CALLFLOW-6650869205051aa3280029,CALLFLOW-START,1") in new stack
    -- Goto (CALLFLOW-6650869205051aa3280029,CALLFLOW-START,1)
  == Extension Changed 23[internal] new state InUse for Notify User 28
    -- Executing [CALLFLOW-START@CALLFLOW-6650869205051aa3280029:1] Answer("SIP/23-00000cc4", "0") in new stack
  == Extension Changed 23[internal] new state InUse for Notify User 21
  == Extension Changed 23[internal] new state InUse for Notify User 31
  == Extension Changed 23[internal] new state InUse for Notify User 22
  == Extension Changed 23[internal] new state InUse for Notify User 50
  == Extension Changed 23[internal] new state InUse for Notify User 25
  == Extension Changed 23[internal] new state InUse for Notify User 30
  == Extension Changed 23[internal] new state InUse for Notify User 29
    -- Executing [CALLFLOW-START@CALLFLOW-6650869205051aa3280029:2] Set("SIP/23-00000cc4", "CHANNEL(language)=de-de") in new stack
    -- Executing [CALLFLOW-START@CALLFLOW-6650869205051aa3280029:3] Playback("SIP/23-00000cc4", "/storage/usbdisk1/askoziapbx/media/sounds/cfe/23-20130201-104302-0") in new stack
    -- <SIP/23-00000cc4> Playing '/storage/usbdisk1/askoziapbx/media/sounds/cfe/23-20130201-104302-0.ulaw' (language 'de-de')
  == Manager 'admin' logged off from 127.0.0.1
    -- Executing [CALLFLOW-START@CALLFLOW-6650869205051aa3280029:4] Read("SIP/23-00000cc4", "kunde,,8,,3,60") in new stack
    -- Accepting a maximum of 8 digits.
    -- User entered '10004072'
    -- Executing [CALLFLOW-START@CALLFLOW-6650869205051aa3280029:5] Goto("SIP/23-00000cc4", "CFE-PHONE-UNIQUE-internalandexternal,06,1") in new stack
    -- Goto (CFE-PHONE-UNIQUE-internalandexternal,06,1)
    -- Executing [06@CFE-PHONE-UNIQUE-internalandexternal:1] NoOp("SIP/23-00000cc4", "internal calling application: Stoerung Pruefung") in new stack
    -- Executing [06@CFE-PHONE-UNIQUE-internalandexternal:2] Set("SIP/23-00000cc4", "CDR(InternalCalleridNum)=06") in new stack
    -- Executing [06@CFE-PHONE-UNIQUE-internalandexternal:3] Goto("SIP/23-00000cc4", "DIALPLAN-APPLICATION-8347095074ff2eda27d93b,06,1") in new stack
    -- Goto (DIALPLAN-APPLICATION-8347095074ff2eda27d93b,06,1)
    -- Executing [06@DIALPLAN-APPLICATION-8347095074ff2eda27d93b:1] AGI("SIP/23-00000cc4", "DIALPLAN-APPLICATION-8347095074ff2eda27d93b.php") in new stack
    -- Launched AGI Script /etc/asterisk/agi-bin/DIALPLAN-APPLICATION-8347095074ff2eda27d93b.php
    -- <SIP/23-00000cc4>AGI Script DIALPLAN-APPLICATION-8347095074ff2eda27d93b.php completed, returning 0
    -- Executing [06@DIALPLAN-APPLICATION-8347095074ff2eda27d93b:2] Hangup("SIP/23-00000cc4", "") in new stack
  == Spawn extension (DIALPLAN-APPLICATION-8347095074ff2eda27d93b, 06, 2) exited non-zero on 'SIP/23-00000cc4'
    -- Executing [h@DIALPLAN-APPLICATION-8347095074ff2eda27d93b:1] Hangup("SIP/23-00000cc4", "") in new stack
  == Spawn extension (DIALPLAN-APPLICATION-8347095074ff2eda27d93b, h, 1) exited non-zero on 'SIP/23-00000cc4'


Mein dialplan sieht so aus (wurde teilweise von der Askozia PBX automatisch erstellt):

Code:
; Stoerung Pruefung
[DIALPLAN-APPLICATION-8347095074ff2eda27d93b]
exten => _[0-9a-zA-Z*#]!,1,AGI(DIALPLAN-APPLICATION-8347095074ff2eda27d93b.php)
exten => _[0-9a-zA-Z*#]!,2,Hangup()
exten => s,1,AGI(DIALPLAN-APPLICATION-8347095074ff2eda27d93b.php)
exten => s,2,Goto(${GOTO_CONTEXT},${GOTO_EXTEN},${GOTO_PRIO})
exten => s,3,Hangup()
exten => h,1,Hangup()

Das Problem ist auch, dass ich keine Änderungen da vornehmen kann, da diese nach dem reboot von der Askozia überschrieben werden.

Ich könnte jedoch eine eigene Extention "dazu schreiben" das wäre möglich.

Gruß,
Anton



P.S. zur Erlätung: 07 ist ein Dialplan wo ich die Eingabe in die Virable $kunde auslese.
06 ist der PHP-Script, der die Eingabe überprüft.
Die 997 (CALLFLOW-382079049510b89eaecd10,CALLFLOW-START,1) ist die Hotline.
 
Zuletzt bearbeitet von einem Moderator:
Kann es sein, dass dein AGI Skript ein Hangup ausführt?

Code:
   -- Executing [06@DIALPLAN-APPLICATION-8347095074ff2eda27d93b:2] Hangup("SIP/23-00000cc4", "") in new stack

Oder ist das aus dem Dialpan?

Kannst du auf der CLI noch "agi debug" anschalten?
 
Oh - mein Fehler sorry... Hab vergessen das Hangup zu löschen. :)

und ich hab die Zeile noch vergessen merk ich grad:

Code:
; Stoerung Pruefung
[DIALPLAN-APPLICATION-8347095074ff2eda27d93b]
exten => _[0-9a-zA-Z*#]!,1,AGI(DIALPLAN-APPLICATION-8347095074ff2eda27d93b.php)
[COLOR="#FF0000"]exten => _[0-9a-zA-Z*#]!,2,Goto(${GOTO_CONTEXT},${GOTO_EXTEN},${GOTO_PRIO})[/COLOR]
exten => _[0-9a-zA-Z*#]!,3,Hangup()
exten => s,1,AGI(DIALPLAN-APPLICATION-8347095074ff2eda27d93b.php)
exten => s,2,Goto(${GOTO_CONTEXT},${GOTO_EXTEN},${GOTO_PRIO})
exten => s,3,Hangup()
exten => h,1,Hangup()

Okay, scheint zu funktionieren. So jetzt hab ich das Problem dass ich das irgendwie dazuschreiben muss in die vorhandene Konfiguration. Ich kann nur an die extensions.conf etwas "ranhängen" und nicht editieren. Was müsste ich beachten? Oder wird der Context überschrieben wenn ich diesen doppelt in die extentions.conf eintrage?

Mir gehts aber generell darum - warum funktioniert es mit dem PHPAGI selbst nicht?


Gruß,
Anton

[Beitrag 2:]

Code:
== Using SIP RTP CoS mark 5
  == Extension Changed 23[internal] new state InUse for Notify User 24
  == Extension Changed 23[internal] new state InUse for Notify User 26
  == Extension Changed 23[internal] new state InUse for Notify User 27
  == Extension Changed 23[internal] new state InUse for Notify User 28
  == Extension Changed 23[internal] new state InUse for Notify User 21
  == Extension Changed 23[internal] new state InUse for Notify User 31
  == Extension Changed 23[internal] new state InUse for Notify User 22
  == Extension Changed 23[internal] new state InUse for Notify User 50
  == Extension Changed 23[internal] new state InUse for Notify User 25
  == Extension Changed 23[internal] new state InUse for Notify User 30
  == Extension Changed 23[internal] new state InUse for Notify User 29
    -- Executing [07@SIP-PHONE-1384179416504dff20be433:1] NoOp("SIP/23-00000cf2", "internal calling callflow: Stoerung PHP") in new stack
    -- Executing [07@SIP-PHONE-1384179416504dff20be433:2] Set("SIP/23-00000cf2", "CDR(InternalCalleridNum)=07") in new stack
    -- Executing [07@SIP-PHONE-1384179416504dff20be433:3] Goto("SIP/23-00000cf2", "CALLFLOW-6650869205051aa3280029,CALLFLOW-START,1") in new stack
    -- Goto (CALLFLOW-6650869205051aa3280029,CALLFLOW-START,1)
    -- Executing [CALLFLOW-START@CALLFLOW-6650869205051aa3280029:1] Answer("SIP/23-00000cf2", "0") in new stack
    -- Executing [CALLFLOW-START@CALLFLOW-6650869205051aa3280029:2] Set("SIP/23-00000cf2", "CHANNEL(language)=de-de") in new stack
    -- Executing [CALLFLOW-START@CALLFLOW-6650869205051aa3280029:3] Playback("SIP/23-00000cf2", "/storage/usbdisk1/askoziapbx/media/sounds/cfe/23-20130201-104302-0") in new stack
    -- <SIP/23-00000cf2> Playing '/storage/usbdisk1/askoziapbx/media/sounds/cfe/23-20130201-104302-0.ulaw' (language 'de-de')
    -- Executing [CALLFLOW-START@CALLFLOW-6650869205051aa3280029:4] Read("SIP/23-00000cf2", "kunde,,8,,3,60") in new stack
    -- Accepting a maximum of 8 digits.
    -- User entered '10004072'
    -- Executing [CALLFLOW-START@CALLFLOW-6650869205051aa3280029:5] Goto("SIP/23-00000cf2", "CFE-PHONE-UNIQUE-internalandexternal,06,1") in new stack
    -- Goto (CFE-PHONE-UNIQUE-internalandexternal,06,1)
    -- Executing [06@CFE-PHONE-UNIQUE-internalandexternal:1] NoOp("SIP/23-00000cf2", "internal calling application: Stoerung Pruefung") in new stack
    -- Executing [06@CFE-PHONE-UNIQUE-internalandexternal:2] Set("SIP/23-00000cf2", "CDR(InternalCalleridNum)=06") in new stack
    -- Executing [06@CFE-PHONE-UNIQUE-internalandexternal:3] Goto("SIP/23-00000cf2", "DIALPLAN-APPLICATION-8347095074ff2eda27d93b,06,1") in new stack
    -- Goto (DIALPLAN-APPLICATION-8347095074ff2eda27d93b,06,1)
    -- Executing [06@DIALPLAN-APPLICATION-8347095074ff2eda27d93b:1] AGI("SIP/23-00000cf2", "DIALPLAN-APPLICATION-8347095074ff2eda27d93b.php") in new stack
    -- Launched AGI Script /etc/asterisk/agi-bin/DIALPLAN-APPLICATION-8347095074ff2eda27d93b.php
<SIP/23-00000cf2>AGI Tx >> agi_request: DIALPLAN-APPLICATION-8347095074ff2eda27d93b.php
<SIP/23-00000cf2>AGI Tx >> agi_channel: SIP/23-00000cf2
<SIP/23-00000cf2>AGI Tx >> agi_language: de-de
<SIP/23-00000cf2>AGI Tx >> agi_type: SIP
<SIP/23-00000cf2>AGI Tx >> agi_uniqueid: 1360075210.3495
<SIP/23-00000cf2>AGI Tx >> agi_version: 10.9.0
<SIP/23-00000cf2>AGI Tx >> agi_callerid: 23
<SIP/23-00000cf2>AGI Tx >> agi_calleridname: Xxxxx Xxxxx
<SIP/23-00000cf2>AGI Tx >> agi_callingpres: 0
<SIP/23-00000cf2>AGI Tx >> agi_callingani2: 0
<SIP/23-00000cf2>AGI Tx >> agi_callington: 0
<SIP/23-00000cf2>AGI Tx >> agi_callingtns: 0
<SIP/23-00000cf2>AGI Tx >> agi_dnid: 07
<SIP/23-00000cf2>AGI Tx >> agi_rdnis: unknown
<SIP/23-00000cf2>AGI Tx >> agi_context: DIALPLAN-APPLICATION-8347095074ff2eda27d93b
<SIP/23-00000cf2>AGI Tx >> agi_extension: 06
<SIP/23-00000cf2>AGI Tx >> agi_priority: 1
<SIP/23-00000cf2>AGI Tx >> agi_enhanced: 0.0
<SIP/23-00000cf2>AGI Tx >> agi_accountcode:
<SIP/23-00000cf2>AGI Tx >> agi_threadid: 33957926
<SIP/23-00000cf2>AGI Tx >>
<SIP/23-00000cf2>AGI Rx << ANSWER
<SIP/23-00000cf2>AGI Tx >> 200 result=0
<SIP/23-00000cf2>AGI Rx << GET VARIABLE kunde
<SIP/23-00000cf2>AGI Tx >> 200 result=1 (10004072)
<SIP/23-00000cf2>AGI Rx << EXEC Goto CALLFLOW-382079049510b89eaecd10-QUEUE-18,CALLFLOW-START,1
    -- AGI Script Executing Application: (Goto) Options: (CALLFLOW-382079049510b89eaecd10-QUEUE-18,CALLFLOW-START,1)
    -- Goto (CALLFLOW-382079049510b89eaecd10-QUEUE-18,CALLFLOW-START,1)
<SIP/23-00000cf2>AGI Tx >> 200 result=0
<SIP/23-00000cf2>AGI Rx <<
[COLOR="#FF0000"]<SIP/23-00000cf2>AGI Tx >> 510 Invalid or unknown command[/COLOR]
    -- <SIP/23-00000cf2>AGI Script DIALPLAN-APPLICATION-8347095074ff2eda27d93b.php completed, returning 0


Das kommt raus... Jetzt bin ich etwas verwirrt... Warum ist Goto nicht korrekt?

Ich habe folgende Zeile in dem PHP-Script verwendet:

Code:
$agi->exec("Goto", "CALLFLOW-382079049510b89eaecd10-QUEUE-18,CALLFLOW-START,1");

Gruß,
Anton
 
Zuletzt bearbeitet von einem Moderator:
Ist hinter dem schliessenden
Code:
?>
noch ein Leerzeichen oder eine Leerzeile? Wenn dieses über AGI gesendet wird,
ist es wie ein leerer Befehl.

In PHP am Besten das schliessende PHP Tag weg lassen, wenn es sich um eine Datei mit reinem PHP Code handelt,
das wird nur benötigt wenn man PHP in HTML eingebettet hat.

Kannst du aus dem AGI Skript das Answer und Hangup auch rausnehmen?
 
Zuletzt bearbeitet:
Ups, da hat das "-QUEUE-18" gestört :)
Jetzt funktionierts ohne "?>" und ohne "answere" und "hangup"!

Oh man ich habe 3-4 Tage jetzt versucht das Problem zu beheben :)

Vielen vielen herzlichen Dank!

Gruß,
Anton
 
Zuletzt bearbeitet:

Zurzeit aktive Besucher

Statistik des Forums

Themen
244,909
Beiträge
2,220,699
Mitglieder
371,660
Neuestes Mitglied
LukasB
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.