[Freeswitch-users] FreeTDM: cannot set option

Valery Kalinin valery.kalinin at gmail.com
Fri Feb 10 05:24:46 MSK 2012


Hi!
Work with FreeTDM (latest git) & wanpipe (3.5.24)

freetdm.conf.xml:
<analog_spans>
	<span name="FXO">
		<param name="enable_callerid" value="false"/>
		<param name="wait_dialtone_timeout" value="0"/>
		<param name="dialplan" value="XML"/>
		<param name="context" value="default"/>
	</span>
</analog_spans>

but in log this options is not set:
2012-02-10 06:09:01.194586 [INFO] ftmod_wanpipe.c:401 [s1c2][1:4]
Configured wanpipe device FD: 34, DTMF: softwa
2012-02-10 06:09:01.194646 [INFO] ftdm_io.c:4912 Configured 2 channel(s)
2012-02-10 06:09:01.194702 [DEBUG] mod_freetdm.c:3131 analog_spans var
= enable_callerid
2012-02-10 06:09:01.194729 [DEBUG] mod_freetdm.c:3131 analog_spans var
= wait_dialtone_timeout
2012-02-10 06:09:01.194748 [DEBUG] mod_freetdm.c:3131 analog_spans var
= dialplan
2012-02-10 06:09:01.194757 [DEBUG] mod_freetdm.c:3131 analog_spans var = context
2012-02-10 06:09:01.195109 [INFO] ftdm_io.c:5002 Loading SIG from
/usr/local/freeswitch/mod/ftmod_analog.so
2012-02-10 06:09:01.195139 [INFO] ftdm_io.c:5185 auto-loaded 'analog'
2012-02-10 06:09:01.195150 [DEBUG] ftmod_analog.c:195 Configuring span
FXO for analog signaling ...
2012-02-10 06:09:01.195165 [DEBUG] ftmod_analog.c:210 Analog config
var = tonemap
2012-02-10 06:09:01.195183 [DEBUG] ftmod_analog.c:210 Analog config
var = digit_timeout
2012-02-10 06:09:01.195193 [DEBUG] ftmod_analog.c:210 Analog config
var = max_dialstr
2012-02-10 06:09:01.195205 [DEBUG] ftmod_analog.c:210 Analog config
var = hotline
2012-02-10 06:09:01.195223 [DEBUG] ftmod_analog.c:210 Analog config
var = enable_callerid
2012-02-10 06:09:01.195232 [DEBUG] ftmod_analog.c:210 Analog config
var = answer_polarity_reverse
2012-02-10 06:09:01.195241 [DEBUG] ftmod_analog.c:210 Analog config
var = hangup_polarity_reverse
2012-02-10 06:09:01.195250 [DEBUG] ftmod_analog.c:210 Analog config
var = polarity_callerid
2012-02-10 06:09:01.195267 [DEBUG] ftmod_analog.c:210 Analog config
var = polarity_delay
2012-02-10 06:09:01.195294 [DEBUG] ftmod_analog.c:210 Analog config
var = callwaiting
2012-02-10 06:09:01.195312 [DEBUG] ftmod_analog.c:210 Analog config
var = wait_dialtone_timeout
2012-02-10 06:09:01.195322 [DEBUG] ftmod_analog.c:229 Wait dial tone ms = 5000
2012-02-10 06:09:01.195331 [DEBUG] ftmod_analog.c:302 [s1c1][1:3]
Enabled call waiting
2012-02-10 06:09:01.195340 [DEBUG] ftmod_analog.c:302 [s1c2][1:4]
Enabled call waiting

See option: Wait dial tone ms = 5000
But in span I set this parameter to zero!

What am I doing wrong?



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list