Re: [asterisk-users] realtime sip peers : musiconhold class

2010-08-14 Thread Jonas Kellens

I have another file that reads :

[r...@asterisk ]# file intro\ extended\ version.wav
intro extended version.wav: RIFF (little-endian) data, WAVE audio, 
Microsoft PCM, 16 bit, stereo 44100 Hz


With the same result :

[r...@asterisk ]# asterisk -rx file convert 
/var/lib/asterisk/moh/test/intro\ extended\ version.wav 
/var/lib/asterisk/moh/test/testing.alaw
Unable to open input file: /var/lib/asterisk/moh/test/intro extended 
version.wav



Jonas.


On 08/13/2010 01:49 PM, Gareth Blades wrote:

The wav file is not in the correct format. Also the number of channels
and sampling frequency it is reporting is complete nonsense. This is
what it should display:-
RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz
-- 
_
-- 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 on AMD

2010-08-14 Thread Kevin P. Fleming
On 08/13/2010 03:48 PM, Lyle McKarns wrote:
 Mostly I was wondering if there are any reasons I cannot 
 1) Use and AMD board and 
 2) Run a mixed Intel/AMD enviroment

What is a 'mixed Intel/AMD environment'? It's not possible to have both
Intel and AMD processors in the same system.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kflem...@digium.com
Check us out at www.digium.com  www.asterisk.org

-- 
_
-- 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] realtime sip peers : musiconhold class

2010-08-14 Thread Motiejus Jakštys
On Sat, Aug 14, 2010 at 4:24 PM, Jonas Kellens jonas.kell...@telenet.be
wrote:

 intro extended version.wav: RIFF (little-endian) data, WAVE audio,
Microsoft
 PCM, 16 bit, stereo 44100 Hz


You need *MONO, 8000Hz*

$ man sox

--
Motiejus Jakštys
-- 
_
-- 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 on AMD

2010-08-14 Thread Lyle McKarns
By a mixed environment I mean some Asterisk servers running on AMD and some 
running on Intel 

Thanks,
Lyle J. McKarns
---
Networking/Linux Engineering Team
n|m Nexus Management
4 Industrial Parkway
Suite 101
Brunswick, Maine 04011
 
Tel (USA)   : 1 207 319 1105
Tel (UK)  : 0207 100 4968
Fax: 1 207 725 8552
Nexus Management, Inc.│ Registered Office:  4 Industrial Parkway, Suite 101, 
Brunswick, Maine.  04011│Company No. 19891257D, Registered in Maine│ A member 
of the Nexus Management Plc group of companies


-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Kevin P. Fleming
Sent: Saturday, August 14, 2010 10:27 AM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Asterisk on AMD

On 08/13/2010 03:48 PM, Lyle McKarns wrote:
 Mostly I was wondering if there are any reasons I cannot
 1) Use and AMD board and
 2) Run a mixed Intel/AMD enviroment

What is a 'mixed Intel/AMD environment'? It's not possible to have both Intel 
and AMD processors in the same system.

--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kflem...@digium.com Check us out at www.digium.com  
www.asterisk.org

--
_
-- 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] Asterisk on AMD

2010-08-14 Thread Kyle Kienapfel
On Sat, Aug 14, 2010 at 7:33 AM, Lyle McKarns
lyle.mcka...@nexusmgmt.com wrote:
 By a mixed environment I mean some Asterisk servers running on AMD and some
 running on Intel

 Thanks,
 Lyle J. McKarns
 ---
 Networking/Linux Engineering Team
 n|m Nexus Management
 4 Industrial Parkway
 Suite 101
 Brunswick, Maine 04011

 Tel (USA)   : 1 207 319 1105
 Tel (UK)  : 0207 100 4968
 Fax: 1 207 725 8552
 Nexus Management, Inc.│ Registered Office:  4 Industrial Parkway, Suite 101,
 Brunswick, Maine.  04011│Company No. 19891257D, Registered in Maine│ A
 member of the Nexus Management Plc group of companies


 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Kevin P.
 Fleming
 Sent: Saturday, August 14, 2010 10:27 AM
 To: asterisk-users@lists.digium.com
 Subject: Re: [asterisk-users] Asterisk on AMD

 On 08/13/2010 03:48 PM, Lyle McKarns wrote:
 Mostly I was wondering if there are any reasons I cannot
 1) Use and AMD board and
 2) Run a mixed Intel/AMD enviroment

 What is a 'mixed Intel/AMD environment'? It's not possible to have both
 Intel and AMD processors in the same system.

 --
 Kevin P. Fleming
 Digium, Inc. | Director of Software Technologies
 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
 skype: kpfleming | jabber: kflem...@digium.com Check us out at
 www.digium.com  www.asterisk.org

 --
 _
 -- 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

I'm not quite clear why that'd be a problem, if you want to use the
same binaries with amd/intel don't go to the trouble to compile
optimized for one or the other.

-- 
_
-- 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 on AMD

2010-08-14 Thread Kevin P. Fleming
On 08/14/2010 09:33 AM, Lyle McKarns wrote:
 By a mixed environment I mean some Asterisk servers running on AMD and some 
 running on Intel 

If it was possible for that to matter, then the software would be very
poorly written indeed. As another poster said, the only way that would
have any effect is if you compiled binaries specifically for one family
of processors and used them on the other. As far as how the software
operates, by definition the processor type/family does not matter at all.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kflem...@digium.com
Check us out at www.digium.com  www.asterisk.org

-- 
_
-- 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 on AMD

2010-08-14 Thread Philipp von Klitzing
Hi!

  By a mixed environment I mean some Asterisk servers running on AMD and
  some running on Intel 
 
 If it was possible for that to matter, then the software would be very
 poorly written indeed. As another poster said, the only way that would
 have any effect is if you compiled binaries specifically for one family of
 processors and used them on the other. As far as how the software
 operates, by definition the processor type/family does not matter at all.

Quite some time ago there was a difference in how the GSM codec was 
handled on AMD K6/Athlon systems, but that did not matter greatly, and it 
was just a tiny little optimisation setting in the Makefile so gain a 
little more speed.

Philipp


-- 
_
-- 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 on AMD

2010-08-14 Thread Kevin P. Fleming
On 08/14/2010 12:59 PM, Philipp von Klitzing wrote:
 Hi!
 
 By a mixed environment I mean some Asterisk servers running on AMD and
 some running on Intel 

 If it was possible for that to matter, then the software would be very
 poorly written indeed. As another poster said, the only way that would
 have any effect is if you compiled binaries specifically for one family of
 processors and used them on the other. As far as how the software
 operates, by definition the processor type/family does not matter at all.
 
 Quite some time ago there was a difference in how the GSM codec was 
 handled on AMD K6/Athlon systems, but that did not matter greatly, and it 
 was just a tiny little optimisation setting in the Makefile so gain a 
 little more speed.

But it did not produce different output nor accept different input; it
wouldn't have mattered if an Intel-based system was talking to an
AMD-based system, because the data *outside* the system was the same.
That was my point. There are many CPU family-specific optimizations that
can be used for various parts of Asterisk, but in the end they don't
affect how Asterisk operates, only the speed at which it does so.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kflem...@digium.com
Check us out at www.digium.com  www.asterisk.org

-- 
_
-- 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] install asterisk

2010-08-14 Thread Benny Amorsen
Alan Lord (News) alansli...@gmail.com writes:

 Fedora is *not* a server operating system and not one I would choose to 
 run asterisk on.

Fedora is an excellent server operating system. I manage more than a
thousand installs if you count virtual ones.

 I would recommend using either CentOS or a Debian/Ubuntu Server build 
 without X11 and all the other cruft that comes with a Desktop OS - which 
 is what Fedora is.

No one forces you to install X11 on Fedora.


/Benny


-- 
_
-- 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] BLF/Call Pickup using SPA942, SPA962, SPA932

2010-08-14 Thread Cassius Smith
Hi all,
There are a lot of posts around the web about my question; unfortunately
I have not been able to get any of the solutions to work. I'm using
Asterisk 1.6.2.8 under CentOS 5.5. I'm trying to get call pickup working
for the secretaries that monitor their bosses' phones. 

The BLF and the speed dial works great on the Linksys phones. Call
pickup is the problem.

My features.conf has *8 as the pickupexten in features.conf. 

On the SPA's the extended function is:
fnc=blf+sd+cp;sub=...@$proxy;ext=...@$proxy

the SPA932 Call Pickup Code: field is set to *8.

I ring the extension; the lamp flashes on the shared line on the SPA,
just like it should. When I press the flashing lamp, the CLI gives me:

Notice [1328] Nothing to pick up for baf8bc-e23bc...@192.168.1.39 

note: (this is the ip address of the SPA-942 in this case)
then
Got SIP response 603 Decline back from 192.168.1.47 
note: (this is the ringing extension, in this case a Polycom 330).

I have tried different pickup codes, and some web pages say to add a #
at the end of the call pickup code. When I do that, the CLI says

Notice [1328] Call from '602' to extension '**600' rejected because
extension not found

So - how to resolve this? Do I need dialplan code to handle this? I get
the clue from nothing to pickup for blah blah that I'm close but may
be missing something simple.

Thanks all

Cassius



-- 
_
-- 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] BLF/Call Pickup using SPA942, SPA962, SPA932

2010-08-14 Thread Ron
hi,

just taking a wild guess here, are the extensions set to be in the same 
pickupgroup?

regards
ron

On 8/15/10 7:01 AM, Cassius Smith wrote:
 Hi all,
 There are a lot of posts around the web about my question; unfortunately
 I have not been able to get any of the solutions to work. I'm using
 Asterisk 1.6.2.8 under CentOS 5.5. I'm trying to get call pickup working
 for the secretaries that monitor their bosses' phones.

 The BLF and the speed dial works great on the Linksys phones. Call
 pickup is the problem.

 My features.conf has *8 as the pickupexten in features.conf.

 On the SPA's the extended function is:
 fnc=blf+sd+cp;sub=...@$proxy;ext=...@$proxy

 the SPA932 Call Pickup Code: field is set to *8.

 I ring the extension; the lamp flashes on the shared line on the SPA,
 just like it should. When I press the flashing lamp, the CLI gives me:

 Notice [1328] Nothing to pick up for baf8bc-e23bc...@192.168.1.39

 note: (this is the ip address of the SPA-942 in this case)
 then
 Got SIP response 603 Decline back from 192.168.1.47
 note: (this is the ringing extension, in this case a Polycom 330).

 I have tried different pickup codes, and some web pages say to add a #
 at the end of the call pickup code. When I do that, the CLI says

 Notice [1328] Call from '602' to extension '**600' rejected because
 extension not found

 So - how to resolve this? Do I need dialplan code to handle this? I get
 the clue from nothing to pickup for blah blah that I'm close but may
 be missing something simple.

 Thanks all

 Cassius




-- 
_
-- 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] BLF/Call Pickup using SPA942, SPA962, SPA932

2010-08-14 Thread Cassius Smith
Yes, all set to same pickup group.
Here is sip.conf setup (all ext's are similarly configured):
[600]
type=friend
mailbox=...@default
context=users
pickupgroup=1
host=dynamic
secret=***

-Original Message-
From: Ron nha...@gmail.com
Reply-to: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] BLF/Call Pickup using SPA942, SPA962,
SPA932
Date: Sun, 15 Aug 2010 07:29:11 +0800

hi,

just taking a wild guess here, are the extensions set to be in the same 
pickupgroup?

regards
ron

On 8/15/10 7:01 AM, Cassius Smith wrote:
 Hi all,
 There are a lot of posts around the web about my question; unfortunately
 I have not been able to get any of the solutions to work. I'm using
 Asterisk 1.6.2.8 under CentOS 5.5. I'm trying to get call pickup working
 for the secretaries that monitor their bosses' phones.

 The BLF and the speed dial works great on the Linksys phones. Call
 pickup is the problem.

 My features.conf has *8 as the pickupexten in features.conf.

 On the SPA's the extended function is:
 fnc=blf+sd+cp;sub=...@$proxy;ext=...@$proxy

 the SPA932 Call Pickup Code: field is set to *8.

 I ring the extension; the lamp flashes on the shared line on the SPA,
 just like it should. When I press the flashing lamp, the CLI gives me:

 Notice [1328] Nothing to pick up for baf8bc-e23bc...@192.168.1.39

 note: (this is the ip address of the SPA-942 in this case)
 then
 Got SIP response 603 Decline back from 192.168.1.47
 note: (this is the ringing extension, in this case a Polycom 330).

 I have tried different pickup codes, and some web pages say to add a #
 at the end of the call pickup code. When I do that, the CLI says

 Notice [1328] Call from '602' to extension '**600' rejected because
 extension not found

 So - how to resolve this? Do I need dialplan code to handle this? I get
 the clue from nothing to pickup for blah blah that I'm close but may
 be missing something simple.

 Thanks all

 Cassius







-- 
_
-- 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