Forums Read-only archive

webget timeout

3 posts · Brekeke PBX Forum

voipwell.com Original post
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
> 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
Thank you very much.
I will follow your advice on upgrade.