[Freeswitch-users] B-leg CDR is not Generated using nbibblebill

Shahzad Bhatti shahzad.bhatti at g-r-v.com
Wed Aug 12 13:00:03 MSD 2015


Hello Everybody,
i want to get xml_cdr of b-leg only but i got a-leg and unable to find why
is happen as according to dial-plan i already set as
*<action application="set" data="process_cdr=b_only"/>*

i am using mod_nibblebill to hangup when credit is below zero

every thing is working fine but the call hangup with
cause NORMAL_TEMPORARY_FAILURE

my freeswitch log of the call is here
https://pastebin.freeswitch.org/24356

and cdr i got is a_9aeea5ca-40ca-11e5-a477-4f6a11359a58.cdr.xml is here.
https://pastebin.freeswitch.org/24354

my freeswitch version is:
FreeSWITCH (Version 1.5.8b git e127ca7 2013-12-02 22:48:06Z 64bit) is ready

and nibblebill conf is
<configuration name="nibblebill.conf" description="Nibble Billing">
  <settings>
    <param name="odbc-dsn" value="odbc://freeswitch" />
    <param name="db_table" value="Customer"/>
    <param name="db_column_cash" value="Credit"/>
    <param name="db_column_account" value="ID"/>
    <param name="global_heartbeat" value="60"/>
    <param name="lowbal_amt" value="-1"/>
    <param name="lowbal_action" value="play ding"/>
    <param name="nobal_amt" value="0"/>
    <param name="nobal_action" value="hangup"/>
    <param name="percall_max_amt" value="100"/>
    <param name="percall_action" value="hangup"/>
  </settings>
</configuration>

Regards

Shazhad Alam Bhatti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150812/a4e8ebae/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list