The standard cdr does not include the values that were set by nibble bill. To get them, you need to add custom columns to the cdr, as mentioned earlier, them modify the perl script to correctly parse the column. Regards HASSAN On 2010-11-04, budi wibowo <bwibowo@gmail.com> wrote:
the perl script can parse all cdr and insert to database, but no info about the cost defined in nibblebill.
On Wed, Nov 3, 2010 at 1:52 PM, Dome Charoenyost <dome@tel.co.th> wrote:
2010/11/3 William Suffill <william.suffill@gmail.com>:
You can customize the variables stored by mod cdr_csv to include those set by nibblebill if you rather not have mess with mod_cdr_xml
http://wiki.freeswitch.org/wiki/Mod_cdr_csv#Variables_in_a_template
I agree :) for my solution i modify nibble bill support many feature initial block , regular block, grace period (30/6 , 1/1 , 60/60), multiple rate (first 2 minute 0.5 usd and next 0.2 usd) .. etc and define channel variable for csv cdr (about 30 columns)
Dome C.
Just define a new template that includes the nibblebill variables and use that instead of the default.
-- W
PS: I would include an example but don't have it handy.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sent from my mobile device