Skip to content

Commit

Permalink
Merge branch 'master' of github.com:sipxopenacd/oacdvagrant
Browse files Browse the repository at this point in the history
  • Loading branch information
jvliwanag committed Nov 9, 2012
2 parents 5041d73 + 06c9e92 commit fb9aa8a
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 6 deletions.
6 changes: 6 additions & 0 deletions bin/mkfoa
@@ -0,0 +1,6 @@
#!/bin/bash

OADIR="$HOME"/workspace/oacd

cd "$OADIR"
"$OADIR"/rebar get-deps compile
7 changes: 7 additions & 0 deletions bin/mkouc
@@ -0,0 +1,7 @@
#!/bin/bash

OADIR="$HOME"/workspace/oacd
OUCDIR="$OADIR"/plugins/oacd_ouc

cd "$OUCDIR"
"$OADIR"/rebar compile skip_deps=true
1 change: 1 addition & 0 deletions bin/oasendclients
@@ -0,0 +1 @@
mongo imdb ~/conf/client-profiles.js
Binary file added bin/rebar
Binary file not shown.
1 change: 1 addition & 0 deletions bin/taillogs
@@ -0,0 +1 @@
tail -f $HOME/install/var/log/sipxpbx/*.log
25 changes: 25 additions & 0 deletions conf/client-profiles.js
@@ -0,0 +1,25 @@
db.entity.update({'ident':'client1'}, {'$set':
{
'cmpnm': 'eZuce',
'avt': 'https://www.ezuce.com/image/image_gallery?uuid=1b05c8e7-63b9-49cd-bdd5-78f263763f0f&groupId=10458&t=1288976338344',
'ostr': '300 Brickstone Square',
'octy': 'Andover',
'ocntry': 'USA',
'ostate': 'MA',
'ozip': '01810',
'odsgn': 'Office designation',
'cmpph': '978-296-1005',
'cmpfax': '978-296-1006',

'ctcnm': 'Contact name',
'ctcjb': 'Contact job',
'ctcwph': 'Contact work number',
'ctccell': 'Contact cell',
'ctcemail': 'Contant email',

'astnm': 'Assistant name',
'astph': 'Assistant phone',
'astemail': 'Assistant e-mail',
'urlpop': 'http://company.salesforce.com/calls?callid=#{callid}&client=#{client}'
}
});
4 changes: 4 additions & 0 deletions conf/oacd/sys.config
Expand Up @@ -21,6 +21,10 @@
{sipxplugin, [
% {mongo_hostport, "127.0.0.1:27017"}
]},
{oacd_ouc, [
{sipxconfig_rest_api, "http://oacddev.ezuce.com/sipxconfig/rest"},
{contact_info_resource, "/my/contact-information"}
]},
{lager, [
{handlers, [
{lager_console_backend, [debug, true]}
Expand Down
9 changes: 4 additions & 5 deletions conf/openuc.mk.in.patch
@@ -1,11 +1,10 @@
--- 01-openuc.mk 2012-10-12 18:08:09.870192927 +0800
+++ 01-openuc.mk.2 2012-10-12 18:10:07.711132836 +0800
@@ -25,8 +25,6 @@
--- 01-openuc.mk 2012-10-23 03:11:01.268575172 -0700
+++ 01-openuc.mk.1 2012-10-23 03:11:33.245479222 -0700
@@ -25,7 +25,6 @@
addons = \
openuc \
openuc-ivr-gridfs \
- sipXsbc \
- sipXsss \
sipXsss \
openuc-ivr-s3 \
openuc-openfire \
microsite
3 changes: 2 additions & 1 deletion manifests/base.pp
Expand Up @@ -28,7 +28,8 @@
'ruby-dbi', 'rubygem-daemons', 'rubygem-file-tail', 'rubygem-net-sftp',
'ruby-libs', 'ruby-postgres', 'sec', 'sendmail', 'sendmail-cf',
'stunnel', 'system-config-network-tui', 'tftp', 'tftp-server',
'unixODBC', 'vsftpd', 'which', 'xerces-c', 'libtool']
'unixODBC', 'vsftpd', 'which', 'xerces-c', 'libtool',
'resiprocate-devel']

# missing build deps: irb, java, java-fonts

Expand Down

0 comments on commit fb9aa8a

Please sign in to comment.