• Stefan Knoblich's avatar
    ftmod_libpri: Implement channel hunting in NT-mode. · e8d08453
    Stefan Knoblich 提交于
    Hunt for a free channel for incoming calls that do not
    preselect a channel (pevent->ring.channel == -1).
    
    Verify the preselected channel for calls that do specify a channel
    and in case the channel is already taken, hunt for a free one,
    or abort with an error message (if the preselection was exclusive).
    
    TE-mode channel selection is the same as before
    (there's still room for improvement, though, but i'll save that for later).
    
    The MSN/DDI filter code is moved into the TE-mode section (only useful there).
    
    The duplicate ring detection had to be reworked. We now store the
    call reference (CRV) in caller_data->call_reference of the selected channel
    and do a CRV -> channel look up with find_channel_by_cref()
    at the top of on_ring().
    
    NOTE: This is only lightly tested (NT/TE mode), i'd either have to
          write a lot of custom code to check it toroughly or the need for
          a scriptable ISDN stack...
    Signed-off-by: 's avatarStefan Knoblich <stkn@openisdn.net>
    e8d08453
名称
最后提交
最后更新
build 正在载入提交数据...
clients/flex 正在载入提交数据...
cmake_modules 正在载入提交数据...
conf 正在载入提交数据...
debian 正在载入提交数据...
docs 正在载入提交数据...
dtd 正在载入提交数据...
freeswitch.xcodeproj 正在载入提交数据...
fscomm 正在载入提交数据...
htdocs 正在载入提交数据...
libs 正在载入提交数据...
patches 正在载入提交数据...
scripts 正在载入提交数据...
src 正在载入提交数据...
support-d 正在载入提交数据...
w32 正在载入提交数据...
web 正在载入提交数据...
.gitattributes 正在载入提交数据...
.gitignore 正在载入提交数据...
CMakeLists.txt 正在载入提交数据...
Freeswitch.2005.unsupported.sln 正在载入提交数据...
Freeswitch.2008.express.sln 正在载入提交数据...
Freeswitch.2008.sln 正在载入提交数据...
Freeswitch.2008.sln.debug.bat 正在载入提交数据...
Freeswitch.2008.sln.release.bat 正在载入提交数据...
Freeswitch.2010.express.sln 正在载入提交数据...
Freeswitch.2010.sln 正在载入提交数据...
INSTALL 正在载入提交数据...
Makefile.am 正在载入提交数据...
README.md 正在载入提交数据...
acinclude.m4 正在载入提交数据...
bootstrap.sh 正在载入提交数据...
cc.sh 正在载入提交数据...
cluecon.tmpl 正在载入提交数据...
cluecon2.tmpl 正在载入提交数据...
configure.in 正在载入提交数据...
devel-bootstrap.sh 正在载入提交数据...
erlang.spec 正在载入提交数据...
freeswitch-sounds-en-us-callie.spec 正在载入提交数据...
freeswitch-sounds-music.spec 正在载入提交数据...
freeswitch-sounds-ru-RU-elena.spec 正在载入提交数据...
freeswitch.spec 正在载入提交数据...
swig_common.i 正在载入提交数据...