[asterisk-users] CDR / billsec / originate / local chan

Ben Dinnerville ben at voicelogic.com.au
Sun Feb 7 16:20:06 CST 2010


Sean Brady wrote:

> Have you tried removing the /n option from the local channel?  Just a thought, but it's probably worth a try.  You could also try calculating the billsec in the dialplan and write it to the CDR with the adaptive CDR feature in 1.6.2.
> 
> Not sure if this is helpful but it was a thought.
> 
> -Sean
Hi Sean,

Yeah, tried with and without the /n option - it turns out that there was 
a bug in any release post 1.6.2.0 including the current 1.6.2.2 that 
meant if you established a call using originate and a local channel the 
second leg of the channel would not get bridged in - this bug seems to 
be fixed in the current SVN release and I just need to wait now for a 
actual release.

The issue with cdr is that billsec does not seem to be available on the 
asterisk side of the channel, only the sip/ iax / other tech channel so 
when using originate, you dont get to "see" the tech side of the 
channel, only the asterisk side if it. There was a mention somewhere on 
dev forum and in the bug tracker that this was because someone deemed 
the asterisk side of the channel as non billable any only the tech side 
as billable so billsec was disabled ( I say disabled because it used to 
work and doesnt now - why capabilities are removed is beyond me)

Cheers,

Ben




More information about the asterisk-users mailing list