<method name="updateUserAttrs" auth_type="ADMIN" requires_perm="CHANGE USER ATTRIBUTES" comment=""> <input type="dict"> <param name="user_id" type="str" multi_str="true" comment="" /> <param name="attrs" type="dict" comment=""> <param name="normal_user_spec" type="dict" optional="true" comment=""> <param name="normal_username" type="str" optional="true" comment="if missing, username will be generated randomly" /> <param name="normal_username_random_prefix" type="str" optional="true" comment="default to empty string" /> <param name="normal_username_random_length" type="int" optional="true" comment="default to 8" /> <param name="normal_username_random_type" type="choice" optional="true" comment=""> <choice value="0" type="int" comment="alphanumeric: abcdefghijkmnpqrstuvwxyz23456789" /> <choice value="1" type="int" comment="alphabet only: abcdefghijklmnopqrstuvwxyz" /> <choice value="2" type="int" default="true" comment="numbers only: 123456789" /> </param> <param name="normal_password" type="str" optional="true" comment="if missing, password will be generated randomly" /> <param name="normal_password_random_length" type="int" optional="true" comment="default to 8" /> <param name="normal_password_random_type" type="choice" optional="true" comment=""> <choice value="0" type="int" comment="alphanumeric: abcdefghijkmnpqrstuvwxyz23456789" /> <choice value="1" type="int" comment="alphabet only: abcdefghijklmnopqrstuvwxyz" /> <choice value="2" type="int" default="true" comment="numbers only: 123456789" /> </param> <param name="normal_save" type="bool" optional="true" comment="true, is you want the username and password to be saved in database, defaults to false" /> </param> <param name="voip_user_spec" type="dict" optional="true" comment=""> <param name="voip_username" type="str" optional="true" comment="if missing, username will be generated randomly" /> <param name="voip_username_random_prefix" type="str" optional="true" comment="default to empty string" /> <param name="voip_username_random_length" type="int" optional="true" comment="default to 8" /> <param name="voip_username_random_type" type="choice" optional="true" comment=""> <choice value="0" type="int" comment="alphanumeric: abcdefghijkmnpqrstuvwxyz23456789" /> <choice value="1" type="int" comment="alphabet only: abcdefghijklmnopqrstuvwxyz" /> <choice value="2" type="int" default="true" comment="numbers only: 123456789" /> </param> <param name="voip_password" type="str" optional="true" comment="if missing, password will be generated randomly" /> <param name="voip_password_random_length" type="int" optional="true" comment="default to 8" /> <param name="voip_password_random_type" type="choice" optional="true" comment=""> <choice value="0" type="int" comment="alphanumeric: abcdefghijkmnpqrstuvwxyz23456789" /> <choice value="1" type="int" comment="alphabet only: abcdefghijklmnopqrstuvwxyz" /> <choice value="2" type="int" default="true" comment="numbers only: 123456789" /> </param> <param name="voip_save" type="bool" optional="true" comment="true, is you want the username and password to be saved in database, defaults to false" /> </param> <param name="custom_fields" type="list" length="2" optional="true" dynamic_keys="true" comment=""> <item index="0" type="dict" comment="attributes to update"> <key type="str" comment="custom_field_NAME" /> <value comment="custom field value" /> </item> <item index="1" type="list" length="-1" item_type="str" comment="attributes to delete" /> </param> <param name="first_login" type="int" optional="true" comment="epoch time" /> <param name="auto_renew" type="true_if_exists" comment="User Info: Flags: Auto Renew" /> <param name="auto_recharge" type="true_if_exists" comment="User Info: Flags: Auto Recharge" /> <param name="auto_renew_on_credit_finish" type="true_if_exists" comment="User Info: Flags: Auto Renew On Credit Finish" /> <param name="auto_renew_do_not_reset_credit" type="true_if_exists" optional="true" comment="User Info: Flags: Auto Renew No Not Reset Credit" /> <param name="charge" type="str" optional="true" comment="charge name" /> <param name="abs_exp_date" type="str" optional="true" requires_param="abs_exp_date_unit" comment="gregorian datetime string" /> <param name="abs_exp_date_unit" value="gregorian" optional="true" comment="" /> <param name="allow_recharge_by_voucher" type="true_if_exists" comment="User Info: Flags: Allow Recharge By Voucher" /> <param name="allow_user_disconnect" type="true_if_exists" optional="true_if_exists" comment="User Info: Flags: Allow User Disconnect" /> <param name="assign_dns_1" type="str" optional="true" requires_param="assign_dns_2" comment="" /> <param name="assign_dns_2" type="str" optional="true" comment="" /> <param name="assign_ip" type="str" optional="true" comment="comma-seperated values" /> <param name="assign_netmask" type="str" optional="true" comment="" /> <param name="assign_route_ip" type="str" optional="true" comment="comma-seperated values" /> <param name="caller_id" type="str" optional="true" comment="User Info: VoIP: Caller ID: VoIP Caller ID" /> <param name="caller_id_bind_on_login" type="true_if_exists" optional="true" comment="User Info: VoIP: VoIP Caller ID Bind On Next Login" /> <param name="fast_dial" type="list" item_type="str" length="20" optional="true" comment="User Info: VoIP: Fast Dial" /> <param name="forward_number" type="str" optional="true" comment="User Info: VoIP: Forward Number" /> <param name="asterisk_extension" type="str" optional="true" requires_param="asterisk_ras_ip, asterisk_sip_details, asterisk_iax_details" comment="User Info: VoIP: Asterisk: Asterisk Extension" /> <param name="asterisk_ras_ip" type="str" optional="true" comment="User Info: VoIP: Asterisk: Astersik Ras IP" /> <param name="asterisk_sip_details" type="dict" optional="true" comment="User Info: VoIP: Asterisk: SIP Details"> <param name="allow" type="str" optional="true" comment="semicolon-seperated" /> <param name="cancallforward" type="choice" optional="true" comment=""> <choice value="yes" /> <choice value="no" /> </param> <param name="canreinvite" type="choice" optional="true" comment=""> <choice value="yes" /> <choice value="no" /> </param> <param name="context" type="str" optional="true" comment="'incoming' by default" /> <param name="disallow" type="str" optional="true" comment="'all' by default" /> <param name="host" type="str" optional="true" comment="'dynamic' by default" /> <param name="nat" type="choice" optional="true" comment=""> <choice value="yes" /> <choice value="no" /> </param> <param name="port" type="int" optional="true" comment="" /> <param name="qualify" type="choice" optional="true" comment=""> <choice value="yes" /> <choice value="no" /> </param> <param name="regseconds" type="int" optional="true" comment="" /> <param name="type" type="str" optional="true" comment="'friend' by default" /> </param> <param name="asterisk_iax_details" type="dict" optional="true" comment="User Info: VoIP: Asterisk: IAX Details"> <param name="allow" type="str" optional="true" comment="semicolon-seperated" /> <param name="auth" type="str" optional="true" comment="'md5' by default" /> <param name="context" type="str" optional="true" comment="'incoming' by default" /> <param name="disallow" type="str" optional="true" comment="'all' by default" /> <param name="host" type="str" optional="true" comment="'dynamic' by default" /> <param name="notransfer" type="choice" optional="true" comment=""> <choice value="yes" /> <choice value="no" /> </param> <param name="port" type="int" optional="true" comment="" /> <param name="qualify" type="choice" optional="true" comment=""> <choice value="yes" /> <choice value="no" /> </param> <param name="regseconds" type="int" optional="true" comment="" /> <param name="type" type="str" optional="true" comment="'friend' by default" /> </param> <param name="asterisk_did" type="list" length="-1" item_type="list" optional="true" comment="User Info: VoIP: Asterisk DID: Asterisk DID"> <item type="list" length="3" comment=""> <item index="0" type="str" comment="Number"></item> <item index="1" type="str" comment="Destination"></item> <item index="2" type="str" comment="Peer"></item> </item> </param> <param name="asterisk_did_ras_ip" type="str" optional="true" comment="User Info: VoIP: Asterisk DID: Astersik DID Ras IP" /> <param name="asterisk_did_ras_id" type="str_int" optional="true" comment="User Info: VoIP: Asterisk DID: Astersik DID Ras IP (ras_id)" /> <param name="comment" type="str" optional="true" comment="Comment: Comment" /> <param name="name" type="str" optional="true" comment="Comment: Name" /> <param name="email" type="str" optional="true" comment="Comment: Email" /> <param name="phone" type="str" optional="true" comment="Comment: Phone" /> <param name="cell_phone" type="str" optional="true" comment="Comment: Cell Phone Number" /> <param name="birthdate" type="str" optional="true" comment="Comment: Date of Birth" /> <param name="address" type="str" optional="true" comment="Comment: Address" /> <param name="postal_code" type="str" optional="true" comment="Comment: Postal Code" /> <param name="credit_limit" type="str_float" optional="true" comment="Limitations: Credit Limit" /> <param name="deny_change_password" type="true_if_exists" comment="User Info: Flags: Deny Change Password" /> <param name="enable_failed_login" type="true_if_exists" comment="User Info: Flags: Enable Failed Login" /> <param name="exp_date_temp_extend" type="str" optional="true" comment="" /> <param name="temp_extend_log_id" type="str" optional="true" comment="" /> <param name="exp_from_creation_date" type="str" optional="true" comment="" /> <param name="exp_from_first_login" type="str" optional="true" comment="" /> <param name="exp_from_renew" type="str" optional="true" comment="" /> <param name="exp_monthly" type="str" optional="true" comment="" /> <param name="extra_charge_profile" type="str" optional="true" comment="" /> <param name="fast_dial" type="list" item_type="str" length="20" optional="true" comment="User Info: VoIP: Fast Dial" /> <param name="forward_number" type="str" optional="true" comment="" /> <param name="idle_threshold_timespan" type="str" optional="true" comment="" /> <param name="idle_bytes_threshold" type="str" optional="true" comment="" /> <param name="ignore_idle_threshold_static_ip" type="str" optional="true" comment="" /> <param name="ignore_idle_threshold" type="str" optional="true" comment="" /> <param name="idle_timeout" type="str" optional="true" comment="" /> <param name="bw_send_rate" type="str" optional="true" comment="" /> <param name="bw_receive_rate" type="str" optional="true" comment="" /> <param name="in_ras_bw" type="str" optional="true" comment="format: 'SendRate/ReceiveRate'" /> <param name="in_ras_ippool" type="str" optional="true" comment="User Info: Internet: In Ras IPPool: (ippool name)" /> <param name="ippool" type="str" optional="true" comment="User Info: Internet: IPpool: (ippool name)" /> <!-- "is_deposit_transferee" and "is_deposit_transferer" are disabled in C <param name="is_deposit_transferee" type="true_if_exists" comment="" /> <param name="is_deposit_transferer" type="true_if_exists" comment="" /> !--> <param name="limit_caller_id" type="str" optional="true" comment="value is Caller ID" /> <param name="limit_caller_id_allow_not_defined" type="str" optional="true" comment="Allow users with no Caller ID, 0=No, 1=Yes" /> <param name="limit_caller_id_bind_on_login" type="true_if_exists" optional="true" comment="" /> <param name="limit_mac" type="str" optional="true" comment="value is MAC address" /> <param name="limit_mac_bind_on_login" type="true_if_exists" optional="true" comment="" /> <param name="limit_port" type="str" optional="true" comment="value is port" /> <param name="limit_port_bind_on_login" type="true_if_exists" optional="true" comment="" /> <param name="limit_ras" type="str" optional="true" comment="" /> <param name="limit_ras" type="list" item_type="str" optional="true" comment="value is list of allowed RAS Descriptions" /> <param name="limit_ras_bind_on_login" type="true_if_exists" optional="true" comment="" /> <param name="limit_station_ip" type="str" optional="true" comment="value is Station IP" /> <param name="limit_station_ip_bind_on_login" type="true_if_exists" optional="true" comment="" /> <param name="limit_usage_days" type="str_int" optional="true" comment="number of days" /> <param name="lock" type="str" optional="true" comment="user is locked if this key in present, value shows the lock reason" /> <param name="assigned_endpoint" type="str" optional="true" comment="Message Center: End Point" /> <param name="mc_charge" type="str" optional="true" comment="Message Center: Message Charge, format: 'send_latin,send_unicode,receive'" /> <param name="mc_charge_send_latin" type="str_int" optional="true" comment="Message Center: Message Charge: Send Charge: Latin" /> <param name="mc_charge_send_unicode" type="str_int" optional="true" comment="Message Center: Message Charge: Send Charge: Unicode" /> <param name="mc_charge_recv" type="str_int" optional="true" comment="Message Center: Message Charge: Receive Charge" /> <param name="mc_min_user_credit" type="str_float" optional="true" comment="Message Center: Message Charge: Minimum User Credit" /> <param name="email_address" type="str" optional="true" comment="MailBox: Email Address" /> <param name="mail_quota" type="str_int" optional="true" comment="MailBox: MailBox Quota" /> <param name="mail_usage" type="str_int" optional="true" comment="MailBox: MailBox Usage" /> <param name="mikrotik_address_list" type="str" optional="true" comment="" /> <param name="mikrotik_bw" type="str" optional="true" comment="Mikrotik BW Control (Burst), format: GuaranteeReceiveRate/GuaranteeSendRate ReceiveBurst/SendBurst ReceiveBurstThreshold/SendBurstThreshold ReceiveBurstTime/SendBurstTime Priority MinReceiveRate/MinSendRate" /> <param name="mikrotik_bw_recv_rate" type="str_int" optional="true" comment="Guarantee Receive Rate" /> <param name="mikrotik_bw_send_rate" type="str_int" optional="true" comment="Guarantee Send Rate" /> <param name="mikrotik_bw_recv_burst" type="str_int" optional="true" comment="" /> <param name="mikrotik_bw_send_burst" type="str_int" optional="true" comment="" /> <param name="mikrotik_bw_recv_burst_threshold" type="str_int" optional="true" comment="" /> <param name="mikrotik_bw_send_burst_threshold" type="str_int" optional="true" comment="" /> <param name="mikrotik_bw_recv_burst_time" type="str_int" optional="true" comment="" /> <param name="mikrotik_bw_send_burst_time" type="str_int" optional="true" comment="" /> <param name="mikrotik_bw_priority" type="str_int" optional="true" comment="" /> <param name="mikrotik_bw_min_recv_rate" type="str_int" optional="true" comment="" /> <param name="mikrotik_bw_min_send_rate" type="str_int" optional="true" comment="" /> <param name="multi_login" type="str_int" optional="true" comment="Limitations: Multi Login, value is maximum number of instances" /> <param name="notification_profile" type="str" optional="true" comment="notification profile name" /> <!--<param name="periodic_reset_rule_usage" type="str" optional="true" comment="Group Info: Periodic Accounting: Periodic Reset Rule Usages: Day of Week" />!--> <param name="time_periodic_accounting_monthly" type="choice" optional="true" comment="Monthly Time: Monthly Reset Type"> <choice value="gregorian" /> <choice value="jalali" /> </param> <param name="time_periodic_accounting_monthly_limit" type="str_int" optional="true" comment="Monthly Time: Monthly Time Limit" /> <param name="time_periodic_accounting_monthly_usage" type="str_int" optional="true" comment="Monthly Time: This Period Usage" /> <param name="time_periodic_accounting_monthly_reset" type="str_datetime" optional="true" comment="Monthly Time: Next Reset" /> <param name="traffic_periodic_accounting_monthly" type="str" optional="true" comment="Monthly Traffic: Monthly Reset Type"> <choice value="gregorian" /> <choice value="jalali" /> </param> <param name="traffic_periodic_accounting_monthly_limit" type="str_int" optional="true" comment="Monthly Traffic: Monthly Traffic Limit" /> <param name="traffic_periodic_accounting_monthly_usage" type="str_int" optional="true" comment="Monthly Traffic: This Period Usage" /> <param name="traffic_periodic_accounting_monthly_reset" type="str_datetime" optional="true" comment="Monthly Traffic: Next Reset" /> <param name="time_periodic_accounting_daily" type="str" optional="true" comment="Daily Time: Number of days in period" /> <param name="time_periodic_accounting_daily_limit" type="str_int" optional="true" comment="Daily Time: Time Limit" /> <param name="time_periodic_accounting_daily_usage" type="str_int" optional="true" comment="Daily Time: This Period Usage" /> <param name="time_periodic_accounting_daily_reset" type="str_datetime" optional="true" comment="Daily Time: Next Reset" /> <param name="traffic_periodic_accounting_daily" type="str" optional="true" comment="Daily Traffic: Number of days in period" /> <param name="traffic_periodic_accounting_daily_limit" type="str_int" optional="true" comment="Daily Traffic: Time Limit" /> <param name="traffic_periodic_accounting_daily_usage" type="str_int" optional="true" comment="Daily Traffic: This Period Usage" /> <param name="traffic_periodic_accounting_daily_reset" type="str_datetime" optional="true" comment="Daily Traffic: Next Reset" /> <param name="time_periodic_accounting_weekly" type="str" optional="true" comment="Daily Time: Number of days in period" /> <param name="time_periodic_accounting_weekly_limit" type="str_int" optional="true" comment="Daily Time: Time Limit" /> <param name="time_periodic_accounting_weekly_usage" type="str_int" optional="true" comment="Daily Time: This Period Usage" /> <param name="time_periodic_accounting_weekly_reset" type="str_datetime" optional="true" comment="Daily Time: Next Reset" /> <param name="traffic_periodic_accounting_weekly" type="str" optional="true" comment="Weeklyy Traffic: Number of days in period" /> <param name="traffic_periodic_accounting_weekly_limit" type="str_int" optional="true" comment="Weekly Traffic: Time Limit" /> <param name="traffic_periodic_accounting_weekly_usage" type="str_int" optional="true" comment="Weekly Traffic: This Period Usage" /> <param name="traffic_periodic_accounting_weekly_reset" type="str_datetime" optional="true" comment="Weekly Traffic: Next Reset" /> <param name="monthly_periodic_credit_change" type="choice" optional="true" comment="Monthly Credit Change: Monthly Reset Type"> <choice value="gregorian" /> <choice value="jalali" /> </param> <param name="monthly_periodic_credit_change_day" type="str" optional="true" comment="Monthly Credit Change: Monthly Reset Type: Day" /> <param name="monthly_periodic_credit_change_type" type="choice" optional="true" comment="Monthly Credit Change: Credit Change Type"> <choice value="absolute" comment="" /> <choice value="relative" comment="" /> </param> <param name="monthly_periodic_credit_change_amount" type="str" optional="true" comment="Monthly Credit Change: Credit Change Amount" /> <param name="monthly_periodic_credit_change_after_first_login" type="bool" optional="true" comment="Monthly Credit Change: Effective After First Login" /> <param name="monthly_periodic_credit_change_negate_credit" type="bool" optional="true" comment="Monthly Credit Change: Negate Credit" /> <param name="monthly_periodic_credit_change_do_on_first_login" type="bool" optional="true" comment="Monthly Credit Change: Do On First Login" /> <param name="monthly_periodic_credit_change_reset" type="str_datetime" optional="true" comment="Monthly Credit Change: Next Reset" /> <param name="daily_periodic_credit_change" type="str_int" optional="true" comment="Monthly Credit Change: Number of days in period"> </param> <param name="daily_periodic_credit_change_type" type="choice" optional="true" comment="Daily Credit Change: Credit Change Type"> <choice value="absolute" comment="" /> <choice value="relative" comment="" /> </param> <param name="daily_periodic_credit_change_amount" type="str_int" optional="true" comment="Daily Credit Change: Credit Change Amount" /> <param name="daily_periodic_credit_change_after_first_login" type="bool" optional="true" comment="Daily Credit Change: Effective After First Login" /> <param name="daily_periodic_credit_change_negate_credit" type="bool" optional="true" comment="Daily Credit Change: Negate Credit" /> <param name="daily_periodic_credit_change_do_on_first_login" type="bool" optional="true" comment="Daily Credit Change: Do On First Login" /> <param name="daily_periodic_credit_change_reset" type="str_datetime" optional="true" comment="Daily Credit Change: Next Reset" /> <param name="persistent_lan_ip" type="list" item_type="str" optional="true" comment="" /> <param name="persistent_lan_mac" type="list" item_type="str" optional="true" comment="" /> <param name="persistent_lan_ras_ip" type="list" item_type="str" optional="true" comment="" /> <param name="plan" type="str" optional="true" comment="" /><!--FIXME!--> <param name="prevent_web_login" type="true_if_exists" optional="true" comment="User Info: Flags: Prevent Web Login" /> <param name="radius_attrs" type="str" optional="true" comment="User Info: Misc: Radius Attributes" /> <param name="rel_exp_date" type="int" optional="true" requires_param="rel_exp_date_unit" comment="" /> <param name="rel_exp_date_unit" type="choice" optional="true" comment=""> <choice value="Minutes" comment=""/> <choice value="Hours" comment=""/> <choice value="Days" comment=""/> <choice value="Months" comment="1 month means 30 days"/> <choice value="Years" comment="1 month means 365 days"/> </param> <param name="rel_exp_date_negative_credit" type="int" optional="true" requires_param="rel_exp_date_negative_credit_unit" comment="User Info: Exp Dates: Negative Credit Expiration Date: Negative Credit Relative Expiration Date" /> <param name="rel_exp_date_negative_credit_unit" type="choice" optional="true" comment="User Info: Exp Dates: Negative Credit Expiration Date: Negative Credit Relative Expiration Date"> <choice value="Minutes" comment=""/> <choice value="Hours" comment=""/> <choice value="Days" comment=""/> <choice value="Months" comment="1 month means 30 days"/> <choice value="Years" comment="1 month means 365 days"/> </param> <param name="negative_credit_start" type="str_datetime" optional="true" comment="User Info: Exp Dates: Negative Credit Expiration Date: Negative Credit Start" /> <param name="renew_do_not_reset_credit" type="true_if_exists" optional="true_if_exists" comment="User Info: Flags: Renew Do Not Reset Credit" /> <param name="reset_negative_credit_on_renew" type="true_if_exists" optional="true_if_exists" comment="User Info: Flags: Reset Negative Credit On Renew" /> <param name="renew_next_group" type="str" optional="true" comment="group_name" /> <param name="save_bw_usage" type="true_if_exists" optional="true" comment="User Info: Flags: Save Bandwidth Usage" /> <param name="second_normal_username" type="str" optional="true" comment="Second Internet Username" /> <param name="serial" type="str" optional="true" comment="User Info: Username: Serial ID" /> <param name="session_timeout" type="str_int" optional="true" comment="User Info: Limitations: Session Timeout" /> <param name="voip_preferred_language" type="str" optional="true" comment="preferred language code for VoIP telephony support" /> <param name="bill_period" type="str" optional="true" comment="which is define period number it could be number of days or months" /> <param name="notification_last_formula_threshold" type="str" optional="true" comment="which is the last thereshold of formula notification that IBSng sent it" /> <param name="notification_last_bill_cycle_threshold" type="str" optional="true" comment="which is the last threshold of bill cycle end which IBSng sent it" /> <param name="notification_last_exp_threshold" type="str" optional="true" comment="which is the last threshold of expiration date which IBSng sent it" /> <param name="notification_last_credit1_threshold" type="str" optional="true" comment="which is the last threshold of credit which IBSng sent it" /> <param name="unpaid_bill_cycle_end" type="date_str" optional="true" comment="Which is unpaid bill cycle" /> <param name="bill_cycle_start" type="date_str" optional="true" comment="which is the bill cycle start" /> <param name="bill_cycle_end" type="date_str" optional="true" comment="Which is the bill cycle start" />
<param name="announce_credit_threshold" type="string" optional="true" comment="The threshold to which an announcement will be player for subscriber"/> <param name="chakavak_area_code" type="string" optional="true" comment="Area code of user"/> <param name="chakavak_call_blocking_status" type="choice" optional="true" comment="Call blocking"> <choice value="ONEWAY" comment=""/> <choice value="TWOWAY" comment=""/> <choice value="BARRED" comment=""/> </param> <param name="chakavak_callerid_name" type="string" optional="true" comment="Name of caller id which will be sent for user"/> <param name="chakavak_capabilities" type="list" length="-1" item_type="choice" optional="true" comment="Available capabilities for user"> <item type="choice" comment=""> <choice value="CONFERENCE" comment=""/> <choice value="DIVERT" comment=""/> </item> </param> <param name="chakavak_cc_code" type="string" optional="true" comment=""/> <param name="chakavak_codec" type="choice" optional="true" comment="Set of codecs user can use"> <choice value="iLBC@30i" comment=""/> <choice value="speex@8000h@20i" comment=""/> <choice value="speex@16000h@20i" comment=""/> <choice value="speex@32000h@20i" comment=""/> <choice value="G7221@16000h" comment=""/> <choice value="G7221@32000h" comment=""/> <choice value="GSM@40i" comment=""/> <choice value="G722" comment=""/> <choice value="PCMU" comment=""/> <choice value="PCMA" comment=""/> <choice value="G726-16" comment=""/> <choice value="G726-24" comment=""/> <choice value="G726-32" comment=""/> <choice value="G726-40" comment=""/> <choice value="LPC" comment=""/> <choice value="G729" comment=""/> <choice value="G723" comment=""/> <choice value="AMR" comment=""/> <choice value="H261" comment=""/> <choice value="H263" comment=""/> <choice value="H263-1998" comment=""/> <choice value="H263-2000" comment=""/> <choice value="H264" comment=""/> </param> <param name="chakavak_codec_negotiation" type="string" optional="true" comment="Perform Early or Late negotiation. Overrides switch defaults"> <choice value="late" comment=""/> <choice value="early" comment=""/> </param> <param name="chakavak_codec_transcoding" type="string" optional="true" comment="Allow/Disallow transcoding for user"> <choice value="Enable" comment=""/> <choice value="Disable" comment=""/> </param> <param name="divert_number_unconditional" type="string" optional="true" comment="Unconditional divert number"/> <param name="divert_number_busy" type="string" optional="true" comment="Busy divert number"/> <param name="divert_number_noanswer" type="string" optional="true" comment="No answer divert number"/> <param name="chakavak_limit_client_ip" type="string" optional="true" comment="List of IP's user allowed to register from (comma separated list of IP's)"/> <param name="chakavak_location" type="string" optional="true" comment="Location of user. Currently unused"/> <param name="chakavak_ringback" type="string" optional="true" comment="Name of ringback file. Ringbacks should be defined in a separate system and just the selected ringback will be kept in user profile"/> <param name="chakavak_sip_password" type="string" optional="true" comment="SIP password. This is different from voip_password and is just used for sip registration"/> <param name="chakavak_voicemail" type="string" optional="true" comment="Voice mail password (Digits only)"/> </param> <param name="to_del_attrs" type="list" comment="list of attributes to be deleted" /> </input> <output type="null" comment="" /> </method>
1 Comment
Nima Tehrani
<method name="updateUserAttrs" auth_type="ADMIN" requires_perm="CHANGE USER ATTRIBUTES" comment="">
<input type="dict">
<param name="user_id" type="str" multi_str="true" comment="" />
<param name="attrs" type="dict" comment="">
<param name="normal_user_spec" type="dict" optional="true" comment="">
<param name="normal_username" type="str" optional="true" comment="if missing, username will be generated randomly" />
<param name="normal_username_random_prefix" type="str" optional="true" comment="default to empty string" />
<param name="normal_username_random_length" type="int" optional="true" comment="default to 8" />
<param name="normal_username_random_type" type="choice" optional="true" comment="">
<choice value="0" type="int" comment="alphanumeric: abcdefghijkmnpqrstuvwxyz23456789" />
<choice value="1" type="int" comment="alphabet only: abcdefghijklmnopqrstuvwxyz" />
<choice value="2" type="int" default="true" comment="numbers only: 123456789" />
</param>
<param name="normal_password" type="str" optional="true" comment="if missing, password will be generated randomly" />
<param name="normal_password_random_length" type="int" optional="true" comment="default to 8" />
<param name="normal_password_random_type" type="choice" optional="true" comment="">
<choice value="0" type="int" comment="alphanumeric: abcdefghijkmnpqrstuvwxyz23456789" />
<choice value="1" type="int" comment="alphabet only: abcdefghijklmnopqrstuvwxyz" />
<choice value="2" type="int" default="true" comment="numbers only: 123456789" />
</param>
<param name="normal_save" type="bool" optional="true" comment="true, is you want the username and password to be saved in database, defaults to false" />
</param>
<param name="voip_user_spec" type="dict" optional="true" comment="">
<param name="voip_username" type="str" optional="true" comment="if missing, username will be generated randomly" />
<param name="voip_username_random_prefix" type="str" optional="true" comment="default to empty string" />
<param name="voip_username_random_length" type="int" optional="true" comment="default to 8" />
<param name="voip_username_random_type" type="choice" optional="true" comment="">
<choice value="0" type="int" comment="alphanumeric: abcdefghijkmnpqrstuvwxyz23456789" />
<choice value="1" type="int" comment="alphabet only: abcdefghijklmnopqrstuvwxyz" />
<choice value="2" type="int" default="true" comment="numbers only: 123456789" />
</param>
<param name="voip_password" type="str" optional="true" comment="if missing, password will be generated randomly" />
<param name="voip_password_random_length" type="int" optional="true" comment="default to 8" />
<param name="voip_password_random_type" type="choice" optional="true" comment="">
<choice value="0" type="int" comment="alphanumeric: abcdefghijkmnpqrstuvwxyz23456789" />
<choice value="1" type="int" comment="alphabet only: abcdefghijklmnopqrstuvwxyz" />
<choice value="2" type="int" default="true" comment="numbers only: 123456789" />
</param>
<param name="voip_save" type="bool" optional="true" comment="true, is you want the username and password to be saved in database, defaults to false" />
</param>
<param name="custom_fields" type="list" length="2" optional="true" dynamic_keys="true" comment="">
<item index="0" type="dict" comment="attributes to update">
<key type="str" comment="custom_field_NAME" />
<value comment="custom field value" />
</item>
<item index="1" type="list" length="-1" item_type="str" comment="attributes to delete" />
</param>
<param name="first_login" type="int" optional="true" comment="epoch time" />
<param name="auto_renew" type="true_if_exists" comment="User Info: Flags: Auto Renew" />
<param name="auto_recharge" type="true_if_exists" comment="User Info: Flags: Auto Recharge" />
<param name="auto_renew_on_credit_finish" type="true_if_exists" comment="User Info: Flags: Auto Renew On Credit Finish" />
<param name="auto_renew_do_not_reset_credit" type="true_if_exists" optional="true" comment="User Info: Flags: Auto Renew No Not Reset Credit" />
<param name="charge" type="str" optional="true" comment="charge name" />
<param name="abs_exp_date" type="str" optional="true" requires_param="abs_exp_date_unit" comment="gregorian datetime string" />
<param name="abs_exp_date_unit" value="gregorian" optional="true" comment="" />
<param name="allow_recharge_by_voucher" type="true_if_exists" comment="User Info: Flags: Allow Recharge By Voucher" />
<param name="allow_user_disconnect" type="true_if_exists" optional="true_if_exists" comment="User Info: Flags: Allow User Disconnect" />
<param name="assign_dns_1" type="str" optional="true" requires_param="assign_dns_2" comment="" />
<param name="assign_dns_2" type="str" optional="true" comment="" />
<param name="assign_ip" type="str" optional="true" comment="comma-seperated values" />
<param name="assign_netmask" type="str" optional="true" comment="" />
<param name="assign_route_ip" type="str" optional="true" comment="comma-seperated values" />
<param name="caller_id" type="str" optional="true" comment="User Info: VoIP: Caller ID: VoIP Caller ID" />
<param name="caller_id_bind_on_login" type="true_if_exists" optional="true" comment="User Info: VoIP: VoIP Caller ID Bind On Next Login" />
<param name="fast_dial" type="list" item_type="str" length="20" optional="true" comment="User Info: VoIP: Fast Dial" />
<param name="forward_number" type="str" optional="true" comment="User Info: VoIP: Forward Number" />
<param name="asterisk_extension" type="str" optional="true" requires_param="asterisk_ras_ip, asterisk_sip_details, asterisk_iax_details" comment="User Info: VoIP: Asterisk: Asterisk Extension" />
<param name="asterisk_ras_ip" type="str" optional="true" comment="User Info: VoIP: Asterisk: Astersik Ras IP" />
<param name="asterisk_sip_details" type="dict" optional="true" comment="User Info: VoIP: Asterisk: SIP Details">
<param name="allow" type="str" optional="true" comment="semicolon-seperated" />
<param name="cancallforward" type="choice" optional="true" comment="">
<choice value="yes" />
<choice value="no" />
</param>
<param name="canreinvite" type="choice" optional="true" comment="">
<choice value="yes" />
<choice value="no" />
</param>
<param name="context" type="str" optional="true" comment="'incoming' by default" />
<param name="disallow" type="str" optional="true" comment="'all' by default" />
<param name="host" type="str" optional="true" comment="'dynamic' by default" />
<param name="nat" type="choice" optional="true" comment="">
<choice value="yes" />
<choice value="no" />
</param>
<param name="port" type="int" optional="true" comment="" />
<param name="qualify" type="choice" optional="true" comment="">
<choice value="yes" />
<choice value="no" />
</param>
<param name="regseconds" type="int" optional="true" comment="" />
<param name="type" type="str" optional="true" comment="'friend' by default" />
</param>
<param name="asterisk_iax_details" type="dict" optional="true" comment="User Info: VoIP: Asterisk: IAX Details">
<param name="allow" type="str" optional="true" comment="semicolon-seperated" />
<param name="auth" type="str" optional="true" comment="'md5' by default" />
<param name="context" type="str" optional="true" comment="'incoming' by default" />
<param name="disallow" type="str" optional="true" comment="'all' by default" />
<param name="host" type="str" optional="true" comment="'dynamic' by default" />
<param name="notransfer" type="choice" optional="true" comment="">
<choice value="yes" />
<choice value="no" />
</param>
<param name="port" type="int" optional="true" comment="" />
<param name="qualify" type="choice" optional="true" comment="">
<choice value="yes" />
<choice value="no" />
</param>
<param name="regseconds" type="int" optional="true" comment="" />
<param name="type" type="str" optional="true" comment="'friend' by default" />
</param>
<param name="asterisk_did" type="list" length="-1" item_type="list" optional="true" comment="User Info: VoIP: Asterisk DID: Asterisk DID">
<item type="list" length="3" comment="">
<item index="0" type="str" comment="Number"></item>
<item index="1" type="str" comment="Destination"></item>
<item index="2" type="str" comment="Peer"></item>
</item>
</param>
<param name="asterisk_did_ras_ip" type="str" optional="true" comment="User Info: VoIP: Asterisk DID: Astersik DID Ras IP" />
<param name="asterisk_did_ras_id" type="str_int" optional="true" comment="User Info: VoIP: Asterisk DID: Astersik DID Ras IP (ras_id)" />
<param name="comment" type="str" optional="true" comment="Comment: Comment" />
<param name="name" type="str" optional="true" comment="Comment: Name" />
<param name="email" type="str" optional="true" comment="Comment: Email" />
<param name="phone" type="str" optional="true" comment="Comment: Phone" />
<param name="cell_phone" type="str" optional="true" comment="Comment: Cell Phone Number" />
<param name="birthdate" type="str" optional="true" comment="Comment: Date of Birth" />
<param name="address" type="str" optional="true" comment="Comment: Address" />
<param name="postal_code" type="str" optional="true" comment="Comment: Postal Code" />
<param name="credit_limit" type="str_float" optional="true" comment="Limitations: Credit Limit" />
<param name="deny_change_password" type="true_if_exists" comment="User Info: Flags: Deny Change Password" />
<param name="enable_failed_login" type="true_if_exists" comment="User Info: Flags: Enable Failed Login" />
<param name="exp_date_temp_extend" type="str" optional="true" comment="" />
<param name="temp_extend_log_id" type="str" optional="true" comment="" />
<param name="exp_from_creation_date" type="str" optional="true" comment="" />
<param name="exp_from_first_login" type="str" optional="true" comment="" />
<param name="exp_from_renew" type="str" optional="true" comment="" />
<param name="exp_monthly" type="str" optional="true" comment="" />
<param name="extra_charge_profile" type="str" optional="true" comment="" />
<param name="fast_dial" type="list" item_type="str" length="20" optional="true" comment="User Info: VoIP: Fast Dial" />
<param name="forward_number" type="str" optional="true" comment="" />
<param name="idle_threshold_timespan" type="str" optional="true" comment="" />
<param name="idle_bytes_threshold" type="str" optional="true" comment="" />
<param name="ignore_idle_threshold_static_ip" type="str" optional="true" comment="" />
<param name="ignore_idle_threshold" type="str" optional="true" comment="" />
<param name="idle_timeout" type="str" optional="true" comment="" />
<param name="bw_send_rate" type="str" optional="true" comment="" />
<param name="bw_receive_rate" type="str" optional="true" comment="" />
<param name="in_ras_bw" type="str" optional="true" comment="format: 'SendRate/ReceiveRate'" />
<param name="in_ras_ippool" type="str" optional="true" comment="User Info: Internet: In Ras IPPool: (ippool name)" />
<param name="ippool" type="str" optional="true" comment="User Info: Internet: IPpool: (ippool name)" />
<!-- "is_deposit_transferee" and "is_deposit_transferer" are disabled in C
<param name="is_deposit_transferee" type="true_if_exists" comment="" />
<param name="is_deposit_transferer" type="true_if_exists" comment="" />
!-->
<param name="limit_caller_id" type="str" optional="true" comment="value is Caller ID" />
<param name="limit_caller_id_allow_not_defined" type="str" optional="true" comment="Allow users with no Caller ID, 0=No, 1=Yes" />
<param name="limit_caller_id_bind_on_login" type="true_if_exists" optional="true" comment="" />
<param name="limit_mac" type="str" optional="true" comment="value is MAC address" />
<param name="limit_mac_bind_on_login" type="true_if_exists" optional="true" comment="" />
<param name="limit_port" type="str" optional="true" comment="value is port" />
<param name="limit_port_bind_on_login" type="true_if_exists" optional="true" comment="" />
<param name="limit_ras" type="str" optional="true" comment="" />
<param name="limit_ras" type="list" item_type="str" optional="true" comment="value is list of allowed RAS Descriptions" />
<param name="limit_ras_bind_on_login" type="true_if_exists" optional="true" comment="" />
<param name="limit_station_ip" type="str" optional="true" comment="value is Station IP" />
<param name="limit_station_ip_bind_on_login" type="true_if_exists" optional="true" comment="" />
<param name="limit_usage_days" type="str_int" optional="true" comment="number of days" />
<param name="lock" type="str" optional="true" comment="user is locked if this key in present, value shows the lock reason" />
<param name="assigned_endpoint" type="str" optional="true" comment="Message Center: End Point" />
<param name="mc_charge" type="str" optional="true" comment="Message Center: Message Charge, format: 'send_latin,send_unicode,receive'" />
<param name="mc_charge_send_latin" type="str_int" optional="true" comment="Message Center: Message Charge: Send Charge: Latin" />
<param name="mc_charge_send_unicode" type="str_int" optional="true" comment="Message Center: Message Charge: Send Charge: Unicode" />
<param name="mc_charge_recv" type="str_int" optional="true" comment="Message Center: Message Charge: Receive Charge" />
<param name="mc_min_user_credit" type="str_float" optional="true" comment="Message Center: Message Charge: Minimum User Credit" />
<param name="email_address" type="str" optional="true" comment="MailBox: Email Address" />
<param name="mail_quota" type="str_int" optional="true" comment="MailBox: MailBox Quota" />
<param name="mail_usage" type="str_int" optional="true" comment="MailBox: MailBox Usage" />
<param name="mikrotik_address_list" type="str" optional="true" comment="" />
<param name="mikrotik_bw" type="str" optional="true" comment="Mikrotik BW Control (Burst), format: GuaranteeReceiveRate/GuaranteeSendRate ReceiveBurst/SendBurst ReceiveBurstThreshold/SendBurstThreshold ReceiveBurstTime/SendBurstTime Priority MinReceiveRate/MinSendRate" />
<param name="mikrotik_bw_recv_rate" type="str_int" optional="true" comment="Guarantee Receive Rate" />
<param name="mikrotik_bw_send_rate" type="str_int" optional="true" comment="Guarantee Send Rate" />
<param name="mikrotik_bw_recv_burst" type="str_int" optional="true" comment="" />
<param name="mikrotik_bw_send_burst" type="str_int" optional="true" comment="" />
<param name="mikrotik_bw_recv_burst_threshold" type="str_int" optional="true" comment="" />
<param name="mikrotik_bw_send_burst_threshold" type="str_int" optional="true" comment="" />
<param name="mikrotik_bw_recv_burst_time" type="str_int" optional="true" comment="" />
<param name="mikrotik_bw_send_burst_time" type="str_int" optional="true" comment="" />
<param name="mikrotik_bw_priority" type="str_int" optional="true" comment="" />
<param name="mikrotik_bw_min_recv_rate" type="str_int" optional="true" comment="" />
<param name="mikrotik_bw_min_send_rate" type="str_int" optional="true" comment="" />
<param name="multi_login" type="str_int" optional="true" comment="Limitations: Multi Login, value is maximum number of instances" />
<param name="notification_profile" type="str" optional="true" comment="notification profile name" />
<!--<param name="periodic_reset_rule_usage" type="str" optional="true" comment="Group Info: Periodic Accounting: Periodic Reset Rule Usages: Day of Week" />!-->
<param name="time_periodic_accounting_monthly" type="choice" optional="true" comment="Monthly Time: Monthly Reset Type">
<choice value="gregorian" />
<choice value="jalali" />
</param>
<param name="time_periodic_accounting_monthly_limit" type="str_int" optional="true" comment="Monthly Time: Monthly Time Limit" />
<param name="time_periodic_accounting_monthly_usage" type="str_int" optional="true" comment="Monthly Time: This Period Usage" />
<param name="time_periodic_accounting_monthly_reset" type="str_datetime" optional="true" comment="Monthly Time: Next Reset" />
<param name="traffic_periodic_accounting_monthly" type="str" optional="true" comment="Monthly Traffic: Monthly Reset Type">
<choice value="gregorian" />
<choice value="jalali" />
</param>
<param name="traffic_periodic_accounting_monthly_limit" type="str_int" optional="true" comment="Monthly Traffic: Monthly Traffic Limit" />
<param name="traffic_periodic_accounting_monthly_usage" type="str_int" optional="true" comment="Monthly Traffic: This Period Usage" />
<param name="traffic_periodic_accounting_monthly_reset" type="str_datetime" optional="true" comment="Monthly Traffic: Next Reset" />
<param name="time_periodic_accounting_daily" type="str" optional="true" comment="Daily Time: Number of days in period" />
<param name="time_periodic_accounting_daily_limit" type="str_int" optional="true" comment="Daily Time: Time Limit" />
<param name="time_periodic_accounting_daily_usage" type="str_int" optional="true" comment="Daily Time: This Period Usage" />
<param name="time_periodic_accounting_daily_reset" type="str_datetime" optional="true" comment="Daily Time: Next Reset" />
<param name="traffic_periodic_accounting_daily" type="str" optional="true" comment="Daily Traffic: Number of days in period" />
<param name="traffic_periodic_accounting_daily_limit" type="str_int" optional="true" comment="Daily Traffic: Time Limit" />
<param name="traffic_periodic_accounting_daily_usage" type="str_int" optional="true" comment="Daily Traffic: This Period Usage" />
<param name="traffic_periodic_accounting_daily_reset" type="str_datetime" optional="true" comment="Daily Traffic: Next Reset" />
<param name="time_periodic_accounting_weekly" type="str" optional="true" comment="Daily Time: Number of days in period" />
<param name="time_periodic_accounting_weekly_limit" type="str_int" optional="true" comment="Daily Time: Time Limit" />
<param name="time_periodic_accounting_weekly_usage" type="str_int" optional="true" comment="Daily Time: This Period Usage" />
<param name="time_periodic_accounting_weekly_reset" type="str_datetime" optional="true" comment="Daily Time: Next Reset" />
<param name="traffic_periodic_accounting_weekly" type="str" optional="true" comment="Weeklyy Traffic: Number of days in period" />
<param name="traffic_periodic_accounting_weekly_limit" type="str_int" optional="true" comment="Weekly Traffic: Time Limit" />
<param name="traffic_periodic_accounting_weekly_usage" type="str_int" optional="true" comment="Weekly Traffic: This Period Usage" />
<param name="traffic_periodic_accounting_weekly_reset" type="str_datetime" optional="true" comment="Weekly Traffic: Next Reset" />
<param name="monthly_periodic_credit_change" type="choice" optional="true" comment="Monthly Credit Change: Monthly Reset Type">
<choice value="gregorian" />
<choice value="jalali" />
</param>
<param name="monthly_periodic_credit_change_day" type="str" optional="true" comment="Monthly Credit Change: Monthly Reset Type: Day" />
<param name="monthly_periodic_credit_change_type" type="choice" optional="true" comment="Monthly Credit Change: Credit Change Type">
<choice value="absolute" comment="" />
<choice value="relative" comment="" />
</param>
<param name="monthly_periodic_credit_change_amount" type="str" optional="true" comment="Monthly Credit Change: Credit Change Amount" />
<param name="monthly_periodic_credit_change_after_first_login" type="bool" optional="true" comment="Monthly Credit Change: Effective After First Login" />
<param name="monthly_periodic_credit_change_negate_credit" type="bool" optional="true" comment="Monthly Credit Change: Negate Credit" />
<param name="monthly_periodic_credit_change_do_on_first_login" type="bool" optional="true" comment="Monthly Credit Change: Do On First Login" />
<param name="monthly_periodic_credit_change_reset" type="str_datetime" optional="true" comment="Monthly Credit Change: Next Reset" />
<param name="daily_periodic_credit_change" type="str_int" optional="true" comment="Monthly Credit Change: Number of days in period"> </param>
<param name="daily_periodic_credit_change_type" type="choice" optional="true" comment="Daily Credit Change: Credit Change Type">
<choice value="absolute" comment="" />
<choice value="relative" comment="" />
</param>
<param name="daily_periodic_credit_change_amount" type="str_int" optional="true" comment="Daily Credit Change: Credit Change Amount" />
<param name="daily_periodic_credit_change_after_first_login" type="bool" optional="true" comment="Daily Credit Change: Effective After First Login" />
<param name="daily_periodic_credit_change_negate_credit" type="bool" optional="true" comment="Daily Credit Change: Negate Credit" />
<param name="daily_periodic_credit_change_do_on_first_login" type="bool" optional="true" comment="Daily Credit Change: Do On First Login" />
<param name="daily_periodic_credit_change_reset" type="str_datetime" optional="true" comment="Daily Credit Change: Next Reset" />
<param name="persistent_lan_ip" type="list" item_type="str" optional="true" comment="" />
<param name="persistent_lan_mac" type="list" item_type="str" optional="true" comment="" />
<param name="persistent_lan_ras_ip" type="list" item_type="str" optional="true" comment="" />
<param name="plan" type="str" optional="true" comment="" /><!--FIXME!-->
<param name="prevent_web_login" type="true_if_exists" optional="true" comment="User Info: Flags: Prevent Web Login" />
<param name="radius_attrs" type="str" optional="true" comment="User Info: Misc: Radius Attributes" />
<param name="rel_exp_date" type="int" optional="true" requires_param="rel_exp_date_unit" comment="" />
<param name="rel_exp_date_unit" type="choice" optional="true" comment="">
<choice value="Minutes" comment=""/>
<choice value="Hours" comment=""/>
<choice value="Days" comment=""/>
<choice value="Months" comment="1 month means 30 days"/>
<choice value="Years" comment="1 month means 365 days"/>
</param>
<param name="rel_exp_date_negative_credit" type="int" optional="true" requires_param="rel_exp_date_negative_credit_unit" comment="User Info: Exp Dates: Negative Credit Expiration Date: Negative Credit Relative Expiration Date" />
<param name="rel_exp_date_negative_credit_unit" type="choice" optional="true" comment="User Info: Exp Dates: Negative Credit Expiration Date: Negative Credit Relative Expiration Date">
<choice value="Minutes" comment=""/>
<choice value="Hours" comment=""/>
<choice value="Days" comment=""/>
<choice value="Months" comment="1 month means 30 days"/>
<choice value="Years" comment="1 month means 365 days"/>
</param>
<param name="negative_credit_start" type="str_datetime" optional="true" comment="User Info: Exp Dates: Negative Credit Expiration Date: Negative Credit Start" />
<param name="renew_do_not_reset_credit" type="true_if_exists" optional="true_if_exists" comment="User Info: Flags: Renew Do Not Reset Credit" />
<param name="reset_negative_credit_on_renew" type="true_if_exists" optional="true_if_exists" comment="User Info: Flags: Reset Negative Credit On Renew" />
<param name="renew_next_group" type="str" optional="true" comment="group_name" />
<param name="save_bw_usage" type="true_if_exists" optional="true" comment="User Info: Flags: Save Bandwidth Usage" />
<param name="second_normal_username" type="str" optional="true" comment="Second Internet Username" />
<param name="serial" type="str" optional="true" comment="User Info: Username: Serial ID" />
<param name="session_timeout" type="str_int" optional="true" comment="User Info: Limitations: Session Timeout" />
<param name="voip_preferred_language" type="str" optional="true" comment="preferred language code for VoIP telephony support" />
<param name="bill_period" type="str" optional="true" comment="which is define period number it could be number of days or months" />
<param name="notification_last_formula_threshold" type="str" optional="true" comment="which is the last thereshold of formula notification that IBSng sent it" />
<param name="notification_last_bill_cycle_threshold" type="str" optional="true" comment="which is the last threshold of bill cycle end which IBSng sent it" />
<param name="notification_last_exp_threshold" type="str" optional="true" comment="which is the last threshold of expiration date which IBSng sent it" />
<param name="notification_last_credit1_threshold" type="str" optional="true" comment="which is the last threshold of credit which IBSng sent it" />
<param name="unpaid_bill_cycle_end" type="date_str" optional="true" comment="Which is unpaid bill cycle" />
<param name="bill_cycle_start" type="date_str" optional="true" comment="which is the bill cycle start" />
<param name="bill_cycle_end" type="date_str" optional="true" comment="Which is the bill cycle start" />
<param name="announce_credit_threshold" type="string" optional="true"
comment="The threshold to which an announcement will be player for subscriber"/>
<param name="chakavak_area_code" type="string" optional="true" comment="Area code of user"/>
<param name="chakavak_call_blocking_status" type="choice" optional="true" comment="Call blocking">
<choice value="ONEWAY" comment=""/>
<choice value="TWOWAY" comment=""/>
<choice value="BARRED" comment=""/>
</param>
<param name="chakavak_callerid_name" type="string" optional="true"
comment="Name of caller id which will be sent for user"/>
<param name="chakavak_capabilities" type="list" length="-1" item_type="choice" optional="true"
comment="Available capabilities for user">
<item type="choice" comment="">
<choice value="CONFERENCE" comment=""/>
<choice value="DIVERT" comment=""/>
</item>
</param>
<param name="chakavak_cc_code" type="string" optional="true" comment=""/>
<param name="chakavak_codec" type="choice" optional="true" comment="Set of codecs user can use">
<choice value="iLBC@30i" comment=""/>
<choice value="speex@8000h@20i" comment=""/>
<choice value="speex@16000h@20i" comment=""/>
<choice value="speex@32000h@20i" comment=""/>
<choice value="G7221@16000h" comment=""/>
<choice value="G7221@32000h" comment=""/>
<choice value="GSM@40i" comment=""/>
<choice value="G722" comment=""/>
<choice value="PCMU" comment=""/>
<choice value="PCMA" comment=""/>
<choice value="G726-16" comment=""/>
<choice value="G726-24" comment=""/>
<choice value="G726-32" comment=""/>
<choice value="G726-40" comment=""/>
<choice value="LPC" comment=""/>
<choice value="G729" comment=""/>
<choice value="G723" comment=""/>
<choice value="AMR" comment=""/>
<choice value="H261" comment=""/>
<choice value="H263" comment=""/>
<choice value="H263-1998" comment=""/>
<choice value="H263-2000" comment=""/>
<choice value="H264" comment=""/>
</param>
<param name="chakavak_codec_negotiation" type="string" optional="true"
comment="Perform Early or Late negotiation. Overrides switch defaults">
<choice value="late" comment=""/>
<choice value="early" comment=""/>
</param>
<param name="chakavak_codec_transcoding" type="string" optional="true"
comment="Allow/Disallow transcoding for user">
<choice value="Enable" comment=""/>
<choice value="Disable" comment=""/>
</param>
<param name="divert_number_unconditional" type="string" optional="true"
comment="Unconditional divert number"/>
<param name="divert_number_busy" type="string" optional="true" comment="Busy divert number"/>
<param name="divert_number_noanswer" type="string" optional="true" comment="No answer divert number"/>
<param name="chakavak_limit_client_ip" type="string" optional="true"
comment="List of IP's user allowed to register from (comma separated list of IP's)"/>
<param name="chakavak_location" type="string" optional="true" comment="Location of user. Currently unused"/>
<param name="chakavak_ringback" type="string" optional="true"
comment="Name of ringback file. Ringbacks should be defined in a separate system and just the selected ringback will be kept in user profile"/>
<param name="chakavak_sip_password" type="string" optional="true"
comment="SIP password. This is different from voip_password and is just used for sip registration"/>
<param name="chakavak_voicemail" type="string" optional="true" comment="Voice mail password (Digits only)"/>
</param>
<param name="to_del_attrs" type="list" comment="list of attributes to be deleted" />
</input>
<output type="null" comment="" />
</method>