Rufumleitung, "I am sorry, this is not a valid extension"

Hallo zusammen,

wir haben ein mächtiges Problem bei unserer MobyDick wenn jemand auf seinem Telefon eine Rufumleitung einrichtet. Sobald ein Anruf von extern reinkommt, wird immer die Ansage “I am sorry, this is not a valid extension” abgespielt. Wird die interne Rufnummer gewählt, so funktioniert die Weiterleitung problemlos.
Die MobyDick ist Version 7.05. An der MobyDick hängt ein Berofix ISDN Gateway mit ISDN Anlagenanschluss mit 2 NTBAs, unser Anbieter ist Vodafone. CLIP-no-screening ist aktiviert und funktional.

Vielleicht hat irgendjemand eine Idee, was wir hier tun können.

Anbei der Trace eines umgeleiteten Anrufes
== Using SIP RTP CoS mark 5
– Executing [12#9361227@mdc_berofix-d8df0d00142d:1] Goto(“SIP/d8df0d00142d-000000e1”, “mdc_incoming-gw4,9361227,1”) in new stack
– Goto (mdc_incoming-gw4,9361227,1)
– Executing [9361227@mdc_incoming-gw4:1] Set(“SIP/d8df0d00142d-000000e1”, “MDC_CALLER_NUM_TRUNK=06815872682”) in new stack
– Executing [9361227@mdc_incoming-gw4:2] Set(“SIP/d8df0d00142d-000000e1”, “MDC_CALLEE_NUM_TRUNK=9361227”) in new stack
– Executing [9361227@mdc_incoming-gw4:3] Goto(“SIP/d8df0d00142d-000000e1”, “mdc_trunk-4,s,1”) in new stack
– Goto (mdc_trunk-4,s,1)
– Executing [s@mdc_trunk-4:1] Verbose(“SIP/d8df0d00142d-000000e1”, “1,callee number: 9361227 caller number: 06815872682”) in new stack
callee number: 9361227 caller number: 06815872682
– Executing [s@mdc_trunk-4:2] GosubIf(“SIP/d8df0d00142d-000000e1”, “0?sub_internat,s,1(CALLERID(num),06815872682,00)”) in new stack
– Executing [s@mdc_trunk-4:3] Gosub(“SIP/d8df0d00142d-000000e1”, “sub_nat2int,s,1(MDC_CALLER_NUM_INTERNAT,06815872682,00,49,0,6881)”) in new stack
– Executing [s@sub_nat2int:1] Verbose(“SIP/d8df0d00142d-000000e1”, “1,sub_nat2int:: variable: MDC_CALLER_NUM_INTERNAT - CALLERID(num): 06815872682 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 6881”) in new stack
sub_nat2int:: variable: MDC_CALLER_NUM_INTERNAT - CALLERID(num): 06815872682 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 6881
– Executing [s@sub_nat2int:2] GotoIf(“SIP/d8df0d00142d-000000e1”, “0?s-int,1”) in new stack
– Executing [s@sub_nat2int:3] GotoIf(“SIP/d8df0d00142d-000000e1”, “0?s-int,1”) in new stack
– Executing [s@sub_nat2int:4] GotoIf(“SIP/d8df0d00142d-000000e1”, “0?s-intshort,1”) in new stack
– Executing [s@sub_nat2int:5] GotoIf(“SIP/d8df0d00142d-000000e1”, “0?s-natshort,1”) in new stack
– Executing [s@sub_nat2int:6] GotoIf(“SIP/d8df0d00142d-000000e1”, “1?s-nat,1”) in new stack
– Goto (sub_nat2int,s-nat,1)
– Executing [s-nat@sub_nat2int:1] Verbose(“SIP/d8df0d00142d-000000e1”, “1,national”) in new stack
national
– Executing [s-nat@sub_nat2int:2] Set(“SIP/d8df0d00142d-000000e1”, “MDC_CALLER_NUM_INTERNAT=00496815872682”) in new stack
– Executing [s-nat@sub_nat2int:3] Return(“SIP/d8df0d00142d-000000e1”, “”) in new stack
– Executing [s@mdc_trunk-4:4] Set(“SIP/d8df0d00142d-000000e1”, “CALLERID(num)=00496815872682”) in new stack
– Executing [s@mdc_trunk-4:5] Gosub(“SIP/d8df0d00142d-000000e1”, “sub_int2nat,s,1(MDC_CALLER_NUM_NAT,00496815872682,00,49,0,6881)”) in new stack
– Executing [s@sub_int2nat:1] Verbose(“SIP/d8df0d00142d-000000e1”, “1,sub_int2nat:: variable: MDC_CALLER_NUM_NAT - exten: 00496815872682 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 6881”) in new stack
sub_int2nat:: variable: MDC_CALLER_NUM_NAT - exten: 00496815872682 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 6881
– Executing [s@sub_int2nat:2] GotoIf(“SIP/d8df0d00142d-000000e1”, “0?nat”) in new stack
– Executing [s@sub_int2nat:3] GotoIf(“SIP/d8df0d00142d-000000e1”, “1?s-internat,1”) in new stack
– Goto (sub_int2nat,s-internat,1)
– Executing [s-internat@sub_int2nat:1] Set(“SIP/d8df0d00142d-000000e1”, “MDC_CALLER_NUM_NAT=06815872682”) in new stack
– Executing [s-internat@sub_int2nat:2] Return(“SIP/d8df0d00142d-000000e1”, “”) in new stack
– Executing [s@mdc_trunk-4:6] Set(“SIP/d8df0d00142d-000000e1”, “CALLERID(num)=06815872682”) in new stack
– Executing [s@mdc_trunk-4:7] Set(“SIP/d8df0d00142d-000000e1”, “MDC_NUMPREFIX_TRUNK=0”) in new stack
– Executing [s@mdc_trunk-4:8] Set(“SIP/d8df0d00142d-000000e1”, “CALLERID(num)=006815872682”) in new stack
– Executing [s@mdc_trunk-4:9] Goto(“SIP/d8df0d00142d-000000e1”, “mdc_mapping-4,9361227,1”) in new stack
– Goto (mdc_mapping-4,9361227,1)
– Executing [9361227@mdc_mapping-4:1] Set(“SIP/d8df0d00142d-000000e1”, “CHANNEL(language)=de”) in new stack
– Executing [9361227@mdc_mapping-4:2] Verbose(“SIP/d8df0d00142d-000000e1”, “1,mapping from 9361227 to 666”) in new stack
mapping from 9361227 to 666
– Executing [9361227@mdc_mapping-4:3] Goto(“SIP/d8df0d00142d-000000e1”, “mdc_external,666,1”) in new stack
– Goto (mdc_external,666,1)
– Executing [666@mdc_external:1] SIPAddHeader(“SIP/d8df0d00142d-000000e1”, "“Alert-Info:<http://www.notused.de>;info=alert-external;x-line-id=0"”) in new stack
– Executing [666@mdc_external:2] GosubIf(“SIP/d8df0d00142d-000000e1”, “1?sub_initcall,s,1(ext,666)”) in new stack
– Executing [s@sub_initcall:1] Verbose(“SIP/d8df0d00142d-000000e1”, “1,sub_initcall descent: ext exten: 666”) in new stack
sub_initcall descent: ext exten: 666
– Executing [s@sub_initcall:2] GosubIf(“SIP/d8df0d00142d-000000e1”, “1?sub_initloop,s,1”) in new stack
– Executing [s@sub_initloop:1] Verbose(“SIP/d8df0d00142d-000000e1”, “1,initial loop”) in new stack
initial loop
– Executing [s@sub_initloop:2] Set(“SIP/d8df0d00142d-000000e1”, “MDC_ALIAS_HOP=0”) in new stack
– Executing [s@sub_initloop:3] Return(“SIP/d8df0d00142d-000000e1”, “”) in new stack
– Executing [s@sub_initcall:3] Set(“SIP/d8df0d00142d-000000e1”, “__MDC_DIALDESCENT=ext”) in new stack
– Executing [s@sub_initcall:4] Goto(“SIP/d8df0d00142d-000000e1”, “ext,1”) in new stack
– Goto (sub_initcall,ext,1)
– Executing [ext@sub_initcall:1] Set(“SIP/d8df0d00142d-000000e1”, “__MDC_DIALCALLERNUMINIT=06815872682”) in new stack
– Executing [ext@sub_initcall:2] Set(“SIP/d8df0d00142d-000000e1”, “__MDC_DIALCALLEENUMINIT=9361227”) in new stack
– Executing [ext@sub_initcall:3] Return(“SIP/d8df0d00142d-000000e1”, “”) in new stack
– Executing [666@mdc_external:3] Goto(“SIP/d8df0d00142d-000000e1”, “main,666,1”) in new stack
– Goto (main,666,1)
– Executing [666@main:1] Gosub(“SIP/d8df0d00142d-000000e1”, “sub_defcall,s,1(666)”) in new stack
[Jan 29 08:32:36] NOTICE[19367]: func_math.c:424 crement_function_read: The value is now: 1
– Executing [s@sub_defcall:1] Set(“SIP/d8df0d00142d-000000e1”, “MDC_ALIAS_HOP=1”) in new stack
– Executing [s@sub_defcall:2] Set(“SIP/d8df0d00142d-000000e1”, “__MDC_DIALCALLEENUM=666”) in new stack
– Executing [s@sub_defcall:3] Set(“SIP/d8df0d00142d-000000e1”, “__MDC_DIALCALLERNUM=006815872682”) in new stack
– Executing [s@sub_defcall:4] Set(“SIP/d8df0d00142d-000000e1”, “__MDC_DIALCHANNELNAME=d8df0d00142d”) in new stack
– Executing [s@sub_defcall:5] GotoIf(“SIP/d8df0d00142d-000000e1”, “1?nozap”) in new stack
– Goto (sub_defcall,s,8)
– Executing [s@sub_defcall:8] Set(“SIP/d8df0d00142d-000000e1”, “__MDC_DIALCALLERNAME=06815872682”) in new stack
– Executing [s@sub_defcall:9] Return(“SIP/d8df0d00142d-000000e1”, “”) in new stack
– Executing [666@main:2] Goto(“SIP/d8df0d00142d-000000e1”, “mdc_distribute,666,1”) in new stack
– Goto (mdc_distribute,666,1)
– Executing [666@mdc_distribute:1] Gosub(“SIP/d8df0d00142d-000000e1”, “sub_user,s,1(callee,4,danieljochem,Daniel Jochem,666,666)”) in new stack
– Executing [s@sub_user:1] Verbose(“SIP/d8df0d00142d-000000e1”, “1,sub_user mode callee”) in new stack
sub_user mode callee
– Executing [s@sub_user:2] Goto(“SIP/d8df0d00142d-000000e1”, “s-callee,1”) in new stack
– Goto (sub_user,s-callee,1)
– Executing [s-callee@sub_user:1] Verbose(“SIP/d8df0d00142d-000000e1”, “1,sub_user user id: 4 - user: danieljochem - realname: Daniel Jochem - own mailbox: 666 - watched mailbox: 666”) in new stack
sub_user user id: 4 - user: danieljochem - realname: Daniel Jochem - own mailbox: 666 - watched mailbox: 666
– Executing [s-callee@sub_user:2] Set(“SIP/d8df0d00142d-000000e1”, “_MDC_CALLEE_USER_ID=4”) in new stack
– Executing [s-callee@sub_user:3] Set(“SIP/d8df0d00142d-000000e1”, “_MDC_CALLEE_ACC_NAME=danieljochem”) in new stack
– Executing [s-callee@sub_user:4] Set(“SIP/d8df0d00142d-000000e1”, “_MDC_CALLEE_ACC_REALNAME=Daniel Jochem”) in new stack
– Executing [s-callee@sub_user:5] Set(“SIP/d8df0d00142d-000000e1”, “_MDC_CALLEE_VM_OWN=666”) in new stack
– Executing [s-callee@sub_user:6] Set(“SIP/d8df0d00142d-000000e1”, “_MDC_CALLEE_VM_WATCHED=666”) in new stack
– Executing [s-callee@sub_user:7] Return(“SIP/d8df0d00142d-000000e1”, “”) in new stack
– Executing [666@mdc_distribute:2] Goto(“SIP/d8df0d00142d-000000e1”, “mdc_ident-4,666,1”) in new stack
– Goto (mdc_ident-4,666,1)
– Executing [666@mdc_ident-4:1] NoOp(“SIP/d8df0d00142d-000000e1”, “alias-check:: call forwarding from 666 - 0”) in new stack
– Executing [666@mdc_ident-4:2] GotoIf(“SIP/d8df0d00142d-000000e1”, “0?666-uml,1:666-dial,1”) in new stack
– Goto (mdc_ident-4,666-dial,1)
– Executing [666-dial@mdc_ident-4:1] Set(“SIP/d8df0d00142d-000000e1”, “__MDC_EXTEN=666”) in new stack
– Executing [666-dial@mdc_ident-4:2] Gosub(“SIP/d8df0d00142d-000000e1”, “sub_prefix-666,ext,1”) in new stack
– Executing [ext@sub_prefix-666:1] Verbose(“SIP/d8df0d00142d-000000e1”, “1,no action”) in new stack
no action
– Executing [ext@sub_prefix-666:2] Return(“SIP/d8df0d00142d-000000e1”, “”) in new stack
– Executing [666-dial@mdc_ident-4:3] GotoIf(“SIP/d8df0d00142d-000000e1”, “0?666-unavail,1”) in new stack
– Executing [666-dial@mdc_ident-4:4] GotoIf(“SIP/d8df0d00142d-000000e1”, “0?666-busy,1”) in new stack
– Executing [666-dial@mdc_ident-4:5] Gosub(“SIP/d8df0d00142d-000000e1”, “sub_main-666,ext,1”) in new stack
– Executing [ext@sub_main-666:1] Set(“SIP/d8df0d00142d-000000e1”, “__PICKUPMARK=666”) in new stack
– Executing [ext@sub_main-666:2] Dial(“SIP/d8df0d00142d-000000e1”, “Local/666@mdc_diallocation”) in new stack
– Called Local/666@mdc_diallocation
– Executing [666@mdc_diallocation:1] Verbose(“Local/666@mdc_diallocation-03b3;2”, “1,dial to 666 for user 4”) in new stack
dial to 666 for user 4
– Executing [666@mdc_diallocation:2] Gosub(“Local/666@mdc_diallocation-03b3;2”, “sub_split-user,s,1(4)”) in new stack
– Executing [s@sub_split-user:1] Verbose(“Local/666@mdc_diallocation-03b3;2”, “1,get locations for for: 4”) in new stack
get locations for for: 4
– Executing [s@sub_split-user:2] GotoIf(“Local/666@mdc_diallocation-03b3;2”, “0?s-zero,1”) in new stack
– Executing [s@sub_split-user:3] Set(“Local/666@mdc_diallocation-03b3;2”, “TMP_LOCATIONS=3;0”) in new stack
– Executing [s@sub_split-user:4] Set(“Local/666@mdc_diallocation-03b3;2”, “TMP_STATIC_ID=3”) in new stack
– Executing [s@sub_split-user:5] Verbose(“Local/666@mdc_diallocation-03b3;2”, “1,static id: 3”) in new stack
static id: 3
– Executing [s@sub_split-user:6] Set(“Local/666@mdc_diallocation-03b3;2”, “TMP_DYN_ID=0”) in new stack
– Executing [s@sub_split-user:7] Verbose(“Local/666@mdc_diallocation-03b3;2”, “1,dynamic id: 0”) in new stack
dynamic id: 0
– Executing [s@sub_split-user:8] Return(“Local/666@mdc_diallocation-03b3;2”, “”) in new stack
– Executing [666@mdc_diallocation:3] GotoIf(“Local/666@mdc_diallocation-03b3;2”, “0?invalid,1”) in new stack
– Executing [666@mdc_diallocation:4] GotoIf(“Local/666@mdc_diallocation-03b3;2”, “0?dynamic,1”) in new stack
– Executing [666@mdc_diallocation:5] GotoIf(“Local/666@mdc_diallocation-03b3;2”, “1?static,1”) in new stack
– Goto (mdc_diallocation,static,1)
– Executing [static@mdc_diallocation:1] Dial(“Local/666@mdc_diallocation-03b3;2”, “Local/ext@mdc_locallocation-3”) in new stack
– Called Local/ext@mdc_locallocation-3
– Executing [ext@mdc_locallocation-3:1] Dial(“Local/ext@mdc_locallocation-3-1e14;2”, “Local/ext-1@mdc_localdevice-3”) in new stack
– Called Local/ext-1@mdc_localdevice-3
– Executing [ext-1@mdc_localdevice-3:1] Verbose(“Local/ext-1@mdc_localdevice-3-66f9;2”, “1,Dialing with delay of 0 seconds for 40 seconds”) in new stack
Dialing with delay of 0 seconds for 40 seconds
– Executing [ext-1@mdc_localdevice-3:2] Dial(“Local/ext-1@mdc_localdevice-3-66f9;2”, “SIP/wcx7EmuyP45701a,40”) in new stack
== Using SIP RTP CoS mark 5
– Called SIP/wcx7EmuyP45701a
– Got SIP response 302 “Moved Temporarily” back from 172.31.22.16:5060
– Now forwarding Local/ext-1@mdc_localdevice-3-66f9;2 to ‘Local/001605639697@mdc_transfer’ (thanks to SIP/wcx7EmuyP45701a-000000e2)
[Jan 29 08:32:36] NOTICE[19370]: app_dial.c:883 do_forward: Not accepting call completion offers from call-forward recipient Local/001605639697@mdc_transfer-0ce6;1
– Local/ext-1@mdc_localdevice-3-66f9;1 redirecting info has changed, passing it to Local/ext@mdc_locallocation-3-1e14;2
– Local/ext@mdc_locallocation-3-1e14;1 redirecting info has changed, passing it to Local/666@mdc_diallocation-03b3;2
– Executing [001605639697@mdc_transfer:1] Verbose(“Local/001605639697@mdc_transfer-0ce6;2”, “1,>>>mdc_transfer”) in new stack
>>>mdc_transfer
– Local/ext-1@mdc_localdevice-3-66f9;1 stopped sounds
– Executing [001605639697@mdc_transfer:2] NoOp(“Local/001605639697@mdc_transfer-0ce6;2”, " CALLERID(num): 006815872682 - mdc_caller_num: ") in new stack
– Executing [001605639697@mdc_transfer:3] NoOp(“Local/001605639697@mdc_transfer-0ce6;2”, "SIPREFERRINGCONTEXT: - MDC_CALLER_LOCATION_ID: ") in new stack
– Local/ext@mdc_locallocation-3-1e14;1 stopped sounds
– Local/666@mdc_diallocation-03b3;1 redirecting info has changed, passing it to SIP/d8df0d00142d-000000e1
– Local/666@mdc_diallocation-03b3;1 stopped sounds
– Executing [001605639697@mdc_transfer:4] GotoIf(“Local/001605639697@mdc_transfer-0ce6;2”, “1?btrfcheck”) in new stack
– Goto (mdc_transfer,001605639697,7)
– Executing [001605639697@mdc_transfer:7] Verbose(“Local/001605639697@mdc_transfer-0ce6;2”, “1,BLIND TRANSFER FROM CALLEE / CALLER”) in new stack
BLIND TRANSFER FROM CALLEE / CALLER
– Executing [001605639697@mdc_transfer:8] GotoIf(“Local/001605639697@mdc_transfer-0ce6;2”, “1 ?btrfcaller”) in new stack
– Goto (mdc_transfer,001605639697,11)
– Executing [001605639697@mdc_transfer:11] GotoIf(“Local/001605639697@mdc_transfer-0ce6;2”, “1?snomtrf”) in new stack
– Goto (mdc_transfer,001605639697,15)
– Executing [001605639697@mdc_transfer:15] Verbose(“Local/001605639697@mdc_transfer-0ce6;2”, “1,TRANSFER VIA 302”) in new stack
TRANSFER VIA 302
– Executing [001605639697@mdc_transfer:16] Goto(“Local/001605639697@mdc_transfer-0ce6;2”, “main,001605639697,1”) in new stack
– Goto (main,001605639697,1)
– Executing [001605639697@main:1] Gosub(“Local/001605639697@mdc_transfer-0ce6;2”, “sub_defcall,s,1(001605639697)”) in new stack
[Jan 29 08:32:36] NOTICE[19371]: func_math.c:398 crement_function_read: Failed to obtain variable MDC_ALIAS_HOP, bailing out
– Executing [s@sub_defcall:1] Set(“Local/001605639697@mdc_transfer-0ce6;2”, “MDC_ALIAS_HOP=”) in new stack
– Executing [s@sub_defcall:2] Set(“Local/001605639697@mdc_transfer-0ce6;2”, “__MDC_DIALCALLEENUM=001605639697”) in new stack
– Executing [s@sub_defcall:3] Set(“Local/001605639697@mdc_transfer-0ce6;2”, “__MDC_DIALCALLERNUM=006815872682”) in new stack
[Jan 29 08:32:36] WARNING[19371]: func_channel.c:393 func_channel_read: Unknown or unavailable item requested: ‘peername’
– Executing [s@sub_defcall:4] Set(“Local/001605639697@mdc_transfer-0ce6;2”, “__MDC_DIALCHANNELNAME=”) in new stack
– Executing [s@sub_defcall:5] GotoIf(“Local/001605639697@mdc_transfer-0ce6;2”, “1?nozap”) in new stack
– Goto (sub_defcall,s,8)
– Executing [s@sub_defcall:8] Set(“Local/001605639697@mdc_transfer-0ce6;2”, “__MDC_DIALCALLERNAME=06815872682”) in new stack
– Executing [s@sub_defcall:9] Return(“Local/001605639697@mdc_transfer-0ce6;2”, “”) in new stack
– Executing [001605639697@main:2] Goto(“Local/001605639697@mdc_transfer-0ce6;2”, “mdc_distribute,001605639697,1”) in new stack
– Goto (mdc_distribute,001605639697,1)
– Executing [001605639697@mdc_distribute:1] Macro(“Local/001605639697@mdc_transfer-0ce6;2”, “exception”) in new stack
– Executing [s@macro-exception:1] Answer(“Local/001605639697@mdc_transfer-0ce6;2”, “”) in new stack
– Local/001605639697@mdc_transfer-0ce6;1 answered Local/ext-1@mdc_localdevice-3-66f9;2
– Local/ext-1@mdc_localdevice-3-66f9;1 answered Local/ext@mdc_locallocation-3-1e14;2
– Local/ext@mdc_locallocation-3-1e14;1 answered Local/666@mdc_diallocation-03b3;2
– Local/666@mdc_diallocation-03b3;1 answered SIP/d8df0d00142d-000000e1
– Executing [s@macro-exception:2] Playback(“Local/001605639697@mdc_transfer-0ce6;2”, “pbx-invalid”) in new stack
– <Local/001605639697@mdc_transfer-0ce6;2> Playing ‘pbx-invalid.alaw’ (language ‘en’)
== Spawn extension (mdc_localdevice-3, ext-1, 2) exited non-zero on ‘Local/ext-1@mdc_localdevice-3-66f9;2’
== Spawn extension (mdc_locallocation-3, ext, 1) exited non-zero on ‘Local/ext@mdc_locallocation-3-1e14;2’
== Spawn extension (mdc_diallocation, static, 1) exited non-zero on ‘Local/666@mdc_diallocation-03b3;2’
== Spawn extension (sub_main-666, ext, 2) exited non-zero on ‘SIP/d8df0d00142d-000000e1’
== Spawn extension (macro-exception, s, 2) exited non-zero on ‘Local/001605639697@mdc_transfer-0ce6;2’ in macro ‘exception’
== Spawn extension (mdc_distribute, 001605639697, 1) exited non-zero on ‘Local/001605639697@mdc_transfer-0ce6;2’

Gruß
Daniel

Okay, hat sich somit erledigt…
Wenn man die Rufregeln ausgehend schon granular definiert, sollte man trotzdem die Standard / Regel drin lassen, sonst wird das nix mit der Weiterleitung… :mad:

Hallo Daniel,

schön, wenn es funktioniert.

Grüße
Markus