Hello, We have an openerp v7 server and an asterisk server, what i'm supposed to do the following: when the asterisk server receive an incoming call or make an outgoing call, if the phone number in enregistred in the openerp database the corresponding sheet is viewed in openerp server. I have done some search and i think i will use XML RPC to implement this tâche, but i don't know exactly how XML RPC work. For now i developed a php application that detects calls on the Asterisk server, but i don't know how to proced to make it communicate with openerp throw XML RPC. Can anyone help me please thanx
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
What you are trying to do is already supported in the OpenERP-Asterisk connector : Please have a look at this branch :
https://github.com/OCA/connector-telephony
You will need the module base_phone_popup on the openerp server. You will also need 2 scripts on Asterisk : asterisk_click2dial/scripts/openerp_popup_timeout.sh which calls asterisk_click2dial/scripts/set_name_agi.py
The first script needs to be called as an AGI in the Asterisk dialplan.
The module base_phone_popup is quite difficult to install on v7, but it's really easy to install on v8. So I would advise you to try it with v8.
Can you help me to install and configure base_phone_popup? https://www.odoo.com/forum/help-1/question/how-to-configure-connector-telephony-popup-v7-0-openerp-asterisk-70516 Thanks
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
3
ديسمبر 23
|
21295 | ||
|
1
مارس 15
|
3478 | ||
|
2
مايو 24
|
2372 | ||
|
0
فبراير 23
|
2144 | ||
|
8
فبراير 21
|
25977 |
To clarify - You say you want the corresponding sheet to be viewed in openerp. Are you trying to pull the data back to your asterisk server? OR are you trying to force a www browser window to refresh and show the proper customer on the user's computer screen?