[Problem] Asterisk wählt nicht raus, Restricted Route

Power_Matz

Neuer User
Mitglied seit
5 Jun 2008
Beiträge
18
Punkte für Reaktionen
0
Punkte
1
Hallo,

habe nach Problemen mein System neu aufgesetzt. Backup hatte ich erstellt, lies sich aber nicht einspielen. :mad:

Also alles nochmal von Hand eingegeben. In den Backupfiles habe ich einige Infos gefunden. Aber nicht alle.
Ich kann alle Nummern registrieren. Auch kann ich auf allen Apparaten angerufen werden.
Was nicht geht: Ich kann nicht raustelefonieren. Es ist nach dem Wählen eine Pause von 30 sec (ungefähr). Dann geht der Ruf ab, ich höre aber kein Klingeln (auf meinem Handy).
In den Outbound Routes habe die Extension dem jeweiligen Trunk zugeordnet.
Er endet in einer restricted Route!? Der Dial Plan ist der alte aus dem Backup, sollte also OK sein.
Anbei ein Logfile Auszug.
Code:
[SIZE=2][COLOR=#008000][FONT=Courier][B][FONT=arial]-- [/FONT][/B][/FONT][FONT=arial]Executing [0049xxxx@from-internal:1] [B]Macro[/B]("[B]SIP/99910-00000044[/B]", "[B]user-callerid,LIMIT[/B]") in new stack[B]    -- [/B]Executing [s@macro-user-callerid:1] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]TOUCH_MONITOR=1495668858.132[/B]") in new stack
[B]    -- [/B]Executing [s@macro-user-callerid:2] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]AMPUSER=99910[/B]") in new stack
[B]    -- [/B]Executing [s@macro-user-callerid:3] [B]GotoIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?report[/B]") in new stack
[B]    -- [/B]Executing [s@macro-user-callerid:4] [B]ExecIf[/B]("[B]SIP/99910-00000044[/B]", "[B]1?Set(REALCALLERIDNUM=99910)[/B]") in new stack
[B]    -- [/B]Executing [s@macro-user-callerid:5] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]AMPUSER=99910[/B]") in new stack
[B]    -- [/B]Executing [s@macro-user-callerid:6] [B]GotoIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?limit[/B]") in new stack
[B]    -- [/B]Executing [s@macro-user-callerid:7] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]AMPUSERCIDNAME=Matthias Yealink[/B]") in new stack
[B]    -- [/B]Executing [s@macro-user-callerid:8] [B]GotoIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?report[/B]") in new stack
[B]    -- [/B]Executing [s@macro-user-callerid:9] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]AMPUSERCID=99910[/B]") in new stack
[B]    -- [/B]Executing [s@macro-user-callerid:10] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]__DIAL_OPTIONS=Ttr[/B]") in new stack
[B]    -- [/B]Executing [s@macro-user-callerid:11] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]CALLERID(all)="Matthias Yealink" <99910>[/B]") in new stack
[B]    -- [/B]Executing [s@macro-user-callerid:12] [B]GotoIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?limit[/B]") in new stack
[B]    -- [/B]Executing [s@macro-user-callerid:13] [B]ExecIf[/B]("[B]SIP/99910-00000044[/B]", "[B]1?Set(GROUP(concurrency_limit)=99910)[/B]") in new stack
[B]    -- [/B]Executing [s@macro-user-callerid:14] [B]ExecIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?Set(CHANNEL(language)=)[/B]") in new stack
[B]    -- [/B]Executing [s@macro-user-callerid:15] [B]GotoIf[/B]("[B]SIP/99910-00000044[/B]", "[B]1?continue[/B]") in new stack
[B]    -- [/B]Goto (macro-user-callerid,s,29)
[B]    -- [/B]Executing [s@macro-user-callerid:29] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]CALLERID(number)=99910[/B]") in new stack
[B]    -- [/B]Executing [s@macro-user-callerid:30] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]CALLERID(name)=Matthias Yealink[/B]") in new stack
[B]    -- [/B]Executing [s@macro-user-callerid:31] [B]GotoIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?cnum[/B]") in new stack
[B]    -- [/B]Executing [s@macro-user-callerid:32] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]CDR(cnam)=Matthias Yealink[/B]") in new stack
[B]    -- [/B]Executing [s@macro-user-callerid:33] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]CDR(cnum)=99910[/B]") in new stack
[B]    -- [/B]Executing [s@macro-user-callerid:34] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]CHANNEL(language)=en[/B]") in new stack
[B]    -- [/B]Executing [0049xxxx@from-internal:2] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]ROUTEUSER=99910[/B]") in new stack
[B]    -- [/B]Executing [0049xxxx@from-internal:3] [B]GotoIf[/B]("[B]SIP/99910-00000044[/B]", "[B]1?notblind[/B]") in new stack
[B]    -- [/B]Goto (from-internal,0049xxxxx,6)
[B]    -- [/B]Executing [0049xxxx@from-internal:6] [B]GotoIf[/B]("[B]SIP/99910-00000044[/B]", "[B]1?restrictedroute-c4ca4238a0b923820dcc509a6f75849b,0049xxxx1,2:outbound-allroutes,0049xxxxx,2[/B]") in new stack
[/FONT][/COLOR][FONT=arial][B]  [COLOR=#ff0000]  -- [/COLOR][/B][COLOR=#ff0000]Goto (restrictedroute-c4ca4238a0b923820dcc509a6f75849b,0049xxxxx,2)[/COLOR][/FONT][COLOR=#008000][FONT=arial]
[B]    -- [/B]Executing [0049xxxxx@restrictedroute-c4ca4238a0b923820dcc509a6f75849b:2] [B]Gosub[/B]("[B]SIP/99910-00000044[/B]", "[B]sub-record-check,s,1(out,0049xxxxx,dontcare)[/B]") in new stack
[B]    -- [/B]Executing [s@sub-record-check:1] [B]GotoIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?initialized[/B]") in new stack
[B]    -- [/B]Executing [s@sub-record-check:2] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]__REC_STATUS=INITIALIZED[/B]") in new stack
[B]    -- [/B]Executing [s@sub-record-check:3] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]NOW=1495668858[/B]") in new stack
[B]    -- [/B]Executing [s@sub-record-check:4] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]__DAY=25[/B]") in new stack
[B]    -- [/B]Executing [s@sub-record-check:5] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]__MONTH=05[/B]") in new stack
[B]    -- [/B]Executing [s@sub-record-check:6] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]__YEAR=2017[/B]") in new stack
[B]    -- [/B]Executing [s@sub-record-check:7] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]__TIMESTR=20170525-013418[/B]") in new stack
[B]    -- [/B]Executing [s@sub-record-check:8] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]__FROMEXTEN=99910[/B]") in new stack
[B]    -- [/B]Executing [s@sub-record-check:9] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]__MON_FMT=wav[/B]") in new stack
[B]    -- [/B]Executing [s@sub-record-check:10] [B]NoOp[/B]("[B]SIP/99910-00000044[/B]", "[B]Recordings initialized[/B]") in new stack
[B]    -- [/B]Executing [s@sub-record-check:11] [B]ExecIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?Set(ARG3=dontcare)[/B]") in new stack
[B]    -- [/B]Executing [s@sub-record-check:12] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]REC_POLICY_MODE_SAVE=[/B]") in new stack
[B]    -- [/B]Executing [s@sub-record-check:13] [B]ExecIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?Set(REC_STATUS=NO)[/B]") in new stack
[B]    -- [/B]Executing [s@sub-record-check:14] [B]GotoIf[/B]("[B]SIP/99910-00000044[/B]", "[B]3?checkaction[/B]") in new stack
[B]    -- [/B]Goto (sub-record-check,s,17)
[B]    -- [/B]Executing [s@sub-record-check:17] [B]GotoIf[/B]("[B]SIP/99910-00000044[/B]", "[B]1?sub-record-check,out,1[/B]") in new stack
[B]    -- [/B]Goto (sub-record-check,out,1)
[B]    -- [/B]Executing [out@sub-record-check:1] [B]NoOp[/B]("[B]SIP/99910-00000044[/B]", "[B]Outbound Recording Check from 99910 to 0049xxxxx[/B]") in new stack
[B]    -- [/B]Executing [out@sub-record-check:2] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]RECMODE=dontcare[/B]") in new stack
[B]    -- [/B]Executing [out@sub-record-check:3] [B]ExecIf[/B]("[B]SIP/99910-00000044[/B]", "[B]1?Goto(routewins)[/B]") in new stack
[B]    -- [/B]Goto (sub-record-check,out,7)
[B]    -- [/B]Executing [out@sub-record-check:7] [B]Gosub[/B]("[B]SIP/99910-00000044[/B]", "[B]recordcheck,1(dontcare,out,0049xxxx)[/B]") in new stack
[B]    -- [/B]Executing [recordcheck@sub-record-check:1] [B]NoOp[/B]("[B]SIP/99910-00000044[/B]", "[B]Starting recording check against dontcare[/B]") in new stack
[B]    -- [/B]Executing [recordcheck@sub-record-check:2] [B]Goto[/B]("[B]SIP/99910-00000044[/B]", "[B]dontcare[/B]") in new stack
[B]    -- [/B]Goto (sub-record-check,recordcheck,3)
[B]    -- [/B]Executing [recordcheck@sub-record-check:3] [B]Return[/B]("[B]SIP/99910-00000044[/B]", "") in new stack
[B]    -- [/B]Executing [out@sub-record-check:8] [B]Return[/B]("[B]SIP/99910-00000044[/B]", "") in new stack
[B]    -- [/B]Executing [0049xxxx@restrictedroute-c4ca4238a0b923820dcc509a6f75849b:3] [B]ExecIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0 ?Set(CDR(accountcode)=)[/B]") in new stack
[B]    -- [/B]Executing [0049xxxx@restrictedroute-c4ca4238a0b923820dcc509a6f75849b:4] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]MOHCLASS=default[/B]") in new stack
[B]    -- [/B]Executing [0049xxxx@restrictedroute-c4ca4238a0b923820dcc509a6f75849b:5] [B]ExecIf[/B]("[B]SIP/99910-00000044[/B]", "[B]1?Set(TRUNKCIDOVERRIDE=069xxxx)[/B]") in new stack
[B]    -- [/B]Executing [0049xxxx@restrictedroute-c4ca4238a0b923820dcc509a6f75849b:6] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]_NODEST=[/B]") in new stack
[B]    -- [/B]Executing [0049xxxx@restrictedroute-c4ca4238a0b923820dcc509a6f75849b:7] [B]Macro[/B]("[B]SIP/99910-00000044[/B]", "[B]dialout-trunk,2,0049xxxx,,on[/B]") in new stack
[B]    -- [/B]Executing [s@macro-dialout-trunk:1] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]DIAL_TRUNK=2[/B]") in new stack
[B]    -- [/B]Executing [s@macro-dialout-trunk:2] [B]GosubIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?sub-pincheck,s,1()[/B]") in new stack
[B]    -- [/B]Executing [s@macro-dialout-trunk:3] [B]GotoIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?disabletrunk,1[/B]") in new stack
[B]    -- [/B]Executing [s@macro-dialout-trunk:4] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]DIAL_NUMBER=0049xxxx[/B]") in new stack
[B]    -- [/B]Executing [s@macro-dialout-trunk:5] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]DIAL_TRUNK_OPTIONS=Ttr[/B]") in new stack
[B]    -- [/B]Executing [s@macro-dialout-trunk:6] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]OUTBOUND_GROUP=OUT_2[/B]") in new stack
[B]    -- [/B]Executing [s@macro-dialout-trunk:7] [B]GotoIf[/B]("[B]SIP/99910-00000044[/B]", "[B]1?nomax[/B]") in new stack
[B]    -- [/B]Goto (macro-dialout-trunk,s,9)
[B]    -- [/B]Executing [s@macro-dialout-trunk:9] [B]GotoIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?skipoutcid[/B]") in new stack
[B]    -- [/B]Executing [s@macro-dialout-trunk:10] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]DIAL_TRUNK_OPTIONS=T[/B]") in new stack
[B]    -- [/B]Executing [s@macro-dialout-trunk:11] [B]Macro[/B]("[B]SIP/99910-00000044[/B]", "[B]outbound-callerid,2[/B]") in new stack
[B]    -- [/B]Executing [s@macro-outbound-callerid:1] [B]ExecIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?Set(CALLERPRES(name-pres)=)[/B]") in new stack
[B]    -- [/B]Executing [s@macro-outbound-callerid:2] [B]ExecIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?Set(CALLERPRES(num-pres)=)[/B]") in new stack
[B]    -- [/B]Executing [s@macro-outbound-callerid:3] [B]ExecIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?Set(REALCALLERIDNUM=99910)[/B]") in new stack
[B]    -- [/B]Executing [s@macro-outbound-callerid:4] [B]GotoIf[/B]("[B]SIP/99910-00000044[/B]", "[B]1?normcid[/B]") in new stack
[B]    -- [/B]Goto (macro-outbound-callerid,s,7)
[B]    -- [/B]Executing [s@macro-outbound-callerid:7] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]USEROUTCID=[/B]") in new stack
[B]    -- [/B]Executing [s@macro-outbound-callerid:8] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]EMERGENCYCID=[/B]") in new stack
[B]    -- [/B]Executing [s@macro-outbound-callerid:9] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]TRUNKOUTCID=069xxxx[/B]") in new stack
[B]    -- [/B]Executing [s@macro-outbound-callerid:10] [B]GotoIf[/B]("[B]SIP/99910-00000044[/B]", "[B]1?trunkcid[/B]") in new stack
[B]    -- [/B]Goto (macro-outbound-callerid,s,15)
[B]    -- [/B]Executing [s@macro-outbound-callerid:15] [B]ExecIf[/B]("[B]SIP/99910-00000044[/B]", "[B]1?Set(CALLERID(all)=069xxxx)[/B]") in new stack
[B]    -- [/B]Executing [s@macro-outbound-callerid:16] [B]ExecIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?Set(CALLERID(all)=)[/B]") in new stack
[B]    -- [/B]Executing [s@macro-outbound-callerid:17] [B]ExecIf[/B]("[B]SIP/99910-00000044[/B]", "[B]1?Set(CALLERID(all)=069xxxx)[/B]") in new stack
[B]    -- [/B]Executing [s@macro-outbound-callerid:18] [B]ExecIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?Set(CALLERPRES(name-pres)=prohib_passed_screen)[/B]") in new stack
[B]    -- [/B]Executing [s@macro-outbound-callerid:19] [B]ExecIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?Set(CALLERPRES(num-pres)=prohib_passed_screen)[/B]") in new stack
[B]    -- [/B]Executing [s@macro-outbound-callerid:20] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]CDR(outbound_cnum)=069xxxx[/B]") in new stack
[B]    -- [/B]Executing [s@macro-outbound-callerid:21] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]CDR(outbound_cnam)=[/B]") in new stack
[2017-05-25 01:34:18] [B]WARNING[/B][2290]: [B]func_cdr.c[/B]:[B]383[/B] [B]cdr_write_callback[/B]: CDR requires a value (CDR(variable)=value)
[B]    -- [/B]Executing [s@macro-dialout-trunk:12] [B]GosubIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?sub-flp-2,s,1()[/B]") in new stack
[B]    -- [/B]Executing [s@macro-dialout-trunk:13] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]OUTNUM=0049xxxx[/B]") in new stack
[B]    -- [/B]Executing [s@macro-dialout-trunk:14] [B]Set[/B]("[B]SIP/99910-00000044[/B]", "[B]custom=SIP/trunk_xxx[/B]") in new stack
[B]    -- [/B]Executing [s@macro-dialout-trunk:15] [B]ExecIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)[/B]") in new stack
[B]    -- [/B]Executing [s@macro-dialout-trunk:16] [B]ExecIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))[/B]") in new stack
[B]    -- [/B]Executing [s@macro-dialout-trunk:17] [B]Macro[/B]("[B]SIP/99910-00000044[/B]", "[B]dialout-trunk-predial-hook,[/B]") in new stack
[B]    -- [/B]Executing [s@macro-dialout-trunk-predial-hook:1] [B]MacroExit[/B]("[B]SIP/99910-00000044[/B]", "") in new stack
[B]    -- [/B]Executing [s@macro-dialout-trunk:18] [B]GotoIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?bypass,1[/B]") in new stack
[B]    -- [/B]Executing [s@macro-dialout-trunk:19] [B]ExecIf[/B]("[B]SIP/99910-00000044[/B]", "[B]1?Set(CONNECTEDLINE(num,i)=0049xxxx)[/B]") in new stack
[B]    -- [/B]Executing [s@macro-dialout-trunk:20] [B]ExecIf[/B]("[B]SIP/99910-00000044[/B]", "[B]1?Set(CONNECTEDLINE(name,i)=CID:069xxxx)[/B]") in new stack
[B]    -- [/B]Executing [s@macro-dialout-trunk:21] [B]ExecIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)069xxxx)[/B]") in new stack
[B]    -- [/B]Executing [s@macro-dialout-trunk:22] [B]GotoIf[/B]("[B]SIP/99910-00000044[/B]", "[B]0?customtrunk[/B]") in new stack
[B]    -- [/B]Executing [s@macro-dialout-trunk:23] [B]Dial[/B]("[B]SIP/99910-00000044[/B]", "[B]SIP/trunk_xxx/0049xxxxx@069xxxx,300,T[/B]") in new stack
[B]  == [/B]Using SIP RTP TOS bits 184
[B]  == [/B]Using SIP RTP CoS mark 5
[B]    -- [/B]Called SIP/trunk_xxx/0049xxxx@069xxxx
[B]  == [/B]Spawn extension (macro-dialout-trunk, s, 23) exited non-zero on 'SIP/99910-00000044' in macro 'dialout-trunk'
[B]  == [/B]Spawn extension (restrictedroute-c4ca4238a0b923820dcc509a6f75849b, 0049xxxx, 7) exited non-zero on 'SIP/99910-00000044'
[B]    -- [/B]Executing [h@restrictedroute-c4ca4238a0b923820dcc509a6f75849b:1] [B]Hangup[/B]("[B]SIP/99910-00000044[/B]", "") in new stack
[B]  == [/B]Spawn extension (restrictedroute-c4ca4238a0b923820dcc509a6f75849b, h, 1) exited non-zero on 'SIP/99910-00000044'[/FONT][/COLOR][/SIZE]

Es ist bestimmt nur eine Kleinigkeit, die ich übersehen. Wer kann mir helfen???
Wäre echt dankbar.

Gruß
Matthias
 
Zuletzt bearbeitet:
Da ich die Vorgehensweisen des neuen Forum-Betreibers nicht gut heiße, stehen meine Beiträge hier nicht weiter zur Verfügung.
 
Zuletzt bearbeitet von einem Moderator:

Zurzeit aktive Besucher

Statistik des Forums

Themen
244,827
Beiträge
2,219,005
Mitglieder
371,520
Neuestes Mitglied
fredl_2
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.