unknown keyword 'Archive' beim abarbeiten eines Call-Files.

SebMoe

Neuer User
Mitglied seit
30 Jan 2007
Beiträge
14
Punkte für Reaktionen
0
Punkte
0
HI,

ich habe folgendes Problem. Ich habe mir ein Call-File erstellt:

Code:
Channel: SIP/281
Callerid: SAP
MaxRetries: 2
RetryTime: 30
WaitTime: 10
Archive: yes
Context: call-file
Extension: 10

Dort habe ich das Keyword Archive verwendet. Dies besagt ja, dass das Call-File nach dem abarbeiten ins Verzeichniss /var/spool/asterisk/outgoing_done/ verschoben und ein Status angehangen wird.
Das Archive Keyword bringt aber bei mir nur einen Fehler auf der CLI hervor. Dieser sieht wie folgt aus:

Code:
Unknown keyword 'Archive' at line 8 of /var/spool/asterisk/outgoing/xxx.call

Er verschiebt auch nichts in das outgoing_done Verzeichnis.
Muss ich da noch etwas beachten oder habe ich einen Fehler gemacht.

Mein System:

OS: Suse Linux 9.1
Asterisk Version: 1.2.15
Verwende ihn nur für SIP und H.323 Calls (das OH.323 Modul ist installiert).

Freue mich über jede Meldung.

mfg

sebmoe
 
wo hast Du denn das mit dem "Archive" überhaupt her?

Davon habe ich noch nie was gehört und auch in der aktuellen Doku ist dazu nix zu finden:

Syntax of call files

* Specify where and how to call
o Channel: <channel>: Channel to use for the outbound call
o CallerID: Name <number> Caller ID, please note that it may not work if you do not respect the format: CallerID: Some Name <1234>
o MaxRetries: <number> Number of retries before failing (not including the initial attempt, e.g. 0 = total of 1 attempt to make the call)
o RetryTime: <number> Seconds between retries, don't hammer an unavailable phone
o WaitTime: <number> Seconds to wait for an answer
o Account: Set the account code to use.
* If the call answers, connect it here
o Context: <context-name> Context in extensions.conf
o Extension: <ext> Extension definition in extensions.conf
o Priority: <priority> Priority of extension to start with
o Set: Set a variable for use in the extension logic (example: file1=/tmp/to ); in Asterisk 1.0.x use 'SetVar' instead of 'Set'
o Application: Asterisk Application to run (use instead of specifiying context, extension and priority)
o Data: The options to be passed to application


At least one of app or extension must be specified, along with channel and destination
 
Schau doch einfach in die CDR Daten - dort steht der Status der Verbindung ohnehin drin.
 
Kostenlos!

Zurzeit aktive Besucher

Statistik des Forums

Themen
248,469
Beiträge
2,292,122
Mitglieder
377,909
Neuestes Mitglied
kernig123