OCA / connector-telephony

Odoo modules for telephony integration
GNU Affero General Public License v3.0
150 stars 294 forks source link

odoo12: can not get open calling partner #231

Closed f1-outsourcing closed 2 years ago

f1-outsourcing commented 3 years ago

I can call from odoo I can retrieve cid via the agi

But keep getting this red box, I do see that the manager account is logging in.

f1-outsourcing commented 3 years ago

I added this to make it work. Maybe you should add this in master branch

    300                 if chan.get('State') == 'Ringing' and chan.get('CallerIDNum') == user.internal_number:
    301                     _logger.debug("Found a matching Event in 'Ring' state")
    302                     calling_party_number = chan.get('ConnectedLineNum')
github-actions[bot] commented 2 years ago

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.