(rock_patch) penguin server branch

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-teltel_penguin_server-20050706@5034 ddefafc4-47db-0310-ae44-fa13212b10f2
merged from penguin, tested against tpenguin_07082005

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-teltel_penguin_server-20050706@5050 ddefafc4-47db-0310-ae44-fa13212b10f2
missed the new files, oops

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-teltel_penguin_server-20050706@5064 ddefafc4-47db-0310-ae44-fa13212b10f2
fixed to release allocated payload in the callback functions in AresDns.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-teltel_penguin_server-20050706@5110 ddefafc4-47db-0310-ae44-fa13212b10f2
fixed to release tryLater message in TransactionState::process().



git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-teltel_penguin_server-20050706@5111 ddefafc4-47db-0310-ae44-fa13212b10f2
fixed to release TimerG message in TransactionState::processServerInvite().



git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-teltel_penguin_server-20050706@5112 ddefafc4-47db-0310-ae44-fa13212b10f2
fixed to set mState Calling while sending INVITE in 
TransactionState::processClientInvite().



git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-teltel_penguin_server-20050706@5113 ddefafc4-47db-0310-ae44-fa13212b10f2
back port some changes of Data object from the late resip code
  o memset the mBuff correctly in the Data::operator^=().
  o fixed the special character string in the Data::charEncoded()
    -           strchr(" \";/?:@&=+%$,/t-_.!~*'()", c))
    +           strchr(" \";/?:@&=+%$,\t-_.!~*'()", c))



git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-teltel_penguin_server-20050706@5114 ddefafc4-47db-0310-ae44-fa13212b10f2
rollback all the log changes not to send to in-memory buffer, because
it will bring performance penalty and debug info in the memory buffer
isn't that useful for tracing bugs.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-teltel_penguin_server-20050706@5200 ddefafc4-47db-0310-ae44-fa13212b10f2
fixed to add mBuffer in buffer list to release while parsing partial
body in connection-oriented transport.



git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-teltel_penguin_server-20050706@5211 ddefafc4-47db-0310-ae44-fa13212b10f2
added the DumTimeout::encodeBrief() method.
added the InviteSession::myAddr() methed and the InviteSession::peerAddr() method.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-teltel_penguin_server-20050706@5348 ddefafc4-47db-0310-ae44-fa13212b10f2
- changed to use memcmp instead of strncmp to do comparison in Data
  implementation, so that there will not be problem if there is null
  character in the middle Data buffer.
- added the string length check in Data::operator==(const char* rhs)



git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-teltel_penguin_server-20050706@5349 ddefafc4-47db-0310-ae44-fa13212b10f2
fixed to delete response message of status code from 300-699 when UAC is
in Completed state.



git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-teltel_penguin_server-20050706@5425 ddefafc4-47db-0310-ae44-fa13212b10f2
code tidy up.



git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-teltel_penguin_server-20050706@5426 ddefafc4-47db-0310-ae44-fa13212b10f2
fixed to add virtual destructor in class ExternalDns so that
deleting an ExternalDns pointer to AresDns will delete an AresDns
object.



git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-teltel_penguin_server-20050706@5431 ddefafc4-47db-0310-ae44-fa13212b10f2
fixed to encode "p=" instead of "e=" in SdpContents::Session::Phone::encode(ostream& s). (back port).


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-teltel_penguin_server-20050706@5432 ddefafc4-47db-0310-ae44-fa13212b10f2
upgrade DUM so that our client and server DUM is the same.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-teltel_penguin_server-20050706@5638 ddefafc4-47db-0310-ae44-fa13212b10f2
backport the minimal changes from teltel client branch so that dum can be compiled.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-teltel_penguin_server-20050706@5676 ddefafc4-47db-0310-ae44-fa13212b10f2
tidy up build configuration.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-teltel_penguin_server-20050706@5678 ddefafc4-47db-0310-ae44-fa13212b10f2
added another receiveAny(int ms) interface, which will wait up to ms
milliseconds if no message is available.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-teltel_penguin_server-20050706@5751 ddefafc4-47db-0310-ae44-fa13212b10f2