[Home]

Summary:ASTERISK-25749: StatsD dialplan application not existes
Reporter:Marcelo Terres (mhterres)Labels:
Date Opened:2016-02-06 08:14:37.000-0600Date Closed:2016-02-06 08:25:55.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Resources/res_statsd
Versions:13.7.1 13.7.2 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Ubuntu 14.04.3 LTS, Linux rtc 4.1.5-x86_64-linode61 #7 SMP Mon Aug 24 13:46:31 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux Attachments:
Description:StatsD dialplan application does not exists.

My test dialplan:

exten => 601,1,Answer
same => n,StatsD(g,extensions.${EXTEN},+1,1)
same => n,Playback(tt-monkeys)
same => n,Hangup

rtc*CLI> console dial 601@demo
[Feb  6 12:06:51] WARNING[9321]: chan_oss.c:495 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory
[Feb  6 12:06:51] NOTICE[9321]: console_video.c:137 console_video_start: voice only, console video support not present
   -- Executing [601@demo:1] Answer("Console/dsp", "") in new stack
 << Console call has been answered >>
[Feb  6 12:06:51] WARNING[9329][C-00000001]: pbx.c:4974 pbx_extension_helper: No application 'StatsD' for extension (demo, 601, 2)
 == Spawn extension (demo, 601, 2) exited non-zero on 'Console/dsp'

rtc*CLI> module show like stats
Module                         Description                              Use Count  Status      Support Level
res_chan_stats.so              Example of how to use Stasis             0          Running          extended
res_endpoint_stats.so          Endpoint statistics                      0          Running          extended
res_statsd.so                  Statsd client support                    0          Running          extended
3 modules loaded

Automatic statistics is working correctly, but I can't create my own in dialplan.
Comments:By: Asterisk Team (asteriskteam) 2016-02-06 08:14:40.276-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Joshua C. Colp (jcolp) 2016-02-06 08:25:55.181-0600

The StatsD application is not available in 13 as of this time. It is only in master, which will become 14.

Additionally in master it must also be explicitly turned on in menuselect.