Fixing RRLP timeouts during LUR. We now query for RRLP after the LUR has completed but before the channel is closed.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3202 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Fixes #711 in private. We now check RTP ports before allocation, to ensure they're not already in use.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3225 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Fixes #692 in public. This updates the SR (ip/port) for a user on every SIP transaction. Also standardizes SR interface to use just strings, no more external char*. Will modify actual SR later.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3236 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Fixes #499 in public. If our ACK was missed, the switch would resend an OK and we didn't respond to it. We do now.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3237 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Fixed canceling bug in Public. I'm missing my personal radio (loaned to class) and so it's not well tested... something is up with FS and cancels.


git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3244 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Fixes #734 in public, , as well as rearchitects a number of SIP
 control flows. Basically, there was a small bug where I forgot to listen
 for an OK, which caused transactions to stick around too long and fuck
 everything up. That was quickly fixed, but my compulsion required me to
 reorganize the code to avoid such errors in the future. I implemented
 another new feature as well, we now respond with a 480 Temporarily
 Unavailable message (rather than cancel) when canceling an INCOMING call.
 The prior behavior was incorrect.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3264 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Fixes #718 in public. We now have a user agent header in all of our sip packets.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3270 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Harvind found a bug in BitVector.cpp:

Basically the unpack method and fillField method assume MSB-first bit packing.   The unpack method calls fillField for each byte that needs to be unpacked.  The problem occurs on its final call to fillField when it has a partial byte to unpack; it uses the LSB bits instead of the MSB bits.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3288 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Fixes #580 in public. We had some transactions getting stuck in the transaction table, but no longer. We more aggressively clear the table.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3300 19bc5d8c-e614-43d4-8b26-e1612bc8e597
transceiver, uhd: output timestamps on monontonic error

The "Loss of monotonic time" error occurs when a timestamp
arrives from the device that is earlier in time than the
previous timestamp. The output is an ALERT level message
generally accompanied by a transmit side timeout from the
device.

UHD: Loss of monotonic time
UHD: Loss of monotonic time
UHD: Device send timed out

Add to the error description the timestamp values that
generated the error and output with ALERT rather than
ERR log.

Signed-off-by: Thomas Tsou <ttsou@vt.edu>

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3307 19bc5d8c-e614-43d4-8b26-e1612bc8e597
transceiver, usrp1: fix transmit gain setting bug

Transmit gain setting would deceptively set the receive
gain instead. Since transmit attenuation is a combination
of RF gain and digital scaling, this major copy/paste bug
may have gone unnoticed by many users.

Reported-by: Robin Coxe <coxe@close-haul.com>
Signed-off-by: Thomas Tsou <ttsou@vt.edu>

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3309 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Made FreeSWITCH dialplan more generic

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3341 19bc5d8c-e614-43d4-8b26-e1612bc8e597
add git ignore file
transceiver: add "Not subject to CLA" to license headers

The included transceiver code is to be merged under GPL
with no existing signed Contributor License Agreement.

Signed-off-by: Thomas Tsou <ttsou@vt.edu>
add libosmogsm to build system
add configuration parameter for Ki db location
dummy port of auth and ciphering from 2.6-oriented implementation
add task-tracking file
extend TMSITable to contain Ki and RAND values
change L3RAND interface to act as storage only