- Mitglied seit
- 21 Okt 2004
- Beiträge
- 30
- Punkte für Reaktionen
- 0
- Punkte
- 0
Hmm
So hab ich das nun eingetragen aber wenn ich 9999 wähle sagt Asterisk mir folgendes =
Code:
[default]
include=user
[user]
include=mailbox
exten => _.,1,Macro(var,SIP/${EXTEN})
[macro-var];
exten => s,1,Dial(${ARG1},30)
exten => s,2,Voicemail(u${MACRO_EXTEN})
exten => s,3,Hangup
[mailbox]
exten => 9999/_[1-9].,1,Answer
exten => 9999/_[1-9].,2,Wait(1)
exten => 9999/_[1-9].,3,VoicemailMain2(s${CALLERIDNUM})
exten => 9999/_[1-9].,4,Hangup
So hab ich das nun eingetragen aber wenn ich 9999 wähle sagt Asterisk mir folgendes =
Code:
Asterisk Ready.
*CLI> -- Executing Macro("SIP/111-30a4", "var|SIP/9999") in new stack
-- Executing Dial("SIP/111-30a4", "SIP/9999|30") in new stack
Nov 4 10:29:39 WARNING[1112767280]: chan_sip.c:1375 create_addr: No such host: 9999
Nov 4 10:29:39 NOTICE[1112767280]: app_dial.c:742 dial_exec: Unable to create channel of type 'SIP'
== Everyone is busy/congested at this time
-- Executing VoiceMail("SIP/111-30a4", "u9999") in new stack
Nov 4 10:29:39 WARNING[1112767280]: app_voicemail.c:1517 leave_voicemail: No entry in voicemail config file for '9999'
-- Executing Hangup("SIP/111-30a4", "") in new stack
== Spawn extension (macro-var, s, 3) exited non-zero on 'SIP/111-30a4' in macro 'var'
== Spawn extension (default, 9999, 1) exited non-zero on 'SIP/111-30a4'
-- Executing Macro("SIP/111-30a4", "var|SIP/h") in new stack
-- Executing Dial("SIP/111-30a4", "SIP/h|30") in new stack
Nov 4 10:29:51 WARNING[1112767280]: chan_sip.c:1375 create_addr: No such host: h
Nov 4 10:29:51 NOTICE[1112767280]: app_dial.c:742 dial_exec: Unable to create channel of type 'SIP'
== Everyone is busy/congested at this time
-- Executing VoiceMail("SIP/111-30a4", "uh") in new stack
Nov 4 10:29:51 WARNING[1112767280]: app_voicemail.c:1517 leave_voicemail: No entry in voicemail config file for 'h'
-- Executing Hangup("SIP/111-30a4", "") in new stack
== Spawn extension (macro-var, s, 3) exited non-zero on 'SIP/111-30a4' in macro 'var'
== Spawn extension (default, h, 1) exited non-zero on 'SIP/111-30a4'