You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
478 B
14 lines
478 B
# -*- coding: utf-8 -*-
|
|
# © 2014-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
import openerp
|
|
|
|
|
|
class AsteriskClick2dialController(openerp.addons.web.http.Controller):
|
|
_cp_path = '/asterisk_click2dial'
|
|
|
|
@openerp.addons.web.http.jsonrequest
|
|
def get_record_from_my_channel(self, req):
|
|
res = req.session.model('asterisk.server').get_record_from_my_channel()
|
|
return res
|