| Previous topic :: Next topic |
| Author |
Message |
cyberco
Joined: 31 Jan 2008
Posts: 13
Location: Bath UK
|
| Posted: Thu Jan 31, 2008 11:02 am Post subject: Asterisk, Vtiger Intergration |
|
|
Hi,
I have just completed intergration of Vtiger and asterisk for click to dial and record searching on incoming calls.
This is a two stage approach and requires no patching of asterisk or vtiger.
Firstly click2call. We have extensed a click2call solution called astjax so that it allows multiple users logging into their own pc/phone. it uses greasemonkey to provide the functionality. This does mean changes are very easy to do without the need to attack source.
Then for CLI popping was have intergtrated the crm function of flash ops panel with a simple bit of "helper" php to pass the cli to the search function of vtiger. this way all records are called up when a call comes in that match.
We will be releasing the code shortly for both bits.
ANy one interested please contact us for more info |
|
| Back to top |
|
vazir
Joined: 07 Jan 2008
Posts: 14
|
| Posted: Thu Jan 31, 2008 12:20 pm Post subject: Re: Asterisk, Vtiger Intergration |
|
|
Hi guys!
It's very interesting to see that someone did the integration, since I'm thinking to do this too.
Do you have it opensource? I'll be glad to try it if it is!
Regards,
Anton. |
|
| Back to top |
|
cyberco
Joined: 31 Jan 2008
Posts: 13
Location: Bath UK
|
| Posted: Thu Jan 31, 2008 1:52 pm Post subject: Re: Asterisk, Vtiger Intergration |
|
|
Hi Anton
Yes it will be GPL
Im happy to supply the code as its derived from open source packages.
I just need to tidy it all up.
Ian |
|
| Back to top |
|
prasad.a
Joined: 01 Aug 2007
Posts: 976
|
| Posted: Thu Jan 31, 2008 3:11 pm Post subject: Re: Asterisk, Vtiger Intergration |
|
|
Hi Ian,
Good to hear about vtiger Asterisk Integration progress.
Please share your contribution with our community through http://forge.vtiger.com project.
We wish you good luck.
Regards,
Prasad
vtiger Team |
|
| Back to top |
|
bcnx
Joined: 14 Jan 2008
Posts: 12
|
| Posted: Thu Jan 31, 2008 5:09 pm Post subject: Re: Asterisk, Vtiger Intergration |
|
|
Hi,
in what way will this differ from the solution already posted here by digital-worx?
Rgds,
Bart |
|
| Back to top |
|
cyberco
Joined: 31 Jan 2008
Posts: 13
Location: Bath UK
|
| Posted: Thu Jan 31, 2008 7:06 pm Post subject: Re: Asterisk, Vtiger Intergration |
|
|
Hi Bart
Not sure, Havent looked too deeply at theirs. Basicly I have approched this fresh for many reasons.
Firstly I needed ALL numbers where ever they are to be dialable not just in vtiger and also to pop for any number where ever it is in vtiger. so for example if a number is in a comment and a call comes in with that number it will find it and display the search results.
I did not want to patch any source and be compatible with all versions as long as the search string remains the same. The reason behind this its a headache keeping patchs in line with released code.
I needed it to be independant of the asterisk dialplan.
So This was done by pulling together scripts and code that I have used for pops and click2calls on many installs.
Ian |
|
| Back to top |
|
bcnx
Joined: 14 Jan 2008
Posts: 12
|
| Posted: Fri Feb 01, 2008 3:36 pm Post subject: Re: Asterisk, Vtiger Intergration |
|
|
Ian,
sounds very promising. Sadly I just spent two days getting the other solution to work :shock: :)
I understand that one needs firefox for your solution if needing click2call?
Looking forward to see your code!
Bart |
|
| Back to top |
|
cyberco
Joined: 31 Jan 2008
Posts: 13
Location: Bath UK
|
| Posted: Mon Feb 04, 2008 12:35 am Post subject: Re: Asterisk, Vtiger Intergration |
|
|
Hi
The code is here for it as well as "basic" instructions.
http://cyber-cottage.co.uk/site/index.php?option=com_content&task=view&id=73&Itemid=30
One key point I had forgot to mention was the use of FOP was so that many clients can be connected as they only connect to FOP and not asterisk Manager.
Have fun and let me know what you thing. |
|
| Back to top |
|
delboy711
Joined: 18 Sep 2005
Posts: 31
|
| Posted: Thu Feb 07, 2008 11:30 pm Post subject: Re: Asterisk, Vtiger Intergration |
|
|
I have calling out working nicely. I like the way any telephone number on any web page becomes a link to click2call (BTW: uncomment the line in cyjax_1.user.js to allow for spaces in telephone numbers)
Getting FOP working coming in is a bit more tricky. I have FOP working in its demonstration configuration, but when I try it within vtiger it asks for crmPANEL.txt
Is that a missing file?
Thanks for a great contribution. Now we have two asterisk contributions. I like them both.. |
|
| Back to top |
|
cyberco
Joined: 31 Jan 2008
Posts: 13
Location: Bath UK
|
| Posted: Sat Feb 09, 2008 9:00 am Post subject: Re: Asterisk, Vtiger Intergration |
|
|
Hi Delboy
This is a simple on and "sortof" my mistake in documentation.
You need to add the (EXTEN)/button you want to monitor in the op_buttons.cfg example below, then restart FOP
you will then see the crmPANEL.txt in the fop directory
Code:
;CRM SETTINGS FOLLOW
[SIP/xxxx] ; Channel name
Position=1 ; Button number in the console
Label="xxx Office" ; Text label for the button
Extension=xxxx ; Extension to reach that channel
panel_Context=crmPANEL ; Context where that extension is defined
Context=default
Mailbox=xxxx@default ; The voicemail mailbox to monitor
Icon=1 ; There are 6 icons available
No_Rectangle=0 ; Optional: If enabled, it will not draw the button
; rectangle, only the icons inside
Background=bg.jpg ; Optional: it will load that jpg as the button
; background. It should match the size as specified
; in op_style.cfg btn_width and btn_height.
VoiceMailExt=*82xxxx@demo ; extension@context to use for transferring a call
; directly to voicemail
Privacy=false ; if set to true, it will hide callerid info for
; the button
GroupCount=0 ; Will show number of channels in use instead of clid
Astdbkey=xxxx
|
|
| Back to top |
|
| |