Decoding/encoding CDR records
A legacy (non-Java) client/server application uses Corba CDR records to communicate over TCP sockets. No CORBA, IIOP or RMI involved, just CDR chosen as record format a long time ago. Now I would like to write a new Java client without changing the server. Is there an easy way to decode/encode a CDR formatted stream associated with a TCP socket? (I looked at the org.omg.CORBA.* packages but all I found was a rather bewildering multitude of abstract interfaces, all pointing the way to ORB country :-) )
TIA / Kaarel
Excerpts from ART user guide
A single call can result in the generation of several CDRs and CMRs as Cisco CallManager tracks the progress of the call through each part of the call: sending digits, receiving digits, hold, transfer, engaging a transcoder for conferencing, disengaging the transcoder, and so on.
http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_user_guide_chapter09186a00800c26eb.html
Regards,
Anup
Similar Messages
-
I have a G4 Ti 4200 8X with the built-in Philips Decoder/Encoder. I haven't used it and wanted to give it a try. What do I need to do so I can use an older, 8mm analog camcorder to capture from? It has standard RCA style video output. Do I just plug it into the the adaptor plug on the back of the card and start the software? Is there an optimal way to capture for decent quality? I just got a DVD burner and would like to be able to burn the 8mm tapes to DVD for long-term storage.
Also, what about audio?
Thanks.If the Camcorder has a S-video out jack, (Yellow) you plug that into the GFX S-video in jack.
For sound, you need to plug the Camcorders audio ports (RED & WHITE) into your PC's sound card LINE in port. you may need a converter for this.
Then the program should be able to record sound and Video at the same time. -
How to decode encoded string for javascript
This is encoded HTML code to be used at javascript function
<div class=\"ProductDetail\"><div style=\"width:780px\">\r\n\t<div class=\"baslik\" style=\"margin: 0px; padding: 5px 10px; border-width: 5px 0px 1px; border-top-style: solid; border-bottom-style: solid; border-top-color: rgb(255, 255, 255); border-bottom-color: rgb(153, 165, 165); vertical-align: baseline; color: rgb(0, 0, 0); clear: both; line-height: 14px; font-family: 'Lucida Grande', sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(219, 223, 226);\"> Di\u011fer \u00d6zellikler<\/div><\/div><\/div>
When decoded properly it becomes below
<div class="ProductDetail"><div style="width:780px">
<div class="baslik" style="margin: 0px; padding: 5px 10px; border-width: 5px 0px 1px; border-top-style: solid; border-bottom-style: solid; border-top-color: rgb(255, 255, 255); border-bottom-color: rgb(153, 165, 165); vertical-align: baseline; color: rgb(0, 0, 0); clear: both; line-height: 14px; font-family: 'Lucida Grande', sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(219, 223, 226);"> Diğer Özellikler</div></div></div>
This website has both decode and encode features
http://www.freeformatter.com/javascript-escape.html#ad-output
I could find HttpUtility.JavaScriptStringEncode at c# however i couldn't find any function class etc to decode encoded string
So i need help about how to decode like that website does
.net 4.5 c#
Browser based Pokemon Style MMORPG Game Developer Used asp.net 4.0 routing at it's
MonstersHi
Monster,
For web questions related to ASP.NET use the
ASP.NET forum
You should get more, better and faster answers on the other forum. Thanks, ahead of time.
Thanks
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Third party solution for CDR records
Just wondering if anyone is using third party software/solutions for reading their CDR records from CUCM and use them to generate general reports for clients
ThanksHi,
don't forget for 2Ring CALL ACCOUNTING (http://www.2ring.com/ca).
It's really powerfull reporting.
Regards,
Martin -
Track AAR Usage in CDR records
Hello,
Is there any way to track in CDR records the usage of AAR. whereas I can run a report to show usage of AAR?
I recently set up a client with AAR and they are asking if there is a way to see how many calls are using AAR versus calls staying On Net within the cluster.
Thanks,
ChuckHello,
I have found that there is a redirect reason code field in a CDR. A value of 129 is used for AAR but I see no way to search for CDR's by redirect reason codes. Any Ideas?
Thanks,
Chuck -
Encoder only records 1 frame sometimes
hello, i recently updated Microsoft Expression Encoder 4 Screen Capture SP2
it is version 4.0.4276.0
i appreciated being able to record longer.. Problem, Sometimes after recording for several minutes I drop down the Capture Manager tab to view previews.. The encoder only recorded 1 or 2 frames for roughly 12 seconds.. this seems to randomly happen every
couple of recordings.. the other recordings are all fine.. this is not a previewing issue, but it is a recording issue.. the file sizes on the recordings with error are much too small.. so, this is not a problem opening the .xesc files, but simply that some
of them did not record properly..
i'm running windows 8.1 on an i7 with a nvidiagtx660 and 12gb ram with plenty of hard drive space..
what is causing this, how can i fix it.. thank you very much anyone who can correct thisok so i lost several recordings.. one was Very long and Very important.. i don't know why this happens but it is a huge disappointment.. at least i know enough now to watch the statistics and make sure there are more than 2 frames within the first few
seconds -
CDR Records for Voicemail.
A manager is requesting a report that I am unsure how to gather the CDR data. She wants to know how many calls going to a perticular extension are being forwarded to voicemial becuase they are unanswered.
I am familiar with creating reports that include incoming/outgoing/date/time/duration. I am unsure about how to gather the voicemail CDR variable. If anyone has any tips please post and thank you in advance.This report gives the percentage of erroneous CDR records for the total CDR records processed, the number of CDR records processed, and the number of erroneous CDR records. The report also gives the division of the erroneous CDR records into different error conditions along with the descriptions for the same.
http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/art/rel_notes/ART111RN.html#wp1024578 -
Hi! I have my Lync 2013 up and running and making calls to PSTN. I can also generate Monitoring Reports thru my report server:
http://SQLSERVER.CCOMPANY.local/ReportServer_LYNC2013/Pages/ReportViewer.aspx?/LyncServerReports/Reports%20Home%20Page. I need to generate pure CDR records for voice. This is mainly for call accounting purpose. Can any one suggest me what
to do? Thanks!
AlbertFor monitor Call Accounting, you can refer below link
http://weakestlync.com/2013/07/11/lync-2013-cdr-report-recharge-call-costs/
http://www.isi-info.com/partners/technology-partners/microsoft-lync/microsoft-lync-cdr-collection-method
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
Mai Ali | My blog: Technical | Twitter:
Mai Ali -
'MAX CDR records" parameter in CCM version 6
Hello Everyone,
Where can I find the 'MAX CDR records" in CCM version 6? and what is the appropriate value to be set? Should it be left to default value?
Thank you very much in advance.You may find it in the car:tbl_system_preferences table. I would leave it as default.
admin:run sql select * from car:tbl_system_preferences
param_name param_value
========================= ========================================
MIN_DATE 01/01/1970
MAX_DATE 01/01/1970
CDR_MIN_DATE 01/01/1970
CDR_MAX_DATE 01/01/1970
MAX_CDR_NUMBER 2000000
MAX_ERROR_RECORD_ID 1
COMPANY_NAME
TOLL_FREE 1800,1855,1866,1877,1888
CHARGELIMIT 200.00
GOOD 20.00
POOR 30.00
DEFAULT_CAR_USER _unspecifieduser
LOADER_STATUS 1
CONTINUOUS_LOADING_24_7 1
LOAD_CDR_ONLY 1
MANUAL_PURGE_STATUS 0
LOADER_SCHEDULE_BACKUP DailyCdrLoad,L,1440,-1,00:00:00,0,300,30
PURGE_LOW_WATER_MARK 80
PURGE_HIGH_WATER_MARK 90
MIN_CAR_DATABASE_AGE 2
MAX_CAR_DATABASE_AGE 60
LAST_PROCESSING_DIRECTORY
LAST_PROCESSING_FILE
LAST_PROCESSING_DATA_ROW
UPDATE_STATISTICS_DATE 05/14/2010,0
LOADER_BATCH 600,600,2500,3000
INSTALLATION_DATE 2/22/2010
Michael
http://htluo.blogspot.com -
Any way to encode/decode PL/SQL record types ?
Hello everyone,
I came to XDK because I was looking for an easy way or working around a JDBC driver limitation. Namely that it does not access PL/SQL record types. I thought the best way was to encode my package's public types into XML streams and wrap up each public routine into a set of routines receiving and exporting data in XML.
I installed XDK 9i/PL/SQL yesterday and tried it on my 8.1.6 db. So far so good.
However, I did not see anything that does not access directly the database. The only preocupation of XSU is to access directly the DB for a variety of select, insert...
Am I wrong ?
I'm looking for a routine that takes an XML varchar, a DTD varchar and some description of my type (to map tags to fields) and parses the whole thing...
Is there anything I could use to do that ???
Thanks in advance...
AlainMarwim wrote:
You code should be instrumented. Whenever you need to debug/trace you switch it on and get a log fileor log table; it maybe a database parameter or simply a package variable, which you can set at runtime.
This will allow you to debug a production environment where you should never be allowed to change the code or to use adebugger.And very valuable advice this is...
Debugging needs to be part and parcel of a code unit (like a PL/SQL package), where you can execute it (in production or anywhere else) and tell it "+go forth, execute, and debug thyself+". -
External task - prepare method - decode-encode
In the prepare method, I write code refer to thread:
How to invoke a java application in the middle of the process
Using Papi to operate with process
How to invoke a java application in the middle of the process
If the error is caused by decoding and encodeing the URL, please tell me how to fix this problem.
Thanks a lot.
The code snippet as follows
-------------------code-----------------------------------------------
package getinstance;
import fuego.lang.DynamicObject;
import fuego.papi.Arguments;
import fuego.papi.CommunicationException;
import fuego.papi.InstanceInfo;
import fuego.papi.ProcessService;
import fuego.papi.ProcessServiceSession;
import fuego.papi.OperationException;
import java.util.Iterator;
import java.util.Map;
import java.util.Properties;
public class prepare {
public prepare() {
public static void main(String[] args) {
prepare prepare = new prepare();
Properties configuration = new Properties();
configuration.setProperty(ProcessService.DIRECTORY_ID, "default");
configuration.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "D:\\BPM_HOME_standalone\\webapps\\papiws\\WEB-INF\\directory.xml");
configuration.setProperty(ProcessService.WORKING_FOLDER, "/tmp");
System.out.println("1111111111111");
Arguments argumentsResult = Arguments.create();
String taskIn = "0";
//String activity = "/InvokeJavaProcess#Default-1.0/InteractiveJava"; //both are fine
String activity = "InteractiveJava"; //both are fine
String instanceId = "/InvokeJavaProcess#Default-1.0/203/0";
try {
ProcessService processService = ProcessService.create(configuration);
ProcessServiceSession session = processService.createSession("jcooper", "welcome1", "host");
System.out.println("33333 instanceID="+instanceId);
argumentsResult = session.activityPrepare(activity, instanceId, Arguments.create()); // error starts from here
System.out.println("444444444");
DynamicObject obj = argumentsResult.getDynamicObject();
Map fieldMaps = obj.asFieldsMap();
for (Iterator<String> iterator = fieldMaps.keySet().iterator(); iterator.hasNext();) {
String key = iterator.next();
System.out.println("key : "+ key + "value" +obj.getField(key));
DynamicObject obj2 = argumentsResult.getDynamicObject();
Map fieldMaps2 = obj2.asFieldsMap();
for (Iterator<String> it = fieldMaps2.keySet().iterator(); it.hasNext();) {
System.out.println("key : "+ key + " value : "+ obj2.getField(key));
session.close();
} catch (OperationException e) {
e.printStackTrace();
But I get errors like follow:
-------------------error---------------------------------------
E:\Jdeveloper10131_20090318\jdk\bin\javaw.exe -client -classpath E:\Jdeveloper10131_20090318\jdev\mywork\Java_be_invoked\getInstance\classes;D:\BPM_HOME_standalone\client\papi\lib\fuegopapi-client.jar getinstance.prepare
1111111111111
Creating connector [fuego:SQL]
Creating ProcessService with id 'oracle/2009-03-31 18:08:47+08:00'.
Local folder /tmp\system\Schema3387192-1796619082\catalogs found.
Loading catalogs from local folder: /tmp\system\Schema3387192-1796619082\catalogs
1 jars found locally.
Local jar '126' succesfully loaded.
[CatalogMgrCache] =======================
Registering CatalogMgr [oracle/2009-03-31 18:08:47+08:00] ...CatalogManagerCache 14949315:
Managers:
Counters:
[CatalogMgrCache] =======================
CatalogMgr [oracle/2009-03-31 18:08:47+08:00] REGISTERED!CatalogManagerCache 14949315:
Managers:
{oracle/2009-03-31 18:08:47+08:00=fuego.util.LocalCatalogManager@1dacccc}
Counters:
ProcessService 'oracle/2009-03-31 18:08:47+08:00' created successfully.
33333 instanceID=/InvokeJavaProcess#Default-1.0/203/0
Unreachable Engine Tolerance (seconds):
by default: 0
to be used: 0
This papi client will not cache exceptions which imply that an engine could not be reached.
Adding local catalog for project: 124
[CatalogLoaderMgrCache] =======================
CatalogClassLoader[oracle/2009-03-31 18:08:47+08:00-124] added to cache
Catalog ClassLoader MAP:
{oracle/2009-03-31 18:08:47+08:00-124=CatalogClassLoader(FuegoObjectCatalog(catalogIn: 124, directoryId: oracle/2009-03-31 18:08:47+08:00))}
Catalog Manager Cache:
CatalogManagerCache 14949315:
Managers:
{oracle/2009-03-31 18:08:47+08:00=fuego.util.LocalCatalogManager@1dacccc}
Counters:
{oracle/2009-03-31 18:08:47+08:00=1}
fuego.papi.exception.TaskFailedException: Task '0' in activity '/InvokeJavaProcess#Default-1.0/Interactive[InteractiveJava]' for instance '/InvokeJavaProcess#Default-1.0/203/0' could not be successfully executed. The task failed while executing method '%PREPARE%'.
at fuego.papi.exception.TaskFailedException.create(TaskFailedException.java:57)
at fuego.server.AbstractProcessBean.createTaskFailedException(AbstractProcessBean.java:3572)
at fuego.fengine.FEngineProcessBean.createTaskFailedException(FEngineProcessBean.java:398)
at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:3193)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
at fuego.lang.JavaObject.invoke(JavaObject.java:227)
at fuego.component.Message.process(Message.java:585)
at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
at fuego.component.CustomExecution.next(CustomExecution.java:176)
at fuego.papi.impl.rmi.RMIExecution.next(RMIExecution.java:109)
at fuego.papi.impl.ProcessInstanceOperation.prepareExternalActivity(ProcessInstanceOperation.java:695)
at fuego.papi.impl.ProcessServiceSessionImpl.activityPrepare(ProcessServiceSessionImpl.java:1420)
at fuego.papi.impl.ProcessServiceSessionImpl.activityPrepare(ProcessServiceSessionImpl.java:1414)
at getinstance.prepare.main(prepare.java:43)
Caused by: fuego.lang.ComponentExecutionException: The method 'CIL_interactiveJavaPrepare' from class 'oracle.InvokeJavaProcess.Default_1_0.Instance' could not be successfully executed.
at fuego.component.ExecutionThreadContext.invokeMethod(ExecutionThreadContext.java:519)
at fuego.component.ExecutionThreadContext.invokeMethod(ExecutionThreadContext.java:273)
at fuego.fengine.FEEngineExecutionContext.invokeMethodAsCil(FEEngineExecutionContext.java:219)
at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1280)
at fuego.server.execution.TaskExecution.invoke(TaskExecution.java:401)
at fuego.server.execution.InteractiveNormalCilExecution.invoke(InteractiveNormalCilExecution.java:425)
at fuego.server.execution.TaskExecution.executeCIL(TaskExecution.java:513)
at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:697)
at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:657)
at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:154)
at fuego.server.execution.microactivity.InteractiveMicroActivity.executeNormalCil(InteractiveMicroActivity.java:501)
at fuego.server.execution.microactivity.InteractiveMicroActivity.executeItem(InteractiveMicroActivity.java:454)
at fuego.server.execution.microactivity.InteractiveMicroActivity.execute(InteractiveMicroActivity.java:104)
at fuego.server.AbstractProcessBean$48.execute(AbstractProcessBean.java:3184)
at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:3188)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
at fuego.lang.JavaObject.invoke(JavaObject.java:227)
at fuego.component.Message.process(Message.java:585)
at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
Caused by: java.lang.NullPointerException
at oracle.InvokeJavaProcess.Default_1_0.Instance.CIL_interactiveJavaPrepare(Instance.xcdl:1)
at oracle.InvokeJavaProcess.Default_1_0.Instance.CIL_interactiveJavaPrepare(Instance.xcdl)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.component.ExecutionThreadContext.invokeMethod(ExecutionThreadContext.java:512)
... 34 more
Process exited with exit code 0.
----------------------------------------------------------------Hi Satinder,
This time I change something in the process.
1, the process still has 3 interactive activities: jcooperkeyin, tojava, Interactivejstein.
2, I create a BPMObject including amount (decimal, 2) , purpose
3, the main task of jcooperkeyin is a screenflow: set values to purpose and amount
4, tojava activity is external.
Prepare method name: tojavaprepare
method contents:
arg1.amount=var1.amount
arg1.purpose=var1.purpose
Commit method: tojavacommit
method contents:
var1.purpose=arg2.purpose
var1.amount=arg2.amount
5, I create an instance variable name var1 and its type is BPMObjec
6, the argument module is changed to out
7, I change the java prepare method code as you commend:
8, After I run the java prepare method, I get some new errors which as follow:
--------------------------code----------------------------------------------------
package getinstance;
import fuego.lang.Decimal;
import fuego.lang.DynamicObject;
import fuego.papi.Arguments;
import fuego.papi.CommunicationException;
import fuego.papi.InstanceInfo;
import fuego.papi.ProcessService;
import fuego.papi.ProcessServiceSession;
import fuego.papi.OperationException;
import java.math.BigDecimal;
import java.util.Iterator;
import java.util.Map;
import java.util.Properties;
public class prepare {
public prepare() {
public static void main(String[] args) {
prepare prepare = new prepare();
Properties configuration = new Properties();
configuration.setProperty(ProcessService.DIRECTORY_ID, "default");
configuration.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "D:\\BPM_HOME_standalone\\webapps\\papiws\\WEB-INF\\directory.xml");
configuration.setProperty(ProcessService.WORKING_FOLDER, "/tmp");
System.out.println("1111111111111");
Arguments argumentsResult = Arguments.create();
String taskIn = "0";
String activity = "tojava";
//String activity = "jcooperkeyin";
String processId = "/InvokeJava2#Default-1.0";
//String instanceId = "/InvokeJava2#Default-1.0/281/0";
Arguments arguments = Arguments.create();
DynamicObject dyn = DynamicObject.create();
dyn.setField("amount", new BigDecimal(100.0));
dyn.setField("purpose", "---------");
arguments.putArgument("var1", dyn);
try {
ProcessService processService = ProcessService.create(configuration);
ProcessServiceSession session = processService.createSession("jcooper", "welcome1", "host");
String ist="ist";
for (InstanceInfo instance : session.processGetInstances(processId)) {
System.out.println(" instance.getId()-> " + instance.getId());
ist=instance.getId();
System.out.println(" activity.getActivityId()-> " +instance.getActivityId());
System.out.println(" activity.getActivityName()-> " +instance.getActivityName());
System.out.println("----------111----------------------");
argumentsResult = session.activityPrepare(activity, instance.getId(), arguments); //error starts from here
System.out.println("-----2222-----------");
DynamicObject obj = argumentsResult.getDynamicObject();
Map fieldMaps = obj.asFieldsMap();
for (Iterator<String> iterator = fieldMaps.keySet().iterator(); iterator.hasNext();) {
String key = iterator.next();
System.out.println("key : "+ key + "value" +obj.getField(key));
DynamicObject obj2 = argumentsResult.getDynamicObject();
Map fieldMaps2 = obj2.asFieldsMap();
for (Iterator<String> it = fieldMaps2.keySet().iterator(); it.hasNext();) {
System.out.println("key : "+ key + " value : "+ obj2.getField(key));
System.out.println("444444444");
session.close();
} catch (OperationException e) {
e.printStackTrace();
---------------------new error------------------------------------------------------
E:\Jdeveloper10131_20090318\jdk\bin\javaw.exe -client -classpath E:\Jdeveloper10131_20090318\jdev\mywork\Java_be_invoked\getInstance\classes;D:\BPM_HOME_standalone\client\papi\lib\fuegopapi-client.jar;D:\BPM_HOME_standalone\client\papi\lib\b1base.jar;D:\BPM_HOME_standalone\client\papi\lib\b1oracle.jar;D:\BPM_HOME_standalone\client\papi\lib\b1util.jar getinstance.prepare
1111111111111
Creating connector [fuego:SQL]
Creating ProcessService with id 'oracle/2009-03-31 18:08:47+08:00'.
Local folder /tmp\system\Schema3387192-1796619082\catalogs found.
Loading catalogs from local folder: /tmp\system\Schema3387192-1796619082\catalogs
1 jars found locally.
Local jar '181' succesfully loaded.
[CatalogMgrCache] =======================
Registering CatalogMgr [oracle/2009-03-31 18:08:47+08:00] ...CatalogManagerCache 14949315:
Managers:
Counters:
[CatalogMgrCache] =======================
CatalogMgr [oracle/2009-03-31 18:08:47+08:00] REGISTERED!CatalogManagerCache 14949315:
Managers:
{oracle/2009-03-31 18:08:47+08:00=fuego.util.LocalCatalogManager@1dacccc}
Counters:
ProcessService 'oracle/2009-03-31 18:08:47+08:00' created successfully.
Unreachable Engine Tolerance (seconds):
by default: 0
to be used: 0
This papi client will not cache exceptions which imply that an engine could not be reached.
instance.getId()-> /InvokeJava2#Default-1.0/281/0
Adding local catalog for project: 181
activity.getActivityId()-> /InvokeJava2#Default-1.0/tojava
activity.getActivityName()-> tojava
----------111----------------------
[CatalogLoaderMgrCache] =======================
CatalogClassLoader[oracle/2009-03-31 18:08:47+08:00-181] added to cache
Catalog ClassLoader MAP:
{oracle/2009-03-31 18:08:47+08:00-181=CatalogClassLoader(FuegoObjectCatalog(catalogIn: 181, directoryId: oracle/2009-03-31 18:08:47+08:00))}
Catalog Manager Cache:
CatalogManagerCache 14949315:
Managers:
{oracle/2009-03-31 18:08:47+08:00=fuego.util.LocalCatalogManager@1dacccc}
Counters:
{oracle/2009-03-31 18:08:47+08:00=1}
Processing the synchronization information, instance '181:281:0' was updated.
fuego.papi.OperationException: Operation exception.
at fuego.papi.OperationException.wrap(OperationException.java:65)
at fuego.papi.impl.ProcessInstanceOperation.prepareExternalActivity(ProcessInstanceOperation.java:706)
at fuego.papi.impl.ProcessServiceSessionImpl.activityPrepare(ProcessServiceSessionImpl.java:1420)
at fuego.papi.impl.ProcessServiceSessionImpl.activityPrepare(ProcessServiceSessionImpl.java:1414)
at getinstance.prepare.main(prepare.java:58)
Caused by: fuego.rmi.RMIRuntimeException: Fuego RMI: Failure during the invocation. Check the exception chain for details.
at fuego.rmi.RemoteProxy.processBatch(RemoteProxy.java:192)
at fuego.component.ExecutorClient.dispatch(ExecutorClient.java:190)
at fuego.component.CustomExecution.next(CustomExecution.java:247)
at fuego.papi.impl.rmi.RMIExecution.next(RMIExecution.java:109)
at fuego.papi.impl.ProcessInstanceOperation.prepareExternalActivity(ProcessInstanceOperation.java:695)
... 3 more
Caused by: fuego.rmi.spi.SerializationException: Unable to receive the message because of a serialization error.
at fuego.rmi.spi.BaseConnection.send(BaseConnection.java:105)
at fuego.rmi.ServerCluster.send(ServerCluster.java:210)
at fuego.rmi.ServerCluster.sendResult(ServerCluster.java:461)
at fuego.rmi.ServerCluster.access$300(ServerCluster.java:43)
at fuego.rmi.ServerCluster$ClientRequest$1.put(ServerCluster.java:556)
at fuego.component.ExecutionThread.sendResult(ExecutionThread.java:532)
at fuego.component.ExecutionThreadContext.doClientInvoke(ExecutionThreadContext.java:695)
at fuego.component.ClientRemoteComponent.doInvocation(ClientRemoteComponent.java:303)
at fuego.component.ClientRemoteComponent.invokeRelayTo(ClientRemoteComponent.java:211)
at fuego.component.ExecutionRelayedThrowable.execute(ExecutionRelayedThrowable.java:109)
at fuego.server.execution.TaskExecution.handleExecutionRelayedThrowable(TaskExecution.java:816)
at fuego.server.execution.TaskExecution.handleComponentExecutionException(TaskExecution.java:767)
at fuego.server.execution.TaskExecution.executeCIL(TaskExecution.java:516)
at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:697)
at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:657)
at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:154)
at fuego.server.execution.microactivity.InteractiveMicroActivity.executeNormalCil(InteractiveMicroActivity.java:501)
at fuego.server.execution.microactivity.InteractiveMicroActivity.executeItem(InteractiveMicroActivity.java:454)
at fuego.server.execution.microactivity.InteractiveMicroActivity.execute(InteractiveMicroActivity.java:104)
at fuego.server.AbstractProcessBean$48.execute(AbstractProcessBean.java:3184)
at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:3188)
at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
at fuego.lang.JavaObject.invoke(JavaObject.java:227)
at fuego.component.Message.process(Message.java:585)
at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
... 8 more
Caused by: java.io.NotSerializableException: java.lang.Object
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at java.util.HashMap.writeObject(Unknown Source)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeArray(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at fuego.component.Message.writeObject(Message.java:653)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at fuego.component.Batch.writeObject(Batch.java:151)
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at fuego.rmi.Packet.write(Packet.java:240)
at fuego.rmi.spi.BaseConnection.send(BaseConnection.java:102)
at fuego.rmi.ServerCluster.send(ServerCluster.java:210)
at fuego.rmi.ServerCluster.sendResult(ServerCluster.java:461)
at fuego.rmi.ServerCluster.access$300(ServerCluster.java:43)
at fuego.rmi.ServerCluster$ClientRequest$1.put(ServerCluster.java:556)
at fuego.component.ExecutionThread.sendResult(ExecutionThread.java:532)
at fuego.component.ExecutionThreadContext.doClientInvoke(ExecutionThreadContext.java:695)
at fuego.component.ClientRemoteComponent.doInvocation(ClientRemoteComponent.java:303)
at fuego.component.ClientRemoteComponent.invokeRelayTo(ClientRemoteComponent.java:211)
at fuego.component.ExecutionRelayedThrowable.execute(ExecutionRelayedThrowable.java:109)
at fuego.server.execution.TaskExecution.handleExecutionRelayedThrowable(TaskExecution.java:816)
at fuego.server.execution.TaskExecution.handleComponentExecutionException(TaskExecution.java:767)
at fuego.server.execution.TaskExecution.executeCIL(TaskExecution.java:516)
at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:697)
at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:657)
at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:154)
at fuego.server.execution.microactivity.InteractiveMicroActivity.executeNormalCil(InteractiveMicroActivity.java:501)
at fuego.server.execution.microactivity.InteractiveMicroActivity.executeItem(InteractiveMicroActivity.java:454)
at fuego.server.execution.microactivity.InteractiveMicroActivity.execute(InteractiveMicroActivity.java:104)
at fuego.server.AbstractProcessBean$48.execute(AbstractProcessBean.java:3184)
at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:3188)
at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
at fuego.lang.JavaObject.invoke(JavaObject.java:227)
at fuego.component.Message.process(Message.java:585)
at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
Process exited with exit code 0. -
My decoding/encoding program that almost works. What's wrong?
I've been working on the following program. After it prompts the user to enter a "code," it is then supposed to examine it and either encode or decode it, depending on what the user entered. All entries from the user that are meant to be decoded need to be inputted in this form: "lkdhe lakdh idhal" (1 space after every five letters, and it can only consist of lower or uppercase letters and the numbers 1-5).
If anything else is entered by the user, the program will encode it. However, I can only get the program to call the encode function, the decode function only comes up when I enter in 1 letter to the console. I'm pretty sure the problem is concerning this loop which is suppose to test to see if the user entered in anything other than a letter or number. I don't think it's doing what I want it to do though. I have another loop to test for the required spaces, and I know that one is working.
for(n = 0; n <= s.length() ;n++)
s1 = s.substring(n);
if(Code.CODE1.indexOf(s1) == -1)
return false;
}Here is the rest of the code:
import java.util.Scanner;
public class Enc1
public static void main (String []args)
//String message = args[0];
//String codedMessage = args[1];
boolean valid = false;
int i;
int j;
Scanner keyboard = new Scanner(System.in);
System.out.println("Enter a code");
String code = keyboard.nextLine();
System.out.println(code);
if (isCoded(code))
System.out.println(decode(code));
else
System.out.println(encode(code));
public class Code{
private static final String CODE1 = "HTNZUL5m3lDQchenpIuORws1jPgVtzKWbfBxXSArdayCJkvqGiF2YoM4E";
public static final String CODE2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ,.;:";
public static String encode (String message)
message = "Encode called";
return message;
//CODE1.charAt(0); //0 will equal H
//CODE1.indexOf(CODE1, 0); //Not sure what it returns
public static String decode (String codedMessage)
codedMessage = "Decode called";
return codedMessage;
public static boolean isCoded(String s){
int n;
int m;
boolean valid = true;
String s1;
for(n = 0; n <= s.length() ;n++)
s1 = s.substring(n);
if(Code.CODE1.indexOf(s1) == -1)
return false;
for(m = 5; m <= s.length()-1; m = m+6)
if(s.charAt(m) == ' ')
valid = true;
else
return false;
return valid;
}Any suggestions? I hope I explained my problem clearly enough, I'm a little burnt out on this program, I've been working on it for hours. Any help would be greatly appreciated.Hey Bud,
I think it wouldnt be really clean to mention
boolean valid = true;in the beginning of your for and if.
I would personally start of by making my booleans false in the beginning and changing it on logic.
HTH -
CDR Record Timestamps incorrect
Hi Guru's!
My customer has CUCM 5.1.3.
The system dumps it's CDR's to a third party Billing Server (AI).
However since the Time change from GMT to BST (GMT+1), the records from the billing server show all the calls as 1 hour behind.
My question is, does CDR stamp the times as UTC or as Local (BST)?
The timezone configuration is correct and the current time on the phones are correct also. It's just the timings on the reports that are wrong.
Thanks for your help,
DanCDR time is UTC, if you use CAR it uses the local time settings to perform the hour change. If you use a 3rd party billing server it's the one in charge of changing the time accordingly
HTH
java
if this helps, please rate -
Encoding DVDs recorded on home DVD deck using handbrake
Just bought a panasonic DMRES20D DVD recorder / Player for my TV. I have just been testing it and recorded some footage from TV and finalised the disc. I then was able to play this in apple DVD player on my powerbook. After ripping to my HD, I tried (in the usual way) to encode the VTS folder to transfer to my iPod using both PSPware and Handbrake, but they wouldn't recognise the files. I was using a DVD-RW (I'm wondering if a DVD-R would work) Any Ideas? Is there any software that would deal with this specifically? Any help would be much appreciated.
ThanksYou're right, this worked fine for me until the last update (1.1). Then I had the stop and afterwards running without sound problem. The Nero recode made movies don't show this effect. So, if swomenone intends to buy a burning suite, Nero 7 could be the decision to make if also a 5G ipod is used.
FSC M3438G Windows XP Notebook -
ASK Expert, which CDR records is outgoing or incomming call ?
Hi Expert,
I've insert CDR into DBMS and query it as attachement. But I don't know which records is Outgoing or Incomming call and what direction was made ? Could you please ?
many thanks,Hi,
Here is the algorith use for Call classification using ART, just check it and you will be able to compare it in the DBMS
Algorithm used for Call Classification
During installation ART will ask for following information to help in call classification:
1. Gateway Configuration - IP Address, Name, Location and Area codes would have to
specified for each gateway
2. Number of digits used for internal extensions
This information can also be updated after the package is installed.
Steps to be followed for call classification:
1. Check the fields origination IP address and destination IP address for each Call
2. Match these fields against the gateway configuration information. There are four
possibilities:
a. Neither origination nor destination IP address match gateway IP address - In this case
call will be classified as Internal call
b. Both origination and destination IP address match gateway IP address - In this case
call will be classified as Tandem call
c. Only Origination IP address matches a gateway address - In this case call will be
classified as incoming call
d. Only Destination IP address matches a gateway address - In this case call will be
classified as outgoing call. This call needs to be processed further for sub
classification as indicated in step 3
3. Check the number of digits in destination. If it equals number of digits defined for
internal extension then call will be classified as OnNet call. Otherwise go to next step
4. If the number of digits equals to 7 then call will be classified as Local. Other wise
go to next step
5. If number of digits equal to 10 then compare first 3 digits with the area code for
gateway. In case they are equal then call will be classified as Local, otherwise it will
be classified as a long distance call.
6. If number of digits equal to 11 then compare digits 2 to 4 with the area code for
gateway. In case they are equal then call will be classified as Local, otherwise it will
be classified as a long distance call
7. If the first three digits are 011 then call will be classified as International
8. If there are only 3 digits like 311,411,611,911 then call will be classified as others.
This is also catchall category i.e. in case a call could not classified into any of the
above categories it will be classified as others
Maybe you are looking for
-
How can I delete photos from my phone
how can I delete photos from my i phone after synching w/ my macbook (i photo)?
-
All my events won't show up on Apple TV from my computer. How can I get them all.
I have Apple TV hooked up. I went to computer, photos, events. Only 8 of my events show up and it will not scroll to view others. How can I get them all to appear on screen for viewing.
-
Hi. Since upgrading to Mavericks (inc. latest update today), a perfectly harmonious environment of Entourage > Apple Calendar > Gmail > Android phone has fallen apart. I understand that this is down to Apple removing local sync services in the Maveri
-
[SOLVED] Tiling wm that supports keychains and good mouse support
I hope I'm not bringing up old questions but I couldn't really find anything useful using the search Basically I'm searching for a new tiling wm that supports a few things, namely: Keychains, absolutely necessary, dwm and i3 didn't seem to have this
-
Unable to download the Crystal Reports for Eclipse
<p>Hi,</p><p>I could able to see the download links for "Crystal Reports for Eclipse" in diamond site. But i am not able to download the file completely and the download is not supporting the resume option. Some times the downloads crosses 50% and fi