I am attempting to update my Asterisk installation from 1.0 to the latest stable version. When I use CVS checkout, I am receiving the following messages on chan_sip.c: RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v retrieving revision 1.510.2.25 retrieving revision 1.510.2.27 Merging differences between 1.510.2.25 and 1.510.2.27 into chan_sip.c M asterisk/channels/chan_sip.c Then, when I "make install" the compilation errors out on chan_sip.c, starting with: gcc -shared -Xlinker -x -o chan_modem.so chan_modem.o gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPT EL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-v1-0-12/20/04-09:55:59\" -DINSTALL_PR EFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTV ARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/ spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk /asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/li b/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -Wno-missing-prototypes -Wno-m issing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o ch an_sip.o chan_sip.c chan_sip.c:363: syntax error before '<<' token chan_sip.c:363: warning: no semicolon at end of struct or union chan_sip.c:367: too many decimal points in floating constant chan_sip.c:369: warning: type defaults to `int' in declaration of `iflist' chan_sip.c:369: warning: data definition has no type or storage class chan_sip.c:419: syntax error before '<<' token chan_sip.c:419: warning: no semicolon at end of struct or union chan_sip.c:422: syntax error before '==' token chan_sip.c:427: too many decimal points in floating constant chan_sip.c: In function `sip_debug_test_pvt': chan_sip.c:597: dereferencing pointer to incomplete type chan_sip.c:597: dereferencing pointer to incomplete type chan_sip.c:597: dereferencing pointer to incomplete type chan_sip.c: In function `__sip_xmit': chan_sip.c:606: dereferencing pointer to incomplete type chan_sip.c:607: dereferencing pointer to incomplete type chan_sip.c:609: dereferencing pointer to incomplete type chan_sip.c:611: dereferencing pointer to incomplete type chan_sip.c: In function `append_history': chan_sip.c:663: dereferencing pointer to incomplete type chan_sip.c:669: dereferencing pointer to incomplete type Can anyone provide info on what may be occurring here? Thanks. ________________________________ Adam S. Robins Executive Vice President & CIO PHARMACENTRA, LLP 5901B Peachtree Dunwoody Road, Suite 380 Atlanta, GA 30328 Office: 770-395-0088 x34 Fax: 770-395-0989 Mobile: 770-855-1360 Email: arobins@pharmacentra.com Web: http://www.pharmacentra.com <http://www.pharmacentra.com/> ________________________________ The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041220/cf0844bd/attachment.htm
On Mon, 2004-12-20 at 10:30 -0500, Adam Robins wrote:> I am attempting to update my Asterisk installation from 1.0 to the > latest stable version. When I use CVS checkout, I am receiving the > following messages on chan_sip.c: > > chan_sip.c:363: syntax error before '<<' token > chan_sip.c:363: warning: no semicolon at end of struct or union > chan_sip.c:367: too many decimal points in floating constant > chan_sip.c:369: warning: type defaults to `int' in declaration of > `iflist' > chan_sip.c:369: warning: data definition has no type or storage class > chan_sip.c:419: syntax error before '<<' token > chan_sip.c:419: warning: no semicolon at end of struct or union > chan_sip.c:422: syntax error before '==' token > chan_sip.c:427: too many decimal points in floating constant > chan_sip.c: In function `sip_debug_test_pvt': > chan_sip.c:597: dereferencing pointer to incomplete type > chan_sip.c:597: dereferencing pointer to incomplete type > chan_sip.c:597: dereferencing pointer to incomplete type > chan_sip.c: In function `__sip_xmit': > chan_sip.c:606: dereferencing pointer to incomplete type > chan_sip.c:607: dereferencing pointer to incomplete type > chan_sip.c:609: dereferencing pointer to incomplete type > chan_sip.c:611: dereferencing pointer to incomplete type > chan_sip.c: In function `append_history': > chan_sip.c:663: dereferencing pointer to incomplete type > chan_sip.c:669: dereferencing pointer to incomplete type > > Can anyone provide info on what may be occurring here?The merge found some things it was not able to handle around line 369. You need to edit chan_sip.c and sort these out or you could just delete chan_sip.c and redo the cvs update which will get you the latest version without it trying to merge. -- Dave Cotton <dcotton@linuxautrement.com>
Deleting chan_sip.c entirely before CVS checkout did the trick. Asterisk now compiles. However, now when I start Asterisk, I get this: [pbx_spool.so] => (Outgoing Spool Support) [pbx_dundi.so]Dec 20 10:51:33 WARNING[24030]: loader.c:258 ast_load_resource: / usr/lib/asterisk/modules/pbx_dundi.so: undefined symbol: pbx_substitute_variable s_varshead Dec 20 10:51:33 WARNING[24030]: loader.c:440 load_modules: Loading module pbx_du ndi.so failed! [root@S-ATL-PB01 asterisk]# Ouch ... error while writing audio data: : Broken pi pe [root@S-ATL-PB01 asterisk]# Any suggestions? Thanks! -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Dave Cotton Sent: Monday, December 20, 2004 10:49 AM To: Asterisk List Subject: Re: [Asterisk-Users] Updating Asterisk On Mon, 2004-12-20 at 10:30 -0500, Adam Robins wrote:> I am attempting to update my Asterisk installation from 1.0 to the > latest stable version. When I use CVS checkout, I am receiving the > following messages on chan_sip.c: > > chan_sip.c:363: syntax error before '<<' token > chan_sip.c:363: warning: no semicolon at end of struct or union > chan_sip.c:367: too many decimal points in floating constant > chan_sip.c:369: warning: type defaults to `int' in declaration of > `iflist' > chan_sip.c:369: warning: data definition has no type or storage class > chan_sip.c:419: syntax error before '<<' token > chan_sip.c:419: warning: no semicolon at end of struct or union > chan_sip.c:422: syntax error before '==' token > chan_sip.c:427: too many decimal points in floating constant > chan_sip.c: In function `sip_debug_test_pvt': > chan_sip.c:597: dereferencing pointer to incomplete type > chan_sip.c:597: dereferencing pointer to incomplete type > chan_sip.c:597: dereferencing pointer to incomplete type > chan_sip.c: In function `__sip_xmit': > chan_sip.c:606: dereferencing pointer to incomplete type > chan_sip.c:607: dereferencing pointer to incomplete type > chan_sip.c:609: dereferencing pointer to incomplete type > chan_sip.c:611: dereferencing pointer to incomplete type > chan_sip.c: In function `append_history': > chan_sip.c:663: dereferencing pointer to incomplete type > chan_sip.c:669: dereferencing pointer to incomplete type > > Can anyone provide info on what may be occurring here?The merge found some things it was not able to handle around line 369. You need to edit chan_sip.c and sort these out or you could just delete chan_sip.c and redo the cvs update which will get you the latest version without it trying to merge. -- Dave Cotton <dcotton@linuxautrement.com> _______________________________________________ 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 The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any.
This means there was a problem with cvs when it tried to merge the differences in chan_sip.c If you have not modified chan_sip.c personally, then just delete it and run the updater again. It will download a fresh copy. -Matthew ----- Original Message ----- From: "Adam Robins" <arobins@PharmaCentra.com> To: <asterisk-users@lists.digium.com> Sent: Monday, December 20, 2004 9:30 AM Subject: [Asterisk-Users] Updating Asterisk I am attempting to update my Asterisk installation from 1.0 to the latest stable version. When I use CVS checkout, I am receiving the following messages on chan_sip.c: RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v retrieving revision 1.510.2.25 retrieving revision 1.510.2.27 Merging differences between 1.510.2.25 and 1.510.2.27 into chan_sip.c M asterisk/channels/chan_sip.c Then, when I "make install" the compilation errors out on chan_sip.c, starting with: gcc -shared -Xlinker -x -o chan_modem.so chan_modem.o gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPT EL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-v1-0-12/20/04-09:55:59\" -DINSTALL_PR EFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTV ARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/ spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk /asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/li b/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -Wno-missing-prototypes -Wno-m issing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -c -o ch an_sip.o chan_sip.c chan_sip.c:363: syntax error before '<<' token chan_sip.c:363: warning: no semicolon at end of struct or union chan_sip.c:367: too many decimal points in floating constant chan_sip.c:369: warning: type defaults to `int' in declaration of `iflist' chan_sip.c:369: warning: data definition has no type or storage class chan_sip.c:419: syntax error before '<<' token chan_sip.c:419: warning: no semicolon at end of struct or union chan_sip.c:422: syntax error before '==' token chan_sip.c:427: too many decimal points in floating constant chan_sip.c: In function `sip_debug_test_pvt': chan_sip.c:597: dereferencing pointer to incomplete type chan_sip.c:597: dereferencing pointer to incomplete type chan_sip.c:597: dereferencing pointer to incomplete type chan_sip.c: In function `__sip_xmit': chan_sip.c:606: dereferencing pointer to incomplete type chan_sip.c:607: dereferencing pointer to incomplete type chan_sip.c:609: dereferencing pointer to incomplete type chan_sip.c:611: dereferencing pointer to incomplete type chan_sip.c: In function `append_history': chan_sip.c:663: dereferencing pointer to incomplete type chan_sip.c:669: dereferencing pointer to incomplete type Can anyone provide info on what may be occurring here? Thanks. ________________________________ Adam S. Robins Executive Vice President & CIO PHARMACENTRA, LLP 5901B Peachtree Dunwoody Road, Suite 380 Atlanta, GA 30328 Office: 770-395-0088 x34 Fax: 770-395-0989 Mobile: 770-855-1360 Email: arobins@pharmacentra.com Web: http://www.pharmacentra.com <http://www.pharmacentra.com/> ________________________________ The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any. ---------------------------------------------------------------------------- ----> _______________________________________________ > 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
So, I went into modules.conf and put in an "unload" statement for pbx.dundi.so. I then proceeded to get similar errors for app.realtime.so, pbx_loopback.so, app_dumpchan.so and pbx_realtime.so. Once I put in unload statements for each, Asterisk finally started. Any ideas? Are any of the modules I unloaded essential? -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Adam Robins Sent: Monday, December 20, 2004 11:00 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] Updating Asterisk Deleting chan_sip.c entirely before CVS checkout did the trick. Asterisk now compiles. However, now when I start Asterisk, I get this: [pbx_spool.so] => (Outgoing Spool Support) [pbx_dundi.so]Dec 20 10:51:33 WARNING[24030]: loader.c:258 ast_load_resource: / usr/lib/asterisk/modules/pbx_dundi.so: undefined symbol: pbx_substitute_variable s_varshead Dec 20 10:51:33 WARNING[24030]: loader.c:440 load_modules: Loading module pbx_du ndi.so failed! [root@S-ATL-PB01 asterisk]# Ouch ... error while writing audio data: : Broken pi pe [root@S-ATL-PB01 asterisk]# Any suggestions? Thanks! -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Dave Cotton Sent: Monday, December 20, 2004 10:49 AM To: Asterisk List Subject: Re: [Asterisk-Users] Updating Asterisk On Mon, 2004-12-20 at 10:30 -0500, Adam Robins wrote:> I am attempting to update my Asterisk installation from 1.0 to the > latest stable version. When I use CVS checkout, I am receiving the > following messages on chan_sip.c: > > chan_sip.c:363: syntax error before '<<' token > chan_sip.c:363: warning: no semicolon at end of struct or union > chan_sip.c:367: too many decimal points in floating constant > chan_sip.c:369: warning: type defaults to `int' in declaration of > `iflist' > chan_sip.c:369: warning: data definition has no type or storage class > chan_sip.c:419: syntax error before '<<' token > chan_sip.c:419: warning: no semicolon at end of struct or union > chan_sip.c:422: syntax error before '==' token > chan_sip.c:427: too many decimal points in floating constant > chan_sip.c: In function `sip_debug_test_pvt': > chan_sip.c:597: dereferencing pointer to incomplete type > chan_sip.c:597: dereferencing pointer to incomplete type > chan_sip.c:597: dereferencing pointer to incomplete type > chan_sip.c: In function `__sip_xmit': > chan_sip.c:606: dereferencing pointer to incomplete type > chan_sip.c:607: dereferencing pointer to incomplete type > chan_sip.c:609: dereferencing pointer to incomplete type > chan_sip.c:611: dereferencing pointer to incomplete type > chan_sip.c: In function `append_history': > chan_sip.c:663: dereferencing pointer to incomplete type > chan_sip.c:669: dereferencing pointer to incomplete type > > Can anyone provide info on what may be occurring here?The merge found some things it was not able to handle around line 369. You need to edit chan_sip.c and sort these out or you could just delete chan_sip.c and redo the cvs update which will get you the latest version without it trying to merge. -- Dave Cotton <dcotton@linuxautrement.com> _______________________________________________ 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 The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any. _______________________________________________ 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
Last week, when 1.0.4 was released, I obtained the latest stable version from CVS and applied it. Today, upon hearing that 1.0.5 was out, I did it again. When I go to the CLI and do "show version", it shows me the same information it did before the upgrade: Connected to Asterisk CVS-v1-0-12/21/04-14:14:46 How do I know if the update occurred? After downloading from CVS, I did "make clean", "make install" and then stopped and started Asterisk. Thanks, Adam The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050124/5934d8a5/attachment.htm
Just tried it. "Show version" still shows: Connected to Asterisk CVS-v1-0-12/21/04-14:14:46 Which is exactly what it said prior to the upgrade. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of timebandit001@gmail.com Sent: Monday, January 24, 2005 10:31 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Updating Asterisk> How do I know if the update occurred? After downloading from CVS, I > did "make clean", "make install" and then stopped and startedAsterisk. If I'm not mistaken, before you do "make install" you have to stop asterisk, else it can't be replaced because it's used. so, just go in you asterisk source dir, stop asterisk then "make install" and after that restart it HTH _______________________________________________ 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 The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any.
Adam Robins wrote:> Just tried it. "Show version" still shows: > > Connected to Asterisk CVS-v1-0-12/21/04-14:14:46 > > Which is exactly what it said prior to the upgrade.in the asterisk src directory there is a .version file, remove this and it will update with the current time/date... -- Best regards, Duane http://www.cacert.org - Free Security Certificates http://www.nodedb.com - Think globally, network locally http://www.sydneywireless.com - Telecommunications Freedom http://happysnapper.com.au - Sell your photos over the net! http://e164.org - Using Enum.164 to interconnect asterisk servers "I do not try to dance better than anyone else. I only try to dance better than myself."
Duane wrote:> Adam Robins wrote: > >> Just tried it. "Show version" still shows: >> Connected to Asterisk CVS-v1-0-12/21/04-14:14:46 >> >> Which is exactly what it said prior to the upgrade. > > in the asterisk src directory there is a .version file, remove this and > it will update with the current time/date...Heh, I was wondering if someone was going to point this out. I was about to post it myself! Pretty early morning for you Duane? :) -- Cheers, Matt Riddell _______________________________________________ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050125/f6e6af75/attachment.pgp
1. I wiped out the /usr/src/asterisk directory structure 2. I followed the instructions below for re-downloading, installing and restarting Asterisk 3. The Asterisk module in /usr/sbin/asterisk reflects the new date/time Still shows version 1-0 12/21/2004. I can not find a .version file in the /usr/src/asterisk directory -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of C F Sent: Tuesday, January 25, 2005 9:05 AM To: timebandit001@gmail.com; Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Updating Asterisk http://lists.digium.com/pipermail/asterisk-users/2004-December/080514.ht ml On Tue, 25 Jan 2005 08:58:46 -0500, timebandit001@gmail.com <timebandit001@gmail.com> wrote:> > Just tried it. "Show version" still shows: > > > > Connected to Asterisk CVS-v1-0-12/21/04-14:14:46 > > Well, only thing I can see is that your CVS download didn't went > right, or you downloaded it into a different place, because you're not> even at 1.0.4 > > Follow these simple steps to update you tree : > > # cd /usr/src > # export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot > # cvs login - the password is anoncvs. > > # cvs checkout -r v1-0-5 asterisk > # cd asterisk > # make clean; make > > then, stop asterisk > > # make install > > then start asterisk > > HTH > _______________________________________________ > 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 The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any.
And I just checked the "ChangeLog" file in /usr/src/asterisk and it show 1.0.5 -----Original Message----- From: Adam Robins Sent: Tuesday, January 25, 2005 10:13 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] Updating Asterisk 1. I wiped out the /usr/src/asterisk directory structure 2. I followed the instructions below for re-downloading, installing and restarting Asterisk 3. The Asterisk module in /usr/sbin/asterisk reflects the new date/time Still shows version 1-0 12/21/2004. I can not find a .version file in the /usr/src/asterisk directory -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of C F Sent: Tuesday, January 25, 2005 9:05 AM To: timebandit001@gmail.com; Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Updating Asterisk http://lists.digium.com/pipermail/asterisk-users/2004-December/080514.ht ml On Tue, 25 Jan 2005 08:58:46 -0500, timebandit001@gmail.com <timebandit001@gmail.com> wrote:> > Just tried it. "Show version" still shows: > > > > Connected to Asterisk CVS-v1-0-12/21/04-14:14:46 > > Well, only thing I can see is that your CVS download didn't went > right, or you downloaded it into a different place, because you're not> even at 1.0.4 > > Follow these simple steps to update you tree : > > # cd /usr/src > # export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot > # cvs login - the password is anoncvs. > > # cvs checkout -r v1-0-5 asterisk > # cd asterisk > # make clean; make > > then, stop asterisk > > # make install > > then start asterisk > > HTH > _______________________________________________ > 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 The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any.
Yes, asterisk is starting from a script. I've confirmed that it is pointing to the correct module. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of brett-asterisk@worldcall.net Sent: Tuesday, January 25, 2005 10:34 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Updating Asterisk Adam Robins wrote:> 1. I wiped out the /usr/src/asterisk directory structure 2. I >followed the instructions below for re-downloading, installing and >restarting Asterisk 3. The Asterisk module in /usr/sbin/asterisk >reflects the new date/time > >Still shows version 1-0 12/21/2004. > >I can not find a .version file in the /usr/src/asterisk directory > >-----Original Message----- >From: asterisk-users-bounces@lists.digium.com >[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of C F >Sent: Tuesday, January 25, 2005 9:05 AM >To: timebandit001@gmail.com; Asterisk Users Mailing List - >Non-Commercial Discussion >Subject: Re: [Asterisk-Users] Updating Asterisk > >http://lists.digium.com/pipermail/asterisk-users/2004-December/080514.h >t >ml > > > >On Tue, 25 Jan 2005 08:58:46 -0500, timebandit001@gmail.com ><timebandit001@gmail.com> wrote: > > >>>Just tried it. "Show version" still shows: >>> >>>Connected to Asterisk CVS-v1-0-12/21/04-14:14:46 >>> >>> >>Well, only thing I can see is that your CVS download didn't went >>right, or you downloaded it into a different place, because you're not >> >> > > > >>even at 1.0.4 >> >>Follow these simple steps to update you tree : >> >># cd /usr/src >># export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot >># cvs login - the password is anoncvs. >> >># cvs checkout -r v1-0-5 asterisk >># cd asterisk >># make clean; make >> >>then, stop asterisk >> >># make install >> >>then start asterisk >> >>Silly question.. Are you restarting asterisk? Are you sure? A reload won't do it. A "restart now" (which will distrupt traffic) should do it, but ultimately a "stop now" and start it back up would be better. By the way, how are you starting asterisk? If you are using a script, check what binary it points to. -Brett _______________________________________________ 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 The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any.
1. I rebooted the server. Still NG 2. I manually deleted the asterisk executable in /usr/sbin/. I then did a make clean, make, make install. The executable was replaced, but STILL shows version 1-0 12/21/04. -----Original Message----- From: brett-asterisk@worldcall.net [mailto:brett-asterisk@worldcall.net] Sent: Tuesday, January 25, 2005 1:01 PM To: Adam Robins Cc: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Updating Asterisk And you are sure that the old asterisk processes is completely dead? have you verified this with ps ax? If ZAP resources are tied up, a restart now or stop now command could hang. -Brett Adam Robins wrote:>Yes, asterisk is starting from a script. I've confirmed that it is >pointing to the correct module. > >-----Original Message----- >From: asterisk-users-bounces@lists.digium.com >[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of >brett-asterisk@worldcall.net >Sent: Tuesday, January 25, 2005 10:34 AM >To: Asterisk Users Mailing List - Non-Commercial Discussion >Subject: Re: [Asterisk-Users] Updating Asterisk > >Adam Robins wrote: > > > >>1. I wiped out the /usr/src/asterisk directory structure 2. I >>followed the instructions below for re-downloading, installing and >>restarting Asterisk 3. The Asterisk module in /usr/sbin/asterisk >>reflects the new date/time >> >>Still shows version 1-0 12/21/2004. >> >>The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any.
Adam Robins wrote:> 1. I rebooted the server. Still NG > 2. I manually deleted the asterisk executable in /usr/sbin/. I then did > a make clean, make, make install. The executable was replaced, but > STILL shows version 1-0 12/21/04.delete the .version file in the Asterisk source and rebuild/install
It sounds to me like you have more than one copy of Asterisk on your system. What is the output of this command? $ which asterisk
There is no .version file anywhere in the /usr/src/asterisk tree -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Eric Wieling Sent: Tuesday, January 25, 2005 2:06 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Updating Asterisk Adam Robins wrote:> 1. I rebooted the server. Still NG > 2. I manually deleted the asterisk executable in /usr/sbin/. I then > did a make clean, make, make install. The executable was replaced, > but STILL shows version 1-0 12/21/04.delete the .version file in the Asterisk source and rebuild/install _______________________________________________ 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 The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any.
Adam Robins wrote:> There is no .version file anywhere in the /usr/src/asterisk tree > > -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Eric > Wieling > Sent: Tuesday, January 25, 2005 2:06 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] Updating Asterisk > > Adam Robins wrote: > > >>1. I rebooted the server. Still NG >>2. I manually deleted the asterisk executable in /usr/sbin/. I then >>did a make clean, make, make install. The executable was replaced, >>but STILL shows version 1-0 12/21/04. > > > delete the .version file in the Asterisk source and rebuild/installThere is after you build it. You can also just do a "make update" in the asterisk source. --Eric
Hi, all What i sthe easiest way to update asterisk? I can download code into new location, compile and install it. Is that the preferred way? Obviously, I want to keep all my configuration files. Thanks, Rudolf
> -----Original Message----- > From: RumaTech [mailto:asterisk@rumatech.com] > Sent: Wednesday, January 25, 2006 6:31 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [Asterisk-Users] Updating asterisk > > Hi, all > > What i sthe easiest way to update asterisk? > I can download code into new location, compile and install it. Is thatthe> preferred way? > Obviously, I want to keep all my configuration files. > > Thanks, > RudolfI use the asterisk-update.sh script. It backs up your current version automatically. It works great. I think it uses CVS rather than SVN but maybe I have an older version. Your configuration files will not be touched unless you "make samples" but it never hurts to back them up. Thanks, Steve Totaro