def delete_user_line_extension_voicemail(firstname, lastname, context=None, exten=None, mailbox=None): if exten and context: extension_helper.delete_extension_with_exten_context(exten, context) delete_sccp_lines_with_exten(exten, context) if mailbox and context: voicemail_helper.delete_voicemail_with_number_context(mailbox, context) delete_user_line_extension_with_firstname_lastname(firstname, lastname) user_helper.delete_all_user_with_firstname_lastname(firstname, lastname)
def given_there_is_no_voicemail_with_number_and_context(step, voicemail_number, context): voicemail_helper.delete_voicemail_with_number_context(voicemail_number, context)
def given_there_is_no_voicemail_with_number_and_context( step, voicemail_number, context): voicemail_helper.delete_voicemail_with_number_context( voicemail_number, context)