Barton Fisher wrote:
No matter what I do, ${ANSWEREDTIME} is always 0, even on the most simplest dial plan such as:
Using  Asterisk 1.2.13

exten => 77,1,Answer
exten => 77,2,Playback(custom/dax/S300) ; one minute file
exten => 77,3,Noop(${ANSWEREDTIME})
exten => 77,4,Hangup

   -- Executing Answer("SIP/5402-b7b45f58", "") in new stack
-- Executing Playback("SIP/5402-b7b45f58", "custom/dax/S300") in new stack
   -- Playing 'custom/dax/S300' (language 'en')
   -- Executing NoOp("SIP/5402-b7b45f58", "") in new stack
   -- Executing Hangup("SIP/5402-b7b45f58", "") in new stack

What gives on this simple thing?

Bart


Slight correction: It is NULL, not 0. Something can't be broken that was never expected to work or coded to work... ANSWEREDTIME only gets set by app_dial when you dial something else and it is answered or not answered.

Joshua Colp
Software Developer
Digium, Inc.

_______________________________________________
--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

Reply via email to