FXS analog devices need a DTMF string to communicate with the PBX and the PBX could process the call (bridge) ...at least you need a "batman phone" with auto-dialing (inmmediate).


2010/11/29 Jeroen C. van Gelderen <slim@thegreek.com>
Hi Guys,

I need to bridge an FXS port (when taken off-hook) to an FXO port without
dialing any digits like so:

<action application="bridge" data="freetdm/span_fxo_csd/1"/>

This results in the following error:

ftmod/ftmod_analog/ftmod_analog.c:

if (ftdm_strlen_zero(ftdmchan->caller_data.dnis.digits)) {
 ftdm_log_chan_msg(ftdmchan, FTDM_LOG_ERROR, "No Digits to send!\n");

For now I have worked around this by using

<action application="bridge" data="freetdm/span_fxo_csd/1/w"/>
or
<action application="bridge" data="freetdm/span_fxo_csd/1/F"/>

I would like to avoid the unnecessary delay this incurs.

Any suggestions? Under what circumstances is it bad to send zero digits? Can
I simply take out the check for zero-length dnis.digits?

Cheers,
-Slim
--
Jeroen C. "Slim" van Gelderen



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org