Skip to Content
Menu
This question has been flagged
4382 Views

I have an error with module Asterisk Click2dial when I click dail button beside phone number in partner view

"py-Asterisk action failed: Originate failed"

Server application error {"message":"Odoo Server Error","code":200,"data":{"debug":"Traceback (most recent call last):\n File \"/usr/lib/python2.7/dist-packages/openerp/http.py\", line 647,

in _handle_exception\n return super(JsonRequest, self)._handle_exception(exception)\n File \"/usr/lib/python2.7/dist-packages/openerp/http.py\", line 684,

in dispatch\n result = self._call_function(**self.params)\n File \"/usr/lib/python2.7/dist-packages/openerp/http.py\", line 320,

in _call_function\n return checked_call(self.db, *args, **kwargs)\n File \"/usr/lib/python2.7/dist-packages/openerp/service/model.py\", line 118,

in wrapper\n return f(dbname, *args, **kwargs)\n File \"/usr/lib/python2.7/dist-packages/openerp/http.py\", line 313,

in checked_call\n result = self.endpoint(*a, **kw)\n File \"/usr/lib/python2.7/dist-packages/openerp/http.py\", line 963,

in __call__\n return self.method(*args, **kw)\n File \"/usr/lib/python2.7/dist-packages/openerp/http.py\", line 513,

in response_wrap\n response = f(*args, **kw)\n File \"/var/lib/odoo/.local/share/Odoo/addons/9.0/base_phone/models/controller.py\", line 33,

in click2dial\n 'click2dial_id': click2dial_id,\n File \"/usr/lib/python2.7/dist-packages/openerp/http.py\", line 1068, in proxy\n result = meth(cr, request.uid, *args, **kw)\n File \"/usr/lib/python2.7/dist-packages/openerp/api.py\", line 250,

in wrapper\n return old_api(self, *args, **kwargs)\n File \"/usr/lib/python2.7/dist-packages/openerp/api.py\", line 354,

in old_api\n result = method(recs, *args, **kwargs)\n File \"/usr/lib/python2.7/dist-packages/openerp/addons/crm_phone/crm_phone.py\", line 176,

in click2dial\n res = super(PhoneCommon, self).click2dial(erp_number)\n File \"/usr/lib/python2.7/dist-packages/openerp/api.py\", line 248,

in wrapper\n return new_api(self, *args, **kwargs)\n File \"/var/lib/odoo/.local/share/Odoo/addons/9.0/asterisk_click2dial/asterisk_click2dial.py\", line 400,

in click2dial\n % unicode(e))\nUserError: (u\"Click to dial with Asterisk failed.\\nHere is the error: 'py-Asterisk action failed: Originate failed'\", None)\n","exception_type":"user_error","message":"Click to dial with Asterisk failed.\nHere is the error: 'py-Asterisk action failed: Originate failed'\nNone","name":"openerp.exceptions.UserError","arguments":["Click to dial with Asterisk failed.\nHere is the error: 'py-Asterisk action failed: Originate failed'",null]}}1web.assets_common.js:2544:446

genericJsonRpc/result<()web.assets_common.js:2544

.Deferred/promise.then/</</<()web.assets_common.js:650

jQuery.Callbacks/fire()web.assets_common.js:644

jQuery.Callbacks/self.fireWith()web.assets_common.js:649

done()web.assets_common.js:1040

.send/callback()web.assets_common.js:1060

 

Avatar
Discard

any solution for this error?