I'm having the same problem here. Any solution to this problem?
-Manuel
(sorry for top-posting, I'm having a stupid mail client here)
-----Messaggio originale-----
Da: Simon Brown [mailto:Simon.Brown@otterson.com.au]
Inviato: giovedì, 1. luglio 2004 02:05
A: asterisk-users@lists.digium.com
Oggetto: [Asterisk-Users] Dial plan errors
I am attempting to implement the new features added recently where you can have
"Goto(s-DIALSTATUS)" in the dial plan. My extensions.conf looks like
this: exten => s,1,Dial(${ARG2},20,r)
exten => s,2,Goto(s-${DIALSTATUS})
exten => s-NOANSWER,1,Voicemail(u${ARG1})
exten => s-CHANUNAVAIL,1,Voicemail(b${ARG1})
exten => s-BUSY,1,Voicemail(b${ARG1})
exten => s-.,1,Voicemail(u${ARG1})
But this is what happens when no-one answers:
-- Executing Macro("SIP/201-c410",
"stdexten|201|SIP/201") in new stack
-- Executing Dial("SIP/201-c410", "SIP/201|20|r") in new
stack
-- Called 201
-- SIP/201-4d1f is ringing
-- Nobody picked up in 20000 ms
-- Executing Goto("SIP/201-c410", "s-NOANSWER") in new
stack
-- Goto (macro-stdexten,s,0)
-- Timeout on SIP/201-c410
== CDR updated on SIP/201-c410
-- Executing Hangup("SIP/201-c410", "") in new stack
== Spawn extension (sip, t, 1) exited non-zero on 'SIP/201-c410'
It tries to Goto (macro-stdexten,s,0)
___________________________________________________
Ticinocom SA - Via Stazione 5 - 6600 Muralto
Tel 0844 007070 - Fax 0844 007071
http://www.ticinocom.com