webget timeout

Discuss any topic about Brekeke PBX.

Moderator: Brekeke Support Team

Post Reply
voipwell.com
Posts: 528
Joined: Tue Sep 20, 2005 9:10 am
Location: Tannersville, Pennsylvania

webget timeout

Post by voipwell.com »

1. Brekeke Product Name and Version:Adv SIP Server 2.4.8.6

2. Java version:

3. OS type and the version:

4. UA (phone), gateway or other hardware/software involved:

5. Your problem: Does anyone know the default timeout of the webget command.

Has the net.webget.timeout.connect been implemented in 2.4.8.6?

Thanks

Oops sorry. Should be in Sip Forum.
Laurie
Posts: 245
Joined: Mon Jan 07, 2008 12:25 pm

Post by Laurie »

> Does anyone know the default timeout of the webget command.

The default timeout for the web connecting is 2000 [ms]
The default timeout for the web reading is 2000 [ms]

You can tune them with arguments.
---------------------------------------------------------
$webget( HTTP-URI )
$webget( HTTP-URI, regex )
$webget( HTTP-URI, regex, TimeoutConnect )
$webget( HTTP-URI, regex, TimeoutConnect, TimeoutRead )
---------------------------------------------------------


> Has the net.webget.timeout.connect been implemented in 2.4.8.6?

Yes.
You can define the default value with the following variables.
---------------------------------------------------------
net.webget.timeout.connect (for the connecting timeout)
net.webget.timeout.read (for the reading timeout)
---------------------------------------------------------


I recommend you use Brekeke SIP Server v 3 because it has improved webget feature.
voipwell.com
Posts: 528
Joined: Tue Sep 20, 2005 9:10 am
Location: Tannersville, Pennsylvania

Post by voipwell.com »

Thank you very much.
I will follow your advice on upgrade.
Post Reply