halef / cairo

An MRCPv2 compliant speech solution for the spoken dialog system HALEF.
GNU General Public License v2.0
4 stars 1 forks source link

Is there successful case connect to FreeSWITCH ? #2

Open livem opened 5 years ago

livem commented 5 years ago

I am trying to FreeSWITCH connect to Cairo mrcp server (Java), but the RTP link does not work well.

That Cairo was based on JMF(Java Media Framework ), and JMF will send some security messages with RTCP to FreeSWITCH , but FreeSWITCH does not know this and response nothing.

10.0.0.36 is my Cairo mrcp server 10.0.0.15 is FreeSWITCH


I catch some RTCP log :

# UDP 2019/03/08 10:03:24.457860 10.0.0.36:42051 -> 10.0.0.15:4027 ....[ R9....[ R9..system-user-name@my-host..jmf-user@sun.com..JMF RTP Player v2.0... # UDP 2019/03/08 10:03:31.883694 10.0.0.36:42051 -> 10.0.0.15:4027 ....[ R9....[ R9..system-user-name@my-host.. # UDP 2019/03/08 10:03:37.547572 10.0.0.36:42051 -> 10.0.0.15:4027 ....[ R9....[ R9..system-user-name@my-host..


Have some help suggestion ? Thanks

langep commented 5 years ago

I think this will be challenging. Cairo supports only 8khz and only one of PCMU or PCMA cannot remember which one. I think unimrcp works with freeswitch.

langep commented 5 years ago

https://freeswitch.org/confluence/plugins/servlet/mobile#content/view/6586728

livem commented 5 years ago

Thanks first.

I had try FreeSWITCH connect to UniMRCP , and work fine. Later I try to find some MRCP implemention on Java solution , then I found Cairo.