Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


error py-Asterisk action failed: Originate failed odoo 9 Asterisk Click2dial

on 8/10/16, 7:18 AM 160 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








Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 8/10/16, 7:18 AM
Seen: 160 times
Last updated: 8/10/16, 8:32 AM