Author Message
EdwardBrandow
Joined: Jan 28, 2014
Messages: 41
Offline
AAEP version 7.2

OD is 7.1.0



Load Balancer on AEP URL is effecting the grammar URLs and Prompts URLs.

Customer has the following URL defined on the AEP to start the application and it works fine when
moving from one dialog state to another but it does not create the correct URL for builtin grammars or prompts.

The start URL is: http://tdclppp4va900.tdc.vzwcorp.com:5101/v1/prepay/Start


but when we run the application we are getting the following alarms on the AEP.

Failed to create grammar from URI: http://tdclppp4va900.tdc.vzwcorp.com:5101/v1/data/english/grammars/PrepaySpeechConf-srgssisr.grxml 

Return code = CHANNEL_RESULT_FAILURE


Avaya is expecting the grammars in the path specified below, we need a way to have this updated to match specified path in EPM.
We need the path updated from
/v1/data/english/grammars/PrepaySpeechConf-srgssisr.grxml

to
/v1/prepay/data/english/grammars/PrepaySpeechConf-srgssisr.grxml


When creating the URL for grammars it needs to retain the v1 portion of the original starting URL
JonAlperin [Avatar]

Joined: Oct 25, 2013
Messages: 47
Location: New Jersey, USA
Offline
Just for clarity:

1. Have you removed the in-line load balancer, and does this resolve correctly? If so, it would appear to be a load balancer rule that is incorrectly rewriting the URL.

2. And just for clarity, the issue is that it really needs to maintain the /v1/prepay portion of the URL when referencing .../data/english/grammars/..., and not just the /v1/ portion itself. Correct?

Jon Alperin Managing Director, Avaya DevConnect
EdwardBrandow
Joined: Jan 28, 2014
Messages: 41
Offline
1. Have you removed the in-line load balancer, and does this resolve correctly? If so, it would appear to be a load balancer rule that is incorrectly rewriting the URL.


Yes if we remove the v1 as the inline load balancer the application works as expected. All prompts and grammars are generated like this: http://IP:port/prepay/data/english....

but the customer insists that is NOT the load balancer that is re-writing the URL. They have de-compiled some of the runtime OD jars and they can see the class that generates the the URL as /data/CurrentLanguage/grammars/mygrammar.grxml so they feel that is the line of code that is creating the URL which does not include the 'prepay' portion. They are adamant that the URL is not being altered by the load balancer.

2. And just for clarity, the issue is that it really needs to maintain the /v1/prepay portion of the URL when referencing .../data/english/grammars/..., and not just the /v1/ portion itself. Correct?


yes The grammar URL needs to be http://IP:port/v1/prepay/data/english/grammars/...

Go to:   
Mobile view