bayonne-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bayonne-devel] GlobalCall fix found


From: Julien Chavanton
Subject: [Bayonne-devel] GlobalCall fix found
Date: Sat, 8 Jan 2005 13:45:53 -0500

I have found a small modification to trunk.cpp that can prevent loosing port under certain circumstances

 

We need to add the line “gc_ResetLineDev(linedev, EV_ASYNC);”  else we the port will not work until we reset.

 

bool DialogicTrunk::acceptCall(void)

{

        if(Trunk::flags.offhook || _accepted)

                return false;

 

        if(gc_AcceptCall(crn, 0, EV_ASYNC) < 0)

        {

                postGCError("gc_AcceptCall");

                gc_ResetLineDev(linedev, EV_ASYNC);

                return false;

        }

 

        _accepted = true;

 

        return true;

}

 

I have also modified the startup of Globalcall so the server reset all the port and then open them again this prevent a unnecessary

Dltsop dlstart everytime there is a problem with some port.

 

With this modification my test server was able to handle 1 200 000 calls outbound 1 200 000 calls inbound  without any port being blocked.

 

 

Julien


reply via email to

[Prev in Thread] Current Thread [Next in Thread]