Dear all,

I'm trying to configure Asterisk to be able to ask the caller to enter a 
given password in order to continue dialplan execution. I've tested this 
feature using the Authenticate application like this:

exten => _X./5219,1,Answer
exten => _X./5219,2,Authenticate(1234,a)
exten => _X./5219,3,Playback(pin-number-accepted)
exten => _X./5219,4,Dial(SIP/${EXTEN},120)

Works great, although there is a problem with the CDR: Asterisk accounts 
only the call that is answered by Asterisk which asks for the pin. Case 
the call hasn't been answered by the called party, or case it even 
hasn't been dialed because the caller failed to insert the pin, or even 
if it has been answered, Asterisk writes in CDR table that it has been 
ANSWERED and billed from the time Asterisk picked up to ask the pin.
I'm I skipping something in my syntax, or is this some kind of BUG? (I'm 
using Asterisk version 1.2.17)

Regards,

----------------------------------------------
Ricardo Carvalho
ITEC / IRICUP / Reitoria UP
tel: +351220408108 (Ext: 5219)
e-mail/sip: rjcarvalho[at]reit.up.pt
---------------------------------------------- 





_______________________________________________

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to