Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
vyechuri-personal authored Oct 26, 2023
1 parent 16e99b7 commit 19a104f
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions ciscoaxl/axl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1983,10 +1983,11 @@ def add_phone(
location="Hub_None",
phone_template="Standard 8861 SIP",
common_device_config="",
css="",
css="",
aar_css="",
subscribe_css="",
securityProfileName="",
ownerUserName="",
securityProfileName="",
lines=[],
dev_class="Phone",
protocol="SCCP",
Expand All @@ -1998,6 +1999,8 @@ def add_phone(
em_url_button_index="1",
em_url_label="Press here to logon",
ehook_enable=1,
enableActivationID = 'True',
allowMraMode = 'True',
):
"""
lines takes a list of Tuples with properties for each line EG:
Expand All @@ -2016,6 +2019,7 @@ def add_phone(
:param css:
:param aar_css:
:param subscribe_css:
:param ownerUserName:
:param lines:
:param dev_class:
:param protocol:
Expand All @@ -2027,6 +2031,8 @@ def add_phone(
:param em_url_button_index:
:param em_url_label:
:param ehook_enable:
:param enableactivationid:
:param allowmramode:
:return:
"""

Expand All @@ -2039,7 +2045,7 @@ def add_phone(
"protocolSide": "User",
"commonDeviceConfigName": common_device_config,
"commonPhoneConfigName": "Standard Common Phone Profile",
"softkeyTemplateName": softkey_template,
"softkeyTemplateName": softkey_template,
"phoneTemplateName": phone_template,
"devicePoolName": device_pool,
"locationName": location,
Expand All @@ -2052,6 +2058,9 @@ def add_phone(
"callingSearchSpaceName": css,
"automatedAlternateRoutingCssName": aar_css,
"subscribeCallingSearchSpaceName": subscribe_css,
"ownerUserName": ownerUserName,
"enableActivationID": True,
"allowMraMode": True,
"lines": {"line": []},
"services": {"service": []},
"vendorConfig": [{"ehookEnable": ehook_enable}],
Expand Down

0 comments on commit 19a104f

Please sign in to comment.