In your zapata.conf make sure that channel is assigned to the
neveranswer context
context=neveranswer
Then in your extensions.conf have a context like this:
[neveranswer]
exten => s,1,Wait(500) ; Ring for five minutes. No need to go beyond that
exten => s,n,Answer() ; If it's still ringing, grab the line so Bell
sees it go off hook
exten => s,n,Playback(goodbye) ; Say "goodbye" because you're a nice guy
exten => s,n,Hangup() ; Then immediately hang it back up again
exten => i,1,Goto(s,1) ; This is a catch-all so that no matter what
comes in, it'll get the same treatment
This is pretty anal dial plan code, and other suggestions should work
just as well, but this is pretty tight just in case something wonky
happens and the line stays in a ringing state (zaptel can get confused
so it's good to tell it what you want to do).
Enjoy,
Jim
Andre Courchesne - Consultant wrote:
Hi,
I have an X100P (I know it's cheap hardware) that is working in my
asterisk setup. Anyone know how I could use it in outbound only. What
I mean is I do not want asterisk to answer it if it rings.
Thanks,
Andre
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]