Re: [Astlinux-users] Automon question

2010-04-20 Thread Michael
O.K. I could verify that now. Asterisk 1.4.30 calls "sox -m" to mix the two 
files. That is o.k. with sox >= v13.x . Astlinux still uses a very old sox 
version (v12.17). Here "sox -m" does not exist. Instead soxmix needs to be 
called.

As a workaround "ln -sf /usr/bin/soxmix /usr/bin/sox" works. If this bug is 
remedied in Astlinux one day, simply remove the symlink ("rm 
/oldroot/mnt/astrw/usr/bin/sox").

Cheers

Michael

Michael wrote:

> Hi Darrick
> 
> You are right: There is something borked here.
> 
> If I stop asterisk from mixing (by setting MONITOR_EXEC to /bin/true), I
> get the two files. If I then manually start soxmix, I get a correctly
> mixed file.
> 
> Next I tried to write my own wrapper as soxmix-wrapper to be called via
> MONITOR_EXEC. This also worked (but of course I needed to add M() to any
> Dial command.)
> 
> Finally it just popped up my mind that asterisk might not start soxmix but
> some other program, e.g. sox. So I symlinked sox to soxmix and, voila, it
> is working again.
> 
> So, asterisk uses sox instead of soxmix, which however in this version
> does not support mixing. Only soxmix does.
> 
> Now, with the symlink everything works.
> 
> Thanks for your help.
> 
> Michael
> 
> Darrick Hartman wrote:
> 
>> On 04/20/2010 09:33 AM, Michael wrote:
>>> Hello
>>>
>>> Thanks for the answer.
>>>
>>> However, I am not totally sure, how to do that correctly. (I'm still new
>>> to Asterisk.)
>>>
>>> As there is no automixmon feature in 1.4 it seems I would need to setup
>>> a self defined feature in feature.conf, calling a macro when a special
>>> dtmf key combo is recognized (e.g. *3).
>> 
>> I think that's correct.  I'm using 1.6 on the two systems where I have
>> that enabled.  I've only seen the two legs become catted rather than
>> mixed on one occasion.  I wasn't able to repeat it so I never filed a
>> bug.
>> 
>>> However, if I understand correctly, there is no chance to enable or
>>> disable this feature per call or even sometimes only for the callee and
>>> sometimes for the caller (actually I don't want external people to be
>>> able to inject any commands from outside the company, so only internal
>>> people are allowed to activate or deactivate functions irrespectable
>>> whether they are calling or being called).
>>>
>>> Automon can be selectively enabled with the dial options "w" and "W". Is
>>> there a way to do this also with MixMonitor?
>> 
>> With automixmon it's possible (but as you said, that's only available in
>> Asterisk 1.6).
>> 
>>> Or alternatively, is there a way to otherwise correctly mix the two
>>> recorded in and out streams from automon after recording? It seems that
>>> automon does start some app to concat these streams anyway.
>> 
>> It should be mixing them together correctly after the call.  If you can
>> duplicate the catted audio, it would be worthwhile noting the file
>> format (wav|WAV etc) and any other settings, then opening a bug with
>> Digium.
>> 
>>> Thanks for the help
>>>
>>> Michael
>>>
>>> Darrick Hartman wrote:
>>>
 Use mixmon instead. That records as one file. Monitor records both call
 legs then mixes them together after the call has completed. Sent from
 my BlackBerry® wireless device from U.S. Cellular

 -Original Message-
 From: Michael
 Date: Tue, 20 Apr 2010 12:47:54
 To:
 Subject: [Astlinux-users] Automon question

 Hi

 I'm using astlinux 0.7.1, and so far it is working great.

 I think that isn't perfect at the moment, is that automon generates two
 files (in and out) while recording and then just concatenates these two
 files instead of mixing them.

 I have searched the internet but found nearly nothing about this.
 Anybody has some help for me to get the files mixed instead?

 Thanks

 Michael



>>> 
> 
--
 Download Intel® Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Astlinux-users mailing list
 Astlinux-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/astlinux-users

 Donations to support AstLinux are graciously accepted via PayPal to
 pay...@krisk.org.

>>> 
> 
--
 Download Intel® Parallel Studio Eval Try the new software tools
 for yourself. Speed compiling, find bugs proactively, and fine-tune
 applications for parallel performance. See why Intel Parallel Studio
 got high marks during beta. http://p.sf.net/sfu/intel-sw-dev
>>>
>>>
>>>
>>> 
> 
-

Re: [Astlinux-users] Automon question

2010-04-20 Thread Michael
Hi Darrick

You are right: There is something borked here.

If I stop asterisk from mixing (by setting MONITOR_EXEC to /bin/true), I get 
the two files. If I then manually start soxmix, I get a correctly mixed 
file.

Next I tried to write my own wrapper as soxmix-wrapper to be called via 
MONITOR_EXEC. This also worked (but of course I needed to add M() to any 
Dial command.)

Finally it just popped up my mind that asterisk might not start soxmix but 
some other program, e.g. sox. So I symlinked sox to soxmix and, voila, it is 
working again.

So, asterisk uses sox instead of soxmix, which however in this version does 
not support mixing. Only soxmix does.

Now, with the symlink everything works.

Thanks for your help.

Michael

Darrick Hartman wrote:

> On 04/20/2010 09:33 AM, Michael wrote:
>> Hello
>>
>> Thanks for the answer.
>>
>> However, I am not totally sure, how to do that correctly. (I'm still new
>> to Asterisk.)
>>
>> As there is no automixmon feature in 1.4 it seems I would need to setup a
>> self defined feature in feature.conf, calling a macro when a special dtmf
>> key combo is recognized (e.g. *3).
> 
> I think that's correct.  I'm using 1.6 on the two systems where I have
> that enabled.  I've only seen the two legs become catted rather than
> mixed on one occasion.  I wasn't able to repeat it so I never filed a bug.
> 
>> However, if I understand correctly, there is no chance to enable or
>> disable this feature per call or even sometimes only for the callee and
>> sometimes for the caller (actually I don't want external people to be
>> able to inject any commands from outside the company, so only internal
>> people are allowed to activate or deactivate functions irrespectable
>> whether they are calling or being called).
>>
>> Automon can be selectively enabled with the dial options "w" and "W". Is
>> there a way to do this also with MixMonitor?
> 
> With automixmon it's possible (but as you said, that's only available in
> Asterisk 1.6).
> 
>> Or alternatively, is there a way to otherwise correctly mix the two
>> recorded in and out streams from automon after recording? It seems that
>> automon does start some app to concat these streams anyway.
> 
> It should be mixing them together correctly after the call.  If you can
> duplicate the catted audio, it would be worthwhile noting the file
> format (wav|WAV etc) and any other settings, then opening a bug with
> Digium.
> 
>> Thanks for the help
>>
>> Michael
>>
>> Darrick Hartman wrote:
>>
>>> Use mixmon instead. That records as one file. Monitor records both call
>>> legs then mixes them together after the call has completed. Sent from my
>>> BlackBerry® wireless device from U.S. Cellular
>>>
>>> -Original Message-
>>> From: Michael
>>> Date: Tue, 20 Apr 2010 12:47:54
>>> To:
>>> Subject: [Astlinux-users] Automon question
>>>
>>> Hi
>>>
>>> I'm using astlinux 0.7.1, and so far it is working great.
>>>
>>> I think that isn't perfect at the moment, is that automon generates two
>>> files (in and out) while recording and then just concatenates these two
>>> files instead of mixing them.
>>>
>>> I have searched the internet but found nearly nothing about this.
>>> Anybody has some help for me to get the files mixed instead?
>>>
>>> Thanks
>>>
>>> Michael
>>>
>>>
>>>
>> 
--
>>> Download Intel® Parallel Studio Eval
>>> Try the new software tools for yourself. Speed compiling, find bugs
>>> proactively, and fine-tune applications for parallel performance.
>>> See why Intel Parallel Studio got high marks during beta.
>>> http://p.sf.net/sfu/intel-sw-dev
>>> ___
>>> Astlinux-users mailing list
>>> Astlinux-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>>
>>> Donations to support AstLinux are graciously accepted via PayPal to
>>> pay...@krisk.org.
>>>
>> 
--
>>> Download Intel® Parallel Studio Eval Try the new software tools for
>>> yourself. Speed compiling, find bugs proactively, and fine-tune
>>> applications for parallel performance. See why Intel Parallel Studio got
>>> high marks during beta. http://p.sf.net/sfu/intel-sw-dev
>>
>>
>>
>> 
--
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> ___
>> Astlinux-users mailing list
>> Astlinux-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>
>> Donations to support AstLinux are graciously accepted via PayPal to
>> pay...@krisk.org.
> 
> 



--

Re: [Astlinux-users] Automon question

2010-04-20 Thread Darrick Hartman
On 04/20/2010 09:33 AM, Michael wrote:
> Hello
>
> Thanks for the answer.
>
> However, I am not totally sure, how to do that correctly. (I'm still new to
> Asterisk.)
>
> As there is no automixmon feature in 1.4 it seems I would need to setup a
> self defined feature in feature.conf, calling a macro when a special dtmf
> key combo is recognized (e.g. *3).

I think that's correct.  I'm using 1.6 on the two systems where I have 
that enabled.  I've only seen the two legs become catted rather than 
mixed on one occasion.  I wasn't able to repeat it so I never filed a bug.

> However, if I understand correctly, there is no chance to enable or disable
> this feature per call or even sometimes only for the callee and sometimes
> for the caller (actually I don't want external people to be able to inject
> any commands from outside the company, so only internal people are allowed
> to activate or deactivate functions irrespectable whether they are calling
> or being called).
>
> Automon can be selectively enabled with the dial options "w" and "W". Is
> there a way to do this also with MixMonitor?

With automixmon it's possible (but as you said, that's only available in 
Asterisk 1.6).

> Or alternatively, is there a way to otherwise correctly mix the two recorded
> in and out streams from automon after recording? It seems that automon does
> start some app to concat these streams anyway.

It should be mixing them together correctly after the call.  If you can 
duplicate the catted audio, it would be worthwhile noting the file 
format (wav|WAV etc) and any other settings, then opening a bug with Digium.

> Thanks for the help
>
> Michael
>
> Darrick Hartman wrote:
>
>> Use mixmon instead. That records as one file. Monitor records both call
>> legs then mixes them together after the call has completed. Sent from my
>> BlackBerry® wireless device from U.S. Cellular
>>
>> -Original Message-
>> From: Michael
>> Date: Tue, 20 Apr 2010 12:47:54
>> To:
>> Subject: [Astlinux-users] Automon question
>>
>> Hi
>>
>> I'm using astlinux 0.7.1, and so far it is working great.
>>
>> I think that isn't perfect at the moment, is that automon generates two
>> files (in and out) while recording and then just concatenates these two
>> files instead of mixing them.
>>
>> I have searched the internet but found nearly nothing about this. Anybody
>> has some help for me to get the files mixed instead?
>>
>> Thanks
>>
>> Michael
>>
>>
>>
> --
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> ___
>> Astlinux-users mailing list
>> Astlinux-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>
>> Donations to support AstLinux are graciously accepted via PayPal to
>> pay...@krisk.org.
>>
> --
>> Download Intel® Parallel Studio Eval Try the new software tools for
>> yourself. Speed compiling, find bugs proactively, and fine-tune
>> applications for parallel performance. See why Intel Parallel Studio got
>> high marks during beta. http://p.sf.net/sfu/intel-sw-dev
>
>
>
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.


-- 
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] Automon question

2010-04-20 Thread Michael
Hello

Thanks for the answer.

However, I am not totally sure, how to do that correctly. (I'm still new to 
Asterisk.)

As there is no automixmon feature in 1.4 it seems I would need to setup a 
self defined feature in feature.conf, calling a macro when a special dtmf 
key combo is recognized (e.g. *3).

However, if I understand correctly, there is no chance to enable or disable 
this feature per call or even sometimes only for the callee and sometimes 
for the caller (actually I don't want external people to be able to inject 
any commands from outside the company, so only internal people are allowed 
to activate or deactivate functions irrespectable whether they are calling 
or being called).

Automon can be selectively enabled with the dial options "w" and "W". Is 
there a way to do this also with MixMonitor?

Or alternatively, is there a way to otherwise correctly mix the two recorded 
in and out streams from automon after recording? It seems that automon does 
start some app to concat these streams anyway.

Thanks for the help

Michael

Darrick Hartman wrote:

> Use mixmon instead. That records as one file. Monitor records both call
> legs then mixes them together after the call has completed. Sent from my
> BlackBerry® wireless device from U.S. Cellular
> 
> -Original Message-
> From: Michael 
> Date: Tue, 20 Apr 2010 12:47:54
> To: 
> Subject: [Astlinux-users] Automon question
> 
> Hi
> 
> I'm using astlinux 0.7.1, and so far it is working great.
> 
> I think that isn't perfect at the moment, is that automon generates two
> files (in and out) while recording and then just concatenates these two
> files instead of mixing them.
> 
> I have searched the internet but found nearly nothing about this. Anybody
> has some help for me to get the files mixed instead?
> 
> Thanks
> 
> Michael
> 
> 
> 
--
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to
> pay...@krisk.org.
> 
--
> Download Intel® Parallel Studio Eval Try the new software tools for
> yourself. Speed compiling, find bugs proactively, and fine-tune
> applications for parallel performance. See why Intel Parallel Studio got
> high marks during beta. http://p.sf.net/sfu/intel-sw-dev



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] Automon question

2010-04-20 Thread Darrick Hartman
Use mixmon instead. That records as one file. Monitor records both call legs 
then mixes them together after the call has completed. 
Sent from my BlackBerry® wireless device from U.S. Cellular

-Original Message-
From: Michael 
Date: Tue, 20 Apr 2010 12:47:54 
To: 
Subject: [Astlinux-users] Automon question

Hi

I'm using astlinux 0.7.1, and so far it is working great.

I think that isn't perfect at the moment, is that automon generates two 
files (in and out) while recording and then just concatenates these two 
files instead of mixing them.

I have searched the internet but found nearly nothing about this. Anybody 
has some help for me to get the files mixed instead?

Thanks

Michael


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


[Astlinux-users] Automon question

2010-04-20 Thread Michael
Hi

I'm using astlinux 0.7.1, and so far it is working great.

I think that isn't perfect at the moment, is that automon generates two 
files (in and out) while recording and then just concatenates these two 
files instead of mixing them.

I have searched the internet but found nearly nothing about this. Anybody 
has some help for me to get the files mixed instead?

Thanks

Michael


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] where to set ip_forward?

2010-04-20 Thread Michael
Thanks, done that and it works.

Cheers

Michael

Philip A. Prindeville wrote:

> Put it in /mnt/kd/rc.elocal
> 
> 
> 
> On 04/14/2010 01:34 AM, Michael wrote:
>> Hello
>>
>> I use Astlinux on an Alix2 box within my home LAN. Eth0 is connected to
>> my ADSL router and eth1 to my Sapura 3000. Both are, of course, on
>> different subnets.
>>
>> The ADSL router is configured with the necessary routes to connect to the
>> eth1 subnet of the alix box.
>>
>> What is missing, however, is that ip_forward is not set to "yes" on
>> Astlinux, so eth0 and eth1 are not connected. I can't reach the Sapura
>> box from the ADSL router.
>>
>> It works fine if I ssh into astlinux and echo 1 >
>> /proc/sys/net/ipv4/ip_forward.
>>
>> Is there somewhere a setting in the gui or in the conf files to make that
>> sticky? I haven't found it so far.
>>
>> Thanks
>>
>> Michael
>>
>> P.S.: The firewall is off. I don't need it within my LAN.
>>   
> 
> 
> 
--
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] wifi on 0.7.1

2010-04-20 Thread Michael Keuter
>  >> I use the same string as you, except "hidden", and it works fine for me.
>>>  Do you have WIFI_ENABLE="yes", WIFIMODS and the BRIDGE0 in your users.conf?
>>>
>>>  Does lspci recognize your card?
>>>
>>>  --
>>>  Michael
>>
>>  This is what I have set:
>>
>>  BRIDGE0="eth1 ap0"
>>  WIFI_ENABLE="yes"
>>  WIFIMODS="ath5k"
>>  AP0="wlan0:sunflower:11:br0:wpa2:password:hidden,rekey"
>>
>>  I just checked the output of lspci, I'm good there also (I figured it
>>  would be good as I can see it recognize the card during boot up).
>>  I'll try with the "hidden" removed, just to be see something different.
>>
>
>Ok, let me back up a little bit further...
>
>Astlinux is using compat-wireless now, correct? As I was never fluent
>with madwifi configuration, I'm not sure what difference the change to
>compat-wireless means to me. I'm not putting together the big picture
>based on what I'm reading on google, and what is available in
>astlinux. (there is "iw" but no "iwconfig". How do I make changes to
>the running config? where do I save these configs? what is the correct
>syntax?).
>
>Usually someone else has already asked these questions, and I just
>search the list for the answer... but I'm not finding an anwer to this
>one.
>
>John R.

I made a custom 0.7-branch build for my "WRAP" with these packages:

compat-wireless (from 2010-01-27)
CRDA
hostap
iw
---
NO madwifi
NO wireless tools

I did not configure anything else except the above entries in 
user.conf (except the "hidden").

Maybe Philip can help out.

Michael

http://www.mksolutions.info

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.