[asterisk-users] Ubuntu 12.04 LTS / Asterisk / apt-get upgrade / exclude packages

2014-10-10 Thread Thorsten Göllner
Hi,

I have Asterisk 11 with DAHDI (Sangoma E1-Card) running on Ubuntu 12.04
LTS. Asterisk and DAHDI-Drivers are installed from source.

When doing an "apt-get upgrade" the system packages will be update but
sometimes Asterisk is broken. Which packages do I have to exclude when I
do not have time to recompile Asterisk/Dahdi each time? libc?
Kernel-Packages?

Thanks so far!
-Thorsten-

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Ubuntu 12.04 LTS / Asterisk / apt-get upgrade / exclude packages

2014-10-10 Thread jg



When doing an "apt-get upgrade" the system packages will be update but
sometimes Asterisk is broken.

Can you describe what is broken?

Which packages do I have to exclude when I
do not have time to recompile Asterisk/Dahdi each time? libc?
Kernel-Packages?
The way things are set up is that you have to compile the wanpipe drivers always against the 
current versions of the kernel and DAHDI. You could change that with a pretty high risk of 
breaking things, mainly due to frequent changes in the network related parts of the kernel.


I have never seen something break, except for kernel updates, but my systems are RedHat based. I 
doubt that the Debian based systems are much different as far as interface changes are concerned 
for a certain release. My guess is that you should be fine if you do not execute "apt-get 
dist-upgrade".


jg

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] Ubuntu 12.04 LTS / Asterisk / apt-get upgrade / exclude packages

2014-10-10 Thread A J Stiles
On Friday 10 Oct 2014, Thorsten Göllner wrote:
> Hi,
> 
> I have Asterisk 11 with DAHDI (Sangoma E1-Card) running on Ubuntu 12.04
> LTS. Asterisk and DAHDI-Drivers are installed from source.
> 
> When doing an "apt-get upgrade" the system packages will be update but
> sometimes Asterisk is broken. Which packages do I have to exclude when I
> do not have time to recompile Asterisk/Dahdi each time? libc?
> Kernel-Packages?
> 
> Thanks so far!
> -Thorsten-

DAHDI is basically a set of kernel modules, which *by design* work only with 
the exact kernel for which they were compiled; so avoid any upgrade to the 
kernel if you don't have time to rebuild DAHDI.

C library changes potentially could require anything to be recompiled; but in 
practice almost invariably don't, precisely because of how much breakage would 
potentially be caused.  If a C library update requires recompilation of other 
packages then either there has been a Flag Day  (and not the sort where mean 
people stay indoors!)  or you're running Gentoo.

I believe there is a way in Debian, and therefore probably Ubuntu, to have 
some script execute automatically following a kernel update.  So you might 
even be able to have DAHDI self-rebuild following a kernel update.

-- 
AJS

Note:  Originating address only accepts e-mail from list!  If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Asterisk Phone ( Telecom feature )

2014-10-10 Thread Mitul Limbani
Hey Danni,

Having whale client means you ought to ask for paid consulting in first
place.

People over here have already told you that Analog phones are not capable
of doing paging.

Also so far you haven't indicated what model n which asterisk system your
client has. These are the most crucial elements to get desired answers. Do
some of these work before asking for help here (we all term these as
homework ) or have a paid consultant who would do the needful.

Hope this should set the tone right.

Mitul
On 08-Oct-2014 10:48 PM, "Dania Asi"  wrote:

> Dear Mr. Adam,
>
>
>
> Thank you for you kind words and for judging me.
>
>
>
> I am a system integrator and I have a whale clients in UAE , I will not
> proceed further in dealing with Asterisk because of the lack of support and
> because of the rude emails.
>
>
>
> I have no idea what is wrong with you people. And I hope you get well soon
> from whatever is happening to you.
>
>
>
>
>
> *Best Wishes,*
>
>
>
> *Dania Abu Asi*
>
> Sales Executive Engineer
>
> [image: Description: cid:image002.png@01CE734B.028FC100]
>
> *Future Trends Establishment*
>
> Abu Dhabi - U.A.E.
>
> Mob : +971 50 4948363
>
> Off : +971 2 6730666
>
> Fax : +971 2 6734888
>
>
>
> *From:* Adam Goldberg [mailto:a...@agp-llc.com]
> *Sent:* Tuesday, October 7, 2014 8:51 PM
> *To:* Dania Asi
> *Subject:* FW: [asterisk-users] Asterisk Phone ( Telecom feature )
>
>
>
> I suggest that your question amounts to "please do my homework for me."
> This may be understandable given that you are a recent grad and probably
> don't have much experience in business communication and/or Asterisk
> complexities.
>
>
>
> You cannot expect a mailing list to rush to answer vague, unanswerable
> questions -- nor emails that don't show that you've tried to answer the
> question first.
>
>
>
> Consider, if I asked:
>
>
>
> "I don't understand how to set up Asterisk.  Can someone
> tell me how to do that?"
>
> vs.
>
>
>
> "I have a Dell R210-II with 32g of memory and two gigabit ethernet
> interfaces, I've installed Asterisk from the FreePBX Distro v9.99 and have
> an assortment of Polycom and Snom IP phones.  I've configured paging as
> described in http://wiki.snom.com/Interoperability/PBX/Asterisk and
> http://www.voip-info.org/wiki/view/Asterisk+cmd+Page, and it is working
> for the Snom phones but not the Polycom phones.  Can someone point me at
> what it's going to take to make the Polycom phones work?"
>
>
>
> I’d expect to get attempts at an answer to the second one, but would
> expect snide and rude comments (at best) to the first one.
>
>
>
> Adam Goldberg
>
> AGP, LLC
>
> +1-202-507-9900
>
>
>
> -Original Message-
> From: asterisk-users-boun...@lists.digium.com [
> mailto:asterisk-users-boun...@lists.digium.com
> ] On Behalf Of Don Kelly
> Sent: Tuesday, October 07, 2014 9:38 AM
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Subject: Re: [asterisk-users] Asterisk Phone ( Telecom feature )
>
>
>
> JG confirmed that "it" is possible, but "it" has not been defined.
>
>
>
> Without knowing what kind of instruments you are using, a possible "it"
>
> would be for a party to dial a 4-digit extension number to talk to someone
> internally, completing a call without using the PRI trunks.
>
>
>
>   --Don
>
>
>
> -Original Message-
>
> From: asterisk-users-boun...@lists.digium.com
>
> [mailto:asterisk-users-boun...@lists.digium.com
> ] On Behalf Of Dania Asi
>
> Sent: Tuesday, October 07, 2014 3:41 AM
>
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
>
> Cc: 'Irene Galera'; 'Maysara Orabi'; moham...@futuretrendsest.com
>
> Subject: Re: [asterisk-users] Asterisk Phone ( Telecom feature )
>
>
>
> Dear Mr. Mitual,
>
>
>
> Kindly check the attached mail where Mr. JG confirmed to me that is
> possible and I already informed my client of that.
>
>
>
>
>
> Dear Mr. Steve,
>
>
>
> I am not expecting a mailing list to do any work for me. All I was asking
> is for you to guide me because this is the first time we deal with Asterisk
> phones.
>
>
>
>
>
> Best Wishes,
>
>
>
> Dania Abu Asi
>
> Sales Executive Engineer
>
>
>
> Future Trends Establishment
>
> Abu Dhabi - U.A.E.
>
> Mob : +971 50 4948363
>
> Off : +971 2 6730666
>
> Fax : +971 2 6734888
>
>
>
> -Original Message-
>
> From: asterisk-users-boun...@lists.digium.com
>
> [mailto:asterisk-users-boun...@lists.digium.com
> ] On Behalf Of Steven Howes
>
> Sent: Tuesday, October 7, 2014 12:34 PM
>
> To: Asterisk Users Mailing List - Non-Commercial Discussion
>
> Cc: Irene Galera; Maysara Orabi; moham...@futuretrendsest.com
>
> Subject: Re: [asterisk-users] Asterisk Phone ( Telecom feature )
>
>
>
> On 7 Oct 2014, at 09:24, Dania Asi  wrote:
>
> > Kindly note that I asked about the capability of the phones and now I
>
> > am asking about the way I can do it to my client's phones, because he
>
> > is asking for a demonstration.
>
>
>
> Yet you've not even told us the phones in use. You can't just ex

asterisk-users@lists.digium.com

2014-10-10 Thread Marek Cervenka

hi.

i have dialplan with 2 simultaneous calls - dial(sip/phone1&sip/phone2).

when i cancel call on phone1 (push "reject" button), the call is still 
ringing on phone2


can i cancel call on both phones from one place(one phone)?
thanks

--
---
Marek Cervenka
===


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] Ubuntu 12.04 LTS / Asterisk / apt-get upgrade / exclude packages

2014-10-10 Thread Linus Wiklund
On Ubuntu I've made an ugly shell script and put it
in /etc/kernel/postinst.d/

This is the script:

#!/bin/bash
#Kernel version being installed is param 1
kernel_installing=$1
cd /usr/src/dahdi
KVERS=$kernel_installing make
KVERS=$kernel_installing make install

You'll also need to reboot the system.



On Fri, Oct 10, 2014 at 2:55 PM, A J Stiles 
wrote:

> On Friday 10 Oct 2014, Thorsten Göllner wrote:
> > Hi,
> >
> > I have Asterisk 11 with DAHDI (Sangoma E1-Card) running on Ubuntu 12.04
> > LTS. Asterisk and DAHDI-Drivers are installed from source.
> >
> > When doing an "apt-get upgrade" the system packages will be update but
> > sometimes Asterisk is broken. Which packages do I have to exclude when I
> > do not have time to recompile Asterisk/Dahdi each time? libc?
> > Kernel-Packages?
> >
> > Thanks so far!
> > -Thorsten-
>
> DAHDI is basically a set of kernel modules, which *by design* work only
> with
> the exact kernel for which they were compiled; so avoid any upgrade to the
> kernel if you don't have time to rebuild DAHDI.
>
> C library changes potentially could require anything to be recompiled; but
> in
> practice almost invariably don't, precisely because of how much breakage
> would
> potentially be caused.  If a C library update requires recompilation of
> other
> packages then either there has been a Flag Day  (and not the sort where
> mean
> people stay indoors!)  or you're running Gentoo.
>
> I believe there is a way in Debian, and therefore probably Ubuntu, to have
> some script execute automatically following a kernel update.  So you might
> even be able to have DAHDI self-rebuild following a kernel update.
>
> --
> AJS
>
> Note:  Originating address only accepts e-mail from list!  If replying off-
> list, change address to asterisk1list at earthshod dot co dot uk .
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>http://www.asterisk.org/hello
>
> 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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Ubuntu 12.04 LTS / Asterisk / apt-get upgrade / exclude packages

2014-10-10 Thread Ethy H. Brito
On Fri, 10 Oct 2014 13:11:10 +0200
jg  wrote:

> 
> > When doing an "apt-get upgrade" the system packages will be update but
> > sometimes Asterisk is broken.
> Can you describe what is broken?

Hi jg and All.

I will go in this flow and say I reported a similar bug at Launchpad and I got
no answers up to this moment. Please see:

https://bugs.launchpad.net/bugs/1338578

Every kernel upgrade is a nightmare here!

Who can help us?

Regards

Ethy



> > Which packages do I have to exclude when I
> > do not have time to recompile Asterisk/Dahdi each time? libc?
> > Kernel-Packages?
> The way things are set up is that you have to compile the wanpipe drivers
> always against the current versions of the kernel and DAHDI. You could change
> that with a pretty high risk of breaking things, mainly due to frequent
> changes in the network related parts of the kernel.
> 
> I have never seen something break, except for kernel updates, but my systems
> are RedHat based. I doubt that the Debian based systems are much different as
> far as interface changes are concerned for a certain release. My guess is
> that you should be fine if you do not execute "apt-get dist-upgrade".
> 
> jg
> 
> -- 
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users


-- 

Ethy H. Brito /"\
InterNexo Ltda.   \ /  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
+55 (12) 3797-6860 X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
S.J.Campos - Brasil   / \ 
 
PGP key: http://www.inexo.com.br/~ethy/0xC3F222A0.asc

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Ubuntu 12.04 LTS / Asterisk / apt-get upgrade / exclude packages

2014-10-10 Thread jg



I believe there is a way in Debian, and therefore probably Ubuntu, to have
some script execute automatically following a kernel update.  So you might
even be able to have DAHDI self-rebuild following a kernel update.

I went back to do everything by hand, if necessary. Thorsten and other Wanpipe users need to 
synchronize DAHDI, the kernel, and the Wanpipe drivers. I don't use Asterisk modules that depend 
too much on the distro or kernel version, but other setups might have more dependencies.


Essentially you can do a kernel update only if the Wanpipe drivers are consistent with the DAHDI 
and kernel versions and  DAHDI works only if the kernel doesn't object, which happens once in a 
while. The wanpipe drivers rarely (=never) work with the most recent kernels, so running a 
production machine with the latest beta Fedora or Ubuntu, is something for extreme athletes.


jg

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] Asterisk Phone ( Telecom feature )

2014-10-10 Thread Steve Edwards

Please don't top-post.


On 08-Oct-2014 10:48 PM, "Dania Asi"  wrote:


I am a system integrator and I have a whale clients in UAE , I will not 
proceed further in dealing with Asterisk because of the lack of support 
and because of the rude emails.


On Thu, 9 Oct 2014, Mitul Limbani wrote:


Hey Danni,

Having whale client means you ought to ask for paid consulting in first 
place.


After a couple of off-list exchanges, I suspect (no facts) the situation 
is this:


She was sold an Asterisk system for one of her clients from an 
unscrupulous vendor. When she asked the vendor for support, she was told 
'we' (the mailing list) ARE her support.


Thus, it was not entirely unreasonable for her to assume that the support 
she had paid for would be familiar with her configuration and would be 
eager to provide service since "As vendors you are supposed to be 
interested to expand your business area and as I told you we have a huge 
database of clients that need such products..." (Actual quote.)


I chalk up the 'rude and non-professional' accusations as 'unmet 
expectations' and 'cultural differences.'


Again, no facts in evidence, just my interpretation from the off-list 
exchanges. My apologies in advance if I've misinterpreted the situation.


I've copied the parties to the off-list exchanges in case they would care 
to clarify my assumptions.


--
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


[asterisk-users] Reset calls processed counter

2014-10-10 Thread Michelle Dupuis
When I issue the CLI command 'core show calls' I see how many calls have been 
processed by Asterisk since it started; eg:

0 active calls
198 calls processed

Is there a way to reset the calls processed counter without having to shutdown 
and restart asterisk?
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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