Re #1722: 
 - add handler for 502/503 response to refresh request. 
 - add expire timer for refresher.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4715 74dad513-b988-da41-8d7b-12977e46ad98
Fixed #1725: ACK is not sent upon receiving 200/OK retransmission if re-INVITE is sent

git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4716 74dad513-b988-da41-8d7b-12977e46ad98
Fix #1726: Added check in assertion line for transmitting STUN message without incrementing retransmission count.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4717 74dad513-b988-da41-8d7b-12977e46ad98
Fix #1727:
 - Start timer TIMER_TYPE_UAS_TIMEOUT when incoming subscription request is accepted (via pjsip_evsub_accept()).
 - Kill any timer when subscription state is shifting into TERMINATED.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4718 74dad513-b988-da41-8d7b-12977e46ad98
Re #1519: [SVN trunk]: Misc fix compile warning.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4719 74dad513-b988-da41-8d7b-12977e46ad98
Close #1728: Removed milenage library from linking setting.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4720 74dad513-b988-da41-8d7b-12977e46ad98
Misc (re #1630): Modified configure script to only include libnsl if needed, e.g: on Solaris networking functions are in libnsl (thanks Jeremy Laine for the patch).



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4721 74dad513-b988-da41-8d7b-12977e46ad98
Close #1729: Added check of PJMEDIA_HAS_VIDEO (instead of just specific backend check) in video device wrappers.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4722 74dad513-b988-da41-8d7b-12977e46ad98
Close #1730: Added srtp_deinit()/shutdown() detection for external SRTP in configure script.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4723 74dad513-b988-da41-8d7b-12977e46ad98
Misc (re #1630): Fixed some more typos in the codes.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4724 74dad513-b988-da41-8d7b-12977e46ad98
Merge remote-tracking branch 'trunk' into upstream