From db@db.net  Sat Dec  3 09:03:16 2005
Return-Path: <db@db.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8DEC416A41F
	for <freebsd-gnats-submit@freebsd.org>; Sat,  3 Dec 2005 09:03:16 +0000 (GMT)
	(envelope-from db@db.net)
Received: from heceta.db.net (heceta.db.net [142.46.199.182])
	by mx1.FreeBSD.org (Postfix) with ESMTP id F076443D53
	for <freebsd-gnats-submit@freebsd.org>; Sat,  3 Dec 2005 09:03:15 +0000 (GMT)
	(envelope-from db@db.net)
Received: from heceta.db.net
	([142.46.199.182] helo=localhost ident=mailnull)
	by heceta.db.net with esmtp (Exim 4.24; FreeBSD 4.8)
	id 1EiTK8-000K3z-0A
	for freebsd-gnats-submit@freebsd.org; Sat, 03 Dec 2005 04:04:52 -0500
Received: from localhost.dbn ([127.0.0.1] helo=night.dbn)
	by night.dbn with esmtp (Exim 4.60 (FreeBSD))
	(envelope-from <db@night.dbn>)
	id 1EiTL6-0009O9-KO
	for FreeBSD-gnats-submit@freebsd.org; Sat, 03 Dec 2005 04:05:52 -0500
Received: (from db@localhost)
	by night.dbn (8.13.4/8.13.4/Submit) id jB395qgV036092;
	Sat, 3 Dec 2005 04:05:52 -0500 (EST)
	(envelope-from db)
Message-Id: <200512030905.jB395qgV036092@night.dbn>
Date: Sat, 3 Dec 2005 04:05:52 -0500 (EST)
From: Diane Bruce <db@db.net>
Reply-To: Diane Bruce <db@db.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: asterisk 1.2 upgrade WORK IN PROGRESS
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         89877
>Category:       ports
>Synopsis:       asterisk 1.2 upgrade WORK IN PROGRESS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sobomax
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 03 09:10:02 GMT 2005
>Closed-Date:    Sun Jan 29 14:27:09 GMT 2006
>Last-Modified:  Sun Jan 29 14:27:09 GMT 2006
>Originator:     Diane Bruce
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
badly organised at best
>Environment:
System: FreeBSD night.db.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386



>Description:
	asterisk port upgrade to 1.2 and libpri port upgrade work in progress
>How-To-Repeat:
	try to install asterisk 1.2
>Fix:

Both maintainers have been e-mailed, nothing heard back yet.
Hopefully, they are both work busy and will respond soon.

Tod McQuillin <devin@spamcop.net> has volunteered to help me update the
ports.

I have a preliminary set of updates, but asterisk port pkg-plist needs
updating.

http://www.db.net/~db/libpri_update.shar
http://www.db.net/~db/asterisk_update.shar

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sobomax 
Responsible-Changed-By: lawrance 
Responsible-Changed-When: Sat Dec 3 10:41:57 GMT 2005 
Responsible-Changed-Why:  
Over to asterisk maintainer for review 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89877 

From: Aristedes Maniatis <ari@ish.com.au>
To: bug-followup@FreeBSD.org,
 db@db.net
Cc:  
Subject: Re: ports/89877: asterisk 1.2 upgrade WORK IN PROGRESS
Date: Mon, 12 Dec 2005 20:54:35 +1100

 Please note that Asterisk has now been updated to 1.2.1
 
 http://ftp.digium.com/pub/asterisk/asterisk-1.2.1.tar.gz
 http://ftp.digium.com/pub/zaptel/zaptel-1.2.1.tar.gz
 
 I for one would like to see this port committed as soon as possible  
 with the updated version. 1.2.x fixes a great many things...
 
 Ari Maniatis

From: Aristedes Maniatis <ari@ish.com.au>
To: Asterisk on BSD discussion <asterisk-bsd@lists.digium.com>,
 bug-followup@FreeBSD.org,
 db@db.net
Cc: Tod McQuillin <devin@spamcop.net>,
 sobomax@FreeBSD.org
Subject: Instructions for installing 1.2.1 (Re: ports/89877)
Date: Mon, 9 Jan 2006 10:06:38 +1100

 Here is what you need to do to get the Asterisk port working.
 
 get the current ports which have still not yet been committed to the  
 FreeBSD tree
 # wget http://www.db.net/~db/libpri_update.shar
 # wget http://www.db.net/~db/asterisk_update.shar
 
 extract them
 # ./libpri_update.shar
 # ./asterisk_update.shar
 
 arrange your ports tree the way you want. I replaced the existing  
 asterisk and libpri ports with these new ones.
 
 # cd /usr/ports/misc/libpri/
 # nano Makefile
 
 edit the line that reads "PORTVERSION = 1.2.0" to read  
 "PORTVERSION=    1.2.1". Be careful to not put any whitespace at the  
 end of the line. Notice how the equal sign is followed by a tab  
 rather than spaces. Sometimes whitespace is important in makefiles.
 
 # make makesum
 
 
 # nano /usr/ports/net/asterisk/Makefile
 # nano Makefile
 
 edit the line that reads "PORTVERSION = 1.2.0" to read  
 "PORTVERSION=    1.2.1". Be careful to not put any whitespace at the  
 end of the line. Notice how the equal sign is followed by a tab  
 rather than spaces. Sometimes whitespace is important in makefiles.
 
 # make makesum
 
 
 Now you can just install the thing:
 
 # portinstall asterisk
 
 
 For me, on 6.0 this just works. I have a TDM card with one FXO port  
 and I've tested it as working. I've got music on hold working. The  
 problem I reported earlier was due to the fact that the daughter card  
 was installed in port 4 instead of port 1, but once that was resolved  
 everything works.
 
 Now, if we could only get the FreeBSD maintainer to commit this port!  
 It is already 100 times better than whatever is in the FreeBSD ports  
 system now.
 
 The only bug I've found is that sounds are installed at:
 /usr/local/share/asterisk/sounds
 
 but Asterisk is expecting them at:
 /usr/local/lib/asterisk/sounds
 
 I moved the folder and everything worked OK, but something should  
 probably be done in the port itself. But please don't let that stop  
 the port being committed!
 
 
 
 Ari Maniatis
 
 
 -------------------------->
 ish
 http://www.ish.com.au
 Level 1, 30 Wilson Street Newtown 2042 Australia
 phone +61 2 9550 5001   fax +61 2 9550 4001
 PGP fingerprint 08 57 20 4B 80 69 59 E2  A9 BF 2D 48 C2 20 0C C8
 
 

From: Randy Bush <randy@psg.com>
To: Aristedes Maniatis <ari@ish.com.au>
Cc: Asterisk on BSD discussion <asterisk-bsd@lists.digium.com>,
    bug-followup@FreeBSD.org,
    db@db.net,
    sobomax@FreeBSD.org,
    Tod McQuillin <devin@spamcop.net>
Subject: Re: [Asterisk-bsd] Instructions for installing 1.2.1 (Re: ports/89877)
Date: Sun, 8 Jan 2006 16:29:01 -1000

 > The only bug I've found is that sounds are installed at:
 > /usr/local/share/asterisk/sounds
 
 that is the normal place for the asterisk freebsd port
 
 > but Asterisk is expecting them at:
 > /usr/local/lib/asterisk/sounds
 
 bad hack
 
 randy
 

From: Aristedes Maniatis <ari@ish.com.au>
To: Randy Bush <randy@psg.com>
Cc: Asterisk on BSD discussion <asterisk-bsd@lists.digium.com>,
 bug-followup@FreeBSD.org,
 db@db.net,
 sobomax@FreeBSD.org,
 Tod McQuillin <devin@spamcop.net>
Subject: Re: [Asterisk-bsd] Instructions for installing 1.2.1 (Re: ports/89877)
Date: Mon, 9 Jan 2006 14:37:51 +1100

 On 09/01/2006, at 1:29 PM, Randy Bush wrote:
 
 >> The only bug I've found is that sounds are installed at:
 >> /usr/local/share/asterisk/sounds
 >
 > that is the normal place for the asterisk freebsd port
 >
 >> but Asterisk is expecting them at:
 >> /usr/local/lib/asterisk/sounds
 >
 > bad hack
 >
 > randy
 
 I am not sure how your response is helpful. I was outlining the fix I  
 used to make the Asterisk port work. If you have a better suggestion,  
 then please suggest it, however I could not find an entry in any  
 config file which tells Asterisk where to find these sound files.  
 Perhaps something needs to change in the Makefile?
 
 Ari Maniatis
 
 
 
 
 
 -------------------------->
 ish
 http://www.ish.com.au
 Level 1, 30 Wilson Street Newtown 2042 Australia
 phone +61 2 9550 5001   fax +61 2 9550 4001
 PGP fingerprint 08 57 20 4B 80 69 59 E2  A9 BF 2D 48 C2 20 0C C8
 
 

From: Diane Bruce <db@db.net>
To: Randy Bush <randy@psg.com>
Cc: Aristedes Maniatis <ari@ish.com.au>,
        Asterisk on BSD discussion <asterisk-bsd@lists.digium.com>,
        bug-followup@FreeBSD.org, db@db.net, sobomax@FreeBSD.org,
        Tod McQuillin <devin@spamcop.net>
Subject: Re: [Asterisk-bsd] Instructions for installing 1.2.1 (Re: ports/89877)
Date: Sun, 8 Jan 2006 21:53:01 -0500

 On Sun, Jan 08, 2006 at 04:29:01PM -1000, Randy Bush wrote:
 > > The only bug I've found is that sounds are installed at:
 ...
 > > but Asterisk is expecting them at:
 > > /usr/local/lib/asterisk/sounds
 >
 > bad hack
 
 I'm double checking the port now, in fact I just redid the patch-Makefile.
 I'll let you guys know when you can *please* test I did it right this
 time.
 
 --
 - db@db.net http://www.db.net/~db

From: Diane Bruce <db@db.net>
To: Aristedes Maniatis <ari@ish.com.au>
Cc: Asterisk on BSD discussion <asterisk-bsd@lists.digium.com>,
        bug-followup@FreeBSD.org, db@db.net, Tod McQuillin <devin@spamcop.net>,
        sobomax@FreeBSD.org, Randy Bush <randy@psg.com>
Subject: Re: Instructions for installing 1.2.1 (Re: ports/89877)
Date: Sun, 8 Jan 2006 22:06:01 -0500

 On Mon, Jan 09, 2006 at 10:06:38AM +1100, Aristedes Maniatis wrote:
 > Here is what you need to do to get the Asterisk port working.
 >
 > get the current ports which have still not yet been committed to the
 > FreeBSD tree
 > # wget http://www.db.net/~db/libpri_update.shar
 > # wget http://www.db.net/~db/asterisk_update.shar
 
 I have just updated http://www.db.net/~db/asterisk_update.shar
 with the corrections Aristedes has made. I think I got the sounds
 dir problem fixed as well. I have removed the H323 stuff for now,
 if someone can help me with that great, it can go in as a PORTREVISION.
 
 I am still not a member of the bsd-asterisk list, someone please forward.
 
 --
 - db@db.net http://www.db.net/~db

From: Randy Bush <randy@psg.com>
To: Aristedes Maniatis <ari@ish.com.au>
Cc: Asterisk on BSD discussion <asterisk-bsd@lists.digium.com>,
    bug-followup@FreeBSD.org,
    db@db.net,
    sobomax@FreeBSD.org,
    Tod McQuillin <devin@spamcop.net>
Subject: Re: [Asterisk-bsd] Instructions for installing 1.2.1 (Re: ports/89877)
Date: Sun, 8 Jan 2006 18:09:56 -1000

 > I was outlining the fix I used to make the Asterisk port work.
 
 it would be cool to know what about the port did not work for you
 in the first place
 
 > I could not find an entry in any config file which tells Asterisk
 > where to find these sound files.  Perhaps something needs to
 > change in the Makefile?
 
 looks to be in the Makefile to me
 
    $(DESTDIR)$(ASTVARLIBDIR)/sounds
 
 randy
 

From: Randy Bush <randy@psg.com>
To: Diane Bruce <db@db.net>
Cc: Aristedes Maniatis <ari@ish.com.au>,
    Asterisk on BSD discussion <asterisk-bsd@lists.digium.com>,
    bug-followup@FreeBSD.org,
    sobomax@FreeBSD.org,
    Tod McQuillin <devin@spamcop.net>
Subject: Re: [Asterisk-bsd] Instructions for installing 1.2.1 (Re: ports/89877)
Date: Sun, 8 Jan 2006 18:11:46 -1000

 > I'll let you guys know when you can *please* test I did it right this
 > time.
 
 just to be sure
 
 cvsup current ports tree
 
 apply
 > # wget http://www.db.net/~db/libpri_update.shar
 > # wget http://www.db.net/~db/asterisk_update.shar
 
 cd /usr/ports/net/asterisk
 make
 make install
 
 randy
 

From: Diane Bruce <db@db.net>
To: Aristedes Maniatis <ari@ish.com.au>
Cc: Asterisk on BSD discussion <asterisk-bsd@lists.digium.com>,
        bug-followup@FreeBSD.org, db@db.net, Tod McQuillin <devin@spamcop.net>,
        sobomax@FreeBSD.org
Subject: Re: Instructions for installing 1.2.1 (Re: ports/89877)
Date: Sun, 8 Jan 2006 18:34:07 -0500

 On Mon, Jan 09, 2006 at 10:06:38AM +1100, Aristedes Maniatis wrote:
 > Here is what you need to do to get the Asterisk port working.
 >
 > get the current ports which have still not yet been committed to the
 > FreeBSD tree
 > # wget http://www.db.net/~db/libpri_update.shar
 > # wget http://www.db.net/~db/asterisk_update.shar
 
 I got busied out for a bit, there is one last little bit
 with compiling another package into asterisk.
 (H323) That has its own port, it gets compiled up by asterisk port,
 then direct links into the work dir is made *shudder* to link it into
 asterisk. I put it aside for a while, volunteers to fix it?
 
 >
 > extract them
 > # ./libpri_update.shar
 > # ./asterisk_update.shar
 >
 > arrange your ports tree the way you want. I replaced the existing
 > asterisk and libpri ports with these new ones.
 >
 > # cd /usr/ports/misc/libpri/
 > # nano Makefile
 >
 > edit the line that reads "PORTVERSION = 1.2.0" to read
 > "PORTVERSION=    1.2.1". Be careful to not put any whitespace at the
 > end of the line. Notice how the equal sign is followed by a tab
 > rather than spaces. Sometimes whitespace is important in makefiles.
 >
 > # make makesum
 >
 >
 > # nano /usr/ports/net/asterisk/Makefile
 > # nano Makefile
 >
 > edit the line that reads "PORTVERSION = 1.2.0" to read
 > "PORTVERSION=    1.2.1". Be careful to not put any whitespace at the
 > end of the line. Notice how the equal sign is followed by a tab
 > rather than spaces. Sometimes whitespace is important in makefiles.
 >
 > # make makesum
 >
 >
 > Now you can just install the thing:
 >
 > # portinstall asterisk
 >
 >
 > For me, on 6.0 this just works. I have a TDM card with one FXO port
 > and I've tested it as working. I've got music on hold working. The
 > problem I reported earlier was due to the fact that the daughter card
 > was installed in port 4 instead of port 1, but once that was resolved
 > everything works.
 >
 > Now, if we could only get the FreeBSD maintainer to commit this port!
 > It is already 100 times better than whatever is in the FreeBSD ports
 > system now.
 >
 > The only bug I've found is that sounds are installed at:
 > /usr/local/share/asterisk/sounds
 >
 > but Asterisk is expecting them at:
 > /usr/local/lib/asterisk/sounds
 
 Ok, ;-) I can fix these ASAP  www.db.net is my site. ;-)
 
 I will fold in your bug fixes as they are pretty simple.
 > # wget http://www.db.net/~db/libpri_update.shar
 > # wget http://www.db.net/~db/asterisk_update.shar
 
 > I moved the folder and everything worked OK, but something should
 > probably be done in the port itself. But please don't let that stop
 > the port being committed!
 
 I'll fix before it gets committed. ;-)
 Thanks for the testing!
 I have already fixed the asterisk pkg-plist in my local copy, I am unsure
 if it is fixed in the port on my webpage.
 
 >
 >
 >
 > Ari Maniatis
 >
 >
 > -------------------------->
 > ish
 > http://www.ish.com.au
 > Level 1, 30 Wilson Street Newtown 2042 Australia
 > phone +61 2 9550 5001   fax +61 2 9550 4001
 > PGP fingerprint 08 57 20 4B 80 69 59 E2  A9 BF 2D 48 C2 20 0C C8
 >
 >
 
 And I should add myself to this list, looks like a moderator will
 have to approve my post.
 
 --
 - db@db.net http://www.db.net/~db
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Sun Jan 29 05:00:20 UTC 2006 
State-Changed-Why:  
db: sobomax has already updated the port, did it address all these issues? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89877 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Jan 29 14:26:47 UTC 2006 
State-Changed-Why:  
Submitter notes that these issues were addressed by later work. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89877 
>Unformatted:
