<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hello!<br>
<br>
David, as I wrote I collect only A-leg records. This is the way
my bill logic works. And I asked how to write custom A-leg CDR
record while it is not available in normal way. And now I understood
this is impossible so I need to change my bill logic :)<br>
<br>
<blockquote cite="mid:D80E7467-7E54-4387-AB94-CD4FD3AD0577@ipeva.fr"
type="cite">Boris,
<div><br>
</div>
<div>I think we still wonder what additional custom CDR you need.</div>
<div>You already know that one redirected call will fire 2 CDRs.</div>
<div>One for the incoming call you need for inter-operator
billing, and the one for the outgoing redirected call you need
to bill the customer.</div>
<div><br>
<div>
<span class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 14px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;"><span
class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: Helvetica; font-size:
14px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;">
<div style="word-wrap: break-word;">
<div><font class="Apple-style-span" face="'Helvetica
Neue'"><font class="Apple-style-span"
color="#1c00ff">David Ponzone </font><font
class="Apple-style-span" color="#000000" size="3"><span
class="Apple-style-span" style="font-size:
12px;">Direction Technique</span></font></font></div>
<div><font class="Apple-style-span" face="'Helvetica
Neue'"><font class="Apple-style-span" size="3"><span
class="Apple-style-span" style="font-size:
13px;">email: <a moz-do-not-send="true"
href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a></span></font></font></div>
<div><font class="Apple-style-span" face="'Helvetica
Neue'"><font class="Apple-style-span" size="3"><span
class="Apple-style-span" style="font-size:
13px;">tel: 01 74 03 18 97</span></font></font></div>
<div><font class="Apple-style-span" face="'Helvetica
Neue'"><font class="Apple-style-span" size="3"><span
class="Apple-style-span" style="font-size:
13px;">gsm: 06 66 98 76 34</span></font></font></div>
<div><font class="Apple-style-span" face="'Helvetica
Neue'"><br>
</font></div>
<div><font class="Apple-style-span" color="#1c00ff"
face="'Helvetica Neue'">Service Client<span
class="Apple-converted-space"> </span></font><font
class="Apple-style-span" face="'Helvetica Neue'"><font
class="Apple-style-span" color="#ff0000">IP</font></font><font
class="Apple-style-span" color="#1c00ff"
face="'Helvetica Neue'">eva</font></div>
<div><font class="Apple-style-span" color="#1c00ff"
face="'Helvetica Neue'"><span
class="Apple-style-span" style="color: rgb(0, 0,
0); font-family: Helvetica;">
<div><font class="Apple-style-span"
face="'Helvetica Neue'"><font
class="Apple-style-span" size="3"><span
class="Apple-style-span" style="font-size:
13px;">tel: 0811 46 26 26</span></font></font></div>
<div><font class="Apple-style-span"
face="'Helvetica Neue'" size="3"><span
class="Apple-style-span" style="font-size:
13px;">
<div style="margin: 0px; font: 10px Arial;
color: rgb(0, 34, 243);"><span
style="text-decoration: underline;"><a
moz-do-not-send="true"
href="BLOCKED::http://www.ipeva.fr/">www.ipeva.fr</a></span><span
style="color: rgb(101, 104, 149);"> -
<span style="color: rgb(0, 34, 243);
text-decoration: underline;"><a
moz-do-not-send="true"
href="BLOCKED::http://www.ipeva-studio.com/">www.ipeva-studio.com</a></span></span></div>
<div style="margin: 0px; font: 10px Arial;
color: rgb(0, 34, 243);"><span
class="Apple-style-span"
style="text-decoration: underline;"><br>
</span></div>
<div style="margin: 0px; font: 10px Arial;
color: rgb(0, 34, 243);"><span
class="Apple-style-span">
<div style="margin: 0px; text-align:
justify; font: 10px Arial; color:
rgb(192, 192, 192);"><i>Ce message et
toutes les pièces jointes sont
confidentiels et établis à
l'intention exclusive de ses
destinataires. Toute utilisation ou
diffusion non autorisée est
interdite. Tout message électronique
est susceptible d'altération. </i><b><i>IPeva</i></b><i> décline
toute responsabilité au titre de ce
message s'il a été altéré, déformé
ou falsifié. Si vous n'êtes pas
destinataire de ce message, merci de
le détruire immédiatement et
d'avertir l'expéditeur.</i></div>
<div style="text-decoration: underline;
text-align: justify;"><font
class="Apple-style-span"
color="#c0c0c0"><i><br>
</i></font></div>
</span></div>
</span></font></div>
</span></font></div>
</div>
</span><br class="Apple-interchange-newline">
</span><br class="Apple-interchange-newline">
</div>
<br>
<div>
<div>Le 19/05/2011 à 18:24, Boris Kovalenko a écrit :</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div text="#000000" bgcolor="#ffffff"> So there is not
solution to fire additional custom CDR event? Ok, I'll
look at XML CDR.<br>
<br>
<blockquote
cite="mid:BANLkTi=gmgg-CJVJVNrK75QYWHWd7Md+rw@mail.gmail.com"
type="cite">The XML CDR contains a history of the call,
which might be more suited to you. One CDR but it'll
contain everything you need. You can then choose to
create 2 DB records if that's what you wish to do.<br>
<br>
Otherwise write all relevant variables to a CDR (if
you're overwriting one in the dialplan set it to another
variable first otherwise it won't be available any more
when mod_cdr_csv writes it).<br>
<br>
-Steve<br>
<br>
<br>
<div class="gmail_quote">On 19 May 2011 08:54, Boris
Kovalenko <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:boris@tagnet.ru">boris@tagnet.ru</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt
0pt 0.8ex; border-left: 1px solid rgb(204, 204,
204); padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff"> Hello!<br>
<br>
It is the way I try to do manual redirect. May
be I do it wrong, so may be somebody tell me
another way. So... I use only A-leg accounting
records. One of my users set the redirect from its
phone to cellular phone (PAP2T device). So, when
call is arrived from PBX<br>
and redirected by user, in A-leg CDR record I see
only _original_ information: pbx_caller_id_number
and local_destination_number. And this is wrong
for billing. With help of CDR I want to emulate
two calls scenario:<br>
First CDR record - PBX -> user number<br>
Second CDR record - user number -> redirected
number
<div>
<div class="h5"><br>
<br>
<blockquote type="cite">I don't understand why
you would need this.<br>
<br>
What would the difference between the
variables be?<br>
<br>
-Steve<br>
<br>
<br>
<br>
<div class="gmail_quote">On 19 May 2011
04:12, Boris Kovalenko <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:boris@tagnet.ru"
target="_blank">boris@tagnet.ru</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt 0.8ex;
border-left: 1px solid rgb(204, 204,
204); padding-left: 1ex;">Hello!<br>
<br>
I know :) But with one call I get
only one CDR record for A leg and<br>
one record for B leg. I need to get 2
records for A leg with two<br>
different sets of variables. Is this
possible?<br>
<div>
<div><br>
> There's no 'standard' CDR. The
XML CDR will contain everything,<br>
> including all variables. If you
mean the default mod_cdr_csv, you
can<br>
> customise which variables are
saved in its configuration.<br>
><br>
> -Steve<br>
><br>
><br>
><br>
> On 18 May 2011 09:34, Boris
Kovalenko<<a
moz-do-not-send="true"
href="mailto:boris@tagnet.ru"
target="_blank">boris@tagnet.ru</a>>
wrote:<br>
>> Hello!<br>
>><br>
>> I don't know what is
asterisk fork_cdr :) I want to
bridge two calls and<br>
>> get 2 cdr records for A
leg: one the standard cdr, and
another with<br>
>> variables I need.<br>
>><br>
>>> I suppose he's asking
for asterisk analog of fork_cdr<br>
>>><br>
>>> 2011/5/17 Michael
Collins<<a moz-do-not-send="true"
href="mailto:msc@freeswitch.org"
target="_blank">msc@freeswitch.org</a>>:<br>
>>>> You want your Lua
script to *send* an event? It most
certainly can fire<br>
>>>> events:<br>
>>>> <a
moz-do-not-send="true"
href="http://wiki.freeswitch.org/wiki/Lua#Sending_an_Event"
target="_blank">http://wiki.freeswitch.org/wiki/Lua#Sending_an_Event</a><br>
>>>> I suppose the
question is: what do you want to
have happen when you fire an<br>
>>>> event? What will
receive this event?<br>
>>>> -MC<br>
>>>><br>
>>>> On Sat, May 14,
2011 at 12:59 AM, Boris
Kovalenko<<a
moz-do-not-send="true"
href="mailto:boris@tagnet.ru"
target="_blank">boris@tagnet.ru</a>>
wrote:<br>
>>>>> Hello!<br>
>>>>><br>
>>>>> May I
fire custom cdr event for a LUA
script? I've read<br>
>>>>> <a
moz-do-not-send="true"
href="http://wiki.freeswitch.org/wiki/Event_list"
target="_blank">http://wiki.freeswitch.org/wiki/Event_list</a>
but haven't found cdr events.<br>
>>>>> Would You
please point me to proper
documentation or give an example?<br>
>>>>><br>
>>>>> --<br>
>>>>> Regards,<br>
>>>>> Boris<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>>
_______________________________________________<br>
>>>>>
FreeSWITCH-users mailing list<br>
>>>>> <a
moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>>>> <a
moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>>>> UNSUBSCRIBE:<a
moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>>>> <a
moz-do-not-send="true"
href="http://www.freeswitch.org/"
target="_blank">http://www.freeswitch.org</a><br>
>>>>
_______________________________________________<br>
>>>> FreeSWITCH-users
mailing list<br>
>>>> <a
moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>>> <a
moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>>> UNSUBSCRIBE:<a
moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>>> <a
moz-do-not-send="true"
href="http://www.freeswitch.org/"
target="_blank">http://www.freeswitch.org</a><br>
>>>><br>
>>>><br>
>>>
_______________________________________________<br>
>>> FreeSWITCH-users
mailing list<br>
>>> <a
moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> <a
moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> UNSUBSCRIBE:<a
moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> <a
moz-do-not-send="true"
href="http://www.freeswitch.org/"
target="_blank">http://www.freeswitch.org</a><br>
>><br>
>> --<br>
>> С уважением,<br>
>> Борис Коваленко<br>
>> ЗАО "Тагнет"<br>
>> тел. +7 (3435) 230001<br>
>> факс +7 (3435) 230005<br>
>><br>
>><br>
>>
_______________________________________________<br>
>> FreeSWITCH-users mailing
list<br>
>> <a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a
moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a moz-do-not-send="true"
href="http://www.freeswitch.org/"
target="_blank">http://www.freeswitch.org</a><br>
>><br>
>
_______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a
moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a moz-do-not-send="true"
href="http://www.freeswitch.org/"
target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
--<br>
С уважением,<br>
Борис Коваленко<br>
ЗАО "Тагнет"<br>
тел. +7 (3435) 230001<br>
факс +7 (3435) 230005<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a
moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org/"
target="_blank">http://www.freeswitch.org</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<pre><fieldset></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
<br>
<pre cols="72">--
С уважением,
Борис Коваленко
ЗАО "Тагнет"
тел. +7 (3435) 230001
факс +7 (3435) 230005
</pre>
</div>
</div>
</div>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
<div style="visibility: hidden; left: -5000px; position:
absolute; z-index: 9999; padding: 0px; margin-left:
0px; margin-top: 0px; overflow: hidden; word-wrap:
break-word; color: black; font-size: 10px; text-align:
left; line-height: 130%;" id="avg_ls_inline_popup"> </div>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org/">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
С уважением,
Борис Коваленко
ЗАО "Тагнет"
тел. +7 (3435) 230001
факс +7 (3435) 230005
</pre>
</div>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
С уважением,
Борис Коваленко
ЗАО "Тагнет"
тел. +7 (3435) 230001
факс +7 (3435) 230005
</pre>
</body>
</html>