Hi all,
I have a LumenVox TTS Server for testing with only 1 TTS licence.
I use app_unimrc.so 1.3.0 on Asterisk 11.16 (CentOS 6.6 x86_64)
When I try to make 2 simultaneous calls containig TTS synthesis, the second get hung up:
[2015-02-19 17:02:25] NOTICE[1683][C-00000004]: app_mrcpsynth.c:515 app_synth_exec: MRCPSynth() prompt: State usando il TTS LumenVox su ti di esse claud.net, emme erre ci pi versione 1
[2015-02-19 17:02:25] NOTICE[1683][C-00000004]: app_mrcpsynth.c:533 app_synth_exec: MRCPSynth() options: l=it-IT&p=lumenvox_tdscloud.net-mrcp1
[2015-02-19 17:02:25] ERROR[1441]: app_mrcpsynth.c:217 speech_on_channel_add: (TTS-3) Channel error status=2, response code=0!
[2015-02-19 17:02:25] NOTICE[1683][C-00000004]: app_mrcpsynth.c:472 mrcpsynth_exit: MRCPSynth() exiting status: ERROR on SIP/XXXXX-00000003
== Spawn extension (LocalSets, 10411, 2) exited non-zero on 'SIP/PC-014-00000003'
Tried the same using Nuance Vocalizer for enterprise and the call remains active thus I can wait until the TTS resouce became newly available.
Is there a way to avoid that LumenVox TTS hangs up my calls if no resources are available?
Thank you very much
--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Nicola,On Thu, Feb 19, 2015 at 8:39 AM, Nicola Ruggiero <nrugg...@gmail.com> wrote:Hi all,
I have a LumenVox TTS Server for testing with only 1 TTS licence.
I use app_unimrc.so 1.3.0 on Asterisk 11.16 (CentOS 6.6 x86_64)
When I try to make 2 simultaneous calls containig TTS synthesis, the second get hung up:
[2015-02-19 17:02:25] NOTICE[1683][C-00000004]: app_mrcpsynth.c:515 app_synth_exec: MRCPSynth() prompt: State usando il TTS LumenVox su ti di esse claud.net, emme erre ci pi versione 1
[2015-02-19 17:02:25] NOTICE[1683][C-00000004]: app_mrcpsynth.c:533 app_synth_exec: MRCPSynth() options: l=it-IT&p=lumenvox_tdscloud.net-mrcp1
[2015-02-19 17:02:25] ERROR[1441]: app_mrcpsynth.c:217 speech_on_channel_add: (TTS-3) Channel error status=2, response code=0!
If I'm not mistaken, Lumenvox responds with the response code "486 Busy Here" when all licensed channels are in use. Since you got the response code 0, I'd suspect the synthesis terminated prematurely because of an error. If you enabled debug output, I'd be able to tell more.
[2015-02-19 17:02:25] NOTICE[1683][C-00000004]: app_mrcpsynth.c:472 mrcpsynth_exit: MRCPSynth() exiting status: ERROR on SIP/XXXXX-00000003
== Spawn extension (LocalSets, 10411, 2) exited non-zero on 'SIP/PC-014-00000003'
Tried the same using Nuance Vocalizer for enterprise and the call remains active thus I can wait until the TTS resouce became newly available.
Is there a way to avoid that LumenVox TTS hangs up my calls if no resources are available?No, there is no such an option to reattempt failed sessions. I thought about fail-over redirects/attempts based on specific response codes... can be implemented relatively easily, but haven't reached that point yet.
Hi Arsen,thank very much for the answer.my comments below:
Il giorno giovedì 19 febbraio 2015 22:05:34 UTC+1, Arsen Chaloyan ha scritto:Hi Nicola,On Thu, Feb 19, 2015 at 8:39 AM, Nicola Ruggiero <nrugg...@gmail.com> wrote:Hi all,
I have a LumenVox TTS Server for testing with only 1 TTS licence.
I use app_unimrc.so 1.3.0 on Asterisk 11.16 (CentOS 6.6 x86_64)
When I try to make 2 simultaneous calls containig TTS synthesis, the second get hung up:
[2015-02-19 17:02:25] NOTICE[1683][C-00000004]: app_mrcpsynth.c:515 app_synth_exec: MRCPSynth() prompt: State usando il TTS LumenVox su ti di esse claud.net, emme erre ci pi versione 1
[2015-02-19 17:02:25] NOTICE[1683][C-00000004]: app_mrcpsynth.c:533 app_synth_exec: MRCPSynth() options: l=it-IT&p=lumenvox_tdscloud.net-mrcp1
[2015-02-19 17:02:25] ERROR[1441]: app_mrcpsynth.c:217 speech_on_channel_add: (TTS-3) Channel error status=2, response code=0!
If I'm not mistaken, Lumenvox responds with the response code "486 Busy Here" when all licensed channels are in use. Since you got the response code 0, I'd suspect the synthesis terminated prematurely because of an error. If you enabled debug output, I'd be able to tell more.I get this error using MRCPv1 and only on the second call having one license, so it concerns underlicensing, no other error. I saw the error code "486" if I use MRCPv2 profile, same behavior. Anyway, tomorrow I will try enabling debug.
[2015-02-19 17:02:25] NOTICE[1683][C-00000004]: app_mrcpsynth.c:472 mrcpsynth_exit: MRCPSynth() exiting status: ERROR on SIP/XXXXX-00000003
== Spawn extension (LocalSets, 10411, 2) exited non-zero on 'SIP/PC-014-00000003'
Tried the same using Nuance Vocalizer for enterprise and the call remains active thus I can wait until the TTS resouce became newly available.
Is there a way to avoid that LumenVox TTS hangs up my calls if no resources are available?No, there is no such an option to reattempt failed sessions. I thought about fail-over redirects/attempts based on specific response codes... can be implemented relatively easily, but haven't reached that point yet.The problem here is that Nuance TTS server and LumenVox TTS server behave differently... In case of underlicensing Nuance don't produce TTS syntesis nor error, but the call flow continues, so I can take other actions, while LumenVox TTS breaks down calls and this is extremely serious!!!Any ideas?
Thank you very muchYou are welcome.--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Good morning,
unfortunately I have the same problem... so I'm interested on the possible solutions.
First of all, it is absurd that LumenVox CRASHES in this case, instead of return a CHANNEL ERROR or some other error messages!!!
However, about your suggestion to test the value of some variable set in speech_on_channel_add()... I can't read and test a variable AFTER calling MRCPSynth app because this function cause the crash and any further dialplan instructions are skipped.
Is there a specific variable I can test BEFORE calling MRCPSynth app?
--
You received this message because you are subscribed to a topic in the Google Groups "UniMRCP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/unimrcp/Se4BmS3-XN8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to unimrcp+u...@googlegroups.com.
Hi Arsen,
I really appreciate your efforts to develop and maintain this project and do understand and agree with the Open Source philosophy.I spoke with LumenVox technical support trying to understand more about this issue.What do I understood is that, when no more TTS licences are available, the LumneVox Server answeres with an error (code=486!) message that is slighly different from what you aspect, so MRCPSynth can't handle this exception and hangs up the line. Is that correct?
--------------------------------------------------------------------------------------------------------------[2015-02-25 14:43:11] ERROR[20600]: app_mrcpsynth.c:217 speech_on_channel_add: (TTS-3) Channel error status=2, response code=486![2015-02-25 14:43:11] NOTICE[20600]: src/mrcp_client_session.c:387 : Receive App Request TTS-3 <new> [1][2015-02-25 14:43:11] NOTICE[20600]: src/mrcp_client_session.c:833 : Terminate Session TTS-3 <new>[2015-02-25 14:43:11] NOTICE[20600]: src/mrcp_client_session.c:209 : Session Terminated TTS-3 <new>[2015-02-25 14:43:11] NOTICE[20600]: src/mrcp_client.c:710 : Remove MRCP Handle TTS-3 <new>[2015-02-25 14:43:11] NOTICE[20600]: src/mrcp_client_session.c:455 : Raise App Response TTS-3 <new> [1] SUCCESS [0][2015-02-25 14:43:11] NOTICE[20600]: src/mrcp_application.c:182 : Destroy MRCP Handle TTS-3[2015-02-25 14:43:11] NOTICE[564][C-00000cb7]: app_mrcpsynth.c:472 mrcpsynth_exit: MRCPSynth() exiting status: ERROR on SIP/XXX-00000036== Spawn extension (LocalSets, 10412, 2) exited non-zero on 'SIP/XXX-00000036'[2015-02-25 14:43:13] NOTICE[20601]: src/mrcp_client_connection.c:635 : Receive MRCPv2 Data X.X.X.X:40053 <-> X.X.X.X:20022 [162 bytes]MRCP/2.0 162 SPEAK-COMPLETE 1 COMPLETEChannel-Identifier: c097ad5c-1702-46af-b@speechsynthCompletion-Cause: 000 normalSpeech-Marker: timestamp=131197865--------------------------------------------------------------------------------------------------------------So, IMHO it looks like a coommunication protocol error or misunderstanding or misconfiguration beetwenn MRCPSynt and LumenVox Server.
Who and how, in your opinion, should fix this issue?- LumenVox should change the error message to be compliant with your communication protocol?
- MRCPSynt shoud be so clever to not hang up calls in case of unhandled exceptions?
- Both of the above statements are correct?- None?
I'm asking you that, because both you and LumenVox are asking me to pay for fixing this, so now I have to decide which is the best way to get things work!I hope you will understand my point of view...
--
You received this message because you are subscribed to a topic in the Google Groups "UniMRCP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/unimrcp/Se4BmS3-XN8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to unimrcp+u...@googlegroups.com.