Re: [asterisk-users] Upgrade Procedure

2007-07-24 Thread Anselm Martin Hoffmeister
Am Montag, den 23.07.2007, 16:21 -0400 schrieb Michael J. Liberatore:
> I noticed in 1.4.x I can no longer use n+101 ?  I use this all over my
> dial plan and wouldn't even know how to replace it.  Like when trying to
> call out and a channel is busy, would I need to do all if then's???  How
> can I upgrade and keep n+101? 

Please read the documentation, for example at
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Dial

(other commands can be found linked from
http://www.voip-info.org/wiki/view/Asterisk+-+documentation+of
+application+commands
)

There is an additional option you will have to set to the Dial() to
restore the "jump to n+101" behaviour, named "j". So you would for
example change

exten=>123,4,Dial(SIP/sip123,30,w)

to

exten=>123,4,Dial(SIP/sip123,30,jw)

Other commands may also feature such an option, if appropriate - should
be found easily in voip-info.

I _think_ there is also a kind of global option to restore the n+101
behaviour for the entire dialplan (instead of defaulting to setting
variables), actually
http://www.voip-info.org/wiki/index.php?page=Asterisk+Dialplan+General
might be your best friend there.

HTH
Anselm


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] Upgrade Procedure

2007-07-24 Thread Andrew Latham
read this 
http://www.tuxtone.com/index.php/VOIP:Asterisk_Dial_Plan

On 7/23/07, Michael J. Liberatore <[EMAIL PROTECTED]> wrote:
> I noticed in 1.4.x I can no longer use n+101 ?  I use this all over my
> dial plan and wouldn't even know how to replace it.  Like when trying to
> call out and a channel is busy, would I need to do all if then's???  How
> can I upgrade and keep n+101?
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Noah
> Miller
> Sent: Monday, July 23, 2007 3:53 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Upgrade Procedure
>
> > >> You have to first uninstall your Asterisk1.2 like this--
> > >>
> > >> First you have to stop your asterisk...using--
> > >>
> > >> 1. killall -9 asterisk or killall -9 safe_asterisk, whichever you
> are using.
> > >
> > > In my experience, you don't need to do this step.  In fact, you can
> > > keep the old asterisk running, compile and install asterisk 1.4 on
> > > top of it.  Then issue a "restart when convenient" command from the
> > > asterisk 1.2 prompt, and Asterisk 1.4 will come up after the
> restart.
> >
> > The problem with this is that the upgraded Zaptel will not be active.
> > Compile and install Zaptel, LibPRI and Asterisk (in the order), then
> > stop asterisk, unload the zaptel drivers, then load everything.
>
> I've found that you don't really need to do a full stop of asterisk
> either.  Just compile and install both zaptel and asterisk.  Issue the
> "restart when convenient", and after asterisk restarts, then restart
> zaptel (unload old version and load new version).
>
>
> - Noah
>
> ___
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> This E-mail, including any attachments, may be intended solely for
> the personal and confidential use of the sender and recipient(s) named
> above. This message may include advisory, consultative and/or
> deliberative material and, as such, would be privileged and confidential
> and not a public document. Pursuant to 42 CFR, any information in this
> e-mail identifying a former, present, or potential client of Straight & 
> Narrow is confidential. If you have received this e-mail in error, you must 
> not review, transmit, convert to hard copy, copy, use or disseminate this 
> e-mail or any attachments to it and you must delete this message. You are 
> requested to notify the sender by return e-mail.
>
>
> ___
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>


-- 
/*
 Andrew Latham
 LATHAMA (lay-th-ham-eh)
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
*/

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] Upgrade Procedure

2007-07-24 Thread Dovid B
try priorityjumping=yes in extensions.conf

- Original Message - 
From: "Michael J. Liberatore" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 

Sent: Monday, July 23, 2007 11:21 PM
Subject: Re: [asterisk-users] Upgrade Procedure


>I noticed in 1.4.x I can no longer use n+101 ?  I use this all over my
> dial plan and wouldn't even know how to replace it.  Like when trying to
> call out and a channel is busy, would I need to do all if then's???  How
> can I upgrade and keep n+101?
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Noah
> Miller
> Sent: Monday, July 23, 2007 3:53 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Upgrade Procedure
>
>> >> You have to first uninstall your Asterisk1.2 like this--
>> >>
>> >> First you have to stop your asterisk...using--
>> >>
>> >> 1. killall -9 asterisk or killall -9 safe_asterisk, whichever you
> are using.
>> >
>> > In my experience, you don't need to do this step.  In fact, you can
>> > keep the old asterisk running, compile and install asterisk 1.4 on
>> > top of it.  Then issue a "restart when convenient" command from the
>> > asterisk 1.2 prompt, and Asterisk 1.4 will come up after the
> restart.
>>
>> The problem with this is that the upgraded Zaptel will not be active.
>> Compile and install Zaptel, LibPRI and Asterisk (in the order), then
>> stop asterisk, unload the zaptel drivers, then load everything.
>
> I've found that you don't really need to do a full stop of asterisk
> either.  Just compile and install both zaptel and asterisk.  Issue the
> "restart when convenient", and after asterisk restarts, then restart
> zaptel (unload old version and load new version).
>
>
> - Noah
>
> ___
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> This E-mail, including any attachments, may be intended solely for
> the personal and confidential use of the sender and recipient(s) named
> above. This message may include advisory, consultative and/or
> deliberative material and, as such, would be privileged and confidential
> and not a public document. Pursuant to 42 CFR, any information in this
> e-mail identifying a former, present, or potential client of Straight & 
> Narrow is confidential. If you have received this e-mail in error, you 
> must not review, transmit, convert to hard copy, copy, use or disseminate 
> this e-mail or any attachments to it and you must delete this message. You 
> are requested to notify the sender by return e-mail.
>
>
> ___
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 



___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] Upgrade Procedure

2007-07-23 Thread Michael J. Liberatore
I noticed in 1.4.x I can no longer use n+101 ?  I use this all over my
dial plan and wouldn't even know how to replace it.  Like when trying to
call out and a channel is busy, would I need to do all if then's???  How
can I upgrade and keep n+101? 

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Noah
Miller
Sent: Monday, July 23, 2007 3:53 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Upgrade Procedure

> >> You have to first uninstall your Asterisk1.2 like this--
> >>
> >> First you have to stop your asterisk...using--
> >>
> >> 1. killall -9 asterisk or killall -9 safe_asterisk, whichever you
are using.
> >
> > In my experience, you don't need to do this step.  In fact, you can 
> > keep the old asterisk running, compile and install asterisk 1.4 on 
> > top of it.  Then issue a "restart when convenient" command from the 
> > asterisk 1.2 prompt, and Asterisk 1.4 will come up after the
restart.
>
> The problem with this is that the upgraded Zaptel will not be active.
> Compile and install Zaptel, LibPRI and Asterisk (in the order), then 
> stop asterisk, unload the zaptel drivers, then load everything.

I've found that you don't really need to do a full stop of asterisk
either.  Just compile and install both zaptel and asterisk.  Issue the
"restart when convenient", and after asterisk restarts, then restart
zaptel (unload old version and load new version).


- Noah

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


This E-mail, including any attachments, may be intended solely for 
the personal and confidential use of the sender and recipient(s) named 
above. This message may include advisory, consultative and/or 
deliberative material and, as such, would be privileged and confidential 
and not a public document. Pursuant to 42 CFR, any information in this 
e-mail identifying a former, present, or potential client of Straight & Narrow 
is confidential. If you have received this e-mail in error, you must not 
review, transmit, convert to hard copy, copy, use or disseminate this e-mail or 
any attachments to it and you must delete this message. You are requested to 
notify the sender by return e-mail.


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] Upgrade Procedure

2007-07-23 Thread Noah Miller
> >> You have to first uninstall your Asterisk1.2 like this--
> >>
> >> First you have to stop your asterisk...using--
> >>
> >> 1. killall -9 asterisk or killall -9 safe_asterisk, whichever you are 
> >> using.
> >
> > In my experience, you don't need to do this step.  In fact, you can
> > keep the old asterisk running, compile and install asterisk 1.4 on top
> > of it.  Then issue a "restart when convenient" command from the
> > asterisk 1.2 prompt, and Asterisk 1.4 will come up after the restart.
>
> The problem with this is that the upgraded Zaptel will not be active.
> Compile and install Zaptel, LibPRI and Asterisk (in the order), then
> stop asterisk, unload the zaptel drivers, then load everything.

I've found that you don't really need to do a full stop of asterisk
either.  Just compile and install both zaptel and asterisk.  Issue the
"restart when convenient", and after asterisk restarts, then restart
zaptel (unload old version and load new version).


- Noah

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] Upgrade Procedure

2007-07-21 Thread Eric \"ManxPower\" Wieling
Noah Miller wrote:
>> You have to first uninstall your Asterisk1.2 like this--
>>
>> First you have to stop your asterisk...using--
>>
>> 1. killall -9 asterisk or killall -9 safe_asterisk, whichever you are using.
> 
> In my experience, you don't need to do this step.  In fact, you can
> keep the old asterisk running, compile and install asterisk 1.4 on top
> of it.  Then issue a "restart when convenient" command from the
> asterisk 1.2 prompt, and Asterisk 1.4 will come up after the restart.

The problem with this is that the upgraded Zaptel will not be active. 
Compile and install Zaptel, LibPRI and Asterisk (in the order), then 
stop asterisk, unload the zaptel drivers, then load everything.

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] Upgrade Procedure

2007-07-20 Thread Noah Miller
> You have to first uninstall your Asterisk1.2 like this--
>
> First you have to stop your asterisk...using--
>
> 1. killall -9 asterisk or killall -9 safe_asterisk, whichever you are using.

In my experience, you don't need to do this step.  In fact, you can
keep the old asterisk running, compile and install asterisk 1.4 on top
of it.  Then issue a "restart when convenient" command from the
asterisk 1.2 prompt, and Asterisk 1.4 will come up after the restart.


- Noah

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] Upgrade Procedure

2007-07-20 Thread Keshav K.
You have to first uninstall your Asterisk1.2 like this--

First you have to stop your asterisk...using--

1. killall -9 asterisk or killall -9 safe_asterisk, whichever you are using.

2. After that you have to remove the zaptel driver.
For that just run this command and see which are running--

# lsmod | grep zaptel
this will show few outputs like this--

zaptel213028  4 zttranscode,ztdummy
crc_ccitt   2113  1 zaptel

Remove all this as ..

modprobe -r zaptel
modprobe -r zttranscode
.
.
.
.

After removing all, again run  lsmod | grep zaptel,  and you will see nothing.

then make clean , all the packages, asterisk, zaptel, and libpri.

Then delete the following files, and directory
1. /etc/zapata.conf
2. /etc/asterisk
3./var/lib/asterisk
4./usr/lib/asterisk
5./var/spool/asterisk
6./var/log/asterisk

3. After that install your new Asterisk 1.4

first install zaptel

./configure
make menuselect  (optional)
make
make install

then 
Install libpri--

make
make install

In last install Asterisk package--

./configure
make menuselect (optional)
make
make install
make samples

Then start your asterisk , i way you like to it
asterisk, or asterisk -g,  or sage_asterisk, or asterisk -vvvc, use any of 
these , of your choice.

Regards,
Keshav







Nitesh Divecha <[EMAIL PROTECTED]> wrote: Hello All,

I would like to upgrade my recently installed Asterisk 1.2.21.1 to 
Asterisk 1.4.8?

My OS is CentOS 4.5 with Linux 2.6.9-55.0.2.plus.c4smp #1 SMP Fri Jul 6 
05:25:07 EDT 2007 i686 i686 i386 GNU/Linux

Is there any detail step by step procedure to uninstall the current 
version and install Asterisk 1.4.8, Zaptel 1.4.4, Libpri 1.4.1, Addons 
1.4.2?

Cheers,
Nitesh


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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



Regards,
Kesh
" Lets change the future...lets change the world."

   
-
Need a vacation? Get great deals to amazing places on Yahoo! Travel. ___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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

Re: [asterisk-users] Upgrade Procedure

2007-07-19 Thread Jared Smith
On Thu, 2007-07-19 at 12:15 -0400, Nitesh Divecha wrote:
> Does the same procedure works for updating Zaptel, Libpri, and 
> Asterisks-Addons?

Yes, you should be able to install the new version over top of the old
version without any problems.

-- 
Jared Smith
Community Relations Manager
Digium, Inc.

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] Upgrade Procedure

2007-07-19 Thread Nitesh Divecha
Thanks Jared,

Does the same procedure works for updating Zaptel, Libpri, and Asterisks-Addons?

Cheers,
Nitesh




Jared Smith wrote:
> On Thu, 2007-07-19 at 10:53 -0400, Nitesh Divecha wrote:
>   
>> But is it possible to upgrade from Asterisk 1.2 to Asterisk 1.4?
>> I went over the UPGRADE.txt but it didn't explain much about 
>> uninstalling the old version and then install a new version.
>> 
>
> For the most part, you should simply be able to install Asterisk 1.4 on
> top of Asterisk 1.2.  The one place this won't work to well is with the
> Asterisk modules (usually located in /usr/lib/asterisk/modules).  I
> typically move those modules to a new location, then install Asterisk
> 1.4 over the top of Asterisk 1.2, and change my configuration files to
> match the new Asterisk 1.4 settings.
>
> Another common problem is that a couple of new items have been added to
> asterisk.conf, so I typically renamed asterisk.conf before installing
> 1.4, so that I get the new version of asterisk.conf as well.
>
>   


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] Upgrade Procedure

2007-07-19 Thread Jared Smith
On Thu, 2007-07-19 at 10:53 -0400, Nitesh Divecha wrote:
> But is it possible to upgrade from Asterisk 1.2 to Asterisk 1.4?
> I went over the UPGRADE.txt but it didn't explain much about 
> uninstalling the old version and then install a new version.

For the most part, you should simply be able to install Asterisk 1.4 on
top of Asterisk 1.2.  The one place this won't work to well is with the
Asterisk modules (usually located in /usr/lib/asterisk/modules).  I
typically move those modules to a new location, then install Asterisk
1.4 over the top of Asterisk 1.2, and change my configuration files to
match the new Asterisk 1.4 settings.

Another common problem is that a couple of new items have been added to
asterisk.conf, so I typically renamed asterisk.conf before installing
1.4, so that I get the new version of asterisk.conf as well.

-- 
Jared Smith
Community Relations Manager
Digium, Inc.

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] Upgrade Procedure

2007-07-19 Thread Nitesh Divecha
Thanks Yusuf,

But is it possible to upgrade from Asterisk 1.2 to Asterisk 1.4?
I went over the UPGRADE.txt but it didn't explain much about 
uninstalling the old version and then install a new version.

Cheers,
Nitesh


Yusuf wrote:
> X-ECN Telecoms-MailScanner-Information: Please contact ECN Telecoms for more 
> information
> X-ECN Telecoms-MailScanner: Found to be clean
> X-ECN Telecoms-MailScanner-From: [EMAIL PROTECTED]
> X-Spam-Status: No
>
> Nitesh Divecha wrote:
>   
>> Hello All,
>>
>> I would like to upgrade my recently installed Asterisk 1.2.21.1 to 
>> Asterisk 1.4.8?
>>
>> My OS is CentOS 4.5 with Linux 2.6.9-55.0.2.plus.c4smp #1 SMP Fri Jul 6 
>> 05:25:07 EDT 2007 i686 i686 i386 GNU/Linux
>>
>> Is there any detail step by step procedure to uninstall the current 
>> version and install Asterisk 1.4.8, Zaptel 1.4.4, Libpri 1.4.1, Addons 
>> 1.4.2?
>>
>> Cheers,
>> Nitesh
>> 
>
>
> Hi,
>
> there is an UPGRADE.txt file in each folder of asterisk, zaptel, etc.
> You now need to './configure' before 'make'.  Also check out 'make 
> menuselect' to select 
> which modules you need or don't.  Please check out the default configs first, 
> look in 
> asterisk-1.4.8/configs/
>
>
>
>   


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] Upgrade Procedure

2007-07-19 Thread Yusuf
X-ECN Telecoms-MailScanner-Information: Please contact ECN Telecoms for more 
information
X-ECN Telecoms-MailScanner: Found to be clean
X-ECN Telecoms-MailScanner-From: [EMAIL PROTECTED]
X-Spam-Status: No

Nitesh Divecha wrote:
> Hello All,
> 
> I would like to upgrade my recently installed Asterisk 1.2.21.1 to 
> Asterisk 1.4.8?
> 
> My OS is CentOS 4.5 with Linux 2.6.9-55.0.2.plus.c4smp #1 SMP Fri Jul 6 
> 05:25:07 EDT 2007 i686 i686 i386 GNU/Linux
> 
> Is there any detail step by step procedure to uninstall the current 
> version and install Asterisk 1.4.8, Zaptel 1.4.4, Libpri 1.4.1, Addons 
> 1.4.2?
> 
> Cheers,
> Nitesh


Hi,

there is an UPGRADE.txt file in each folder of asterisk, zaptel, etc.
You now need to './configure' before 'make'.  Also check out 'make menuselect' 
to select 
which modules you need or don't.  Please check out the default configs first, 
look in 
asterisk-1.4.8/configs/



-- 

thanks,
Yusuf

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


[asterisk-users] Upgrade Procedure

2007-07-19 Thread Nitesh Divecha
Hello All,

I would like to upgrade my recently installed Asterisk 1.2.21.1 to 
Asterisk 1.4.8?

My OS is CentOS 4.5 with Linux 2.6.9-55.0.2.plus.c4smp #1 SMP Fri Jul 6 
05:25:07 EDT 2007 i686 i686 i386 GNU/Linux

Is there any detail step by step procedure to uninstall the current 
version and install Asterisk 1.4.8, Zaptel 1.4.4, Libpri 1.4.1, Addons 
1.4.2?

Cheers,
Nitesh


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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