My Linux server can now autostart obiapps. Asterisk connects to it automatically after booting.
Tricks are shown below.作者: 角色 時間: 2011-4-2 10:18
Looking forward to seeing your report very soon! 作者: ckleea 時間: 2011-4-3 14:33
本帖最後由 ckleea 於 2011-4-11 20:25 編輯
To have autostart OBiapps in Linux, you need the following
1. a working linux server
2. install vncserver and have it start upon booting.
e.g. chkconfig on vncserver
3. I am using root to start asterisk and hence, the obiapps should be started by root
There should be other way to start as different users, but I don't know the answer yet.
4. in your favorite x-windows environment, I like gnome. You need to install wine.
In Centos 5.5, yum install wine should do
5. copy the Obiappsetup application from windows PC or download directly from the internet
6. use wine to install obiapp. Using the default program position should be ok
7. use wine to run obiapp the first time to enter your login information.
Or create a scripts to run it as below
#!/bin/bash
Xvfb :4 -screen 0 800x600x24&
export DISPLAY=localhost:4.0 &
DISPLAY=localhost:4.0 wine "C:\\Program Files\\OBIHAI\\obiapp.exe" > /dev/null
sleep 300
asterisk -rx "reload"
Remember sometimes, it takes a while for wine obiapps to start up. Asterisk may show failure to register, timeout or rejected.
Do a "asterisk -rx reload" will update the status
Please note that while your asterisk registers the Obiapp soft client as the usual lan IP, but in the outgoing context you need to have another IP address. I.e. what I described before to use webmin to create a virtual network interface for your linux server.
Great illustrated tutorial with detailed explanation. Thanks ckleea for so generous sharing such that we can have an easy way to get the OPiAPP work in Linux Server with Asterisk. 作者: ckleea 時間: 2011-4-3 15:36
My pleasure. This is especially for those with a linux server.
I think OBi110 should be placed at place where people not reading understand ATA/VOIP. They pick up the phone and press a few speed dial to connect their friends and relatives.
For us, with an asterisk server or IP01, we should work to integrate into our system.作者: 角色 時間: 2011-4-3 17:40
How is the performance?
YH作者: ckleea 時間: 2011-4-3 17:41
In my previous post, I use mobile phone to dial in and just like using asterisk server. Quality is very good.作者: bubblestar 時間: 2011-4-4 09:56
OPiAPP can autostart with Linux Server boot-up now. However, it goes back to use its own default sip port 5060 to register every time I reboot the machine. I still have to manually change it to other port (say 15062) to match my configuration in sip.conf.作者: ckleea 時間: 2011-4-4 10:01
No. Mine is always correct in the setting. No idea why you can't but there is thread in forum mentioning this.
You may reinstall the OBiApps again.作者: bubblestar 時間: 2011-4-4 10:17
Don't get me wrong! I'm not challenging the correctness to your great tutorial. It is very useful indeed. The sound quality is very good and it works smoothly during the course of installation.
I just want to see if OBiApp can remember my port setting changed to the one other than its original port 5060.
Sorry. it should be my Obiapps remembers the correct setting.作者: bubblestar 時間: 2011-4-4 20:45
I did it after 3 more trials to re-install the OBiApp. It finally remembers my sip ports with unknown reasons. Above all, it works now. Try and try and try is the best way to resolve the problem.
Thanks again for ckleea c-hing's tutorial. For me, the sound quality from OBiApp is of no much difference from that of OBi110. A very good learning and usage experience. 作者: 角色 時間: 2011-4-4 21:36
I just asked bubblestar CHing for calling me to evalue performance of the Linux + OBiAPP by calling my OBi110. The performance was very good that I did not find any difference between the OBi110 and Linux + OBiAPP. The following figure shows the call status of my OBi110.
Enjoy your integration. You now have different ways to deal with VOIP.作者: bubblestar 時間: 2011-4-4 22:59
I highly recommend this thread to be put at the top of the OBi sub-section. It not only teaches us how to integrate OBiApp in Asterisk environment, it also enpowers the OBiApp in a way that outperforms the stand-alone OBi110. Added values and Asterisk resources count.作者: bubblestar 時間: 2011-4-6 17:52
I just notice that when dialing in from Mobile or via internal OBi110 to my OBiAPP 290-XXX-XXX, it uses random Asterisk extension number as the caller ID, which is shown on the IP phone screen. Strange.作者: 角色 時間: 2011-4-6 20:12
I believe we have to deliberately set the outbound caller ID.
YH作者: ckleea 時間: 2011-4-7 21:08
See my updated instruction to eliminate the need for vnc and gnome作者: ckleea 時間: 2011-4-11 08:11
Updated on 11 april, need some more testing
Autorun not always work by scripts作者: 楊威利@HGC 時間: 2011-4-11 10:24
After you have installed the OBiApp.exe, then there is a pop-up window which asks you to the OBiHai login e-mail address and password. Right click the small window, a small window comes out. You select the "Properties", a very big window comes out.