• 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
名称
最后提交
最后更新
..
build 正在载入提交数据...
conf 正在载入提交数据...
docs 正在载入提交数据...
mod_freetdm 正在载入提交数据...
msvc 正在载入提交数据...
sample 正在载入提交数据...
src 正在载入提交数据...
.gitignore 正在载入提交数据...
.update 正在载入提交数据...
AUTHORS 正在载入提交数据...
CMakeLists.txt 正在载入提交数据...
ChangeLog 正在载入提交数据...
Makefile.am 正在载入提交数据...
NEWS 正在载入提交数据...
README 正在载入提交数据...
TODO 正在载入提交数据...
acinclude.m4 正在载入提交数据...
bootstrap 正在载入提交数据...
configure.ac 正在载入提交数据...
configure.gnu 正在载入提交数据...
cyginstall.sh 正在载入提交数据...
freetdm.2008.sln 正在载入提交数据...
freetdm.2010.sln 正在载入提交数据...
freetdm.pc.in 正在载入提交数据...
mkrelease.sh 正在载入提交数据...
ozrename.sh 正在载入提交数据...
ozreplace.sh 正在载入提交数据...