示例#1
0
def _delete_incall_association(line_extension):
    incall = incall_dao.find_by_extension_id(line_extension.extension_id)
    incall_dao.delete(incall)
    extension_dao.dissociate_extension(line_extension.extension_id)
示例#2
0
    def test_dissociate_extension(self):
        extension_row = self.add_extension(type='user', typeval='1234')

        extension_dao.dissociate_extension(extension_row.id)

        self.assert_extension_not_associated(extension_row.id)
示例#3
0
def _delete_incall_association(line_extension):
    incall = incall_dao.find_by_extension_id(line_extension.extension_id)
    incall_dao.delete(incall)
    extension_dao.dissociate_extension(line_extension.extension_id)
示例#4
0
def remove_exten_and_context(extension):
    line_dao.dissociate_extension(extension)
    extension_dao.dissociate_extension(extension.id)
示例#5
0
    def test_dissociate_extension(self):
        extension_row = self.add_extension(type='user', typeval='1234')

        extension_dao.dissociate_extension(extension_row.id)

        self.assert_extension_not_associated(extension_row.id)
示例#6
0
def remove_exten_and_context(extension):
    line_dao.dissociate_extension(extension)
    extension_dao.dissociate_extension(extension.id)