O'Reilly logo

Practical VoIP Using VOCAL by Luan Dang, Cullen Jennings, David Kelly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Load Generation

The following parameters are used for load generation. These parameters do not need to be modified if you want to make User-Agent-to-User-Agent calls:

LoadGen_On              bool            False
RunMode                 string          Calling
StartTime               int             5000
NumKickStarts           int             1
CallUrl                 string          sip:7399@mendel
NumEndpoints            int             1
CallDuration            int             1000
CallDelay               int             1000
CallRestartTimer        int             17000
AnswerRestartTimer      int             12000
AnswerDelay             int             100
MonitorMsgOn            bool            False
MonitorMsgInterval      int             10
DialNumber              string          6000
NumOfCalls              int             -1
CJTime                  bool            False
RtpGenOn                bool            False
LoadGen_On

Turns load generator on (True) or off (False).

RunMode

Specifies if the UA is in the Calling or the Receiving mode.

RSTest

Specifies RSTest for Redirect server testing.

StartTime

Specifies an initial delay (in seconds) before making calls.

NumKickStarts

Number of parallel calls.

CallUrl

Specifies the SIP URL to call if RunMode is set to Calling.

NumEndpoints

Not implemented.

CallDuration

Specifies the hold time (in ms) for an active call.

CallDelay

Specifies the time (in ms) before making a new call.

CallRestartTimer

Guards timer at caller side (in ms). Should be CallDuration + CallDelay + more.

AnswerRestartTimer

Guards timer at called party’s side (in ms). Should be less than CallRestartTimer.

AnswerDelay

Not implemented.

MonitorMsgOn

Turns the statistic messages on (True) or off (False).

MonitorMsgInterval

Specifies the interval (in seconds) to print statistics messages.

DialNumber

Not implemented.

NumOfCalls ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required