Where is the recording Flag specified in Database

Version 1
    This document was generated from CDN thread

    Created by: Manas Varma on 17-12-2010 10:15:47 AM
    Hi All,
     
     I need to get reports for all recording related feautures of IP Phones in CUCM 7.X.
     
     While I am able to retrieve, BuiltinBridge, Provacy Status (Phones) and Recording Profile (line) , I am NOT able to get the "Recording Option" for the line. Please help where do I get this in the database .
     
     thanks
     
     Manas

    Subject: Re: New Message from Manas Varma in Administration XML (AXL) - Administrati
    Replied by: Sascha Monteiro on 17-12-2010 10:36:46 AM
    it's in the recordingdynamic table

    On 17/12/2010, at 9:15 PM, Cisco Developer Community Forums wrote:

    > Manas Varma has created a new message in the forum "Administration XML Questions":
    > --------------------------------------------------------------
    > Hi All,

    >  I need to get reports for all recording related feautures of IP Phones in CUCM 7.X.

    >  While I am able to retrieve, BuiltinBridge, Provacy Status (Phones) and Recording Profile (line) , I am NOT able to get the "Recording Option" for the line. Please help where do I get this in the database .

    >  thanks

    >  Manas
    > --
    > To respond to this post, please click the following link:
    > <http://developer.cisco.com/web/axl/forums/-/message_boards/message/2835706>
    > or simply reply to this email.

    Subject: RE: Where is the recording Flag specified in Database
    Replied by: Florian Kroessbacher on 17-12-2010 10:41:22 AM
    Hy!
     
    It's a bit Confusing!
     
    The Recording Option is not Line Specific it is between
     
    It's a Device + Line option.
    You Can Record a Shared Line on a 7941
    But Recording can't be done at the same Line on an ATA
     
    You Get the Recording Option from a
     
    Line Request from a Specified Phone
     
    Values
     
    Call Recording Disabled
    Automatic Call Recording Enabled
    Application Invoked Call Recording Enabled
     
    Code Snipset from my Java Application
     


    GetPhoneReq getPhoneReq =
    new GetPhoneReq ();
    getPhoneReq.setPhoneName(ph.getName().toString());
    GetPhoneResReturn rr = null;
    try {

            rr = stub.getPhone(getPhoneReq).get_return();
         }
    catch (Exception e) {

         }
    p = rr.getDevice(); 
    .
    .
    .
    XPhoneLines lines = p.getLines();
    XLine[] line_arr = new XLine[0];

    try {
    line_arr = lines.getLine();
    }

    catch (Exception e)
    {


    }

    for
    (int j = 0; j < line_arr.length; j++)
    System.out.println("Debug insert line:"
    + line_arr.getUuid()+
    "','"

    + line_arr.getDirn().getUuid()
    +
    "','"

    + p.getUuid()
    +
    "','"

    + line_arr.getAsciiLabel()
    +
    "','"

    + line_arr.getDisplayASCII()
    +
    "','"

    + line_arr.getRecordingFlag()
    +
    "','"

    + line_arr.getRecordingProfileName()
    +
    "','"

    + line_arr.getMaxNumCalls()
    +
    "','"

    + line_arr.getBusyTrigger()
    +
    "'" + ",0,0,getdate(),'" + line_arr.getE164Mask() + "')");

    }
    ...