Agree, better off doing it in the CDR.<br><br>Bill<br><br><div class="gmail_quote">On Wed, Nov 10, 2010 at 10:30 AM, Nyamul Hassan <span dir="ltr"><<a href="mailto:nyamul@gmail.com">nyamul@gmail.com</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;">With the XML CDR being the most powerful, having info even on the call flow.<br>
<br>
Regards<br>
HASSAN<br>
<div><div></div><div class="h5"><br>
<br>
On 2010-11-10, Steven Ayre <<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>> wrote:<br>
> This one I think:<br>
> <a href="http://wiki.freeswitch.org/wiki/Channel_Variables#api_hangup_hook" target="_blank">http://wiki.freeswitch.org/wiki/Channel_Variables#api_hangup_hook</a><br>
><br>
> But I agree - it's probably better to use one of the CDR modules for<br>
> billing.<br>
><br>
> -Steve<br>
><br>
><br>
> 2010/11/10 David Ponzone <<a href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a>>:<br>
>> Bill,<br>
>> Why would you want to write billing records from a LUA script triggered<br>
>> after the call ?<br>
>> I think Tony recently added a variable allowing to run a script at hangup<br>
>> time, but I can't remember its name.<br>
>> You should perhaps reconsider if that is the best way to do your billing.<br>
>> CDR are supposed to be used for billing, and they are very flexible in<br>
>> FreeSWITCH.<br>
>> David Ponzone Direction Technique<br>
>> email: <a href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a><br>
>> tel: 01 74 03 18 97<br>
>> gsm: 06 66 98 76 34<br>
>> Service Client IPeva<br>
>> tel: 0811 46 26 26<br>
>> <a href="http://www.ipeva.fr" target="_blank">www.ipeva.fr</a> - <a href="http://www.ipeva-studio.com" target="_blank">www.ipeva-studio.com</a><br>
>> Ce message et toutes les pièces jointes sont confidentiels et établis à<br>
>> l'intention exclusive de ses destinataires. Toute utilisation ou diffusion<br>
>> non autorisée est interdite. Tout message électronique est susceptible<br>
>> d'altération. IPeva décline toute responsabilité au titre de ce message<br>
>> s'il<br>
>> a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce<br>
>> message, merci de le détruire immédiatement et d'avertir l'expéditeur.<br>
>><br>
>><br>
>><br>
>> Le 10/11/2010 à 14:32, Bill Kunyiha a écrit :<br>
>><br>
>> Is it possible to call a lua script after a call to for example write<br>
>> billing records?<br>
>> What’s the best way of doing this?<br>
>><br>
>> _______________________________________________<br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
>><br>
>> _______________________________________________<br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
>><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
</div></div><font color="#888888">--<br>
Sent from my mobile device<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><div style="visibility: hidden; left: -5000px;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup{position: absolute;z-index: 9999;padding: 0px 0px;margin-left: 0px;margin-top: 0px;overflow: hidden;word-wrap: break-word;color: black;font-size: 10px;text-align: left;line-height: 130%;}</style>