class Vocal::UaConfiguration

SIP User Agent configuration

Public Methods

[more]static UaConfiguration* instance()
[more]static void instance( const string cfgFile )
[more]static void parseCfgFileCallBack( char* tag, char* type, char* value )
[more]void show()
[more]string getUserName()
[more]string getPassword()
[more]string getDisplayName()
[more]string getLocalSipPort()
[more]int getMinRtpPort()
[more]int getMaxRtpPort()
[more]string getSipTransport()
[more]string getProxyServer()
[more]bool getRegisterOn()
[more]string getRegisterFrom()
[more]string getRegisterTo()
[more]int getRegisterExpires()
[more]string getRegisterAction()
[more]int getNetworkRtpRate()
[more]bool getProvideRingback()
[more]int getInitialDigitTimeout()
[more]int getInterDigitTimeout()
[more]UaXferMode getXferMode() const
[more]string getConfServer() const
[more]DialingPlanListType& getDialPlans()
[more]SpeedDialMapType& getSpeedDials()
[more]void setUserName( string name )
[more]void setPassword( string pwd )
[more]void setDisplayName( string name )
[more]void setLocalSipPort( string port )
[more]void setMinRtpPort( int port )
[more]void setMaxRtpPort( int port )
[more]void setSipTransport( string transport )
[more]void setProxyServer( string server )
[more]void setRegisterOn( bool on )
[more]void setRegisterFrom( string from )
[more]void setRegisterTo( string to )
[more]void setRegisterExpires( int expires )
[more]void setRegisterAction( string action )
[more]void setNetworkRtpRate( int rate )
[more]void setProvideRingback( bool ringback )
[more]void setInitialDigitTimeout( int timeout )
[more]void setInterDigitTimeout( int timeout )
[more]void setXferMode( const UaXferMode xfermode )
[more]void setConfServer( const string confserver )
[more]void addDialPattern( DialMethodsType type, string pattern )
[more]void addSpeedDial( string key, string dest )
[more]bool getLoadGenOn()
[more]string getRunMode()
[more]int getStartTime()
[more]int getNumKickStarts()
[more]string getCallUrl()
[more]int getNumEndpoints()
[more]int getCallDuration()
[more]int getCallDelay()
[more]int getCallRestartTimer()
[more]int getAnswerRestartTimer()
[more]int getAnswerDelay()
[more]bool getMonitorMsgOn()
[more]int getMonitorMsgInterval()
[more]string getDialNumber()
[more]bool getRtpGenOn()
[more]int getNumOfCalls()
[more]bool getCJTimeOfDay()
[more]void setLoadGenOn( bool on)
[more]void setRunMode( string mode)
[more]void setStartTime( int time)
[more]void setNumKickStarts( int num)
[more]void setCallUrl( string callUrl )
[more]void setNumEndpoints( int endpoints)
[more]void setCallDuration( int duration)
[more]void setCallDelay( int delay)
[more]void setCallRestartTimer( int delay )
[more]void setAnswerRestartTimer( int delay )
[more]void setAnswerDelay(int ansDelay)
[more]void setMonitorMsgOn(bool msgOn)
[more]void setMonitorMsgInterval(int debugInt)
[more]void setDialNumber( string dialNum)
[more]void setRtpGenOn( bool rtpOn)
[more]void setNumOfCalls(int calls)
[more]void setCJTimeOfDay(bool cjOn)
[more]bool getRsvpOn() const
[more]string getProvisioningHost() const
[more]int getProvisioningPort() const
[more]bool getUsePolicyServer() const
[more]string getDeviceName() const
[more]bool getCallWaitingOn() const
[more]void setRsvpOn( const bool on )
[more]void setProvisioningHost( const string host )
[more]void setProvisioningPort( const int port )
[more]void setUsePolicyServer( const bool use )
[more]void setDeviceName( const string devicename )
[more]void setCallWaitingOn( const bool callwaiting )
[more]void setCallIdOn( const bool callIdOn )
[more]bool getCallIdOn()
[more]void setCallId( const string callid )
[more]string getCallId()
[more]void setUaTimeout( const int timeout )
[more]int getUaTimeout() const
[more]void setSubscribeOn( const bool subOn )
[more]bool getSubscribeOn() const
[more]void setSubscribeExpire( const int expire )
[more]int getSubscribeExpire() const
[more]void setSubscribeTo( const string to )
[more]string getSubscribeTo() const
[more]void addVMServer(const string server)
[more]vector< string > & getVMServers()
[more]void setLogFilename(const string& filename)
set the filename that log messages should be sent to
[more]string getLogFilename() const
get the filename that log messages should be sent to
[more]void setNATAddress(const string& address)
set the NAT address, used to fill in the c= and o= lines in the SDP, so that RTP audio can tunnel through a NAT firewall
[more]string getNATAddress() const
get the NAT address
[more] ~UaConfiguration()

Private Fields

[more]string userName
[more]string displayName
[more]string password
[more]string localSipPort
[more]int minRtpPort
[more]int maxRtpPort
[more]string sipTransport
[more]string proxyServer
[more]bool registerOn
[more]string registerFrom
[more]string registerTo
[more]int registerExpires
[more]string registerAction
[more]int networkRtpRate
[more]bool provideRingback
[more]int initialDigitTimeout
[more]int interDigitTimeout
[more]DialingPlanListType dialPlans
[more]SpeedDialMapType speedDials
[more]bool loadGenOn
[more]string runMode
[more]int startTime
[more]int numKickStarts
[more]string callUrl
[more]int numEndpoints
[more]int callDuration
[more]int callDelay
[more]int callRestartTimer
[more]int answerRestartTimer
[more]int answerDelay
[more]bool monitorMsgOn
[more]int monitorMsgInterval
[more]string dialNumber
[more]bool rtpGenOn
[more]int numOfCalls
[more]bool cjTime
[more]string provisioningHost
[more]int provisioningPort
[more]bool usePolicyServer
[more]UaXferMode xferMode
[more]string confServer
[more]string myCallId
[more]bool myCallIdOn
[more]bool callWaitingOn
[more]int uaTimeout
[more]bool subscribeOn
[more]int subscribeExpire
[more]string subscribeTo
[more]vector< string > myVmServers
[more]static UaConfiguration* uaConfiguration

Private Methods

[more] UaConfiguration()

Private Members

[more] RSVP configuration data
[more] other parameters


Documentation

SIP User Agent configuration
ostatic UaConfiguration* instance()

ostatic void instance( const string cfgFile )

ostatic void parseCfgFileCallBack( char* tag, char* type, char* value )

ovoid show()

ostring getUserName()

ostring getPassword()

ostring getDisplayName()

ostring getLocalSipPort()

oint getMinRtpPort()

oint getMaxRtpPort()

ostring getSipTransport()

ostring getProxyServer()

obool getRegisterOn()

ostring getRegisterFrom()

ostring getRegisterTo()

oint getRegisterExpires()

ostring getRegisterAction()

oint getNetworkRtpRate()

obool getProvideRingback()

oint getInitialDigitTimeout()

oint getInterDigitTimeout()

oUaXferMode getXferMode() const

ostring getConfServer() const

oDialingPlanListType& getDialPlans()

oSpeedDialMapType& getSpeedDials()

ovoid setUserName( string name )

ovoid setPassword( string pwd )

ovoid setDisplayName( string name )

ovoid setLocalSipPort( string port )

ovoid setMinRtpPort( int port )

ovoid setMaxRtpPort( int port )

ovoid setSipTransport( string transport )

ovoid setProxyServer( string server )

ovoid setRegisterOn( bool on )

ovoid setRegisterFrom( string from )

ovoid setRegisterTo( string to )

ovoid setRegisterExpires( int expires )

ovoid setRegisterAction( string action )

ovoid setNetworkRtpRate( int rate )

ovoid setProvideRingback( bool ringback )

ovoid setInitialDigitTimeout( int timeout )

ovoid setInterDigitTimeout( int timeout )

ovoid setXferMode( const UaXferMode xfermode )

ovoid setConfServer( const string confserver )

ovoid addDialPattern( DialMethodsType type, string pattern )

ovoid addSpeedDial( string key, string dest )

obool getLoadGenOn()

ostring getRunMode()

oint getStartTime()

oint getNumKickStarts()

ostring getCallUrl()

oint getNumEndpoints()

oint getCallDuration()

oint getCallDelay()

oint getCallRestartTimer()

oint getAnswerRestartTimer()

oint getAnswerDelay()

obool getMonitorMsgOn()

oint getMonitorMsgInterval()

ostring getDialNumber()

obool getRtpGenOn()

oint getNumOfCalls()

obool getCJTimeOfDay()

ovoid setLoadGenOn( bool on)

ovoid setRunMode( string mode)

ovoid setStartTime( int time)

ovoid setNumKickStarts( int num)

ovoid setCallUrl( string callUrl )

ovoid setNumEndpoints( int endpoints)

ovoid setCallDuration( int duration)

ovoid setCallDelay( int delay)

ovoid setCallRestartTimer( int delay )

ovoid setAnswerRestartTimer( int delay )

ovoid setAnswerDelay(int ansDelay)

ovoid setMonitorMsgOn(bool msgOn)

ovoid setMonitorMsgInterval(int debugInt)

ovoid setDialNumber( string dialNum)

ovoid setRtpGenOn( bool rtpOn)

ovoid setNumOfCalls(int calls)

ovoid setCJTimeOfDay(bool cjOn)

obool getRsvpOn() const

ostring getProvisioningHost() const

oint getProvisioningPort() const

obool getUsePolicyServer() const

ostring getDeviceName() const

obool getCallWaitingOn() const

ovoid setRsvpOn( const bool on )

ovoid setProvisioningHost( const string host )

ovoid setProvisioningPort( const int port )

ovoid setUsePolicyServer( const bool use )

ovoid setDeviceName( const string devicename )

ovoid setCallWaitingOn( const bool callwaiting )

ovoid setCallIdOn( const bool callIdOn )

obool getCallIdOn()

ovoid setCallId( const string callid )

ostring getCallId()

ovoid setUaTimeout( const int timeout )

oint getUaTimeout() const

ovoid setSubscribeOn( const bool subOn )

obool getSubscribeOn() const

ovoid setSubscribeExpire( const int expire )

oint getSubscribeExpire() const

ovoid setSubscribeTo( const string to )

ostring getSubscribeTo() const

ovoid addVMServer(const string server)

ovector< string > & getVMServers()

ovoid setLogFilename(const string& filename)
set the filename that log messages should be sent to

ostring getLogFilename() const
get the filename that log messages should be sent to

ovoid setNATAddress(const string& address)
set the NAT address, used to fill in the c= and o= lines in the SDP, so that RTP audio can tunnel through a NAT firewall

ostring getNATAddress() const
get the NAT address

o ~UaConfiguration()

o UaConfiguration()

ostring userName

ostring displayName

ostring password

ostring localSipPort

oint minRtpPort

oint maxRtpPort

ostring sipTransport

ostring proxyServer

obool registerOn

ostring registerFrom

ostring registerTo

oint registerExpires

ostring registerAction

oint networkRtpRate

obool provideRingback

oint initialDigitTimeout

oint interDigitTimeout

oDialingPlanListType dialPlans

oSpeedDialMapType speedDials

obool loadGenOn

ostring runMode

oint startTime

oint numKickStarts

ostring callUrl

oint numEndpoints

oint callDuration

oint callDelay

oint callRestartTimer

oint answerRestartTimer

oint answerDelay

obool monitorMsgOn

oint monitorMsgInterval

ostring dialNumber

obool rtpGenOn

oint numOfCalls

obool cjTime

o RSVP configuration data
RSVP configuration data

ostring provisioningHost

oint provisioningPort

obool usePolicyServer

o other parameters
other parameters

oUaXferMode xferMode

ostring confServer

ostring myCallId

obool myCallIdOn

obool callWaitingOn

oint uaTimeout

obool subscribeOn

oint subscribeExpire

ostring subscribeTo

ovector< string > myVmServers

ostatic UaConfiguration* uaConfiguration


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java