Extension calls Partner (not through CRM) - "Could not get calling number through asterisk.

Bug #1176203 reported by ia on 2013-05-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP-Asterisk connector
Undecided
Unassigned

Bug Description

When a registered extension of the system initiates a call manually (but NOT through the Click2Dial button), even when the called Party picks up and is also registered as a Partner in OpenERP, using "Open calling partner" function gives the below error.

Error :
Could not get the calling number from Asterisk. Is your phone ringing or are you currently on the phone ? If yes, check your setup and look at the OpenERP debug logs.

For some reason the system cannot or does not got out and poll asterisk, what that extension is doing right now. This is obviously the extension of the user currently logged in where everything else works except also the previous listed bug.

The debug logs did not activate or show anything.
Using the current version bazaar branch and version for OpenERP v7.
Asterisk is 1.8 packaged together with FreePBX as build 1.818.210.58-1 where FreePBX is 2.10.1.9 and Asterisk is 1.8.18.0

Alexey Chechel (chechel-alexey) wrote :

Any progress?

../asterisk_click2dial/wizard/open_calling_partner.py

if we change
calling_number = self.pool['asterisk.server']._get_calling_number(cr, uid, context=context)
to
calling_number = "+18887777777"
all works fine ...

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers