On 01:22, Thu 07 Feb 08, Abdul wrote:
> Hi all,
> 
> i am wondering if i can make two leg cdr in mysql cdr table.
> 
> 1st Leg : Registrar the ATA which registered to the asterisk and it normally 
> logging in cdr table.
> 
> 2nd Leg : The CDR of carrier for the example if i send call like 
> 
> exten => _x.,1,Dial(SIP/[EMAIL PROTECTED]&TIP)
> 
> 
> I this cause i can get the accrue duration of call because currently we are 
> facing some call missing not coming in CDR and some call coming with wrong 
> duration, when we check that wrong duration log in third party carrier CDR 
> page we can see the duration is less than asterisk and it is different in 
> minutes mote than 10 and 20 and some time 1 hr different.
> 
> Please suggest us if possible to log CDR of "AT&TIP" ?

exten => _X.,1,Set(CALLERID(accountcode)=OUTBOUND_ATT)
exten => _X.,n,Dial(SIP/[EMAIL PROTECTED]&TIP)

That way you can filter by accountcode

-- 

Michiel van Baak
[EMAIL PROTECTED]
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD

"Why is it drug addicts and computer aficionados are both called users?"


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