RE: [Asterisk-Users] ANNOUNCEMENT: Updatesforapp_cbmysqlandMeetMe2gui (out of tree modules)

2005-03-17 Thread Dan Austin
I tried this with a fresh tree, so I know it works.  Based
on your last message, I think you may have missed step 1.
My needs are for both CBMysql and MeetMe2, so I bundled
the patch file.  If you are only interested in one, then
delete the sections of the patch that are not needed.

1.  Download the source for MeetMe2.c from
http://www.areski.net/asterisk-meetme/about.php?s=0 
and put it in asterisk/apps

2.  Download the source for CBMysql from
 http://www.mithotech.com/asterisk/

3.  Extract the contents of the tar file and move/rename
the conference.c file to asterisk/apps/app_cbmysql.c

4.  Download the apps-meetme-cbmysql.txt and 
meetme2-gui.tar.gz from www.fitawi.com/Asterisk
While there, you may as well get the database table
description and the sample cbmysql.conf

5.  Copy cbmysql.conf to /etc/asterisk, modify to suit.

6.  Create/update your database to match the tables in
 the description file.
7.  cd to asterisk/apps and run 
patch -p1  path-to/apps-meetme-cbmysql.txt

8.  make; make install

9.  Extract the meetme2-gui files to your webserver
document tree.

10.  Modify the ./lib/Defines.php to match your db_name,
db_user and db_password 

Dan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Henry
Devito
Sent: Thursday, March 17, 2005 7:13 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] ANNOUNCEMENT:
Updatesforapp_cbmysqlandMeetMe2gui (out of tree modules)

Still a no go.  I can't figure out what I am doing wrong.  This is the
error 
I get

[EMAIL PROTECTED] apps]#  patch -p1  
/var/build_aah/asterisk_src/asterisk/apps/apps-meetme-cbmysql.txt
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--
|diff -u asterisk-1.0.5-orig/apps/app_cbmysql.c 
asterisk-1.0.5/apps/app_cbmysql.c
|--- asterisk-1.0.5-orig/apps/app_cbmysql.c 2005-02-28 
23:19:19.0 -0800
|+++ asterisk-1.0.5/apps/app_cbmysql.c  2005-03-03 18:39:34.0
-0800
--

It asks for the file to patch if i put in /path/app_cbmysql.c

I get this error

File to patch: /var/build_aah/asterisk_src/asterisk/apps/app_cbmysql.c
patching file /var/build_aah/asterisk_src/asterisk/apps/app_cbmysql.c
can't find file to patch at input line 331
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--
|diff -u asterisk-1.0.5-orig/apps/app_meetme2.c 
asterisk-1.0.5/apps/app_meetme2.c
|--- asterisk-1.0.5-orig/apps/app_meetme2.c 2004-04-07 
04:37:18.0 -0700
|+++ asterisk-1.0.5/apps/app_meetme2.c  2005-03-03 10:31:36.0
-0800




- Original Message - 
From: Dan Austin [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com
Sent: Wednesday, March 16, 2005 6:56 PM
Subject: RE: [Asterisk-Users] ANNOUNCEMENT: Updates 
forapp_cbmysqlandMeetMe2gui (out of tree modules)


Bugger.  I knew I'd screw up the patch instructions.
Try this-
# cd to /var/build_aah/asterisk_src/asterisk
# patch -p1  path-to/apps-meetme-cbmysql.txt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Henry
Devito
Sent: Wednesday, March 16, 2005 7:02 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] ANNOUNCEMENT: Updates for
app_cbmysqlandMeetMe2gui (out of tree modules)

Dan,  Thanks for the time helping me out.  I figured everything out
except
for the patch.
7.  cd to asterisk/apps and run patch -p0 
path-to/apps-meetme-cbmysql.txt

When I do this step it errors out and asks for the file to patch..  When
I
look at the apps-meetme-cbmysql.txt It shows the file name to be
app_cbmysql.c so I changed the name of the file cbmysql.c to
app_cbmysql.c
but it still doesn't work.

Also in the apps-meetme-cbmysql.txt it shows the path to be
asterisk-1.0.5-orig I am trying to install this on [EMAIL PROTECTED]  So
the
source is in /var/build_aah/asterisk_src/asterisk.  Maybe I'm looking in
the
wrong direction. any help would be appreciated.  I can even give you
root
access to my box.  When all is said and done I will write up a wiki page
for
installation.

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users 

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com

RE: [Asterisk-Users] ANNOUNCEMENT: Updatesforapp_cbmysqlandMeetMe2gui (out of tree modules)

2005-03-17 Thread Dan Austin
I should have read a little closer-

 [EMAIL PROTECTED] apps]#  patch -p1  
 /var/build_aah/asterisk_src/asterisk/apps/apps-meetme-cbmysql.txt

If you run patch from within the apps directory, you will need
to use -p2.  Or just cd .. and use the same command as above.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] ANNOUNCEMENT: Updatesforapp_cbmysqlandMeetMe2gui(out of tree modules)

2005-03-17 Thread Henry Devito
It doesn't matter if I run it from the apps directory or the asterisk 
directory I get the same response.  This is getting frustrating.
- Original Message - 
From: Dan Austin [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com
Sent: Friday, March 18, 2005 12:17 AM
Subject: RE: [Asterisk-Users] ANNOUNCEMENT: 
Updatesforapp_cbmysqlandMeetMe2gui(out of tree modules)

I should have read a little closer-
[EMAIL PROTECTED] apps]#  patch -p1 
/var/build_aah/asterisk_src/asterisk/apps/apps-meetme-cbmysql.txt
If you run patch from within the apps directory, you will need
to use -p2.  Or just cd .. and use the same command as above.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users 

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users