Oguzhan Kayhan schrieb: > Problem is, if the user authenticates, * starts counting as billable > seconds even if i hangup the phone before the called party answers..And > also > as disposition.. it accepts all calls authenticated as 'answered' > If i commentout the authentication line everything works as it should be. > How should i use authentication that, it should accept it as aswered by > default. > Here is my dialplan: > [CallingRule_testcall] > exten = _0XXXXXXXXXX,1,Authenticate(/etc/asterisk/passwords,an) > exten = _0XXXXXXXXXX,n,Set(CALLERID(num)=0312290${CALLERID(num)}) > exten = > _0XXXXXXXXXX,n,Macro(trunkdial-failover-0.3,${test}/${EXTEN:0},${span_1}/9${EXTEN:0},test,span_1)
Try ResetCDR() after Authenticate(). Philipp Kempgen -- AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de -- _______________________________________________ -- 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