[asterisk-dev] asterisk-dev Digest, Vol 89, Issue 87

"Jörg Bernau" joerg.bernau at web.de
Thu Dec 22 14:19:54 CST 2011


Hello everyone,

I am new to this group and I am not sure wether it is conventional introducing myself.

So what... Ask if you like to get it ;-)

For that I am new to the asterisk API (but not new to C) I ask you for docs for the following Problem:

Within an App I would play some sound on the consoles underlaying sound system. The aim is, to renew app_cepstral and encence it with some features.

Thanks in advice

Joerg Bernau


-----Ursprüngliche Nachricht-----
Von: asterisk-dev-request at lists.digium.com
Gesendet: 22.12.2011 19:00:01
An: asterisk-dev at lists.digium.com
Betreff: asterisk-dev Digest, Vol 89, Issue 87

>Send asterisk-dev mailing list submissions to
> asterisk-dev at lists.digium.com
>
>To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>or, via email, send a message with subject or body 'help' to
> asterisk-dev-request at lists.digium.com
>
>You can reach the person managing the list at
> asterisk-dev-owner at lists.digium.com
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of asterisk-dev digest..."
>
>
>Today's Topics:
>
> 1. Re: [Code Review] Separate verbose level for logging (Matt Jordan)
> 2. Re: [Code Review] Initial ConfBridge test (Matt Jordan)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Thu, 22 Dec 2011 16:30:20 -0000
>From: "Matt Jordan" <reviewboard at asterisk.org>
>Subject: Re: [asterisk-dev] [Code Review] Separate verbose level for
> logging
>To: "Tilghman Lesher" <tilghman at meg.abyt.es>, "Asterisk Developers"
> <asterisk-dev at lists.digium.com>, "Matt Jordan"
> <reviewboard at asterisk.org>
>Message-ID: <20111222163020.24339.25263 at hotblack.digium.com>
>Content-Type: text/plain; charset="utf-8"
>
>
>-----------------------------------------------------------
>This is an automatically generated e-mail. To reply, visit:
>https://reviewboard.asterisk.org/r/1599/#review5062
>-----------------------------------------------------------
>
>Ship it!
>
>
>Thanks for tracking down the issue with the previous version - looks good
>
>- Matt
>
>
>On Dec. 21, 2011, 2:14 p.m., Tilghman Lesher wrote:
>>
>> -----------------------------------------------------------
>> This is an automatically generated e-mail. To reply, visit:
>> https://reviewboard.asterisk.org/r/1599/
>> -----------------------------------------------------------
>>
>> (Updated Dec. 21, 2011, 2:14 p.m.)
>>
>>
>> Review request for Asterisk Developers.
>>
>>
>> Summary
>> -------
>>
>> One problem that many admins have today is that to have maximum verbosity going to the logs, for later debugging of trouble calls, the console becomes virtually unusable, because the verbosity level is global. This patch attempts to solve that problem, allowing each verbose recipient to have its own filter as to what it wants to receive.
>>
>>
>> Diffs
>> -----
>>
>> /trunk/CHANGES 348792
>> /trunk/UPGRADE.txt 348792
>> /trunk/configs/logger.conf.sample 348792
>> /trunk/include/asterisk/logger.h 348792
>> /trunk/main/asterisk.c 348792
>> /trunk/main/cli.c 348792
>> /trunk/main/config.c 348792
>> /trunk/main/loader.c 348792
>> /trunk/main/logger.c 348792
>> /trunk/main/stdtime/localtime.c 348792
>> /trunk/utils/ael_main.c 348792
>> /trunk/utils/hashtest.c 348792
>> /trunk/utils/hashtest2.c 348792
>> /trunk/utils/refcounter.c 348792
>>
>> Diff: https://reviewboard.asterisk.org/r/1599/diff
>>
>>
>> Testing
>> -------
>>
>> Verified logging with files, consoles with different verbosity levels, etc.
>>
>>
>> Thanks,
>>
>> Tilghman
>>
>>
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20111222/283954f0/attachment-0001.htm>
>
>------------------------------
>
>Message: 2
>Date: Thu, 22 Dec 2011 16:35:39 -0000
>From: "Matt Jordan" <reviewboard at asterisk.org>
>Subject: Re: [asterisk-dev] [Code Review] Initial ConfBridge test
>To: "Paul Belanger" <pabelanger at digium.com>, "David Vossel"
> <dvossel at digium.com>,
>Cc: Matt Jordan <reviewboard at asterisk.org>, Asterisk Developers
> <asterisk-dev at lists.digium.com>
>Message-ID: <20111222163539.24893.4236 at hotblack.digium.com>
>Content-Type: text/plain; charset="utf-8"
>
>
>-----------------------------------------------------------
>This is an automatically generated e-mail. To reply, visit:
>https://reviewboard.asterisk.org/r/1636/#review5063
>-----------------------------------------------------------
>
>
>
>/asterisk/trunk/tests/apps/confbridge/confbridge_nominal/configs/ast1/confbridge.conf
><https://reviewboard.asterisk.org/r/1636/#comment9329>
>
> Yeah, it lined up better in my text editor. I'll just change it to spaces.
>
>
>
>/asterisk/trunk/tests/apps/confbridge/confbridge_nominal/run-test
><https://reviewboard.asterisk.org/r/1636/#comment9330>
>
> Actually, the state machine is a set of classes. As test notifications are sent out from Asterisk, the "handleStateChange" (indicating a change in application state happened in Asterisk) is handled in this function, which is an override of a base class. Each class can choose to "change the state" by changing the class that the controller will send notifications to.
>
> That being said, ConfBridge makes it difficult. There are three users logging into ConfBridge at the same time, and there's no way to know how long it will take to log in each of the three users - plus, their updates are coming interleaved with each other. The best I could come up with was to change the class that the controller points to once everyone has gotten themselves inside the ConfBridge - any other time, and you'd have 'log in' related actions in multiple classes, which would defeat the purpose.
>
> This is ugly however. I could break it up into separate handler methods within this class which would make it a bit more reasonable - so I'll do that and see if it helps readability.
>
>
>- Matt
>
>
>On Dec. 21, 2011, 3:16 p.m., Matt Jordan wrote:
>>
>> -----------------------------------------------------------
>> This is an automatically generated e-mail. To reply, visit:
>> https://reviewboard.asterisk.org/r/1636/
>> -----------------------------------------------------------
>>
>> (Updated Dec. 21, 2011, 3:16 p.m.)
>>
>>
>> Review request for Asterisk Developers, David Vossel, Paul Belanger, and jrose.
>>
>>
>> Summary
>> -------
>>
>> This adds a test to cover the nominal execution of the ConfBridge application in Asterisk 10. It includes:
>> 1. Multiple user profiles / DTMF menus
>> 2. Use of pins, recording of names, and playback of notifications within the conference
>> 3. Checking that user profile options are applied
>>
>> Note that this uses the TestEvent AMI event to keep track of what occurs during ConfBridge execution. Several event notifications have been added to ConfBridge in order to have this test work.
>>
>>
>> Diffs
>> -----
>>
>> /asterisk/trunk/tests/apps/confbridge/confbridge_nominal/configs/ast1/confbridge.conf PRE-CREATION
>> /asterisk/trunk/tests/apps/confbridge/confbridge_nominal/configs/ast1/extensions.conf PRE-CREATION
>> /asterisk/trunk/tests/apps/confbridge/confbridge_nominal/configs/ast1/sip.conf PRE-CREATION
>> /asterisk/trunk/tests/apps/confbridge/confbridge_nominal/configs/ast2/extensions.conf PRE-CREATION
>> /asterisk/trunk/tests/apps/confbridge/confbridge_nominal/configs/ast2/sip.conf PRE-CREATION
>> /asterisk/trunk/tests/apps/confbridge/confbridge_nominal/run-test PRE-CREATION
>> /asterisk/trunk/tests/apps/confbridge/confbridge_nominal/test-config.yaml PRE-CREATION
>> /asterisk/trunk/tests/apps/confbridge/sounds/talking.ulaw PRE-CREATION
>> /asterisk/trunk/tests/apps/confbridge/tests.yaml PRE-CREATION
>> /asterisk/trunk/tests/apps/tests.yaml 2921
>>
>> Diff: https://reviewboard.asterisk.org/r/1636/diff
>>
>>
>> Testing
>> -------
>>
>>
>> Thanks,
>>
>> Matt
>>
>>
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20111222/6c617a04/attachment-0001.htm>
>
>------------------------------
>
>_______________________________________________
>--Bandwidth and Colocation Provided by http://www.api-digital.com--
>
>AstriCon 2010 - October 26-28 Washington, DC
>Put in your talk proposal: http://www.bit.ly/speak-astricon2010
>
>asterisk-dev mailing list
>To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>End of asterisk-dev Digest, Vol 89, Issue 87
>********************************************

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1752 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20111222/5dc72863/attachment.bin>


More information about the asterisk-dev mailing list