@Steve
Ja in Asterisk kommt was an, nur kann ich das leider nicht deuten, was genau der Fehler hier ist.
Anbei mal die eingehende Regel. Diese ist doch schon intern an die 620 weitergegeben:
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [620@mdc_incoming-15:1] Set("SIP/mdc_trunk_conf-15-0000001c", "MDC_CALLER_NUM_TRUNK=Meine Nummer330") in new stack
-- Executing [620@mdc_incoming-15:2] Set("SIP/mdc_trunk_conf-15-0000001c", "MDC_CALLEE_NUM_TRUNK=620") in new stack
-- Executing [620@mdc_incoming-15:3] Goto("SIP/mdc_trunk_conf-15-0000001c", "mdc_trunk-13,s,1") in new stack
-- Goto (mdc_trunk-13,s,1)
-- Executing [s@mdc_trunk-13:1] Verbose("SIP/mdc_trunk_conf-15-0000001c", "1,callee number: 620 caller number: Meine Nummer330") in new stack
callee number: 620 caller number: Meine Nummer330
-- Executing [s@mdc_trunk-13:2] Gosub("SIP/mdc_trunk_conf-15-0000001c", "sub_nat2int,s,1(MDC_CALLER_NUM_INTERNAT,Meine Nummer330,00,49,0,7161,1)") in new stack
-- Executing [s@sub_nat2int:1] Verbose("SIP/mdc_trunk_conf-15-0000001c", "1,sub_nat2int:: variable: MDC_CALLER_NUM_INTERNAT - number: Meine Nummer330 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 7161 - incoming: 1") in new stack
sub_nat2int:: variable: MDC_CALLER_NUM_INTERNAT - number: Meine Nummer330 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 7161 - incoming: 1
-- Executing [s@sub_nat2int:2] GotoIf("SIP/mdc_trunk_conf-15-0000001c", "0?s-emergency,1") in new stack
-- Executing [s@sub_nat2int:3] GotoIf("SIP/mdc_trunk_conf-15-0000001c", "0?s-int,1") in new stack
-- Executing [s@sub_nat2int:4] GotoIf("SIP/mdc_trunk_conf-15-0000001c", "0?s-int,1") in new stack
-- Executing [s@sub_nat2int:5] GotoIf("SIP/mdc_trunk_conf-15-0000001c", "0?s-convert,1") in new stack
-- Executing [s@sub_nat2int:6] GotoIf("SIP/mdc_trunk_conf-15-0000001c", "0?s-int,1") in new stack
-- Executing [s@sub_nat2int:7] GotoIf("SIP/mdc_trunk_conf-15-0000001c", "0?s-intshort,1") in new stack
-- Executing [s@sub_nat2int:8] GotoIf("SIP/mdc_trunk_conf-15-0000001c", "0?s-natshort,1") in new stack
-- Executing [s@sub_nat2int:9] GotoIf("SIP/mdc_trunk_conf-15-0000001c", "1?s-nat,1") in new stack
-- Goto (sub_nat2int,s-nat,1)
-- Executing [s-nat@sub_nat2int:1] Verbose("SIP/mdc_trunk_conf-15-0000001c", "1,national") in new stack
national
-- Executing [s-nat@sub_nat2int:2] Set("SIP/mdc_trunk_conf-15-0000001c", "MDC_CALLER_NUM_INTERNAT=0049xxx330") in new stack
-- Executing [s-nat@sub_nat2int:3] Return("SIP/mdc_trunk_conf-15-0000001c", "") in new stack
-- Executing [s@mdc_trunk-13:3] Set("SIP/mdc_trunk_conf-15-0000001c", "CALLERID(num)=0049xxx330") in new stack
-- Executing [s@mdc_trunk-13:4] Gosub("SIP/mdc_trunk_conf-15-0000001c", "sub_int2nat,s,1(MDC_CALLER_NUM_NAT,0049xxx330,00,49,0,7161,1)") in new stack
-- Executing [s@sub_int2nat:1] Verbose("SIP/mdc_trunk_conf-15-0000001c", "1,sub_int2nat:: variable: MDC_CALLER_NUM_NAT - exten: 0049xxx330 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 7161 - incoming: 1") in new stack
sub_int2nat:: variable: MDC_CALLER_NUM_NAT - exten: 0049xxx330 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 7161 - incoming: 1
-- Executing [s@sub_int2nat:2] GotoIf("SIP/mdc_trunk_conf-15-0000001c", "0?s-emergency,1") in new stack
-- Executing [s@sub_int2nat:3] GotoIf("SIP/mdc_trunk_conf-15-0000001c", "0?nat") in new stack
-- Executing [s@sub_int2nat:4] GotoIf("SIP/mdc_trunk_conf-15-0000001c", "1?s-internat,1") in new stack
-- Goto (sub_int2nat,s-internat,1)
-- Executing [s-internat@sub_int2nat:1] Set("SIP/mdc_trunk_conf-15-0000001c", "MDC_CALLER_NUM_NAT=Meine Nummer330") in new stack
-- Executing [s-internat@sub_int2nat:2] Return("SIP/mdc_trunk_conf-15-0000001c", "") in new stack
-- Executing [s@mdc_trunk-13:5] Set("SIP/mdc_trunk_conf-15-0000001c", "CALLERID(num)=Meine Nummer330") in new stack
-- Executing [s@mdc_trunk-13:6] UserEvent("SIP/mdc_trunk_conf-15-0000001c", "ResolveCallerName,Strategy: system,Outbound: 0,Channel: SIP/mdc_trunk_conf-15-0000001c") in new stack
-- Executing [s@mdc_trunk-13:7] Wait("SIP/mdc_trunk_conf-15-0000001c", "0.25") in new stack
-- Executing [s@mdc_trunk-13:8] Verbose("SIP/mdc_trunk_conf-15-0000001c", "1,MDC_RESOLVENAME_HITS = 0") in new stack
MDC_RESOLVENAME_HITS = 0
-- Executing [s@mdc_trunk-13:9] Verbose("SIP/mdc_trunk_conf-15-0000001c", "1,CALLERID(name) = ") in new stack
CALLERID(name) =
-- Executing [s@mdc_trunk-13:10] Set("SIP/mdc_trunk_conf-15-0000001c", "MDC_NUMPREFIX_TRUNK=0") in new stack
-- Executing [s@mdc_trunk-13:11] ExecIf("SIP/mdc_trunk_conf-15-0000001c", "1?Set(CALLERID(num)=0Meine Nummer330)") in new stack
-- Executing [s@mdc_trunk-13:12] Goto("SIP/mdc_trunk_conf-15-0000001c", "mdc_mapping-13,620,1") in new stack
-- Goto (mdc_mapping-13,620,1)
-- Executing [620@mdc_mapping-13:1] Set("SIP/mdc_trunk_conf-15-0000001c", "CHANNEL(language)=de") in new stack
-- Executing [620@mdc_mapping-13:2] Verbose("SIP/mdc_trunk_conf-15-0000001c", "1,invalid from _[+*%#a-zA-Z0-9]. to 620") in new stack
invalid from _[+*%#a-zA-Z0-9]. to 620
-- Executing [620@mdc_mapping-13:3] Set("SIP/mdc_trunk_conf-15-0000001c", "MDC_FALLBACK_TRUNK=") in new stack
-- Executing [620@mdc_mapping-13:4] Goto("SIP/mdc_trunk_conf-15-0000001c", "exceptions,620,1") in new stack
-- Goto (exceptions,620,1)
-- Channel 'SIP/mdc_trunk_conf-15-0000001c' sent to invalid extension: context,exten,priority=exceptions,620,1
-- Executing [i@exceptions:1] Goto("SIP/mdc_trunk_conf-15-0000001c", "mdc_exception,s,1") in new stack
-- Goto (mdc_exception,s,1)
-- Executing [s@mdc_exception:1] Gosub("SIP/mdc_trunk_conf-15-0000001c", "def_exception,s,1") in new stack
-- Executing [s@def_exception:1] GotoIf("SIP/mdc_trunk_conf-15-0000001c", "0?main,,1") in new stack
-- Executing [s@def_exception:2] Answer("SIP/mdc_trunk_conf-15-0000001c", "") in new stack
-- Executing [s@def_exception:3] Playback("SIP/mdc_trunk_conf-15-0000001c", "pbx-invalid") in new stack
-- <SIP/mdc_trunk_conf-15-0000001c> Playing 'pbx-invalid.alaw' (language 'de')
== Spawn extension (def_exception, s, 3) exited non-zero on 'SIP/mdc_trunk_conf-15-0000001c'