From sobomax at sippysoft.com Tue Apr 7 04:14:46 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Tue, 7 Apr 2009 13:14:46 +0200 (CEST) Subject: [B2BUA Devel] CVS:commitlog: sippy Rtp_proxy_session.py Message-ID: <20090407111446.E198ED9A6@mail.berlios.de> sobomax 2009/04/07 13:14:46 CEST Sippy B2BUA CVS Repository Modified files: . Rtp_proxy_session.py Log: Properly handle case when body has no proxeable sections. Revision Changes Path 1.12 +3 -1 sippy/Rtp_proxy_session.py http://cvs.berlios.de/cgi-bin/viewcvs.cgi/sippy/sippy/Rtp_proxy_session.py.diff?r1=1.11&r2=1.12 From sobomax at sippysoft.com Wed Apr 8 14:48:13 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Wed, 8 Apr 2009 23:48:13 +0200 (CEST) Subject: [B2BUA Devel] CVS:commitlog: sippy UacStateIdle.py Message-ID: <20090408214813.8F1EEDB06@mail.berlios.de> sobomax 2009/04/08 23:48:13 CEST Sippy B2BUA CVS Repository Modified files: . UacStateIdle.py Log: Due to non-zero time it takes to contact RTPproxy there is a small window of opportunity when the call can be cancelled on the ingress call leg, while egress is stays in UacStateIdle state waiting for the RTPproxy answer. In this case properly execute disconnect callbacks, otherwise proper accounting will not be performed. Revision Changes Path 1.9 +2 -2 sippy/UacStateIdle.py http://cvs.berlios.de/cgi-bin/viewcvs.cgi/sippy/sippy/UacStateIdle.py.diff?r1=1.8&r2=1.9 From sobomax at sippysoft.com Wed Apr 8 14:56:31 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Wed, 8 Apr 2009 23:56:31 +0200 (CEST) Subject: [B2BUA Devel] CVS:commitlog: sippy UaStateConnected.py Message-ID: <20090408215631.0A0431778F1@mail.berlios.de> sobomax 2009/04/08 23:56:31 CEST Sippy B2BUA CVS Repository Modified files: . UaStateConnected.py Log: Handle in-dialog OPTIONS. Some UAs are offended if we reject them. Revision Changes Path 1.5 +4 -26 sippy/UaStateConnected.py http://cvs.berlios.de/cgi-bin/viewcvs.cgi/sippy/sippy/UaStateConnected.py.diff?r1=1.4&r2=1.5 From sobomax at sippysoft.com Wed Apr 8 14:59:08 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Wed, 8 Apr 2009 23:59:08 +0200 (CEST) Subject: [B2BUA Devel] CVS:commitlog: sippy UaStateConnected.py Message-ID: <20090408215908.381F2158F83@mail.berlios.de> sobomax 2009/04/08 23:59:08 CEST Sippy B2BUA CVS Repository Modified files: . UaStateConnected.py Log: Put back license which got erroneously removed in the previous change. Revision Changes Path 1.6 +25 -0 sippy/UaStateConnected.py http://cvs.berlios.de/cgi-bin/viewcvs.cgi/sippy/sippy/UaStateConnected.py.diff?r1=1.5&r2=1.6 From sobomax at sippysoft.com Wed Apr 8 15:00:54 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Thu, 9 Apr 2009 00:00:54 +0200 (CEST) Subject: [B2BUA Devel] CVS:commitlog: sippy MsgBody.py Message-ID: <20090408220054.3BD5B158F83@mail.berlios.de> sobomax 2009/04/09 00:00:54 CEST Sippy B2BUA CVS Repository Modified files: . MsgBody.py Log: Don't use try/except to see if see if we have valid handler for the body type. It could mask exception in the parser itself. Use has_key() method instead. Revision Changes Path 1.6 +2 -4 sippy/MsgBody.py http://cvs.berlios.de/cgi-bin/viewcvs.cgi/sippy/sippy/MsgBody.py.diff?r1=1.5&r2=1.6 From sobomax at sippysoft.com Wed Apr 8 15:10:15 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Thu, 9 Apr 2009 00:10:15 +0200 (CEST) Subject: [B2BUA Devel] CVS:commitlog: sippy SipURL.py Message-ID: <20090408221015.686121786F7@mail.berlios.de> sobomax 2009/04/09 00:10:15 CEST Sippy B2BUA CVS Repository Modified files: . SipURL.py Log: Unquote username in the incoming SIP request URI, so that we can properly handle things like # and *. Revision Changes Path 1.10 +2 -2 sippy/SipURL.py http://cvs.berlios.de/cgi-bin/viewcvs.cgi/sippy/sippy/SipURL.py.diff?r1=1.9&r2=1.10 From sobomax at sippysoft.com Wed Apr 8 15:14:22 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Thu, 9 Apr 2009 00:14:22 +0200 (CEST) Subject: [B2BUA Devel] CVS:commitlog: sippy UasStateIdle.py Message-ID: <20090408221422.A378B179405@mail.berlios.de> sobomax 2009/04/09 00:14:22 CEST Sippy B2BUA CVS Repository Modified files: . UasStateIdle.py Log: Use lowercase argument for the countHFs() method. This is the only place where argument with upper case letters is unsed in the code, so that by converting it to lower case we can drop superfluous code that converts names into lowercase in countHFs itself. Revision Changes Path 1.7 +2 -2 sippy/UasStateIdle.py http://cvs.berlios.de/cgi-bin/viewcvs.cgi/sippy/sippy/UasStateIdle.py.diff?r1=1.6&r2=1.7 From sobomax at sippysoft.com Wed Apr 8 15:17:12 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Thu, 9 Apr 2009 00:17:12 +0200 (CEST) Subject: [B2BUA Devel] CVS:commitlog: sippy SipHeader.py SipMsg.py Message-ID: <20090408221712.4EB31179405@mail.berlios.de> sobomax 2009/04/09 00:17:12 CEST Sippy B2BUA CVS Repository Modified files: . SipHeader.py SipMsg.py Log: Speed up message parsing by avoiding using expensive operations such as countHFs() in it. Also, do not add headers into the message to just remove those headers later on (Content-Length and Content-Type), instead process those two always seperately from other headers. This gives about 25-30% speed increase in parsing speed. Speed up commonly used headers fetching methods in SipMsg by eliminating calling SipHeader::isName() method for every header, instead do comparison directly in SipMsg's methods. Also, avoid doing lower() on argument to said methods, since all users except one already use lowercase. Fix that one user instead. As a result get rid of SipHeader::isName() method, it's not used except in SipMsg directly. This should give substantial speed boost to other parts of the code that use SipMsg. And last but not least speed up getTId()/getTIds() metods, that are used in the transaction matching code. If measuring those functions alone the execution time has decreased drastically, by more than 50%. It should have positive effect on transaction matchine speed. Revision Changes Path 1.10 +1 -4 sippy/SipHeader.py http://cvs.berlios.de/cgi-bin/viewcvs.cgi/sippy/sippy/SipHeader.py.diff?r1=1.9&r2=1.10 1.15 +47 -36 sippy/SipMsg.py http://cvs.berlios.de/cgi-bin/viewcvs.cgi/sippy/sippy/SipMsg.py.diff?r1=1.14&r2=1.15 From sobomax at sippysoft.com Wed Apr 8 15:21:20 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Thu, 9 Apr 2009 00:21:20 +0200 (CEST) Subject: [B2BUA Devel] CVS:commitlog: sippy Rtp_proxy_session.py SdpBody.py SdpBodySection.py SdpField.py SdpMediaDescription.py b2bua_radius.py Message-ID: <20090408222120.A890A221A7@mail.berlios.de> sobomax 2009/04/09 00:21:20 CEST Sippy B2BUA CVS Repository Modified files: . Rtp_proxy_session.py SdpBody.py b2bua_radius.py Added files: . SdpMediaDescription.py Removed files: . SdpBodySection.py SdpField.py Log: Rewrite SDP body parser. By definition in the RFC4566, the SDP body has very simple fixed syntax, so that complexity of our internal representation modelled after more complex SIP objects is not justifyed. This brings up to 20-25% speed increase on parse/__str__() operations, but what also important makes using the SDP classes easier and allows us to implement more features easily, which otherwise would be too complex to do penalizing execution time. Implement one such feature: if there is only one media description in the message, move connection parameters from it to the session description, since some of the devices that don't implement RFC4566 properly might break. The other important feature to be implemented later on is automatic elimination of the a=rtpmap entries for media types that are no longer present in the media description. Revision Changes Path 1.13 +9 -9 sippy/Rtp_proxy_session.py http://cvs.berlios.de/cgi-bin/viewcvs.cgi/sippy/sippy/Rtp_proxy_session.py.diff?r1=1.12&r2=1.13 1.7 +90 -32 sippy/SdpBody.py http://cvs.berlios.de/cgi-bin/viewcvs.cgi/sippy/sippy/SdpBody.py.diff?r1=1.6&r2=1.7 1.7 +0 -73 sippy/SdpBodySection.py (dead) http://cvs.berlios.de/cgi-bin/viewcvs.cgi/sippy/sippy/SdpBodySection.py?rev=1.6&content-type=text/plain 1.6 +0 -64 sippy/SdpField.py (dead) http://cvs.berlios.de/cgi-bin/viewcvs.cgi/sippy/sippy/SdpField.py?rev=1.5&content-type=text/plain 1.1 +62 -0 sippy/SdpMediaDescription.py (new) http://cvs.berlios.de/cgi-bin/viewcvs.cgi/sippy/sippy/SdpMediaDescription.py?rev=1.1&content-type=text/plain 1.50 +2 -2 sippy/b2bua_radius.py http://cvs.berlios.de/cgi-bin/viewcvs.cgi/sippy/sippy/b2bua_radius.py.diff?r1=1.49&r2=1.50 From sobomax at sippysoft.com Wed Apr 8 15:37:42 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Thu, 9 Apr 2009 00:37:42 +0200 (CEST) Subject: [B2BUA Devel] CVS:commitlog: sippy SdpGeneric.py Message-ID: <20090408223742.EABE5220DF@mail.berlios.de> sobomax 2009/04/09 00:37:42 CEST Sippy B2BUA CVS Repository Added files: . SdpGeneric.py Log: Rewrite SDP body parser. By definition in the RFC4566, the SDP body has very simple fixed syntax, so that complexity of our internal representation modelled after more complex SIP objects is not justifyed. This brings up to 20-25% speed increase on parse/__str__() operations, but what also important makes using the SDP classes easier and allows us to implement more features easily, which otherwise would be too complex to do penalizing execution time. Implement one such feature: if there is only one media description in the message, move connection parameters from it to the session description, since some of the devices that don't implement RFC4566 properly might break. The other important feature to be implemented later on is automatic elimination of the a=rtpmap entries for media types that are no longer present in the media description. Revision Changes Path 1.1 +4 -0 sippy/SdpGeneric.py (new) http://cvs.berlios.de/cgi-bin/viewcvs.cgi/sippy/sippy/SdpGeneric.py?rev=1.1&content-type=text/plain From sobomax at sippysoft.com Wed Apr 8 22:47:47 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Thu, 9 Apr 2009 07:47:47 +0200 (CEST) Subject: [B2BUA Devel] CVS:commitlog: sippy SdpMediaDescription.py Message-ID: <20090409054747.A332C1769AC@mail.berlios.de> sobomax 2009/04/09 07:47:47 CEST Sippy B2BUA CVS Repository Modified files: . SdpMediaDescription.py Log: Add missed needs_update attribute, which is referenced from the RTPproxy client code. Revision Changes Path 1.2 +1 -0 sippy/SdpMediaDescription.py http://cvs.berlios.de/cgi-bin/viewcvs.cgi/sippy/sippy/SdpMediaDescription.py.diff?r1=1.1&r2=1.2 From sobomax at sippysoft.com Fri Apr 17 12:39:30 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Fri, 17 Apr 2009 21:39:30 +0200 (CEST) Subject: [B2BUA Devel] CVS:commitlog: sippy SipRoute.py Message-ID: <20090417193930.5918F179943@mail.berlios.de> sobomax 2009/04/17 21:39:30 CEST Sippy B2BUA CVS Repository Modified files: . SipRoute.py Log: Properly generate header name for the Route HF. Previously, "From" could have been generated in some cases. Revision Changes Path 1.5 +7 -1 sippy/SipRoute.py http://cvs.berlios.de/cgi-bin/viewcvs.cgi/sippy/sippy/SipRoute.py.diff?r1=1.4&r2=1.5 From sobomax at sippysoft.com Fri Apr 17 12:40:20 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Fri, 17 Apr 2009 21:40:20 +0200 (CEST) Subject: [B2BUA Devel] CVS:commitlog: sippy SipRequest.py Message-ID: <20090417194020.69C38179943@mail.berlios.de> sobomax 2009/04/17 21:40:20 CEST Sippy B2BUA CVS Repository Modified files: . SipRequest.py Log: Per RFC, only INVITE and REGISTER need Expires HF. Revision Changes Path 1.7 +3 -2 sippy/SipRequest.py http://cvs.berlios.de/cgi-bin/viewcvs.cgi/sippy/sippy/SipRequest.py.diff?r1=1.6&r2=1.7 From sobomax at sippysoft.com Mon Apr 20 23:59:34 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Mon, 20 Apr 2009 23:59:34 -0700 Subject: [B2BUA Devel] sippy b2bua_simple only a b2bua server? In-Reply-To: References: <49BAB7E7.3020506@sippysoft.com> <49BEC6F0.7030601@sippysoft.com> Message-ID: <49ED6ED6.30100@sippysoft.com> ZHOU Gaofeng A wrote: > Hi maxim: > yes, CW meaning Call waiting, TPS means three conference call service. Thank you ! ZHOU, No, we don't support Call waiting or TPS, you need to use PBX software with full media processing to get that. Regards, -- Maksym Sobolyev Sippy Software, Inc. Internet Telephony (VoIP) Experts T/F: +1-646-651-1110 Web: http://www.sippysoft.com MSN: sales at sippysoft.com Skype: SippySoft From Gaofeng.a.Zhou at alcatel-sbell.com.cn Tue Apr 21 01:21:36 2009 From: Gaofeng.a.Zhou at alcatel-sbell.com.cn (ZHOU Gaofeng A) Date: Tue, 21 Apr 2009 16:21:36 +0800 Subject: [B2BUA Devel] sippy b2bua_simple only a b2bua server? In-Reply-To: <49ED6ED6.30100@sippysoft.com> References: <49BAB7E7.3020506@sippysoft.com> <49BEC6F0.7030601@sippysoft.com> <49ED6ED6.30100@sippysoft.com> Message-ID: ok, I see, Thank you! Gaofeng Zhou -----Original Message----- From: Maxim Sobolev [mailto:sobomax at sippysoft.com] Sent: 2009?4?21? 15:00 To: ZHOU Gaofeng A Cc: RTPproxy Users; B2BUA Development Subject: Re: sippy b2bua_simple only a b2bua server? ZHOU Gaofeng A wrote: > Hi maxim: > yes, CW meaning Call waiting, TPS means three conference call service. Thank you ! ZHOU, No, we don't support Call waiting or TPS, you need to use PBX software with full media processing to get that. Regards, -- Maksym Sobolyev Sippy Software, Inc. Internet Telephony (VoIP) Experts T/F: +1-646-651-1110 Web: http://www.sippysoft.com MSN: sales at sippysoft.com Skype: SippySoft From sobomax at sippysoft.com Mon Apr 27 14:45:51 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Mon, 27 Apr 2009 14:45:51 -0700 Subject: [B2BUA Devel] Spam filter test, please ignore Message-ID: <49F6278F.4010904@sippysoft.com> . From sobomax at sippysoft.com Mon Apr 27 14:48:15 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Mon, 27 Apr 2009 14:48:15 -0700 Subject: [B2BUA Devel] Spam filter test #1, please ignore Message-ID: <49F6281F.8000708@sippysoft.com> . From sobomax at sippysoft.com Mon Apr 27 15:01:03 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Mon, 27 Apr 2009 15:01:03 -0700 Subject: [B2BUA Devel] Spam filter is active Message-ID: <49F62B1F.10107@sippysoft.com> Hi, Just a quick note that due to increased activity of spammers I have enabled automatic spam filtering on all RTPproxy/B2BUA mailing lists. If anybody has any issues sending messages please don't hesitate to let me know at sobomax at sippysoft.com. Regards, -- Maksym Sobolyev Sippy Software, Inc. Internet Telephony (VoIP) Experts T/F: +1-646-651-1110 Web: http://www.sippysoft.com MSN: sales at sippysoft.com Skype: SippySoft