This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:devel:asterisk [2020/10/21 10:54] joebordes [How to simulate a call] |
en:devel:asterisk [2021/01/31 19:45] (current) joebordes [Design] |
||
---|---|---|---|
Line 13: | Line 13: | ||
WHERE `vtiger_asteriskextensions`.`userid` = 1; | WHERE `vtiger_asteriskextensions`.`userid` = 1; | ||
</code> | </code> | ||
+ | |||
+ | Since we are making the change directly in the database, the user file is not updated, so go to the users' preferences and click on the "Recalculate" action. | ||
Once you do that, reload the coreBOS page and open the inspector network tab. You will see that asterisk.js has been loaded and that the polling has started. | Once you do that, reload the coreBOS page and open the inspector network tab. You will see that asterisk.js has been loaded and that the polling has started. | ||
Line 24: | Line 26: | ||
('03-3608-5660', 'joeb', '14', 'SIP', '0', UNIX_TIMESTAMP(), 'any_unique_id'); | ('03-3608-5660', 'joeb', '14', 'SIP', '0', UNIX_TIMESTAMP(), 'any_unique_id'); | ||
</code> | </code> | ||
+ | |||
+ | the important number here is the "14" which must match the extension we set in the update above. | ||
+ | |||
+ | Now you should see the asterisk popup notification in the application. | ||
+ | |||
+ | ===== Other Things ===== | ||
+ | |||
+ | [[:en:devel:corebospbx:llamadaentrantecola|Vtiger + popup + llamada entrante + cola]] | ||
===== FAQ ===== | ===== FAQ ===== | ||
- | ??? Since the extension is polling, is there a way to reduce the number of events detected. | + | ??? Since the extension is polling, is there a way to reduce the number of events detected? |
!!! Configure your asterisk server with the next settings to filter events by putting them in manager.conf (in freepbx it would be manager_custom.conf) (asterisk >= 1.8): | !!! Configure your asterisk server with the next settings to filter events by putting them in manager.conf (in freepbx it would be manager_custom.conf) (asterisk >= 1.8): |