Re: [asterisk-users] Timing test

2016-11-28 Thread Jerry Geis
>> On two different systems I did the "timing test". Both are running
>> asterisk 11.24.1
>>
>> One system reported (with good audio)
>> It has been 1000 milliseconds and we got 50 timer ticks
>>
>> the system with the garbled audio reported
>> It has been 1019 milliseconds and we got 51 timer ticks.
>>
>> how do I know if that is good, bad, acceptable?
>>
>> The system with the garbled audio shows
>> res_timing_pthread
>> res_timing_dahdi
>>

>Which command did you exactly use to get this output ?

The exact command was "timing test" on the Asterisk CLI

Any thoughts? Thanks

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

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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

Re: [asterisk-users] Subscribe to events via ARI from node.js without sending to Stasis

2016-11-28 Thread Joshua Colp
On Mon, Nov 28, 2016, at 11:39 AM, Matt Riddell wrote:
> 
> > On 27/11/2016, at 6:44 PM, Joshua Colp  wrote:
> > 
> > On Wed, Nov 23, 2016, at 06:41 PM, Matt Riddell wrote:
> >> 
> >> There doesn't appear to be a way to monitor general Asterisk events like
> >> you can in the Asterisk manager without polling for channel statuses or
> >> sending the channels to the Stasis app and recreating the logic of the
> >> Queue application.
> > 
> > You can subscribe to events for everything, but ARI events are a subset
> > of what are available over AMI so you may not get what you want. Events
> > raised by applications for example would not be present. You can
> > subscribe to all channels by subscribing to "channel:" using the
> > /applications//subscription resource, and "bridge:" for all
> > bridges.
> 
> 
>  is the stasis app name or the Asterisk application name?

The Stasis app name. You are saying you want to subscribe a specific
Stasis application to certain events.

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

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

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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


Re: [asterisk-users] Subscribe to events via ARI from node.js without sending to Stasis

2016-11-28 Thread Matt Riddell

> On 27/11/2016, at 6:44 PM, Joshua Colp  wrote:
> 
> On Wed, Nov 23, 2016, at 06:41 PM, Matt Riddell wrote:
>> 
>> There doesn't appear to be a way to monitor general Asterisk events like
>> you can in the Asterisk manager without polling for channel statuses or
>> sending the channels to the Stasis app and recreating the logic of the
>> Queue application.
> 
> You can subscribe to events for everything, but ARI events are a subset
> of what are available over AMI so you may not get what you want. Events
> raised by applications for example would not be present. You can
> subscribe to all channels by subscribing to "channel:" using the
> /applications//subscription resource, and "bridge:" for all
> bridges.


 is the stasis app name or the Asterisk application name?

--
Cheers,

Matt Riddell
___

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/pabx_on_disk.php (PABX on a Disk)
http://www.venturevoip.com/exchange.php (Full ITSP Solution)
http://www.venturevoip.com/cc.php (Call Centre Solutions)

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

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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

Re: [asterisk-users] missed call notification

2016-11-28 Thread Frank Vanoni
On Mon, 2016-11-28 at 14:31 +0100, tux john wrote:
> Hi. i am running asterisk 11 in debian and i would like have a missed
> call notification down to extension level.
> so if i get a missed call to extension 6589 then send an email to the
> user's email address with a subject and a text message.
> is there a guide on how to create something like that?


>From my extensions.conf


exten => h,1,GotoIf($["${DIALSTATUS}" = "ANSWER"]?done)

exten => h,n,System(echo "Missed Call from ${CALLERID(num)}" | mail -s
"Missed Call from ${CALLERID(num)}" myemailaddr...@myemailprovider.com)

exten => h,n(done),NoOp()



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

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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


[asterisk-users] missed call notification

2016-11-28 Thread tux john
Hi. i am running asterisk 11 in debian and i would like have a missed call notification down to extension level.

so if i get a missed call to extension 6589 then send an email to the user's email address with a subject and a text message.

is there a guide on how to create something like that?

 

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

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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