Hi,here is mine. Pls. ignore the PTRACEs, I have added them for debugging during my tests. if (m_call && !m_callerSocket && m_call->MoveToNextRoute()) { //if (m_call->IsCallInProgress() || m_call->IsFastStartResponseReceived() // || (m_call->IsH245ResponseReceived() && m_h245socket != NULL)) { // PTRACE(5, "Q931\tFailover disabled for call " << m_call->GetCallNumber()); // PTRACE(5, "Q931\tIsFastStartResponseReceived() = " << m_call->IsFastStartResponseReceived()); // PTRACE(5, "Q931\tIsCallInProgress() = " << m_call->IsCallInProgress()); // PTRACE(5, "Q931\tIsH245ResponseReceived = " << m_call->IsH245ResponseReceived()); // PTRACE(5, "Q931\tm_H245socket = " << (m_h245socket != NULL)); if (m_call->GetFailedRoutes().back().IsFailoverActive(cause)) { TryNextRoute(); return; } else PTRACE(5, "Q931\tFailover inactive for call " << m_call->GetCallNumber() << ", Q931 cause " << cause) } Can anybody spot a combination of pwlib, openh323, gk2.2.4 which works without crashes? Why we need fail-over of routes when the whole system crashes 3 times a day!mortex >-------- Оригинално писмо -------- >От: "Alexandru Coseru" <alexandru.coseru@xxxxxxxxxxxxxxx> >Относно: Re: Call Failover >До: "GNU Gatekeeper Users" <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx> >Изпратено на: Сряда, 2006, Август 2 00:17:21 EEST >---------------------------------- > >Hello.. >My gk crashes , but i have it in intab for now , so at least the traffic >will not drop to 0 (although all calls will be disconnected). > >Still , 100% of my gateways have FastStart , so it is always enabled.. > >I have tried to uncomment all that conditions , but now I have Q931PDU -> >Decode buffer errors.. -> no call failover > > >Regards > Alex >----- Original Message ----- >From: "xx xx" <mortex@xxxxxx> >To: "GNU Gatekeeper Users" <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx> >Cc: <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx> >Sent: Wednesday, August 02, 2006 12:10 AM >Subject: Re: [Openh323gk-users] Call Failover > > >> >> Hi Alex, >> I had the same situation. Actually the problem for me was that I have >> always received m_h245socket != NULL using some CPEs. With others I have >> no problems. To solve this I commented this checks and now gk works well - >> just checks the disconnect reason and thus I can easyily control when to >> fail over the call. >> >> Actually many carriers gives fast start response and still can't complete >> the call, so I think thes checks are quite restrictive and not should be >> done. >> >> My problem is that my gk crashes very often 1-2 times a day (with this >> checks and without them, no difference). Can you please share your >> experience including pwlib, openh323 version. >> >> Thank you! >> >> mortex >> >> >-------- Оригинално писмо -------- >> >От: "Alexandru Coseru" <alexandru.coseru@xxxxxxxxxxxxxxx> >> >Относно: [Openh323gk-users] Call Failover >> >До: <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx> >> >Изпратено на: Вторник, 2006, Август 1 23:06:09 EEST >> >---------------------------------- >> > >> >Hello guys. >> > >> >I have found the following code in ProxyChannel.cxx (starting line 2221): >> > >> >if (m_call->IsCallInProgress() || m_call->IsFastStartResponseReceived() >> > || m_call->IsH245ResponseReceived() || >> >m_h245socket != NULL) { >> > PTRACE(5, "Q931\tFailover disabled for call " << >> >m_call->GetCallNumber()); >> > >> >I have some comments , please reply on that. >> > >> >1) IsCallInProgress - found code that is setting that to true , but >> >found nothing to set it to false -> it means that always the condition >> >will >> >be true -> no failover >> >2) IsFastStartResponseReceived - we cannot do failover if >> >FastStartResponse was received ? >> >3) IsH245ResponseReceived - same as 2) >> > >> >I'm asking you that because my failover doesn't work at all , all i got >> >in >> >logs was: Failover disabled for call xxxx >> > >> > >> > >> >Regards >> > Alex >> > >> > >> >------------------------------------------------------------------------- >> >Take Surveys. Earn Cash. Influence the Future of IT >> >Join SourceForge.net's Techsay panel and you'll get the chance to share >> >your >> >opinions on IT & business topics through brief surveys -- and earn cash >> >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >_______________________________________________________ >> > >> >Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx >> >Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 >> >Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users >> >Homepage: http://www.gnugk.org/ >> > >> >> ----------------------------------------------------------------- >> http://ide.li/ - портал за българите по света. Статии, новини, форуми, >> снимки, информация. >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your >> opinions on IT & business topics through brief surveys -- and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________________ >> >> Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx >> Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 >> Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users >> Homepage: http://www.gnugk.org/ > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________________ > >Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx >Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 >Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users >Homepage: http://www.gnugk.org/ > -----------------------------------------------------------------http://ide.li/ - портал за българите по света. Статии, новини, форуми, снимки, информация. -------------------------------------------------------------------------Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT & business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________________ Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxxxxxxxxx: http://sourceforge.net/mailarchive/forum.php?forum_id=8549Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-usersHomepage: http://www.gnugk.org/