• Stefan Knoblich's avatar
    FreeTDM: Add trunk mode (NET/CPE) to span configuration in freetdm.conf and use… · 7a128045
    Stefan Knoblich 提交于
    FreeTDM: Add trunk mode (NET/CPE) to span configuration in freetdm.conf and use it in ftmod_misdn and ftmod_libpri.
    
    Some I/O implementations (e.g. mISDN) need this information to correctly
    set up the port configuration. In FreeTDM, the mode of a span has been.
    up until now, a part of the signalling module configuration ("node" or "mode"
    for libpri and isdn spans), which is parsed _after_ the I/O part of a span
    has been initialized. This limitation currently prevents us from using mISDN
    in NT mode.
    
    To work around this problem (without adding a lot of new tunk_type values like "E1_NET" etc.),
    add a new "trunk_mode" parameter to the span categories in freetdm.conf, which by default
    is "CPE" for all trunk types, except "FXS" (which defaults to "NET").
    
    ftmod_misdn uses trunk_type + trunk_mode to correctly choose the d-channel protocol
    for a port.
    
    ftmod_libpri uses trunk_mode as a hint for the default "mode" setting.
    (NOTE: It will print a warning if trunk_mode and signalling mode do not match.)
    
    All other modules currently ignore the value of trunk_mode.
    
    Example freetdm.conf snippet for a mISDN span in NET/NT mode
    (using a HFC-S USB dongle):
    
      [span misdn MBRI_1]
      trunk_type => BRI_PTMP
      trunk_mode => NET
      b-channel  => HFC-S_USB.1:1-2
      d-channel  => HFC-S_USB.1:3
    Signed-off-by: 's avatarStefan Knoblich <stkn@openisdn.net>
    7a128045
名称
最后提交
最后更新
..
ftmod 正在载入提交数据...
include 正在载入提交数据...
isdn 正在载入提交数据...
ss7 正在载入提交数据...
detect_dtmf.c 正在载入提交数据...
detect_tones.c 正在载入提交数据...
fsk.c 正在载入提交数据...
ftdm_backtrace.c 正在载入提交数据...
ftdm_buffer.c 正在载入提交数据...
ftdm_call_utils.c 正在载入提交数据...
ftdm_callerid.c 正在载入提交数据...
ftdm_config.c 正在载入提交数据...
ftdm_cpu_monitor.c 正在载入提交数据...
ftdm_dso.c 正在载入提交数据...
ftdm_io.c 正在载入提交数据...
ftdm_queue.c 正在载入提交数据...
ftdm_sched.c 正在载入提交数据...
ftdm_state.c 正在载入提交数据...
ftdm_threadmutex.c 正在载入提交数据...
ftdm_variables.c 正在载入提交数据...
g711.c 正在载入提交数据...
hashtable.c 正在载入提交数据...
hashtable_itr.c 正在载入提交数据...
libteletone_detect.c 正在载入提交数据...
libteletone_generate.c 正在载入提交数据...
priserver.c 正在载入提交数据...
sangoma_pri.c 正在载入提交数据...
sangoma_pri.h 正在载入提交数据...
testanalog.c 正在载入提交数据...
testapp.c 正在载入提交数据...
testcid.c 正在载入提交数据...
testisdn.c 正在载入提交数据...
testpri.c 正在载入提交数据...
testr2.c 正在载入提交数据...
testtones.c 正在载入提交数据...
uart.c 正在载入提交数据...