Author Topic: Composer Record Block Issue - unsupported URL  (Read 4905 times)

Offline apitt

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Composer Record Block Issue - unsupported URL
« on: July 17, 2014, 12:53:31 AM »
Hi all,

I am trying to get a basic Record Block working in GVP using Composer 8.1. So far, when I call it, it records, I press # and it says “The requested page could not be found, goodbye”

The error below seems to relate to calling a URL ///D:/VXML/script_v1.0/include/Capture.jsp           

I can see the file generated in the Temp location ( tmp\00D3013B-10004FB4\.. ) and I was able to copy it and listen to it ( before it finishes ), so the record works fine, but as soon as I press #, the error happens and the recording in the tmp directory is deleted.

It then tries to fetch the capture.jsp - Fetching document, uri: file:///D:/VXML/script_v1.0/include/Capture.jsp    I have checked that this file exists and the location is correct.

The capture is set to autoGenerate and no capture location has been configured, although I have tried different options with no result in all the fields with the same result.

It then comes back with an error - POST request failed due to unsupported URL, but the URL is correct.

Error is below.

Anyone any ideas?


2014-07-02T10:23:38.461 Int 50021 00D3013B-10004FB4 6276 record_end :[color=green]RECORD SUCCESS|DTMF|2400|audio/vox|D:\Program Files\GCTI\GVP\VPMediaControlPlatform8.1\GVPMediaControlPlatform\tmp\00D3013B-10004FB4\32_584399324.00D3013B-10004FB4.vox[/color]
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 0C000000 PropertyStore.cxx:1346 HandleSaveTempFileSettings() Get property; Name [__.savetmpfiles], value [none]
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 0C000000 PropertyStore.cxx:1352 HandleSaveTempFileSettings() Get property; Name [__.savetmpfilesmode], value [immediate]
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 0C000000 FormRuntime.cxx:935 FIASelect() Skipping formitem with name [RecordMessageP0] because it's already defined
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 0C000000 FormRuntime.cxx:935 FIASelect() Skipping formitem with name [RecordMessageRECORD] because it's already defined
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 0C000000 FormRuntime.cxx:881 FIASelect() Formitem variable with name [__FORMITEM_NAME_$843$_] is undefined
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 0C000000 FormRuntime.cxx:912 FIASelect() Selected formitem with name [__FORMITEM_NAME_$843$_] (condition test passed)
2014-07-02T10:23:38.461 Int 50029 00D3013B-10004FB4 6276 form_select :__FORMITEM_NAME_$843$_:BLOCK
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 0C000000 Runtime.cxx:77 RuntimeFactory(): Called for [Block] at line [168]
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 0C000000 BlockRuntime.cxx:195 Execute() Started
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 0C000000 Runtime.cxx:77 RuntimeFactory(): Called for [SimplePrompt] at line [169]
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 08500000 SessionConfiguration.C:112 SessConfig::GetValue - Param=[vxmli.conformance.strict_tts_mode]; Value=[FALSE]; [Global]
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 0C000000 SimplePromptRuntime.cxx:33 Execute() Started
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 0C000000 Runtime.cxx:77 RuntimeFactory(): Called for [Data] at line [169]
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 0C000000 DataRuntime.cxx:442 Execute() Started, event type: -1
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 0C000000 Runtime.cxx:923 RuntimeHelper::GetStringProperty() Name [__.savetmpfiles], value [none]
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 0C000000 Runtime.cxx:923 RuntimeHelper::GetStringProperty() Name [__.savetmpfilesmode], value [immediate]
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 0C000000 Runtime.cxx:950 RuntimeHelper::GetTimeProperty() Name [fetchtimeout], value [30000]
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 0C000000 Runtime.cxx:923 RuntimeHelper::GetStringProperty() Name [audiofetchhint], value [safe]
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 0C000000 Runtime.cxx:978 RuntimeHelper::GetNumericProperty() Name [audiomaxstale], value [0]
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 08500000 SessionConfiguration.C:112 SessConfig::GetValue - Param=[vxmli.http.accept]; Value=[]; [Global]
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 08500000 SessionConfiguration.C:112 SessConfig::GetValue - Param=[vxmli.http.version]; Value=[1.1]; [Global]
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 08500000 SessionConfiguration.C:112 SessConfig::GetValue - Param=[vxmli.http.user_agent]; Value=[GVPi/$VERSION$]; [Global]
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4-0001AAE7 6276 01F00000 FMUserResponse.cxx:30 UserResponse created. 1a703db0
2014-07-02 10:23:38.461 DBUG 00000000-00000000 6276 08500500 VGDocumentManager.cxx:875 Fetching document, uri: file:///D:/VXML/script_v1.0/include/Capture.jsp, nMaxage: -1, nMaxstale: 0, enctype: multipart/form-data, post: POST, timeout: 30000
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 0C000000 VXMLSession.cxx:3457 QueueDelayedEvent() type: [12], firetime: [584402711]
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 0C000000 VXMLSession.cxx:2456 HandleRecordDoneEvent() Done
2014-07-02 10:23:38.461 DBUG 00000000-00000000 6276 0C000000 VXMLUtils.h:169 ~PlatformRecoResult() Delete PlatformRecoResult 0x200cbbc0
2014-07-02 10:23:38.461 DBUG 00000000-00000000 6276 0C000000 VXMLUtils.cxx:51 Delete PlatformRecordResult 0x1dd73380
2014-07-02 10:23:38.461 DBUG 00000000-00000000 6276 0C000000 VXMLUtils.h:253 ~PlatformPromptDoneInfo() Delete PlatformPromptDoneInfo 0x1fcd5f30
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6276 0C000000 VXMLSession.cxx:1894 ProcessEvents() Event queue was empty
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4-0001AAE7 6044 01F00000 FMThreadQueue.cxx:1092 [color=red]Processing POST request, URL: file:///D:/VXML/script_v1.0/include/Capture.jsp[/color]2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4-0001AAE7 6044 01F00000 FMThreadQueue.cxx:1101 [color=red]POST request failed due to unsupported URL[/color]
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4-0001AAE7 6044 01F00000 FMUserRequest.cxx:468 Request completed, sending RequestCompleteNotify.
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4-0001AAE7 6044 01F00000 FMThreadQueue.cxx:1179 Processing ReleaseRequest
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4-0001AAE7 6044 01F00000 FMUserRequest.cxx:127 Deleting Request
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6268 0C000000 VXMLSession.cxx:1888 ProcessEvents() Started
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6268 0C000000 VXMLSession.cxx:1905 ProcessEvents() Event type [1], session id: [00D3013B-10004FB4]
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6268 0C000000 VXMLSession.cxx:1319 HandleFetchEvent(): Process state: 6, response code: 0, error: Unsupported URL, uri: file:///D:/VXML/script_v1.0/include/Capture.jsp
2014-07-02T10:23:38.461 Int 50043 00D3013B-10004FB4 6268 [color=red]fetch_end Fail (Unsupported URL):file:///D:/VXML/script_v1.0/include/Capture.jsp[/color]
2014-07-02T10:23:38.461 Std 40027 EROR 00D3013B-10004FB4 6268 0C0003F9 Fetch error on url file:///D:/VXML/script_v1.0 /include/Capture.jsp, reason Unsupported URL, callid 00D3013B-10004FB4
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6268 0C000000 VxmlRuntimeRoot.cxx:213 Execute() Started, event type: 1
2014-07-02 10:23:38.461 DBUG 00D3013B-10004FB4 6268 0C000000 VxmlRuntimeDoc.cxx:162 Execute() Started, event type: 1

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Composer Record Block Issue - unsupported URL
« Reply #1 on: July 17, 2014, 01:04:33 AM »
Are you editing the logs before posting? On last URI I see a white space after the v1.0 but can't see it on previous lines.
Also post as in CODE block the full call. You sure you haven't wrote the local file name on the block? Can you post the Composer configuration?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Composer Record Block Issue - unsupported URL
« Reply #2 on: July 17, 2014, 02:00:39 AM »
Please post full log as requested without modifications on composer app until reviewed.

Offline apitt

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Solution: Composer Record Block Issue - unsupported URL
« Reply #3 on: August 25, 2014, 12:11:48 AM »
Just to update anyone who ever runs into this issue,  it is now resolved. I did raise a case with Genesys and this was there response

[i]"The Composer block only exposes properties to save the recorded file to the Application server. It does not expose the gvp:dest attribute. There is a requirement to add it in Composer 8.5. A workaround would be to use the VXML form blocks"[/i]  To me this sounds like a bug fig in 8.5. Essentially it need to be run from a web server.

To get around this we installed Tomcat on the server and copied the contents of the Web-INF directory to the new tomcat folder called VXML
Then we manually changed the source from [i]src="../include/Capture.jsp[/i] to [i]src="http://127.0.0.1:8080/VXML/Capture.jsp"[/i]

Therefore the source now refers to a webserver location on the server.

I hope at least one person finds this useful.