nuecho / rivr-cookbook

11 stars 5 forks source link

HTTP 500 in Consult Transfer when destination number does not exists #3

Closed jdbcdev closed 6 years ago

jdbcdev commented 7 years ago

I am using this java library and I got an exception and next HTTP 500 error when Consult Transfer and destination number does not exist.

Debugging I have found that the method addTransferStatusInfo of the class VoiceXmlInputTurnFactory is not working properly when the duration property of the transfer property is retrieved.

Exactly the line 146 produces the exception:

durationValue = JsonUtils.getLongProperty(transferResultObject, TRANSFER_DURATION_PROPERTY);

Using rivr-voicexml-1.0.7.jar library (last version in the maven repository indeed).

gawi commented 7 years ago

Can you please re-open this issue against the Rivr project ? This is for the Rivr cookbook.

When you do, can you also provide the stack trace?

Thanks.