this assume you have a working version of callshop modules on old server ,you want to copy or install on new server.
1. install asteriskon new server, you also need asterisk-addons to enable mysql realtime support
I normally use asterisk-1.4.18.1.tar.gz ,
asterisk-addons-1.4.7.tar.gz
when you build asterisk-addons ,make sure res_mysql is included, chan_ooh323 excluded(we don't support h323) .to make sure res_mysql is included
you may need yum install mysql-devel to install mysql include and lib files
此demo项目有可能延伸为一个整项目
以下是我们的需求:
1.首界面是列出所有的用户(有分页)
http://72.167.143.82/callcenter/userlist.php?page_id=x
其中x 从0,1,2,....
显示在iphone上每页5行,x=0,第一页的5个,x=1,第二页的5个,等
通过下面的next ,prev 来决定
由于是demo,暂没有提供显示记录总数
以下是第31页的数据(page_id=30)
http://72.167.143.82/callcenter/userlist.php?page_id=30
返回结果(请在browser中查看页面源代码)
http://allvoipsolutions.org/demos/customerdemo.tar.gz
sometimes you need differnt UI from traditional A2BCustomer_UI,because origignal a2bcustomer ui is difficult to template .
with this new customer UI,easily to template ,see working one here
http://allvoipsolutions.org/demos/customer/index.php
one or two customers told me A2BCustomer_UI paypal module not working all time(for someone it works,someone it not work,maybe because browser problem or internet problem,etc,so I rewrite paypal module ,this is quite easy now
Here are the steps to run php in tomcat :
1. Download tomcat and unzip the archive where you want (=> TOMCAT_DIR)
2. Create the following directories : TOMCAT_DIR/webapps/testPHP
3. If necessary, create directory TOMCAT_DIR/common/lib (it seems, at least with tomcat 6, that the directory is no more created)
4. Edit the file TOMCAT_DIR/conf/catalina.properties and modify the line for property shared.loader :
shared.loader=${catalina.home}/common/classes,${catalina.home}/common/lib/*.jar