I think, this can be solved using phone autoanswer feature, look at wiki...
exten => s,1,SIPAddHeader(Alert-Info: info=alert-autoanswer)
exten => s,2,Dial(SIP/myphone)
Paradise Dove wrote:> hi,
> is there anyway to Answer() the caller channel after the called number
> pickedup the phone.
> when an outside caller calls * system just continue ringing and not
> pick up the line and just dial an extension and then answer the caller
> channel after the called extension picked up the phone.
> is this possible in *?
>
> something like this:
>
> [incoming]
> exten => s,1,NoOp()
> exten => s,n,Dial(SIP/120)
>
> i've done this but when 120 extension picks up the phone just a noise
> will be heard and call won't be bridged to caller channel.
>
> i have also used Dial(SIP/120|M(answerme)) which runs a macro with
> Answer() command when called party picksup but it just re-answers the
> called extension!!
>
> thanks
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>