Again,
these both work fine if I only use one profile for a given dialplan
application or call. However, in the current case, I can see in my
FreeSWITCH logs, in my ESL logs, and in the respective UniMRCP server
logs, that the second request is apparently somehow reusing the session
and profile details from the first request.
In
my log I see the correct command is sent, but FreeSWITCH/the UniMRCP
client still sends the second request using the connection details from
the first profile, which then fails because grammar2 is not available
via profile A [because it is handled by the server sitting behind profile B]. If I reverse the order, I see that both requests again arrive at the MRCP server attached to profile B.
I dug around the confluence wiki and found some references to parameters being sticky:
and also tried manually setting "play_and_detect_speech_close_asr=true", but nothing seems to close the session.
Any hints would be greatly appreciated; alternatively if this impossible without digging around in the mod_ source that would be good to know too.
Best regards,