MTA Is Not Calling The Customized Policy Opcode Hooks When Running Pin_bill_accts (Doc ID 408537.1)

Last updated on JULY 28, 2017

Applies to:

Oracle Communications Billing and Revenue Management - Version 6.5.0.3.1 and later
Information in this document applies to any platform.
***Checked for relevance on 04-Feb-2011***
***Checked for relevance on 20-Nov-2012***
***Checked for relevance on 4-May-2015***

Symptoms

While running pin_bill_accts command, MTA is not calling the customized policy opcode hooks.


The Infranet MTA framework provides policy opcode hooks for customization of Infranet MTAs. For example, one can create "a custom billing utility" by customizing Infranet's pin_bill_accts MTA. But these policy opcode hooks are not called while running pin_bill_accts.

These are the steps undertaken:

1) Add definition of 3 custom mta policy opcodes to include file tdb_mta.h
2) Create shared library module: tdb_mta_pol.so
3) Create /config/mta object

nap(1543)> robj - $DB /config/mta 970755
# number of field entries allocated 13, used 13
0 PIN_FLD_POID POID [0] 0.0.0.1 /config/mta 970755 0
0 PIN_FLD_CREATED_T TSTAMP [0] (1117997822) Mon Jun 06 04:57:02 2005
0 PIN_FLD_MOD_T TSTAMP [0] (1117997822) Mon Jun 06 04:57:02 2005
0 PIN_FLD_READ_ACCESS STR [0] "G"
0 PIN_FLD_WRITE_ACCESS STR [0] "S"
0 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 1 0
0 PIN_FLD_DESCR STR [0] ""
0 PIN_FLD_HOSTNAME STR [0] "-"
0 PIN_FLD_NAME STR [0] "MTA"
0 PIN_FLD_PROGRAM_NAME STR [0] "-"
0 PIN_FLD_VALUE STR [0] ""
0 PIN_FLD_VERSION STR [0] ""
0 PIN_FLD_CONFIG_MTA ARRAY [0] allocated 5, used 5
1 PIN_FLD_LIBRARY STR [0] ""
1 PIN_FLD_NAME STR [0] ""
1 PIN_FLD_OPCODE_MAP ARRAY [1] allocated 2, used 2
2 PIN_FLD_FUNCTION STR [0] "MTA_INIT_SEARCH"
2 PIN_FLD_NAME STR [0] "TDB_OP_MTA_POL_INIT_SEARCH"
1 PIN_FLD_OPCODE_MAP ARRAY [0] allocated 2, used 2
2 PIN_FLD_FUNCTION STR [0] "MTA_CONFIG"
2 PIN_FLD_NAME STR [0] "TDB_OP_MTA_POL_CONFIG"
1 PIN_FLD_OPCODE_MAP ARRAY [2] allocated 2, used 2
2 PIN_FLD_FUNCTION STR [0] "MTA_USAGE"
2 PIN_FLD_NAME STR [0] "TDB_OP_MTA_POL_USAGE"
nap(1543)>

4) Add entry into cm's pin.conf to recognize new shared library
5) Stop Infranet, start Infranet
6) Run pin_bill_accts -test

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms