On Sunday 30 October 2005 21:12, Rusty Dekema wrote: > Watching the Asterisk console on verbosity=5 reveals that Asterisk receives > a "SIP 486 Busy Here" when the called line is busy, and says "Nobody picked > up in 45000 ms" when nobody answers (with the SIP dial timeout set to 45 > sec). However, either way, it appears to go to the next incremental > priority in the dialplan. If this is the correct behavior, how am I > supposed to distinguish between busy and unanswered calls? I would like to > return a busy signal for busy calls and a 'Playback()' of a recording along > the lines of "The call was not answered..." in the case of an unanswered > call.
Have you tried looking at the status of ${DIALSTATUS} or ${HANGUPCAUSE} (the latter being PRI and IAX-related only, IIRC. -A. _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- 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