r4218 in private:
Put dead transaction checks into 2 groups - 30-seconds and 180-seconds.

git-svn-id: http://wush.net/svn/range/software/public@4495 19bc5d8c-e614-43d4-8b26-e1612bc8e597
r4252 in private:
Clarifying comment on removal of SIP FIFOs.

git-svn-id: http://wush.net/svn/range/software/public@4496 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Oh kay. Lots of patches trying to catch up to mainline:
r4232: Major change in hos entries are removed from a TransactionTable.

>From now on, the only place were entries are actually removed is in TransactionTable::innerRemove.
Anywhere else, the remove methods just set a flag to tag the entry for later removal be innerRemove.
This allows us to survive situations where we try to touch transactions that have been removed already.  We still log at the ERR level, but no more segfaults.

Updated all of the TransactionTable "find" methods to not return pointers to dead or removed tranactions.

Updated find-by-channel search to return the transaction entry with the highest transaction number, which fixes a bug that sometimes picked up the wrong transaction records during EA TCH assignment.

r4253: New exception class for when someone tries to use a "removed" transaction.

r4254: Updated copyright notice.

r4265: Unlock TransactionEntry::mLock while blocked on SIP message FIFOs in SIPEngine.  This does wonders to reduce lock contention and make everything more snappy.

Use Mutex::tryLock in TransactionEntry::dead and if lock is held, assume that it is not dead.  This also does a lot to reduce lock contention.

r4294: Change Um congestion response back to SIP 503.

r4295: When deleting an entry that has failed to respond to paging, send a SIP 480 response so the switch knows that transaction is dead.

r4412: Fixed bug that was causing SIPInterface to crash when the IMSI cannot be extracted from the To: header.

git-svn-id: http://wush.net/svn/range/software/public@4497 19bc5d8c-e614-43d4-8b26-e1612bc8e597
First half of r4299 in private:
 adds printing deeper version information.

git-svn-id: http://wush.net/svn/range/software/public@4509 19bc5d8c-e614-43d4-8b26-e1612bc8e597
r4299 in private:

Adds error checking in SIPMessages

git-svn-id: http://wush.net/svn/range/software/public@4510 19bc5d8c-e614-43d4-8b26-e1612bc8e597
r4317 in private:
Add a few SIP message fixes. Add function that may be used for accepting out of order 200 and 487 messages.

Note that some of this was pushed earlier for compilation reasons

git-svn-id: http://wush.net/svn/range/software/public@4511 19bc5d8c-e614-43d4-8b26-e1612bc8e597
r4408 in private:
Add code from David to keep the transceiver running when OpenBTS crashes and check if it is running when starting up.

git-svn-id: http://wush.net/svn/range/software/public@4512 19bc5d8c-e614-43d4-8b26-e1612bc8e597
r4425 in private:
Double check the FD set to be sure that the correct FD was really touched.

git-svn-id: http://wush.net/svn/range/software/public@4513 19bc5d8c-e614-43d4-8b26-e1612bc8e597
r4426 in private:
Check for transceiver with a "ping", not be waiting for the clock.
The fixes in the socket class seem to have solved this problem.

git-svn-id: http://wush.net/svn/range/software/public@4514 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Alexander's patches:

1)I did an experiment and compiled OpenBTS with clang yesterday, which
immediately highlighted two potential bugs in the Transceiver52 code.
I'm not sure they are indeed bugs and not the intended behavior, but
they look very much like that. The first one is below and the second
one is in the following mail.

GSM::Time() arguments are defined like #define USB_LATENCY_INTRVL
(10,0), which means that they are expanded into GSM::Time((10,0)).
This expression is a GSM::Time() with a single parameter where (10,0)
return value of the last argument, 0 in this case. I.e.
GSM::Time((10,0)) is equivalent to  GSM::Time(0). I think this was not
the intention.

2) Printing \n after every complex number breaks output when you want to
print it in a single line, e.g. in many debug output.

I do not claim any copyright over this change, as it's very basic.
Looking forward to see it merged into mainline.

git-svn-id: http://wush.net/svn/range/software/public@4515 19bc5d8c-e614-43d4-8b26-e1612bc8e597
missed something in one of the socket patches. now works as expected

git-svn-id: http://wush.net/svn/range/software/public@4516 19bc5d8c-e614-43d4-8b26-e1612bc8e597