Sip

SCPI Command:

SOURce:AFRF:GENerator<Instance>:VOIP:SIP:RESPonse
SOURce:AFRF:GENerator<Instance>:VOIP:SIP:STATe
SOURce:AFRF:GENerator<Instance>:VOIP:SIP:CODE
SOURce:AFRF:GENerator<Instance>:VOIP:SIP:RPRotocol
SOURce:AFRF:GENerator<Instance>:VOIP:SIP:RCAuse
SOURce:AFRF:GENerator<Instance>:VOIP:SIP:RTEXt
class SipCls[source]

Sip commands group definition. 6 total commands, 0 Subgroups, 6 group commands

get_code() int[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:VOIP:SIP:CODE
value: int = driver.source.afRf.generator.voip.sip.get_code()

Queries the code number of the last received SIP response.

return:

sip_code: Decimal number, for example 200

get_rcause() str[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:VOIP:SIP:RCAuse
value: str = driver.source.afRf.generator.voip.sip.get_rcause()

Queries the reason (cause) of the VoIP connection.

return:

rcause: No help available

get_response() str[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:VOIP:SIP:RESPonse
value: str = driver.source.afRf.generator.voip.sip.get_response()

Queries the text of the last received SIP response.

return:

sip_response: Response string, for example ‘OK’

get_rprotocol() str[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:VOIP:SIP:RPRotocol
value: str = driver.source.afRf.generator.voip.sip.get_rprotocol()

Queries the reason (protocol) of the VoIP connection.

return:

protocol: No help available

get_rt_ext() str[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:VOIP:SIP:RTEXt
value: str = driver.source.afRf.generator.voip.sip.get_rt_ext()

Queries the reason (text) of the VoIP connection.

return:

rt_ext: No help available

get_state() SipState[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:VOIP:SIP:STATe
value: enums.SipState = driver.source.afRf.generator.voip.sip.get_state()

Queries the state of the VoIP connection to the DUT.

return:

sip_state: TERMinated | ESTablished | ERRor