Hi, I tried the option and got following message.
PBX1*CLI> -- Starting simple switch on 'DAHDI/1-1' == Starting DAHDI/1-1 at from-pstn,s,1 failed so falling back to exten 's' == Starting DAHDI/1-1 at from-pstn,s,1 still failed so falling back to context 'default' -- Executing [s@default:1] Playback("DAHDI/1-1", "vm-goodbye") in new stack -- <DAHDI/1-1> Playing 'vm-goodbye.gsm' (language 'en') -- Executing [s@default:2] Macro("DAHDI/1-1", "hangupcall") in new stack -- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/1-1", "1?skiprg") in new stack -- Goto (macro-hangupcall,s,4) -- Executing [s@macro-hangupcall:4] GotoIf("DAHDI/1-1", "1?skipblkvm") in new stack -- Goto (macro-hangupcall,s,7) -- Executing [s@macro-hangupcall:7] GotoIf("DAHDI/1-1", "1?theend") in new stack -- Goto (macro-hangupcall,s,9) -- Executing [s@macro-hangupcall:9] Hangup("DAHDI/1-1", "") in new stack == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'DAHDI/1-1' in macro 'hangupcall' == Spawn extension (default, s, 2) exited non-zero on 'DAHDI/1-1' -- Hungup 'DAHDI/1-1' When i was looking at asterisk console, Caller phone (mobile phone) shows that "User busy" message with busy tone. "Starting simple switch on 'DAHDI/1-1'" shows after that phone get busy tone. The server is located in Canada and I use US as country. Let me know your feedback. Thanks, Selva On Thu, Jan 3, 2013 at 4:44 AM, A J Stiles <asterisk_l...@earthshod.co.uk>wrote: > [from-pstn] > s,1,NoOp(Incoming call from ${CALLERID(num)}) > s,2,Dial(200) > s,3,Hangup() > ; end of from-pstn context >
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users