[OpenSIPS-Users] ACC Extra field On OpenSIPs Console - CDR Viewer

Social Boh social at bohboh.info
Thu Nov 2 13:34:41 EDT 2017


Sorry,

OpenSIPS Control Panel 7.2.3 :)

I have this line on ACC Configuration:

*modparam("acc", "extra_fields", "db: gw->Gateway")*

To know wich gateway OpenSIPs use to make a call.

I added this field in acc table and i can see the values.

My problem is I don't know how modify correctly:

*config/tools/system/cdrviewer/local.inc.php*

to see the values of this field on the CDR Viewer menu. With this:

  // what fields to show
  $show_field[0]['time'] = "Time" ;
  $show_field[1]['method'] = "Method" ;
  $show_field[2]['callid'] = "Sip Call ID" ;
  $show_field[3]['sip_code'] = "Sip Code" ;
  $show_field[4]['sip_reason'] = "Sip Reason" ;
  $show_field[5]['setuptime'] = "Setup Time";
  $show_field[6]['duration'] = "Duration";
  $show_field[7]['from_tag'] = "Sip From Tag" ;
  $show_field[8]['to_tag'] = "Sip To Tag";
* $show_field[9]['Gateway'] = "SIP Gateway";*

(bold) I can see the column but not contain any value.

Thank you

Regards

---
I'm SoCIaL, MayBe

El 02/11/2017 a las 12:23, Bogdan-Andrei Iancu escribió:
> Hi,
>
> I guess you mean OpenSIPS Control Panel 7.2.3 (and not OpenSIPS Console).
>
> And yes, it is possible to configure the CDRViewer to display extra DB 
> fields. What are the changes you did in the local.inc.php file ?
>
> Regards,
>
> Bogdan-Andrei Iancu
>   OpenSIPS Founder and Developer
>   http://www.opensips-solutions.com
>
> On 11/02/2017 06:56 PM, Social Boh wrote:
>> Hello,
>>
>> I'm using OpenSIPs 2.3.2 and OpenSIPs Console 7.2.3.
>>
>> I'd like know if is possible to see Acc Extra Fields, configured on 
>> ACC Module, on CDR Viewer menu.
>>
>> I tried modifying

>> p without success.
>>
>> Regards
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20171102/d85ab9d8/attachment.html>


More information about the Users mailing list