Hello Helmut, On Mon, Nov 30, 2009 at 11:52 AM, Helmut Kuper <[email protected]>wrote:
> Each try to do some kind of printf debugging in wanpipe-driver doesn't > succeed. > > Any ideas? > The way the rtp tapping works right now is kinda hackish and pretty much Asterisk/Zaptel-based. We depend on the application (either Asterisk or FreeSWITCH) to enable/disable echo cancellation via zaptel commands. When echo cancellation is enabled we assume a call started and enable the tapping, when echo cancellation is disabled we stop the tapping. This behavior has yet to be implemented for FreeSWITCH. An easy way to do it is just to have the wanpipe card to work in zaptel mode and then add a call to zap_channel_command(tech_pvt->zchan, ZAP_COMMAND_ENABLE_ECHOCANCEL) on call start and ZAP_COMMAND_DISABLE_ECHOCANCEL on call stop in mod_openzap.c. The right way to do it is via new API in libsangoma to start tapping and stop tapping. I will add the new libsangoma API to my todo list, hopefully will be done sometime this month. If you want to test the first quick approach send me an off-line message with ssh connection information to get into your box to do these changes so you can test them. -- Moises Silva Software Developer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. [email protected]
_______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
