6031 Commits

Author SHA1 Message Date
Anthony Minessale
f917cbe29b add server side to scgi 2012-05-10 08:23:23 -05:00
Anthony Minessale
6bb33d7683 add libscgi (SCGI Client) 2012-05-09 14:05:03 -05:00
Jeff Lenk
4fbf8625ed OPENZAP-183 --resolve 2012-05-09 09:20:10 -05:00
Moises Silva
105ce9ff33 Fixes before merging sangoma repo with upstream 2012-05-07 16:26:48 -04:00
Moises Silva
1f08e2b0ec Merge remote branch 'fsorig/master' 2012-05-07 15:46:08 -04:00
Moises Silva
f316f9307f freetdm: First GSM working version
- Manually merging latest code from gideon.gsm branch after review/inspection/modifications
2012-05-07 15:35:13 -04:00
Moises Silva
cf9f937079 Merge branch 'master' into gsm.merge 2012-05-07 15:15:44 -04:00
Moises Silva
cc79163da3 freetdm: refactor ftmod_gsm.c code to use proper core functions and interrupts to wait for io and state changes 2012-05-07 15:13:26 -04:00
Moises Silva
de98034145 freetdm: - Extend ftdm interrupt object to notify which IO events are ready in the device
- Add definition of FTDM_MAX_SIG_PARAMETERS to have a standard limit for signaling module parameters
2012-05-07 15:13:26 -04:00
Moises Silva
06eee95da8 freetdm: update ftmod_gsm.c to match latest libwat changes 2012-05-07 15:13:26 -04:00
Gideon Sadan
c268b388a7 freetdm: GSM - Finish adding status command + stabilizing 2012-05-07 15:13:21 -04:00
Gideon Sadan
f891fefcb1 freetdm: GSM read and write initialization 2012-05-07 15:11:58 -04:00
Gideon Sadan
9cb67dd0c7 freetdm: initializing wat library interface 2012-05-07 15:11:01 -04:00
Moises Silva
412c808e0c freetdm: Added GSM module skeleton 2012-05-07 15:10:25 -04:00
David Yat Sin
67c43a0759 Initial commit 2012-05-04 18:42:59 -04:00
Ken Rice
0eca328f48 white space cleanup 2012-05-03 18:55:06 -05:00
Anthony Minessale
8664dc6d5a some perfomance tweaks 2012-05-03 16:31:21 -05:00
Anthony Minessale
163fffb3e8 fix issue with threaded ivrd, forking is back by default but threaded can be chosen with -t; in both modes the fd number is not passed as the first arg to the program but in threaded mode the stdin will no longer be mapped to the socket you will have to get the first command line arg instead of fileno stdin 2012-05-03 13:13:48 -05:00
David Yat Sin
428340830b Fix for not handling T302 timeout in NET mode 2012-04-29 11:33:24 -04:00
David Yat Sin
5226489c39 Merge branch 'releases.3.4' into releases.3.5
Conflicts:
	libs/freetdm/mod_freetdm/mod_freetdm.c
	libs/freetdm/src/ftdm_state.c
	libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_handle.c
	libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_main.c
	libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_main.h
	libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_out.c
	libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_xml.c
2012-04-26 16:13:26 -04:00
Anthony Minessale
b553d62fbd add sip_require_timer=true variable to enable require timer on session refresh that breaks finicky endpoints 2012-04-26 10:35:02 -05:00
Ken Rice
7a147e4762 Update a ton of copyright statements to make sure the dates are proper 2012-04-25 17:14:55 -05:00
Michael Jerris
7d3816dbea silence set but not used 2012-04-25 15:19:47 -04:00
Michael Jerris
ba4280e61f try to add a tag to disable timer autorequire NUTAG_TIMER_AUTOREQUIRE(0) 2012-04-25 15:15:32 -04:00
Ken Rice
c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
James Zhang
4f5a6557fc freetdm: fix queue full problem
- restore flushing queue when channel state goes to down
2012-04-18 10:52:01 -04:00
Michael Jerris
e9abdac010 attempt to fix ldns install-sh correctly 2012-04-17 23:05:48 -04:00
Michael Jerris
2f9889624f AC_REQUIRE_AUX_FILE is not available in all versions of autotools 2012-04-17 22:30:28 -04:00
Michael Jerris
215d8921a1 please stop removing libs/ldns/install-sh if you can't make it actually work on all platforms. This is the second time I have had to erevert this 2012-04-17 21:48:49 -04:00
Travis Cross
315c0e4c0d ldns: fix bootstrap on automake 1.10 2012-04-17 23:32:34 +00:00
James Zhang
e2f1b4ab27 freetdm: fix REL receiving leg always stay in TERMINATING stae in
native bridge mode
         - This is supposed to be included in commit of
           b324f8679782957bc9db3bdfd6687aa42cba77dd. Somehow it's
           not included in that commit. Without this change, the
           REL receiving leg always stay in TERMINATING state when
           received an incoming REL message.
2012-04-16 13:48:35 -04:00
Anthony Minessale
ecfe3263e2 FS-4114 --resolve this bug is actually in libsndfile, if its not fixed in the latest version we probably should report it upstream 2012-04-16 11:55:52 -05:00
Stefan Knoblich
997550c511 ftmod_libpri: Check for required features in configure and remove old-style log callbacks
Non-PRI_NEW_SET_API logging callbacks were only available in libpri-1.0 and older,
which also lacks PRI_IO_FUNCS (required) and wouldn't work anyway.

Explicitly check for both PRI_* feature defines at configure time and reject libpri
versions that lack them.

Remove the non-PRI_NEW_SET_API logging callbacks in ftmod_libpri.c.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-04-14 01:39:25 +02:00
Stefan Knoblich
020724e103 ftmod_libpri: Improve libpri message logging.
Use the PRI_NEW_SET_API define provided by >=libpri-1.2 to distinguish
between old style and new style pri_set_error() and pri_set_message()
callback functions.

Improve message logging by using ftdm_log_chan() if per-span
data with a valid (d-)channel object is available.
NOTE: pri_get_userdata() returns NULL if pri is NULL.

This will reduce the horizontal space for libpri output a bit, but allows
us to see which span the message/error came from.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-04-14 01:13:22 +02:00
James
cd2d67ace1 freetdm: fixed group block/unblock state dead lock when signal link
is down and recovered later
         To re-produce this bug:
             1. do CGB on one side
             2. unplug signaling link cable
             3. plug signaling link cable back
             4. do CGU on the blocking side
             5. cic state stay in RESTART for ever
         Fix this problem by sending cic to SUSPENDED state after
         receiving/sending CGU message
2012-04-13 17:26:48 -04:00
Brian West
f263c0518e up this limit 2012-04-13 11:39:03 -05:00
James Zhang
a796c6849c freetdm: fixed no ACM/CPG sending in some situations after native bridge
- clear up ACM_SENT & CPG_SENT flag in DOWN state in native
           bridge state machine
2012-04-13 11:18:53 -04:00
Stefan Knoblich
5f38a7f857 ftmod_misdn: Remove unused timerfd code.
Timer-based b-channel tx gating won't work anyway, so remove all those
"#if 0"-ed bits of cruft.

Also remove the mISDN-specific timerfd_create() check in configure.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-04-12 13:08:57 +02:00
James Zhang
8d1c382632 freetdm: INR/INF implementation
- fill in IEs in INF according to INR request
         - print debug information if IE requested but not supported
2012-04-11 15:14:29 -04:00
James Zhang
16d4f1f063 freetdm: INR/INF implementation
- When NSG receives INR from network, send back INF with calling
         party category information IE and calling number information IE.
         - Introduced a new global setting of "force-inr" for testing
         purpose. Stinga generated INR/INF packets are not acceptable by
         trillium stack since it misses call related information in the
         packets. If configure force-inr to true in freetdm.conf.xml, when
         NSG receives an incoming IAM, it'll send out INR packet regardless
         of incoming IAM's IEs, and keep waiting for INF response from the
         calling side.
         - T.39 timer is introduced in order to handle INR timeout. The
         default value of T.39 is 12 seconds and is configurable according
         to spec.
         - Only supports calling number IE and calling party category IE in
         current fix. The customer only needs the calling number IE right now.
         In ISUP spec, there are 6 optional IEs. NSG only supports calling
         party number and calling category information IE since the other
         IEs are not configurable in freetdm.conf.xml or included in IAM
         message.
         - In collect state, INR/INF implementation needs to work with existed
         SAM messages. If NSG sent out INR and wait for SAM, collect state
         check both INF received and enough dialed numbers received. If one
         of these conditions are not met, it'll stay in collect state and wait
         until either conditions met or timeout. After received INF and enough
         dailed number, state moves to dailing and proceed as regular calls.
2012-04-11 11:20:32 -04:00
Anthony Minessale
62c14df322 FS-3774 --resolve 2012-04-10 16:19:23 -05:00
Anthony Minessale
a40f304990 ESL-45 --resolve 2012-04-10 16:11:36 -05:00
Mitch Capper
6f87ac55d6 fs_cli: add batch mode
Signed-off-by: Travis Cross <tc@traviscross.com>
2012-04-08 16:54:40 +00:00
Travis Cross
73b473c367 remove autogenerated file libs/ldns/install-sh
Re-bootstrapping is needed after this change.  Previously CentOS 5
systems wouldn't build correctly without this file in tree, but we've
adjusted bootstrap to compensate.
2012-04-06 21:42:59 +00:00
Ken Rice
a362cd846a this should work find with /bin/sh on all systems 2012-04-06 14:52:55 -05:00
Anthony Minessale
c41a16d4da shutdown socket before closing to avoid blocking 2012-04-05 14:28:01 -05:00
Travis Cross
aad8daffa0 libzrtp: make bootstrap work on CentOS 5 2012-04-05 18:02:53 +00:00
Travis Cross
735d98710c libzrtp: gitignore bnlib/Makefile 2012-04-05 08:18:55 +00:00
Travis Cross
9468eeb5c8 libzrtp: remove an autogenerated file 2012-04-05 07:34:32 +00:00
Travis Cross
a5cbd2c650 Revert unintended changes to libs/ldns/install-sh
I hate this file; we need to do something about this.

Partially revert "fix libzrtp build"
commit 0b6023b26140d3cc8d5d0b4da3986852b317894e
2012-04-05 05:00:24 +00:00