AWS Klappt nicht
Ich habe scheinbar das gleiche Problem wie lblabr.
Ich nutze eine Trixbox CE 2.8
misdn Version ist Stack core version (1_1_7_2) revision ($Revision: 1.40 $)
Mit jackfritts Beispiel bekomme ich:
-- Executing [905@from-internal:1] Set("SIP/45-b612e2b8", "CD=") in new stack
-- Executing [905@from-internal:2] GotoIf("SIP/45-b612e2b8", "0?CD|s-aus|1") in new stack
== Spawn extension (from-internal, 905, 3) exited non-zero on 'SIP/45-b612e2b8'
-- Executing [h@from-internal:1] Macro("SIP/45-b612e2b8", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/45-b612e2b8", "vw") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("SIP/45-b612e2b8", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/45-b612e2b8", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("SIP/45-b612e2b8", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/45-b612e2b8", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("SIP/45-b612e2b8", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/45-b612e2b8' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/45-b612e2b8'
trixbox*CLI>
Die extensions_custom.conf sieht an der Stelle so aus:
-----
[CD]
;Umleitung einschalten
exten => 905,1,Set(CD=${DB(umleitung/aktuell)})
exten => 905,n,GotoIf($["${CD}" = "1"]?CD|s-aus|1)
exten => 905,n,Goto,CD|s-an|1
exten => s-an,1,Set(DB(umleitung/aktuell)=1)
exten => s-an,n,Verbose(Umleitung eingeschaltet)
exten => s-an,n,Set(DUMMY=2)
exten => s-an,n,Playback(silence/1)
exten => s-an,n,Set(_MISDN_KEYPAD=*21*0171XXXXXXX*2424XXXX#)
exten => s-an,n,Dial,misdn/g
tmp/
exten => s-an,n,Hangup
;Umleitung ausschalten
exten => s-aus,1,Verbose(Umleitung ausgeschaltet)
exten => s-aus,n,Set(DUMMY=0)
exten => s-aus,n,Set(DB(umleitung/aktuell)=0)
exten => s-aus,n,Playback(silence/1)
exten => s-aus,n,Set(_MISDN_KEYPAD=#21*2424XXXX#)
exten => s-aus,n,Dial,misdn/g
tmp/
exten => s-aus,n,Hangup
-----
Ich bin der Meinung, es müsste exten => s-aus,n,Dial(misdn/g
tmp/) heißen - dann bekomme ich jedoch den gleichen Fehler.
Verwende ich das Beispiel von misdn.org, kommt dabei folgendes raus:
-- Executing [551@from-internal:1] NoOp("SIP/45-b612e2b8", "Enable Call Forward") in new stack
-- Executing [551@from-internal:2] Set("SIP/45-b612e2b8", "_MISDN_KEYPAD=*21*0171XXXXXXX*2424XXXX#") in new stack
-- Executing [551@from-internal:3] Dial("SIP/45-b612e2b8", "mISDN/1/") in new stack
P[ 0] misdn_call: No Extension given!
-- Couldn't call 1/
== Everyone is busy/congested at this time (0:0/0/0)
-- Executing [551@from-internal:4] Playback("SIP/45-b612e2b8", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
-- <SIP/45-b612e2b8> Playing 'silence/1.slin' (language 'de')
-- <SIP/45-b612e2b8> Playing 'cannot-complete-as-dialed.ulaw' (language 'de')
== Spawn extension (from-internal, 551, 4) exited non-zero on 'SIP/45-b612e2b8'
-- Executing [h@from-internal:1] Macro("SIP/45-b612e2b8", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/45-b612e2b8", "vw") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("SIP/45-b612e2b8", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/45-b612e2b8", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("SIP/45-b612e2b8", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/45-b612e2b8", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("SIP/45-b612e2b8", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/45-b612e2b8' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/45-b612e2b8'
trixbox*CLI>
Die extensions_custom.conf sieht hier so aus:
[CD]
exten => 551,1,Noop(Enable Call Forward)
exten => 551,2,Set(_MISDN_KEYPAD=*21*0171XXXXXXX*2424XXXX#)
exten => 552,1,Noop(Check Call Forward)
exten => 552,2,Set(_MISDN_KEYPAD =*#21#2424XXXX#)
exten => 553,1,Noop(Disable Call Forward)
exten => 553,2,Set(_MISDN_KEYPAD=#21#)
, Send an empty set to port 1, the switch will read the keypad message
exten => _55X,3,Dial(mISDN/1/)
----
Es sieht so aus, als würde ihm der leere Dialstring nicht passen - hat jemand ne kreative Idee?