[asterisk-users] Answer() command?

Paradise Dove pardove at gmail.com
Thu Feb 22 08:44:22 MST 2007


On 2/22/07, Yuan LIU <yliu11 at hotmail.com> wrote:
>
> >From: Pavel Jezek <pavel.jezek at i.cz>
> >Date: Thu, 22 Feb 2007 09:39:22 +0100
> >
> >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)
>
> Or without.  One of my contexts is set up exactly like the original
> sample.
> Just Dial(), no Answer(). (I think I've seen textbook samples like that,
> too.)  Asterisk bridges the call when the callee picks up. (That's the
> main
> work Asterisk does: bridging calls.)



BUT, when callprogress=yes, asterisk doesn't bridge the call and just ring
for the caller and noise for called!!
is it a bug or it's normal?


The noise may indicate other problems.
>
> Yuan Liu
>
> >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
> >>
> >_______________________________________________
> >--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
>
>
> _______________________________________________
> --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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070222/828a1af6/attachment.htm


More information about the asterisk-users mailing list