How to get the calling application's PID in policy opcode
Hello
How can I get the PID of the application which called billing in billing policy opcode (eg PCM_OP_BILL_POL_POST_BILLING)?
Or more generally: how can I get the PID of the application which called an opcode?
Is it somewhere in the context?
The PID is in the log so it should be possible to get it.
It would be the red text in sample log line:
D Sun Apr 2 09:00:00 2017 prosiak.poland.asseco.corp cm_biling:20993 fm_bill_pol_post_billing.c:1857 2:prosiak.poland.asseco.corp:pin_trial_bill_accts:20987:-156845248:1123:1491568039:1:root.0.0.0.2:::
Best regards,
Jacek