[asterisk-users] Determination of billsec
CSB
kjcsb at xnet.co.nz
Wed Nov 7 11:33:56 CST 2007
>> I have a situation where billsec is being reported as 0 despite the
>> call being answered and a conversation occurring. An example record
>> follows:
>>
>> '2007-11-06 21:36:50', '6495566778', '6495566778', '0116495566778',
>> '1100012_1', 'Local/0116495566778 at 1100012_1-887b,2',
>> 'SIP/64.192.001.001-08893238', 'Dial',
>> 'SIP/0116495566778 at 64.192.001.001||hH', 10, 0, 'ANSWERED', 3, '',
>> '1194338210.61', ''
>
>
>I see in the above, that a Local/ channel is involved. If you are really
interested in seeing this problem cleared up, please file a bug with
bugs.digium.com; and do your best to fully describe how a >Local/ channel
got involved in the call. Include enough specific information so that the
person wanting to fix the bug (maybe me) will be able to reproduce the
situation and get the same results.
>
I will provide more information here since I suspect the problem is my lack
of understanding rather than a bug. However I will file a bug if necessary.
Objective:
Dial two numbers, join them together and produce proper accounting (i.e. the
two calls are billed individually)
[1100012]
exten => _X.,1,NoOp(1100012)
exten => _X.,n,Dial(SIP/${EXTEN}@64.192.001.001||hHM(MM|0116495566778));Dial
first number and when answered call macro to dial second number
exten => _X.,n(Hang),Hangup
exten => h,1,HangUp
[1100012_1]
exten => _X.,1,NoOp(1100012_1)
exten => _X.,n,Dial(SIP/${EXTEN}@64.192.001.001||hH);Dial second number
exten => _X.,n(Hang),Hangup
exten => h,1,HangUp
[macro-MM]
exten => s,1,NoOp(MM)
exten => s,n,Dial(Local/${ARG1}@1100012_1);Dial local channel to call second
number
CDRs for the two calls:
509253, '2007-11-06 21:36:50', '6495566778', '6495566778', '0116495566778',
'1100012_1', 'Local/0116495566778 at 1100012_1-887b,2',
'SIP/64.192.001.001-08893238', 'Dial',
'SIP/0116495566778 at 64.192.001.001||hH', 10, 0, 'ANSWERED', 3, '',
'1194338210.61', ''
509303, '2007-11-06 21:36:43', '6495566778', '6495566778', '0116499503371',
'1100012', 'SIP/domain.co.nz-08886538', 'SIP/64.192.001.001-08887ac0',
'Dial', 'SIP/0116499503371 at 64.192.001.001||hHM(MM|0116495566778)', 27, 20,
'ANSWERED', 3, '', '1194338203.58', ''
Regards
Cameron
More information about the asterisk-users
mailing list