From VMorales at covad.com Thu Apr 2 13:49:26 2009 From: VMorales at covad.com (Morales, Vladimir) Date: Thu, 2 Apr 2009 13:49:26 -0700 Subject: [B2BUA Users] Using Sippy to Handle 302 Redirects In-Reply-To: <49A50209.2060305@sippysoft.com> References: <3BC5D44AB71A754FAE3CA68A7597EABE135F513E@ZANEVS03.cc-ntd1.covad.com> <498BBF48.5040501@sippysoft.com><3BC5D44AB71A754FAE3CA68A7597EABE136A2ED7@ZANEVS03.cc-ntd1.covad.com> <499F171B.9040804@sippysoft.com><3BC5D44AB71A754FAE3CA68A7597EABE13C9FA77@ZANEVS03.cc-ntd1.covad.com> <49A50209.2060305@sippysoft.com> Message-ID: <3BC5D44AB71A754FAE3CA68A7597EABE14D430BD@ZANEVS03.cc-ntd1.covad.com> Hi Maksym, I was wondering if you had any updates on this, haven't had a chance to check out the site yet. Thanks, Vlad -----Original Message----- From: users-bounces at b2bua.org [mailto:users-bounces at b2bua.org] On Behalf Of Maxim Sobolev Sent: Wednesday, February 25, 2009 3:32 AM To: Sippy B2BUA Users Subject: Re: [B2BUA Users] Using Sippy to Handle 302 Redirects Morales, Vladimir wrote: > We're not looking for any authorization to be performed at this point. > As far as accounting (assuming radius), that is being handled by another > element in our network, so no need there either. Then it should be pretty trivial. I will see if I can come up with a patch in the next few days. 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 _______________________________________________ Users mailing list Users at b2bua.org http://lists.b2bua.org/mailman/listinfo/users From sobomax at sippysoft.com Thu Apr 2 16:58:24 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Thu, 02 Apr 2009 16:58:24 -0700 Subject: [B2BUA Users] Using Sippy to Handle 302 Redirects In-Reply-To: <3BC5D44AB71A754FAE3CA68A7597EABE14D430BD@ZANEVS03.cc-ntd1.covad.com> References: <3BC5D44AB71A754FAE3CA68A7597EABE135F513E@ZANEVS03.cc-ntd1.covad.com> <498BBF48.5040501@sippysoft.com><3BC5D44AB71A754FAE3CA68A7597EABE136A2ED7@ZANEVS03.cc-ntd1.covad.com> <499F171B.9040804@sippysoft.com><3BC5D44AB71A754FAE3CA68A7597EABE13C9FA77@ZANEVS03.cc-ntd1.covad.com> <49A50209.2060305@sippysoft.com> <3BC5D44AB71A754FAE3CA68A7597EABE14D430BD@ZANEVS03.cc-ntd1.covad.com> Message-ID: <49D55120.3030903@sippysoft.com> Morales, Vladimir wrote: > Hi Maksym, > > I was wondering if you had any updates on this, haven't had a chance to > check out the site yet. Vlad, Incidentally I am working on this functionality at the moment. You can find preliminary patch for the latest CVS code here: http://sobomax.sippysoft.com/~sobomax/b2bua.redirect.diff You can apply it by doing: $ cd sippy; patch -p0 -s < /tmp/b2bua.redirect.diff The patch is working in general, the only issue is that there will be no originate accounting for redirected call legs. Any feedback is appreciated. I hope to finish and check it in within the next week or so. 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 gyrog at hotmail.com Tue Apr 14 12:25:34 2009 From: gyrog at hotmail.com (Gyro Greg) Date: Tue, 14 Apr 2009 15:25:34 -0400 Subject: [B2BUA Users] Max Concurrent Calls In-Reply-To: References: <49AE2E2C.2020500@sippysoft.com> <49BABBAF.2000903@sippysoft.com> Message-ID: Hi Maksym Please let me know if you had the chance to review my patch v2 submitted on March 16. I added your suggestions and think that is working fine. By now I've tested it using sipp, and noted that the code is counting and handling 200 simultaneous calls from 3 different users at a rate of 3 calls per second without a problem. Everything seems right but would be great if you could take a look at it. As a side note a want to comment that the stress test was performed on a Xeon Quad Core @ 2.33Ghz and 2GB RAM. I had one instance of b2bua_radius and 4 instances of rtpproxy handling media on the same machine. The performance was excelent reaching at peak about 10% of cpu. What a great software. Regards. From: gyrog at hotmail.com To: users at b2bua.org Subject: RE: [B2BUA Users] Max Concurrent Calls Date: Mon, 16 Mar 2009 17:44:59 -0400 > Date: Fri, 13 Mar 2009 13:01:51 -0700 > From: sobomax at sippysoft.com > To: users at b2bua.org > Subject: Re: [B2BUA Users] Max Concurrent Calls > > Gyro Greg wrote: > > Hello Maksym. > > Sorry for the delay but I was working out of the office until today. I > > finished my patch, now besides counting calls is checking the limit of > > each account ID with a value returned in the auth response (maxcc). > > As you know the code better than me could be great if you can take > > a look at it and check if I chose the right spots to do the count, also > > this was my first time with python so I'll be glad to receive any > > suggestion/tip/correction. > > Gyro, > > The patch is not entirely correct, since by making authcli global you > are opening yourself to the racing condition. Two calls with different > CLI can update it one after another, so that when the first call > disconnects it updates the wrong counter using CLI from the second call. > Instead, you should make authcli member of the CallController class, so > that it's private and independent for each call. > > Another issue is that if the call disconnects before authentication > completes the counter can be decremented without prior incrementing. > > The better way to do it is to add authcli member to the CallController, > and set it to None by default. Then, assign it only when you actually > have increased the counter and in the aDisc() callback check if the > self.authcli is not None and decrease counter only then. > > Also, you can simplify the following: > > + if cli in ConcurrentCalls.cc_dict: > + # Increase the concurrent calls for existing account ID > + ConcurrentCalls.cc_dict[cli] = ConcurrentCalls.cc_dict[cli] + 1 > + #print ConcurrentCalls.cc_dict > + else: > + # First calls for account ID > + ConcurrentCalls.cc_dict[cli] = 1 > + #print ConcurrentCalls.cc_dict > > > to: > > ConcurrentCalls.cc_dict[cli] = ConcurrentCalls.cc_dict.get(cli, 0) + 1 > > You can send new version of the patch for review. > Hi Maksym I corrected the code following your suggestions, as you noted is very important to make the authcli private and independent for each call so I hope that I was right creating it as a member of the CallController class. Please take a look at the included patch when you have time, would be great to hear your comments. I set the value of authcli after increasing the counter and decreasing it only if the value is not None. I also checked that in the case when a call should be rejected due to "too many concurrent calls" the code add one to the user, block the call and decrease one. Regards. Gyro > 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 > _______________________________________________ > Users mailing list > Users at b2bua.org > http://lists.b2bua.org/mailman/listinfo/users See how Windows? connects the people, information, and fun that are part of your life Color coding for safety: Windows Live Hotmail alerts you to suspicious email. Sign up today. _________________________________________________________________ See how Windows? connects the people, information, and fun that are part of your life http://clk.atdmt.com/MRT/go/119463819/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.b2bua.org/pipermail/users/attachments/20090414/7422eda8/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: b2bua_radius.patch2 Type: application/octet-stream Size: 3895 bytes Desc: not available Url : http://lists.b2bua.org/pipermail/users/attachments/20090414/7422eda8/attachment.obj From fergal.ast at gmail.com Wed Apr 15 06:34:47 2009 From: fergal.ast at gmail.com (f meath) Date: Wed, 15 Apr 2009 14:34:47 +0100 Subject: [B2BUA Users] codec negotiation patch Message-ID: <67fd8ca40904150634w1bd2cb35y7bd03e470b8a383d@mail.gmail.com> Hi, I have asterisk v1.4.22+Codec Negotiation Patch running on my target. Now I am trying to integrate mISDN v_1_1_8 but I notice that chan_misdn.c has not been patched. Does anyone know if this is because it does not need patching or is it just that no one ever asked for it? Regards, Fergal -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.b2bua.org/pipermail/users/attachments/20090415/bb663b53/attachment.html From sobomax at sippysoft.com Thu Apr 16 12:21:55 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Thu, 16 Apr 2009 12:21:55 -0700 Subject: [B2BUA Users] Max Concurrent Calls In-Reply-To: References: <49AE2E2C.2020500@sippysoft.com> <49BABBAF.2000903@sippysoft.com> Message-ID: <49E78553.4010301@sippysoft.com> Gyro Greg wrote: > Hi Maksym > Please let me know if you had the chance to review my patch v2 > submitted on March 16. I added your suggestions and think that is > working fine. By now I've tested it using sipp, and noted that the code > is counting and handling 200 simultaneous calls from 3 different users > at a rate of 3 calls per second without a problem. Everything seems > right but would be great if you could take a look at it. > > As a side note a want to comment that the stress test was performed > on a Xeon Quad Core @ 2.33Ghz and 2GB RAM. I had one instance of > b2bua_radius and 4 instances of rtpproxy handling media on the same > machine. The performance was excelent reaching at peak about 10% of cpu. > What a great software. Gyro, Thank you for the warm words! The patch looks fine to me, I see no issues with it. 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 20 23:57:19 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Mon, 20 Apr 2009 23:57:19 -0700 Subject: [B2BUA Users] codec negotiation patch In-Reply-To: <67fd8ca40904150634w1bd2cb35y7bd03e470b8a383d@mail.gmail.com> References: <67fd8ca40904150634w1bd2cb35y7bd03e470b8a383d@mail.gmail.com> Message-ID: <49ED6E4F.8050104@sippysoft.com> f meath wrote: > Hi, > > I have asterisk v1.4.22+Codec Negotiation Patch running on my target. > Now I am trying to integrate mISDN v_1_1_8 but I notice that > chan_misdn.c has not been patched. > Does anyone know if this is because it does not need patching or is it > just that no one ever asked for it? Fergal, The latter. Neither we ourselves, nor any our customers use this module. 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 20 23:59:34 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Mon, 20 Apr 2009 23:59:34 -0700 Subject: [B2BUA Users] 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 Users] 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 fergal.ast at gmail.com Wed Apr 22 05:51:04 2009 From: fergal.ast at gmail.com (f meath) Date: Wed, 22 Apr 2009 13:51:04 +0100 Subject: [B2BUA Users] codec negotiation patch In-Reply-To: <49ED6E4F.8050104@sippysoft.com> References: <67fd8ca40904150634w1bd2cb35y7bd03e470b8a383d@mail.gmail.com> <49ED6E4F.8050104@sippysoft.com> Message-ID: <67fd8ca40904220551h484ce73xf103820adb583a16@mail.gmail.com> Thanks Maksym. Who should I talk to about requesting that this patch be developed for the mISDN (v1.1.8) channel? Regards, Fergal On Tue, Apr 21, 2009 at 7:57 AM, Maxim Sobolev wrote: > f meath wrote: > > Hi, > > > > I have asterisk v1.4.22+Codec Negotiation Patch running on my target. > > Now I am trying to integrate mISDN v_1_1_8 but I notice that > > chan_misdn.c has not been patched. > > Does anyone know if this is because it does not need patching or is it > > just that no one ever asked for it? > > Fergal, > > The latter. Neither we ourselves, nor any our customers use this module. > > 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 > _______________________________________________ > Users mailing list > Users at b2bua.org > http://lists.b2bua.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.b2bua.org/pipermail/users/attachments/20090422/9f31f083/attachment.html From sobomax at sippysoft.com Thu Apr 23 01:06:39 2009 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Thu, 23 Apr 2009 01:06:39 -0700 Subject: [B2BUA Users] codec negotiation patch In-Reply-To: <67fd8ca40904220551h484ce73xf103820adb583a16@mail.gmail.com> References: <67fd8ca40904150634w1bd2cb35y7bd03e470b8a383d@mail.gmail.com> <49ED6E4F.8050104@sippysoft.com> <67fd8ca40904220551h484ce73xf103820adb583a16@mail.gmail.com> Message-ID: <49F0218F.2010005@sippysoft.com> f meath wrote: > Thanks Maksym. > > Who should I talk to about requesting that this patch be developed for > the mISDN (v1.1.8) channel? You can talk to me. Do you want me to prepare an estimate for you? 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 fergal.ast at gmail.com Thu Apr 23 05:46:40 2009 From: fergal.ast at gmail.com (f meath) Date: Thu, 23 Apr 2009 13:46:40 +0100 Subject: [B2BUA Users] codec negotiation patch In-Reply-To: <49F0218F.2010005@sippysoft.com> References: <67fd8ca40904150634w1bd2cb35y7bd03e470b8a383d@mail.gmail.com> <49ED6E4F.8050104@sippysoft.com> <67fd8ca40904220551h484ce73xf103820adb583a16@mail.gmail.com> <49F0218F.2010005@sippysoft.com> Message-ID: <67fd8ca40904230546x1692d77ex2444467b595bcc11@mail.gmail.com> Hi Maksym, Yes, please give me an estimate for this. You can contact me directly at my email address below. Regards, Fergal Meath Senior Software Engineer, LAKE Communications Ltd. fergal.meath at lakecommunications.com http://www.lakecommunications.com/ On Thu, Apr 23, 2009 at 9:06 AM, Maxim Sobolev wrote: > f meath wrote: > > Thanks Maksym. > > > > Who should I talk to about requesting that this patch be developed for > > the mISDN (v1.1.8) channel? > > You can talk to me. Do you want me to prepare an estimate for you? > > 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 > _______________________________________________ > Users mailing list > Users at b2bua.org > http://lists.b2bua.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.b2bua.org/pipermail/users/attachments/20090423/e92ef51b/attachment.html 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 Users] 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