[Asterisk-Users] Why use 'Answer'?

Dorn Hetzel asterisk-users at dorn.hetzel.org
Thu Dec 23 07:45:37 MST 2004


On Thu, Dec 23, 2004 at 11:45:04AM +0100, Michael Vogel wrote:
> Rich Adamson schrieb:
> 
> >Rephrased: Why do folks think they have to use Answer in the sequence
> >when Playback (etc) is _not_ used?
> 
> Because they don't think or they love the telephone companies ...
>

Ok, this is probably a stupid question ;)

If I have a setup like the following:

One TDM400P with one FXO interface in slot 4.

zapata.conf chunk:

signalling=fxs_ks
language=en
context=in5100
channel => 4

extensions.conf chunk:

[in5100]
exten => s,1,Wait,2
exten => s,n,Answer
exten => s,n,DigitTimeout,5
exten => s,n,ResponseTimeout,10
exten => s,n(restart),BackGround(demo-congrats)
exten => s,n,WaitExten
exten => 401,1,Dial(SIP/sip1,20,tr)

///

I'm just playing demo-congrats so I can hear something when I call in
to know it's working.  What I would really like to have happen for
now is to ring the sip1 phone when the incoming line rings and only
answer the incoming line if the sip1 phone gets answered.

I've been playing with * for a while,
but this is my first zap device :)
[been all sip and iax til now]

Clues?

Regards,

-Dorn




More information about the asterisk-users mailing list