Hi, On Sun Jun 12 02:35:27 CDT 2005 dinesh at alphaque.com wrote: > > On 06/12/05 14:55 jerry at voiptower.com said the following: > > Basically, there is a fax line that I don't want to answer inbound, but I > > want it available to do dial out from. Right now, we are using a busy wait > > around the ringing line, but I was hoping for something that might be a > > little more elegant. Here is the dialplan snip: > > > > exten => s,1,Wait(1) > > exten => s,2,GoTo(s,1) > > that'll still leave the line offhook until the caller hangs up. why not > just use Hangup() to hang up on any incoming call ?
I was apparently clear as mud in my first post, sorry about that. This Zap line (FXO) shares the PSTN line with a fax machine. We want to use it as an outbound line for voice calls, but never want to answer it inbound. This is the only bit that is in the start of the context, so the phone is in fact never answered. On the Asterisk console, I get to see it loop around. So, it works. But it just seems crufty to me. Would Hangup() work on an un-Answered() channel? That might be a way to do it, but I think that won't help, as the line will keep ringing. Thanks, J. _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
