Hallo Jan,
Konte noch schnell einen Test machen. In der Zwischenzeit habe ich die MD7 auch neu gebootet, war ja offline, wenn ich nicht teste. Und dann habe ich noch Anwenden -> Telefonie gemacht, einfach, dass dies auch ausgeschlossen ist. Dann einen neuen Versuch. Die Frage nach der Sprache kam nicht. Und die 4-stellige Zahl für die Ansage ging auch nicht, wie vorher, bei der 2. Zahl hiess es nicht gefunden.
Hier mal das LOG, falls Dir das hilft:
Connected to Asterisk 1.8.11.1-1digium1~squeeze currently running on TestServer (pid = 1806)
Verbosity is at least 3
== Manager ‘phpasm’ logged on from 127.0.0.1
== Manager ‘phpasm’ logged off from 127.0.0.1
== Using SIP RTP CoS mark 5
– Executing *50@mdc_location-2:1] Verbose(“SIP/OygQq21kl3188ae-00000002”, “1,Benutzer 1”) in new stack
Benutzer 1
– Executing *50@mdc_location-2:2] Set(“SIP/OygQq21kl3188ae-00000002”, “MDC_CALLER_LOCATION_ID=2”) in new stack
– Executing *50@mdc_location-2:3] Gosub(“SIP/OygQq21kl3188ae-00000002”, “sub_location,s,1(2,*50)”) in new stack
– Executing [s@sub_location:1] Verbose(“SIP/OygQq21kl3188ae-00000002”, “1,used location id: 2 - dialed extension: *50”) in new stack
used location id: 2 - dialed extension: *50
– Executing [s@sub_location:2] Set(“SIP/OygQq21kl3188ae-00000002”, “MDC_CALLEE_NUM=*50”) in new stack
– Executing [s@sub_location:3] Return(“SIP/OygQq21kl3188ae-00000002”, “”) in new stack
– Executing *50@mdc_location-2:4] Gosub(“SIP/OygQq21kl3188ae-00000002”, “sub_split-location,s,1(2)”) in new stack
– Executing [s@sub_split-location:1] Verbose(“SIP/OygQq21kl3188ae-00000002”, “1,get user for location: 2”) in new stack
get user for location: 2
– Executing [s@sub_split-location:2] GotoIf(“SIP/OygQq21kl3188ae-00000002”, “0?s-zero,1”) in new stack
– Executing [s@sub_split-location:3] Set(“SIP/OygQq21kl3188ae-00000002”, “TMP_USER_ID=3”) in new stack
– Executing [s@sub_split-location:4] Verbose(“SIP/OygQq21kl3188ae-00000002”, “1,user id: 3”) in new stack
user id: 3
– Executing [s@sub_split-location:5] Return(“SIP/OygQq21kl3188ae-00000002”, “”) in new stack
– Executing *50@mdc_location-2:5] Goto(“SIP/OygQq21kl3188ae-00000002”, “mdc_user-3,*50,1”) in new stack
– Goto (mdc_user-3,*50,1)
– Executing *50@mdc_user-3:1] Verbose(“SIP/OygQq21kl3188ae-00000002”, “1,U1”) in new stack
rm
– Executing *50@mdc_user-3:2] Gosub(“SIP/OygQq21kl3188ae-00000002”, “sub_user,s,1(caller,3,61,U1,Benutzer 1,61,61,61)”) in new stack
– Executing [s@sub_user:1] Verbose(“SIP/OygQq21kl3188ae-00000002”, “1,sub_user mode caller”) in new stack
sub_user mode caller
– Executing [s@sub_user:2] Goto(“SIP/OygQq21kl3188ae-00000002”, “s-caller,1”) in new stack
– Goto (sub_user,s-caller,1)
– Executing [s-caller@sub_user:1] Verbose(“SIP/OygQq21kl3188ae-00000002”, “1,sub_user user id: 3 - user exten: 61 - user: U1 - realname: Benutzer 1 - own mailbox: 61 - watched mailbox: 61 - callerid(num): 61”) in new stack
sub_user user id: 3 - user exten: 61 - user: U1 - realname: Benutzer 1 - own mailbox: 61 - watched mailbox: 61 - callerid(num): 61
– Executing [s-caller@sub_user:2] Set(“SIP/OygQq21kl3188ae-00000002”, “__MDC_CALLER_USER_ID=3”) in new stack
– Executing [s-caller@sub_user:3] Set(“SIP/OygQq21kl3188ae-00000002”, “__MDC_CALLER_NUM=61”) in new stack
– Executing [s-caller@sub_user:4] Set(“SIP/OygQq21kl3188ae-00000002”, “__MDC_CALLER_ACC_NAME=U1”) in new stack
– Executing [s-caller@sub_user:5] Set(“SIP/OygQq21kl3188ae-00000002”, “__MDC_CALLER_ACC_REALNAME=Benutzer 1”) in new stack
– Executing [s-caller@sub_user:6] Set(“SIP/OygQq21kl3188ae-00000002”, “__MDC_CALLER_VM_OWN=61”) in new stack
– Executing [s-caller@sub_user:7] Set(“SIP/OygQq21kl3188ae-00000002”, “__MDC_CALLER_VM_WATCHED=61”) in new stack
– Executing [s-caller@sub_user:8] Set(“SIP/OygQq21kl3188ae-00000002”, “CALLERID(name)=Benutzer 1”) in new stack
– Executing [s-caller@sub_user:9] Set(“SIP/OygQq21kl3188ae-00000002”, “CALLERID(num)=61”) in new stack
– Executing [s-caller@sub_user:10] Return(“SIP/OygQq21kl3188ae-00000002”, “”) in new stack
– Executing *50@mdc_user-3:3] Goto(“SIP/OygQq21kl3188ae-00000002”, “internal,*50,1”) in new stack
– Goto (internal,*50,1)
– Executing *50@internal:1] SIPAddHeader(“SIP/OygQq21kl3188ae-00000002”, "“Alert-Info:<http://www.notused.de>;info=alert-internal;x-line-id=0"”) in new stack
– Executing *50@internal:2] GosubIf(“SIP/OygQq21kl3188ae-00000002”, “1?sub_initcall,s,1(int,*50)”) in new stack
– Executing [s@sub_initcall:1] Verbose(“SIP/OygQq21kl3188ae-00000002”, “1,sub_initcall descent: int exten: *50”) in new stack
sub_initcall descent: int exten: *50
– Executing [s@sub_initcall:2] GosubIf(“SIP/OygQq21kl3188ae-00000002”, “1?sub_initloop,s,1”) in new stack
– Executing [s@sub_initloop:1] Verbose(“SIP/OygQq21kl3188ae-00000002”, “1,initial loop”) in new stack
initial loop
– Executing [s@sub_initloop:2] Set(“SIP/OygQq21kl3188ae-00000002”, “MDC_ALIAS_HOP=0”) in new stack
– Executing [s@sub_initloop:3] Return(“SIP/OygQq21kl3188ae-00000002”, “”) in new stack
– Executing [s@sub_initcall:3] Set(“SIP/OygQq21kl3188ae-00000002”, “__MDC_DIALDESCENT=int”) in new stack
– Executing [s@sub_initcall:4] Goto(“SIP/OygQq21kl3188ae-00000002”, “int,1”) in new stack
– Goto (sub_initcall,int,1)
– Executing [int@sub_initcall:1] Set(“SIP/OygQq21kl3188ae-00000002”, “__MDC_DIALCALLERNUMINIT=61”) in new stack
– Executing [int@sub_initcall:2] Set(“SIP/OygQq21kl3188ae-00000002”, “__MDC_DIALCALLEENUMINIT=*50”) in new stack
– Executing [int@sub_initcall:3] Return(“SIP/OygQq21kl3188ae-00000002”, “”) in new stack
– Executing *50@internal:3] Goto(“SIP/OygQq21kl3188ae-00000002”, “main,*50,1”) in new stack
– Goto (main,*50,1)
– Executing *50@main:1] Gosub(“SIP/OygQq21kl3188ae-00000002”, “sub_defcall,s,1(*50)”) in new stack
[Mar 12 17:37:26] NOTICE[2914]: func_math.c:424 crement_function_read: The value is now: 1
– Executing [s@sub_defcall:1] Set(“SIP/OygQq21kl3188ae-00000002”, “MDC_ALIAS_HOP=1”) in new stack
– Executing [s@sub_defcall:2] Set(“SIP/OygQq21kl3188ae-00000002”, “__MDC_DIALCALLEENUM=*50”) in new stack
– Executing [s@sub_defcall:3] Set(“SIP/OygQq21kl3188ae-00000002”, “__MDC_DIALCALLERNUM=61”) in new stack
– Executing [s@sub_defcall:4] Set(“SIP/OygQq21kl3188ae-00000002”, “__MDC_DIALCHANNELNAME=OygQq21kl3188ae”) in new stack
– Executing [s@sub_defcall:5] GotoIf(“SIP/OygQq21kl3188ae-00000002”, “1?nozap”) in new stack
– Goto (sub_defcall,s,8)
– Executing [s@sub_defcall:8] Set(“SIP/OygQq21kl3188ae-00000002”, “__MDC_DIALCALLERNAME=Benutzer 1”) in new stack
– Executing [s@sub_defcall:9] Return(“SIP/OygQq21kl3188ae-00000002”, “”) in new stack
– Executing *50@main:2] Goto(“SIP/OygQq21kl3188ae-00000002”, “mdc_distribute,*50,1”) in new stack
– Goto (mdc_distribute,*50,1)
– Executing *50@mdc_distribute:1] Gosub(“SIP/OygQq21kl3188ae-00000002”, “sub_rcs,s,1”) in new stack
– Executing [s@sub_rcs:1] Verbose(“SIP/OygQq21kl3188ae-00000002”, “1,sub_rcs”) in new stack
sub_rcs
– Executing [s@sub_rcs:2] Answer(“SIP/OygQq21kl3188ae-00000002”, “”) in new stack
– Executing [s@sub_rcs:3] Set(“SIP/OygQq21kl3188ae-00000002”, “TIMEOUT(digit)=2”) in new stack
– Digit timeout set to 2.000
– Executing [s@sub_rcs:4] Set(“SIP/OygQq21kl3188ae-00000002”, “TIMEOUT(response)=20”) in new stack
– Response timeout set to 20.000
– Executing [s@sub_rcs:5] Read(“SIP/OygQq21kl3188ae-00000002”, “rcs_record,mdc-rcs-intro,1”) in new stack
– Accepting a maximum of 1 digits.
– <SIP/OygQq21kl3188ae-00000002> Playing ‘mdc-rcs-intro.alaw’ (language ‘de’)
== Manager ‘phpasm’ logged on from 127.0.0.1
== Manager ‘phpasm’ logged off from 127.0.0.1
– User entered ‘2’
– Executing [s@sub_rcs:6] Read(“SIP/OygQq21kl3188ae-00000002”, “rcs_kennung,mdc-rcs-kennung,2”) in new stack
– Accepting a maximum of 2 digits.
– <SIP/OygQq21kl3188ae-00000002> Playing ‘mdc-rcs-kennung.alaw’ (language ‘de’)
– User entered ‘2’
— hier scheint es dann falsch zu laufen. Ich habe mal etwas anderes als 1 (also 2 eingegeben, das gleiche passiert quch bei 4)
-- Executing [s@sub_rcs:7] Read("SIP/OygQq21kl3188ae-00000002", "rcs_code,mdc-rcs-code,4") in new stack
-- Accepting a maximum of 4 digits.
-- <SIP/OygQq21kl3188ae-00000002> Playing 'mdc-rcs-code.alaw' (language 'de')
== Manager ‘phpasm’ logged on from 127.0.0.1
== Manager ‘phpasm’ logged off from 127.0.0.1
– User entered ‘0033’
– Executing [s@sub_rcs:8] GotoIf(“SIP/OygQq21kl3188ae-00000002”, “0?s-invalid,1”) in new stack
– Executing [s@sub_rcs:9] Verbose(“SIP/OygQq21kl3188ae-00000002”, “1,sub_rcs:: language: 2 code: 0033”) in new stack
sub_rcs:: language: 2 code: 0033
[Mar 12 17:37:43] NOTICE[2914]: res_odbc.c:1527 odbc_obj_connect: Connecting md
[Mar 12 17:37:43] NOTICE[2914]: res_odbc.c:1559 odbc_obj_connect: res_odbc: Connected to md [md]
– Executing [s@sub_rcs:10] Set(“SIP/OygQq21kl3188ae-00000002”, “HASH(RCS_PROMPT)=”) in new stack
– Executing [s@sub_rcs:11] Verbose(“SIP/OygQq21kl3188ae-00000002”, "1,language: ") in new stack
language:
– Executing [s@sub_rcs:12] GotoIf(“SIP/OygQq21kl3188ae-00000002”, “1?noentry”) in new stack
– Goto (sub_rcs,s,29)
– Executing [s@sub_rcs:29] Verbose(“SIP/OygQq21kl3188ae-00000002”, “1,no entry was found”) in new stack
no entry was found
– Executing [s@sub_rcs:30] Playback(“SIP/OygQq21kl3188ae-00000002”, “mdc-rcs-notfound”) in new stack
– <SIP/OygQq21kl3188ae-00000002> Playing ‘mdc-rcs-notfound.alaw’ (language ‘de’)
– Executing [s@sub_rcs:31] Return(“SIP/OygQq21kl3188ae-00000002”, “”) in new stack
– Executing *50@mdc_distribute:2] Hangup(“SIP/OygQq21kl3188ae-00000002”, “0”) in new stack
== Spawn extension (mdc_distribute, *50, 2) exited non-zero on ‘SIP/OygQq21kl3188ae-00000002’
Gruss
Reto