>> 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/[EMAIL PROTECTED],2',
>> 'SIP/64.192.001.001-08893238', 'Dial', 
>> 'SIP/[EMAIL PROTECTED]||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/[EMAIL PROTECTED]||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/[EMAIL PROTECTED]||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/[EMAIL PROTECTED]);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/[EMAIL PROTECTED],2',
'SIP/64.192.001.001-08893238', 'Dial',
'SIP/[EMAIL PROTECTED]||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/[EMAIL PROTECTED]||hHM(MM|0116495566778)', 27, 20,
'ANSWERED', 3, '', '1194338203.58', ''

Regards

Cameron


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