we accidentally overwrote the sqlite3 bump from 3.6 -> 3.7. Reverting (and syncing) that

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4682 19bc5d8c-e614-43d4-8b26-e1612bc8e597
removed freeswitch config, moved to my github. See Freeswitch on the wiki

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4749 19bc5d8c-e614-43d4-8b26-e1612bc8e597
basic usability fixes we no longer print out warnings when looking for a starting transceiver and we no longer have a link to /var/run/OpenBTS in the example sql.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4881 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Potentially fixed a bug where a message sent from the CLI isn't responded to, gets cleared from the paging table and then segfaults as it has no invite attached.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4882 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Synced sqlite3utils with private and fixed a small recursive bug in SIPEngine that was already fixed in private

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4912 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Alexander's patch: https://github.com/fairwaves/openbts-2.8/commit/3b05a4929cd1ff1175b36af971199c408d50ba53

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4913 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Merging another fix from Private. This one didn't count sip state fail as finished, leading to extra 480s

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4914 19bc5d8c-e614-43d4-8b26-e1612bc8e597
r4259 in private:
More checking for defunct tranaactions.
Send RELEASE on TCH if the call fails before EA Assignment step.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4915 19bc5d8c-e614-43d4-8b26-e1612bc8e597
r 4258 in private: Check for defunct transactions when handling Paging Respone.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4918 19bc5d8c-e614-43d4-8b26-e1612bc8e597
r4223 in Private: Clean up properly when we get the SIP 486 response.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4919 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Roughly r4224 in private:
More reliable detection of busy condition on MTC.
Also adds new GSM state, "Busy Reject".

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4920 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Transceiver52: allow for handling of TCH/H slots

Although currently unsupported in GSM core, enable TCH/H
support in Transceiver52M for testing and future availability.

Signed-off-by: Thomas Tsou <tom@tsou.cc>

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5169 19bc5d8c-e614-43d4-8b26-e1612bc8e597
r4974 in private:
Fix the SMS sporadic delivery failure problem.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5170 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Transceiver52M: Fix calculation of TS correlation for 2 sps and higher

The correlation starting point for normal burst training sequence
calculation should be a scaled value of the same symbol regardless
of the samples-per-symbol used. Use of 2 samples-per-symbols double
the index values, but yields the following outputs, which results
in a late time-of-arrival value at the output of the correlation.

This patch modifies the parameter calculation accordingly.

1 sps parameters

maxTOA = 3
spanTOA = 5;
startIx = 61;
endIx = 87;
windowLen = 26;
corrLen = 7;

2 sps parameters (errant case)

maxTOA = 6;
spanTOA = 10;
startIx = 112;
endIx = 184;
windowLen = 72;
corrLen =13;

2 sps parameters (corrected)

maxTOA = 6;
spanTOA = 10;
startIx = 122;
endIx = 174;
windowLen = 52;
corrLen =13;

Signed-off-by: Thomas Tsou <tom@tsou.cc>

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5183 19bc5d8c-e614-43d4-8b26-e1612bc8e597
apps: pass UHD 'args' option on transceiver command line

Set 'GSM.Radio.UHDargs' option in OpenBTS.db configuration. The string
is passed directly to UHD through the 'args' option.

Signed-off-by: Thomas Tsou <tom@tsou.cc>
Transceiver52M: add antenna selection from configuration

Set optional transmit and receive antennas from database configuration
file. Use default antenna values on empty string or if option does not
exist.

Signed-off-by: Thomas Tsou <tom@tsou.cc>
Modified REGISTER to provide port number in URI.

Proper REGISTER URI must match host and port of the registration server.
transceiver: workaround for transmit testing with no clock reset

Non-functional clock reset causes huge initial timing offset
between expected and received timestamps. Receive an initial
packet to 'set' the expected starting timestamp value for
both transmit and receive.

Signed-off-by: Thomas Tsou <ttsou@vt.edu>
umtrx: flush any possible garbage bursts at start

In certain cases (higher sample-per-symbol counts), there is
some sensitivity to either timeouts or bad metadata on the
first packet. The first packet sets the transceiver clock, so
this is essential. As a workaround, drop the first 50 packets
to guarantee that we get a packet with a valid timestamp

Signed-off-by: Thomas Tsou <ttsou@vt.edu>
Added handling of alphanumeric type of number for SMS.