VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
ish at pack-net.co.uk Guest
|
Posted: Fri May 02, 2014 5:23 am Post subject: [asterisk-users] CDR billsec issue with calls forwarded thro |
|
|
Hi
I'm using asterisk 1.8.23.1 but I've seen this same issue in previous versions of 1.8. I have created some work arounds but the behaviour is incorrect.
This is the scenario:
Call comes in and goes to appropriate dialplan
In the dialplan the call is forwarded to another number using a Local channel (and using /n ) e.g.
Dial(Local/<my-number>@outbound-context/n,60)
The number is dialled and the call is all fine.
In the CDR we have 2 entries, one for the inbound leg and one for the outbound leg as is expected by the use of the /n
However, the outbound leg CDR entry has a billsec of 0. The CDR for the inbound leg has the correct duration of the call in the billsec column (I'm writing CDRs to MySQL)
This is causing issues in my billing module for obvious reasons. I'm having to find the inbound call by matching the channel in one leg with the dstchannel in the other leg and that is quite messy.
Would others agree that this behaviour is incorrect? Has anyone else seen this or be able to replicate it? Am I just missing something obvious?
Thanks in Advance
Ish
--
Quote: | Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: ish@pack-net.co.uk (ish@pack-net.co.uk)
w: http://www.pack-net.co.uk
Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
|
|
|
Back to top |
|
|
ish at pack-net.co.uk Guest
|
Posted: Fri May 02, 2014 5:57 am Post subject: [asterisk-users] CDR billsec issue with calls forwarded thro |
|
|
A big correction to the above!
This 0 billsec entry happens when someone forwards a call from their phone using an auto forward (which then uses a Local channel on the asterisk server). The phone in question is a Snom.
If I use a Local channel in the dial plan, the entry has a the correct billsec.
On 2 May 2014 11:23, Ishfaq Malik <ish@pack-net.co.uk (ish@pack-net.co.uk)> wrote:
Quote: | Hi
I'm using asterisk 1.8.23.1 but I've seen this same issue in previous versions of 1.8. I have created some work arounds but the behaviour is incorrect.
This is the scenario:
Call comes in and goes to appropriate dialplan
In the dialplan the call is forwarded to another number using a Local channel (and using /n ) e.g.
Dial(Local/<my-number>@outbound-context/n,60)
The number is dialled and the call is all fine.
In the CDR we have 2 entries, one for the inbound leg and one for the outbound leg as is expected by the use of the /n
However, the outbound leg CDR entry has a billsec of 0. The CDR for the inbound leg has the correct duration of the call in the billsec column (I'm writing CDRs to MySQL)
This is causing issues in my billing module for obvious reasons. I'm having to find the inbound call by matching the channel in one leg with the dstchannel in the other leg and that is quite messy.
Would others agree that this behaviour is incorrect? Has anyone else seen this or be able to replicate it? Am I just missing something obvious?
Thanks in Advance
Ish
--
Quote: | Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: [url=tel:%2B44%20%280%29845%20004%204994]+44 (0)845 004 4994[/url]
f: [url=tel:%2B44%20%280%29161%20660%209825]+44 (0)161 660 9825[/url]
e: ish@pack-net.co.uk (ish@pack-net.co.uk)
w: http://www.pack-net.co.uk
Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
|
|
--
Quote: | Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: ish@pack-net.co.uk (ish@pack-net.co.uk)
w: http://www.pack-net.co.uk
Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|