On Apr 2, 2005 5:42 AM, Justin Ridge <spamstop1@terriertech.com>
wrote:> Hi all,
>
> I'd like Asterisk to answer an incoming SIP call and bridge with a POTS
> line. However, I do NOT want Asterisk to answer the SIP call unless the
> called POTS number answers (otherwise SIP caller is charged).
>
> The wiki says this is the default behaviour, and so does this message
> http://lists.digium.com/pipermail/asterisk-users/2004-April/041881.html
>
> But it's not working as expected. The SIP call is answered immediately
> before the POTS line even starts ringing.
>
> The dial plan is simple:
> [from-sip]
> exten => s,1,Dial(Zap/1/*829xxxxxxxxx,20)
The reason is because you are using Zap, a zap channel is answered as
soon (if you are using FXO moduels) as the line goes off hook. You can
use c in the dial string so that it is not considered answered until #
is pressed by the caller.
> I don't have "Answer" in the dial plan. I don't think I
changed any
> settings that would cause this non-default behaviour, but can you help me
> find why this is happening?
>
> Thanks
> JR
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>