.. _example_service_dhcp-server_options_sip-options:
###########
Sip-Options
###########
These scenarios check DHCP server SIP (Session Initiation Protocol) options.
SIP is used for VoIP telephony and video conferencing systems.
These options help IP phones and VoIP clients automatically discover SIP servers.
This includes: sip-server-name and sip-server-address (both use option 120 with different encodings).
***************************
Test SIP-Server-Name Single
***************************
Description
===========
This scenario checks the ``sip-server-name`` option with a single SIP server hostname.
The DHCP server configures a SIP server by domain name, and the client receives it.
SIP server names are encoded in a special hex format (Option 120, encoding type 0).
This is used by VoIP phones to locate SIP/PBX servers by hostname.
Scenario
========
.. include:: sip-options/testsip-server-namesingle
.. raw:: html
*****************************
Test SIP-Server-Name Multiple
*****************************
Description
===========
This scenario checks the ``sip-server-name`` option with multiple SIP server hostnames.
The DHCP server configures three SIP servers by domain name for redundancy.
Multiple SIP servers provide failover for VoIP telephony systems.
Scenario
========
.. include:: sip-options/testsip-server-namemultiple
.. raw:: html
************************
Test SIP-Server-Name VRF
************************
Description
===========
This scenario checks the ``sip-server-name`` option when the DHCP server is configured with VRF.
Multiple SIP server hostnames are configured in a VRF environment.
Scenario
========
.. include:: sip-options/testsip-server-namevrf
.. raw:: html
******************************
Test SIP-Server-Address Single
******************************
Description
===========
This scenario checks the ``sip-server-address`` option with a single SIP server IP address.
The DHCP server configures a SIP server by IP address, and the client receives it.
SIP server addresses are encoded in a special hex format (Option 120, encoding type 1).
This is used by VoIP phones to locate SIP/PBX servers by IP.
Scenario
========
.. include:: sip-options/testsip-server-addresssingle
.. raw:: html
********************************
Test SIP-Server-Address Multiple
********************************
Description
===========
This scenario checks the ``sip-server-address`` option with multiple SIP server IP addresses.
The DHCP server configures three SIP servers by IP for redundancy.
Multiple SIP servers provide failover for VoIP systems.
Scenario
========
.. include:: sip-options/testsip-server-addressmultiple
.. raw:: html
***************************
Test SIP-Server-Address VRF
***************************
Description
===========
This scenario checks the ``sip-server-address`` option when the DHCP server is configured with VRF.
Multiple SIP server IP addresses are configured in a VRF environment.
Scenario
========
.. include:: sip-options/testsip-server-addressvrf
.. raw:: html
***************************
Test Change SIP-Server-Name
***************************
Description
===========
This scenario checks that SIP server names can be changed dynamically.
Configure an initial SIP server hostname, then add another and verify the update.
Scenario
========
.. include:: sip-options/testchangesip-server-name
.. raw:: html
******************************
Test Change SIP-Server-Address
******************************
Description
===========
This scenario checks that SIP server addresses can be changed dynamically.
Configure an initial SIP server IP, then add another and verify the update.
Scenario
========
.. include:: sip-options/testchangesip-server-address
.. raw:: html
***************************
Test Remove SIP-Server-Name
***************************
Description
===========
This scenario checks that SIP server names can be removed.
Configure SIP server hostnames, then remove them and verify they are no longer sent.
Scenario
========
.. include:: sip-options/testremovesip-server-name
.. raw:: html
******************************
Test Remove SIP-Server-Address
******************************
Description
===========
This scenario checks that SIP server addresses can be removed.
Configure SIP server IPs, then remove them and verify they are no longer sent.
Scenario
========
.. include:: sip-options/testremovesip-server-address
.. raw:: html