21738 Commits

Author SHA1 Message Date
David Yat Sin
6906c00342 Merge branch 'releases.3.4' into releases.3.5
Conflicts:
	src/include/switch_channel.h
	src/switch_channel.c
2012-07-31 14:18:36 -04:00
David Yat Sin
2a1eb6e8fa Merge branch 'releases.3.4' of ssh://git.sangoma.com/smg_freeswitch into releases.3.4 2012-07-28 10:42:18 -04:00
David Yat Sin
4bbb8c014a Fixed compile error 2012-07-28 10:41:55 -04:00
David Yat Sin
a6503b4952 Fixed compile warning 2012-07-28 09:59:47 -04:00
David Yat Sin
6895e46983 Fix compile warning 2012-07-27 15:02:45 -04:00
James Zhang
a4255e140b freetdm: adding variables for ansi outgoing IAMs
. added called party number INN variable
           ie. <action application="export" data="freetdm_ss7_cld_inn=0"/>
         . added multiple variables to set User Service Information IE
           variables are :
              ss7_iam_usi_trans_cap
              ss7_iam_usi_code_standard
              ss7_iam_usi_trans_mode
              ss7_iam_usi_trans_rate_0
              ss7_iam_usi_trans_rate_1
              ss7_iam_usi_layer1_ident
              ss7_iam_usi_layer1_prot
              ss7_iam_usi_layer2_ident
              ss7_iam_usi_layer2_prot
              ss7_iam_usi_layer3_ident
              ss7_iam_usi_layer3_prot
              ss7_iam_usi_chan_struct
              ss7_iam_usi_config
              ss7_iam_usi_establish
              ss7_iam_usi_symmetry
              ss7_iam_usi_rate_multiplier

         . ss7_iam_usi_trans_cap is a string variable, the others are all integers
         . ss7_iam_usi_trans_cap has options of :
              - SPEECH
              - UNRESTRICTED
              - RESTRICTED
              - 31KHZ
              - 7KHZ
              - 15KHZ
              - VIDEO
           default value is SPEECH, if the parameter is wrong, set to SPEECH. If not
           set, this field is not present
2012-07-27 11:53:00 -04:00
Anthony Minessale
03be3a3a74 don't parse signals in the set_running_state function to avoid livelock situation 2012-07-09 18:28:15 -04:00
David Yat Sin
3ad41603d0 Merge branch 'releases.3.4' of ssh://git.sangoma.com/smg_freeswitch into releases.3.4 2012-07-04 17:52:37 -04:00
James Zhang
64f33c25da ss7: fix on last fix, make enough memory for bad encode cases 2012-07-04 10:09:19 -04:00
James Zhang
edd718d258 ss7: fix a wired crash on remind ticket 4972
- change dynamic memory allocation/deallocation to char array
2012-07-04 10:00:23 -04:00
David Yat Sin
24a458683a Skip filling locPtyNum if caller_data->loc.digits is NULL 2012-06-29 12:54:09 -04:00
James Zhang
80f72823b3 ss7: add ss7_iam_nature_connection_hex to support Nature of Connection
Indicator in IAM message.
     - ss7_iam_nature_connection_hex is the channel variable to carry
       HEX value from/to IAM message
     - X-FreeTDM-IAM-NATURE-CONN-HEX is the x-header string to carry
       HEX value from/to sip invite message
     - This IE is 8 bit hex, which turns into 2 chars
     - Only Satellite indicator, Continuity check indicator, and Echo
       control device indicator are supported. Spare value are not taken.
       Spare value is always set to all zero.
     - example:
       To set 00010101 (bit H-A), set X-FreeTDM-IAM-NATURE-CONN-HEX string
       value to 15 in the sip invite message to NSG.
       When NSG send out sip invite, if the incoming IAM message comes with
       Nature of Connection IE, NSG will put X-FreeTDM-IAM-NATURE-CONN-HEX
       in the invite x-header. For example, if the IE value is 00001010 in
       the IAM, NSG will send X-FreeTDM-IAM-NATURE-CONN-HEX with value string
       of "0A".
     - Two characters are madatory. "0A" must be specified rather than "A". If
       invalid format or characters are found, this x-header will be ommited.
     - Valid characters include 0-9, A-F, and a-f
2012-06-27 12:31:35 -04:00
James Zhang
607da0f56c ss7: adding ss7_iam_fwd_ind_hex as x-header and channel variables in hex format.
Read the forward call indicator IE and print it into channel variable
     ss7_iam_fwd_ind_hex. If this variable exists, put it in the x-header.
     This implementation takes bits of A, CB, D, E, F, HG, I from the hex
     value. Bits of KJ, L, P-M are not taken and set to 0.
     The hex value is H-A-P-I, H is the highest bit to A, and next is P-I.
     I is the lowest bit in the whole field, and H is the highest bit in
     the whole field. Refer to Q.763 chapter 3.23.
2012-06-22 17:05:15 -04:00
David Yat Sin
2f5ac62433 added mod_distributor 2012-06-15 15:46:53 -04:00
David Yat Sin
eb0404d025 Merge remote branch 'fsorig/master' into releases.3.5
Conflicts:
	build/modules.conf.in
	libs/freetdm/mod_freetdm/mod_freetdm.c
2012-05-31 13:57:42 -04:00
Ken Rice
24f6c4056b missed a spot removing mod_fax 2012-05-31 11:25:28 -05:00
Anthony Minessale
693e04a7de FS-4250 please post a new log if this does not work 2012-05-31 09:04:14 -05:00
Ken Rice
5be9857af2 remove mod_fax. this has been deprecated for quite a while 2012-05-31 10:25:49 -05:00
Christopher Rienzo
be2ec29282 Add Maintainer to mod_posix_timer, mod_unimrcp, mod_http_cache 2012-05-31 13:24:24 +00:00
Giovanni Maruzzelli
07bc7ba763 gsmopen and skypopen: updated License headers 2012-05-31 07:41:14 +02:00
Jeff Lenk
39bad5b13e vs2010 reswig for last commit 2012-05-30 15:58:48 -05:00
Anthony Minessale
3e1d68b0a6 FS-4250 --resolve erase replaces header after using it 2012-05-30 13:08:31 -05:00
Anthony Minessale
192030c578 add metadata col to internal registrations table 2012-05-30 13:05:05 -05:00
David Yat Sin
e05bd3fae8 Some changes to ss7 variables to be more consistent 2012-05-30 13:10:04 -04:00
Travis Cross
82b00ecbc8 don't build mod_ilbc or mod_siren by default
Our default build probably shouldn't include non-free software.  With
mod_ilbc, the licensing situation is merely ambiguous.  With
mod_siren, the user can't use this code without getting explicit
permission from Polycom (though it is apparently easily given).
2012-05-30 15:10:00 +00:00
Travis Cross
76c3580e83 fix build test for revision number
The test was backward.  If the revision is in switch_version.h.in then
we have the version already.
2012-05-29 22:14:03 +00:00
Anthony Minessale
8bb55ed4bf abstract out originate_signal_bond to a function to avoid confustion and regressions 2012-05-29 13:10:15 -05:00
Travis Cross
4d8cdb3276 debian: don't depend on non-free codecs for meta-vanilla 2012-05-29 18:42:35 +00:00
Travis Cross
226851e8b0 don't use Siren or iLBC by default in example configs
These codecs are non-free which creates issues for distributions, so
let's not require these by default to run our example configs.  We can
add back in iLBC once we resolve the licensing situation with our
in-tree implementation.
2012-05-29 18:41:17 +00:00
Travis Cross
6679e3f589 debian: add option to run builds in parallel 2012-05-29 16:52:11 +00:00
Anthony Minessale
baf5bbd565 FS-4266 --resolve 2012-05-29 08:42:51 -05:00
James
91dfa062bf ss7: adding iam_fwd_ind_HEX channel variable to set forward indicator
IE's heximal value.
     - add <action application="export" data="freetdm_iam_fwd_ind_HEX=2301"/>
       to dialplan with expected hex value. If the outgoing ftdm channel's
       forward indicator needs to be changed, "export" needs to be put in the
       incoming channel's dialplan to set this variable value accordingly.
     - this implementation takes bits of A, CB, D, E, F, HG, I from the hex
       value. Bits of KJ, L, P-M are not taken from the hex.
     - How to calculate hex value with wanted bits:
       . the hex value is H-A-P-I, H is the highest bit to A, and next is P-I.
         I is the lowest bit in the whole field, and H is the highest bit in
         the whole field. Refer to Q.763 chapter 3.23.
       . use a text pad to fill in the bits with 0 and 1. eventually fill all
         the 16 bits
       . copy the binary value into a calculator and convert it to hex
2012-05-28 17:07:52 -04:00
Travis Cross
25287f3828 debian: add option to control make/bootstrap -j settings 2012-05-28 19:21:06 +00:00
Travis Cross
9f578ca440 debian: use bootstrap.sh -j
We believe it to be safe now.  In test run on multi-core machines it
is producing bit-for-bit identical result compared to the non-parallel
invocation.
2012-05-28 18:28:23 +00:00
Travis Cross
b4816ae952 debian: place build results in ../ 2012-05-28 18:24:11 +00:00
Travis Cross
a5d696d517 debian: ensure set -e behavior when run under build-all
build_all call each of these subroutines under a sub-shell, so the set
-e gets wiped out.
2012-05-28 18:22:13 +00:00
Travis Cross
2365f41fdc debian: add a build quicktest feature 2012-05-28 18:22:12 +00:00
Travis Cross
d3cb703697 debian: force build output to stderr
Because we're capturing the string return value of these functions, we
can't see any output that goes to stdout.
2012-05-28 18:22:09 +00:00
Travis Cross
496b9a9c78 debian: add utility for building all distros and architectures 2012-05-28 18:21:35 +00:00
Travis Cross
40a98d4b49 debian: disable modules that break the build 2012-05-28 18:21:35 +00:00
Travis Cross
8fb3f54c15 debian: add option to create pbuilder debug hook 2012-05-28 18:21:30 +00:00
Travis Cross
139485855d debian: don't try to build non-dfsg modules 2012-05-28 18:20:43 +00:00
Travis Cross
0bab77bf96 debian: refactor and improve build utilities 2012-05-28 18:20:37 +00:00
Travis Cross
15a67097d8 debian: add utility for rolling nightly builds 2012-05-28 16:35:01 +00:00
Travis Cross
870ef6f83f debian: don't bundle sounds in orig tarball
We've moved the sounds to a separate source package.
2012-05-28 16:35:01 +00:00
Travis Cross
7d5062f9c9 debian: don't force-create the orig tarball 2012-05-28 16:35:00 +00:00
Travis Cross
fa0de2efd3 add .gitattributes
Add some attributes that are useful for packaging.
2012-05-28 16:35:00 +00:00
Travis Cross
dfddd3ec10 debian: remove utilities that duplicate debian tools
install-build-depends is inferior to:

  mk-build-deps -i
2012-05-28 16:34:52 +00:00
Travis Cross
be3ee2404c reindent 2012-05-28 12:24:46 +00:00
Stefan Knoblich
44e6dd2680 FreeSWITCH: Make libzrtp library paths absolute (or relative to top srcdir), fixes FS-4260.
Reference-URL: http://jira.freeswitch.org/browse/FS-4260
Tested-by: Stefan Knoblich <stkn@openisdn.net>
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-05-27 14:36:15 +02:00