On Fri, 2009-12-18 at 23:56 -0600, Steve Johnson wrote: > If you try just this, what does the caller hear? It should be ringing > for the first 20 sec, and then maybe the congestion tone afterwards. > exten => s,1,Wait(20) > exten => s,n,Hangup
Dialplan: [cci] exten => s,1,Wait(10) exten => s,n,Hangup() When the number is dialed, here is the CLI output: Connected to Asterisk 1.4.21.1 currently running on k6-2 (pid = 6283) Verbosity was 0 and is now 3 -- Executing [8772709...@inbound:1] Goto("SIP/smither-03390860", "cci|s|1") in new stack -- Goto (cci,s,1) -- Executing [...@cci:1] Wait("SIP/smither-03390860", "10") in new stack -- Executing [...@cci:2] Hangup("SIP/smither-03390860", "") in new stack == Spawn extension (cci, s, 2) exited non-zero on 'SIP/smither-03390860' The caller hears silence for 10 seconds. When the Hangup is executed, as reported on the CLI, the caller _then_ hears ringing (!?) which continues until the caller hangs up. Here is the entry in sip.conf (Asterisk registers with the provider): [vitel-inbound-cci] type=friend dtmfmode=auto host=<provider host> context=inbound username=<user name> secret=<my secret> allow=all insecure=very nat=yes Context in extensions.conf: [inbound] exten => 8772709688,1,Goto(cci,s,1) The context [cci] is shown above. I appreciate the help, as I am confused! -- Bob Smither, PhD Circuit Concepts, Inc. ========================================================================= There are only 10 kinds of people in the world --Those who understand binary, and those who don't... ========================================================================= smit...@c-c-i.com http://www.C-C-I.Com 281-331-2744(office) -4616(fax) _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users