Adding simple bridge application to forward calls without PBX app.
authorAndreas Eversberg <jolly@eversberg.eu>
Mon, 16 Jan 2012 08:14:22 +0000 (09:14 +0100)
committerAndreas Eversberg <jolly@eversberg.eu>
Mon, 16 Jan 2012 08:14:22 +0000 (09:14 +0100)
commit74a7fe54a81bb7e996ea45203bbc8cc0ff6b8dda
tree0642746210e53300ccad170f139c6a9a75cdcc72
parentd928442c511fbe7a0d0d0f9e701412b9b494457c
Adding simple bridge application to forward calls without PBX app.

Call received on an interface can directly be forwarded to a given
destination interface, instead of routing the call through PBX
application. This way calls can be forwarded without going through
route.conf.

Currently only SIP and GSM destinations are supported. Also there
are no tones generated, if one side provides no tones, but the
other wants to receive them.

The keyword "bridge <output interface>" in interface.conf is used.
Without that keyword, incomming calls are handled as usual.
22 files changed:
Makefile.am
appbridge.cpp [new file with mode: 0644]
appbridge.h [new file with mode: 0644]
apppbx.cpp
dss1.cpp
endpoint.h
endpointapp.cpp
endpointapp.h
gsm_bs.cpp
gsm_ms.cpp
interface.c
interface.h
join.h
joinpbx.cpp
joinremote.cpp
main.h
port.cpp
remote.cpp
sip.cpp
socket_server.c
ss5.cpp
vbox.cpp