Asterisk supports this directly by issuing the hangup command before the answer command. However, when using an analog interface like FXO the line has no way of knowing you just hung up and will continue to ring, which asterisk will see as a new call. in my experience even when using a PRI if i dont give the pri cause the provider re initiates the call.
On 2/18/07, Tim Panton <[EMAIL PROTECTED]> wrote:
On 15 Feb 2007, at 09:55, Yuan LIU wrote: >> From: "Il Neofita" <[EMAIL PROTECTED]> >> Date: Thu, 15 Feb 2007 03:37:14 -0500 >> >> But I tought that hangup was suppose to close the call, however, >> is not the case and a really did not catch why. > > Now I see where the confusion comes from. Asterisk doesn't really > speak English - or Chinese for that matter:-) In telephony, there > is no way for the callee to tell the caller to stop ringing - > unless you "answer" it first. Once you answer, you can do a number > of things, the rudest being to immediately hang up. (I saw live > people doing this intentionally.) Your only other option really is > to ignore. That isn't exactly true - ISDN and IAX (SIP?) support the concept of rejecting a call without answering it. The asterisk dial plan only supports this indirectly. If there is no extension that maps to the called number in the relevant context then asterisk will reject the call without answering. I don't think this helps the OP's situation, but for the sake of the archives I think its worth clarifying.... Tim Panton www.mexuar.net www.westhawk.co.uk/ _______________________________________________ --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
