Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3252 by [email protected]: preSpeechTimer and postSpeechTimer always set to the same value
http://code.google.com/p/mobicents/issues/detail?id=3252

What steps will reproduce the problem?
1.Issue MGCP PlayRecord command using broadly different values for pre and post speech timers (e.g. 10s versus 30s).
2.Test.
3.Observe that the preSpeechTimer has been overwritten by the postSpeechTimer.

What is the expected output? What do you see instead?
Expected output is the timers will retain and respect the parameters passed as values. Instead, the preSpeechTimer is overwritten with the postSpeechTimer value.

What version of the product are you using? On what operating system?
This bug appears in Mobicents-Media-Server versions 2.2.0-CR1 through the latest 3.X (current trunk as of two days ago?). Operating system used is CentOS Release 5.5 Final.

Please provide any additional information below.

The source code for Options.java in the org.mobicents.media.server.mgcp.pkg.au package lines 52 and 53 are coded as follows:

private final static Text prt = new Text("pst");
private final static Text pst = new Text("pst");

We reported this bug to Thomas Quintana when he was on site with us four months ago. I'm submitting this issue now as I still do not see it as an open issue, and the code has persisted through the current rewrite underway in today's downloadable "trunk".

Reply via email to