Dial() before Answer()?


#1

Is there a way to configure Asterisk that it dials extensions as a result of an inbound call on a channel without actually answering that channel?

I use a 0700 (sort of ‘follow me’) service that tries various numbers in sequence until a call reaches me. If * always answers, even if I’m not in, it will not try the other numbers.

Is a dial() before answer() possible ?


#2

Yes, it is.


#3

Does it work with all channels? I plan to use chan_capi.
At what point exactly use Answer(). Do I have to define sort of a condition for it?


#4

I’m not sure, but it should.