cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
641
Views
0
Helpful
0
Replies

VXML 2.0 record request to UCCX 11.6

alan.clarke1
Level 1
Level 1

Hello,

 

I have created an external VXML 2.0 application that is called from a UCCX script. The applications sends a record request to UCCX 11.6 using a 29xx voice gateway.  I wish the recorded audio to be returned to my web server for further processing. 

 

The VXML record request is as follows

 

<form id="record">
<property name="timeout" value="22s" />
<record name="media"
maxtime="6s"
finalsilence="800ms"
dtmfterm="true"
beep="false"
type="audio/x-wav"> 

 

What I am seeing is the request is processed without exception however the audio file is empty. I have limited access to the UCCX platform but what I am seeing is that the following error is being thrown:

 

RTPRecorder: Exception in recording: Exception=com.cisco.audio.WrongAudioFormatException: Unsupported payload type: 2
%MIVR-LIB_MEDIA-3-EXCEPTION:com.cisco.audio.WrongAudioFormatException: Unsupported payload type: 2
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.dialog.RTPProperties$Payload.toAudioFormat(RTPProperties.java:253)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.media.RTPRecorder.initializeOutputStream(RTPRecorder.java:300)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.media.RTPRecorder.startInput(RTPRecorder.java:243)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.cmt.MediaManagerImpl.record(MediaManagerImpl.java:337)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.voicebrowser.wf.WFDTMFDialogServicesAdapterImpl.record(WFDTMFDialogServicesAdapterImpl.java:1010)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.voicebrowser.FormItemTraverser.handleRecordElement(FormItemTraverser.java:360)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.voicebrowser.DialogTraverser.collectPhase(DialogTraverser.java:378)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.voicebrowser.DialogTraverser.traverseDialog(DialogTraverser.java:610)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.voicebrowser.DocumentTraverser.traverseDocument(DocumentTraverser.java:210)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.voicebrowser.VoiceBrowser.invokeDocument(VoiceBrowser.java:501)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.voicebrowser.VoiceBrowser.invokeNewDocument(VoiceBrowser.java:428)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.voicebrowser.VoiceBrowser.invokeApplication(VoiceBrowser.java:292)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.voicebrowser.VoiceBrowser.invokeVBSession(VoiceBrowser.java:213)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.subsystems.voicebrowser.dialog.VoiceBrowserDialogImpl.run(VoiceBrowserDialogImpl.java:485)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.app.impl.ApplicationManagerImpl$TaskImpl$ActionImpl.run(ApplicationManagerImpl.java:7757)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.app.impl.ApplicationManagerImpl$TaskImpl.doInterruptible(ApplicationManagerImpl.java:7560)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.subsystems.voicebrowser.dialog.VoiceBrowserDialogImpl.invoke(VoiceBrowserDialogImpl.java:397)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.steps.voicebrowser.VoiceBrowserStep.execute(VoiceBrowserStep.java:339)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.obj.WFBeanStep.executeImpl(WFBeanStep.java:141)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.obj.WFStep.execute(WFStep.java:174)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.obj.WFWorkflowTask.executeStep(WFWorkflowTask.java:494)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.engine.core.WFEngineWorkflowTask.executeStep(WFEngineWorkflowTask.java:122)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.app.impl.WFWorkflowAppDebugTaskWrapper.executeStep(WFWorkflowAppDebugTaskWrapper.java:416)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.obj.WFWorkflowTask.execute(WFWorkflowTask.java:360)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.engine.core.WFEngineWorkflowTask.execute(WFEngineWorkflowTask.java:77)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.app.impl.WFWorkflowAppDebugTaskWrapper.execute(WFWorkflowAppDebugTaskWrapper.java:736)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.engine.core.TaskManager.runTaskNormally(TaskManager.java:415)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.engine.core.TaskManager.runTask(TaskManager.java:371)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.engine.core.TaskManager$RunnableTask.run(TaskManager.java:588)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.executor.impl.ExecutorStubImpl$RequestImpl.runCommand(ExecutorStubImpl.java:690)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.executor.impl.ExecutorStubImpl$RequestImpl.run(ExecutorStubImpl.java:486)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.executor.impl.ExecutorStubImpl$RequestImpl.run(ExecutorStubImpl.java:762)
%MIVR-LIB_MEDIA-3-EXCEPTION: at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:776)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.executor.impl.PooledExecutorStubImpl$1$WorkerImpl.run(PooledExecutorStubImpl.java:99)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.util.ThreadPoolFactory$ThreadImpl.run(ThreadPoolFactory.java:853)
%MIVR-LIB_MEDIA-3-PROB_APPEND_STREAM_DATA:[MIVR_LIB_MEDIA_RTP-36-242-RTP_SENDER] RTPReceiver: Exception in run(): Exception=java.lang.NullPointerException
%MIVR-LIB_MEDIA-3-EXCEPTION:java.lang.NullPointerException
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.media.AudioDocumentImpl.initialize(AudioDocumentImpl.java:184)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.media.AudioDocumentImpl.initialize(AudioDocumentImpl.java:176)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.media.RTPReceiver.run(RTPReceiver.java:52)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.executor.impl.ExecutorStubImpl$RequestImpl.runCommand(ExecutorStubImpl.java:690)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.executor.impl.ExecutorStubImpl$RequestImpl.run(ExecutorStubImpl.java:486)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.executor.impl.ExecutorStubImpl$RequestImpl.run(ExecutorStubImpl.java:762)
%MIVR-LIB_MEDIA-3-EXCEPTION: at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:768)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.executor.impl.PooledExecutorStubImpl$1$WorkerImpl.run(PooledExecutorStubImpl.java:99)
%MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.util.ThreadPoolFactory$ThreadImpl.run(ThreadPoolFactory.java:853)
%MIVR-EXECUTOR_MGR-4-CMD_EXCEPTION:[MIVR_LIB_MEDIA_RTP-36-242] RequestImpl: Un-handled command exception: Facility=MIVR,Sub-Facility=LIB_MEDIA,Executor id=RTP,Mnemonic=RTP_SENDER,Thread=MIVR_LIB_MEDIA_RTP-36-242,Thread priority=10,Time=1,Exception=com.cisco.wf.media.MediaRuntimeException: PROB_APPEND_STREAM_DATA; nested exception is:
java.lang.NullPointerException
%MIVR-EXECUTOR_MGR-4-EXCEPTION:com.cisco.wf.media.MediaRuntimeException: PROB_APPEND_STREAM_DATA; nested exception is:
%MIVR-EXECUTOR_MGR-4-EXCEPTION: java.lang.NullPointerException
%MIVR-EXECUTOR_MGR-4-EXCEPTION: at com.cisco.wf.media.RTPReceiver.run(RTPReceiver.java:76)
%MIVR-EXECUTOR_MGR-4-EXCEPTION: at com.cisco.executor.impl.ExecutorStubImpl$RequestImpl.runCommand(ExecutorStubImpl.java:690)
%MIVR-EXECUTOR_MGR-4-EXCEPTION: at com.cisco.executor.impl.ExecutorStubImpl$RequestImpl.run(ExecutorStubImpl.java:486)
%MIVR-EXECUTOR_MGR-4-EXCEPTION: at com.cisco.executor.impl.ExecutorStubImpl$RequestImpl.run(ExecutorStubImpl.java:762)
%MIVR-EXECUTOR_MGR-4-EXCEPTION: at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:768)
%MIVR-EXECUTOR_MGR-4-EXCEPTION: at com.cisco.executor.impl.PooledExecutorStubImpl$1$WorkerImpl.run(PooledExecutorStubImpl.java:99)
%MIVR-EXECUTOR_MGR-4-EXCEPTION: at com.cisco.util.ThreadPoolFactory$ThreadImpl.run(ThreadPoolFactory.java:853)
%MIVR-EXECUTOR_MGR-4-EXCEPTION: nested stack trace is:
%MIVR-EXECUTOR_MGR-4-EXCEPTION: java.lang.NullPointerException
%MIVR-EXECUTOR_MGR-4-EXCEPTION: at com.cisco.wf.media.AudioDocumentImpl.initialize(AudioDocumentImpl.java:184)
%MIVR-EXECUTOR_MGR-4-EXCEPTION: at com.cisco.wf.media.AudioDocumentImpl.initialize(AudioDocumentImpl.java:176)
%MIVR-EXECUTOR_MGR-4-EXCEPTION: at com.cisco.wf.media.RTPReceiver.run(RTPReceiver.java:52)
%MIVR-EXECUTOR_MGR-4-EXCEPTION: at com.cisco.executor.impl.ExecutorStubImpl$RequestImpl.runCommand(ExecutorStubImpl.java:690)
%MIVR-EXECUTOR_MGR-4-EXCEPTION: at com.cisco.executor.impl.ExecutorStubImpl$RequestImpl.run(ExecutorStubImpl.java:486)
%MIVR-EXECUTOR_MGR-4-EXCEPTION: at com.cisco.executor.impl.ExecutorStubImpl$RequestImpl.run(ExecutorStubImpl.java:762)
%MIVR-EXECUTOR_MGR-4-EXCEPTION: at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:768)
%MIVR-EXECUTOR_MGR-4-EXCEPTION: at com.cisco.executor.impl.PooledExecutorStubImpl$1$WorkerImpl.run(PooledExecutorStubImpl.java:99)
%MIVR-EXECUTOR_MGR-4-EXCEPTION: at com.cisco.util.ThreadPoolFactory$ThreadImpl.run(ThreadPoolFactory.java:853)

 

Is what I am trying possible? If so is the issue on the UCCX side? 

 

I have seen the following thread Link for incorrect format. I have raised this with the UCCX engineer and they have confirmed that they have it correctly set up from their side. 

 

 

 

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: