Hallo allesOK,
habe mir deinen LCR unter
http://www.telefon-sparbuch.de/softw...l_v1.12.tar.gz
runtergeladen und installiert. Die vorhergehende stable Version läuft o.B. auf meinem * V.1.21. Die neue produziert beim Wählen folgende Meldungen:
Asterisk Ready.
*CLI> == Primary D-Channel on span 1 up for TEI 64
-- Starting simple switch on 'Zap/2-1'
-- Accepting overlap voice call from '11' to '<unspecified>' on channel 0/2, span 1
-- Channel 0/2, span 1 got hangup request
-- Hungup 'Zap/2-1'
-- Accepting overlap voice call from '11' to '*098123456' on channel 0/2, span 1
-- Starting simple switch on 'Zap/2-1'
-- Executing Set("Zap/2-1", "CALLERID(number)=11") in new stack
-- Executing Macro("Zap/2-1", "tsblcr|098123456|/etc/asterisk/lcr/tsblcr.routing|33333|Meier|CAPI|/etc/asterisk/sip.conf") in new stack
-- Executing SetVar("Zap/2-1", "RESTART=0") in new stack
Jan 9 17:52:27 WARNING[4115]: pbx.c:5964 pbx_builtin_setvar_old: SetVar is deprecated, please use Set instead.
-- Executing SetVar("Zap/2-1", "ROPT=") in new stack
-- Executing GotoIf("Zap/2-1", "1?9") in new stack
-- Goto (macro-tsblcr,s,9)
-- Executing SetLanguage("Zap/2-1", "de") in new stack
Jan 9 17:52:27 WARNING[4115]: pbx.c:5436 pbx_builtin_setlanguage: SetLanguage is deprecated, please use Set(LANGUAGE()=language) instead.
-- Executing Goto("Zap/2-1", "dial|1") in new stack
-- Goto (macro-tsblcr,dial,1)
-- Executing AGI("Zap/2-1", "tsblcr.agi|/etc/asterisk/lcr/tsblcr.routing|09827511") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/tsblcr.agi
Failed to execute '/var/lib/asterisk/agi-bin/tsblcr.agi': No such file or directory
-- AGI Script tsblcr.agi completed, returning 0
-- Executing GotoIf("Zap/2-1", "0?disabled|1") in new stack
-- Executing SetVar("Zap/2-1", "IT=0") in new stack
-- Executing SetVar("Zap/2-1", "IT=1") in new stack
-- Executing Cut("Zap/2-1", "CBC=TSBLCRROUTING| |1") in new stack
Jan 9 17:52:27 WARNING[4115]: app_cut.c:319 cut_exec: The application Cut is deprecated. Please use the CUT() function instead.
-- Executing GotoIf("Zap/2-1", "1?end|1") in new stack
-- Goto (macro-tsblcr,end,1)
-- Executing GotoIf("Zap/2-1", "0?10") in new stack
-- Executing Congestion("Zap/2-1", "") in new stack
-- Channel 0/2, span 1 got hangup request
Neben einigen angemahnten Syntaxfehlern wegen der neuen * Version verstehe ich die Zeile:
Failed to execute '/var/lib/asterisk/agi-bin/tsblcr.agi': No such file or directory
nicht, weil das file definitiv da ist und auch die nötigen Rechte hat.
Muß nun auf die Version 1.04 deines LCR zurückgehen. Hast du vor, die Sache an die neue asterisk-Version anzupassen?
Grüße
revki