Setting caller_ton doesn't work
In the sangoma wiki I can find a sample how to configure the caller_ton per call (A200 E1 card): http://wiki.sangoma.com/wanpipe-freeswitch-config-appendix#ton-npi-per-call Based on that, I've configured the following test extension: <extension name="Caller Ton Test"> <condition field="destination_number" expression="^(0123456789)$"> <action application="set" data="caller_ton=1" /> <action application="set" data= "effective_caller_id_number=49111111111111111" /> <action application="bridge" data="freetdm/1/a/4922222222222"/> </condition> </extension> I'm dialing out from sip extension 1001 to the pstn. If I look in the ISDN Trace, i can see ... Calling Party Number:49111111111111111(l:17) plan:isdn(1) type:national(2)scr:user, passed(1) pres:allowed(0) ... that caller_ton is still set to 2 (national). You can find the full freeswitch trace here: http://pastebin.freeswitch.org/19525 It seems it's not overwriting the default parameter outbound-calling-ton from freetdm.conf.xml. Here my freetdm.conf.xml: <configuration name="freetdm.conf" description="FreeTDM Configuration"> <settings> <param name="debug" value="1000"/> <param name="crash-on-assert" value="no"/> <param name="early-media-override" value="on-alert" /> </settings> <config_profiles> <profile name="telco_1"> <param name="switchtype" value="euroisdn"/> <param name="signalling" value="cpe"/> <param name="overlap" value="yes"/> </profile> </config_profiles> <sangoma_pri_spans> <span name="PRI_1" cfgprofile="telco_1"> <param name="dialplan" value="XML"/> <param name="context" value="default"/> <param name="outbound-called-ton" value="international"/> <param name="outbound-calling-ton" value="national"/> <param name="outbound-rdnis-ton" value="international"/> <param name="outbound-called-npi" value="ISDN"/> <param name="outbound-calling-npi" value="ISDN"/> <param name="outbound-rdnis-npi" value="ISDN"/> </span> </sangoma_pri_spans> </configuration> I'm pretty sure that was working in the past. Has something changed here?
participants (1)
-
mbo