pgaval / unimrcp

Automatically exported from code.google.com/p/unimrcp
Apache License 2.0
0 stars 0 forks source link

when there are multiple profiles in mrcp.conf then only one of them is working #111

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add [profile1], with version 2, server-ip A, etc.
[profile1]
version=2                                                                  
server-ip=<IP address A>
server-port = 5060
server-username = synthesizer
force-destination = 1
client-ip = <IP address own>
client-port = 5093
sip-transport = udp
rtp-ip = <IP address own>
rtp-port-min = 4000
rtp-port-max = 5000
playout-delay = 50
max-playout-delay = 200
ptime = 20
codecs = PCMU PCMA L16/96/8000
rtcp = 1
rtcp-bye = 2
rtcp-tx-interval = 5000
rtcp-rx-resolution = 1000      

2. Add [profile2], with version 2, server-ip B, etc.
3. Add [profile3], with version 2, server-ip C, etc.
4. create extensions, using different profiles (MRCPSynth(<ssml>, p=profile1))
5. make calls to those extensions

One profile works, for the others: Wait for Messages [MRCP Client]. Session is 
still alive.

What version of the product are you using? On what operating system?

uni-ast-package-0.3.1

Please provide any additional information below.

There are multiple TTS engines for different languages. I would like to use 
multiple profiles in mrcp.conf for different engines. Engines are on different 
hosts.

Any help is welcome, thanks in advance,

robert.

Original issue reported on code.google.com by spring...@gmail.com on 12 Jan 2011 at 11:46

GoogleCodeExporter commented 9 years ago
I believe there should have been some sort of configuration mistake; otherwise, 
what you want to do should be easily achievable.

Pay attention to the local SIP and RTP ports. They should be unique for each 
profile

client-port = 5093
rtp-port-min = 4000
rtp-port-max = 5000

client-port = 5094
rtp-port-min = 7000
rtp-port-max = 8000

....

Original comment by achalo...@gmail.com on 14 Jan 2011 at 5:05

GoogleCodeExporter commented 9 years ago
Hi,

You were right, i did not recognize that ports should be unique per engine. 
Thanks your help again, 

robert.

Original comment by spring...@gmail.com on 14 Jan 2011 at 6:50

GoogleCodeExporter commented 9 years ago
Well, I suppose the status of this issue can be set to verified now.

Original comment by achalo...@gmail.com on 15 Jan 2011 at 4:56