[asterisk-bugs] [JIRA] (ASTERISK-25749) StatsD dialplan application not existes

Marcelo Terres (JIRA) noreply at issues.asterisk.org
Sat Feb 6 08:16:33 CST 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcelo Terres updated ASTERISK-25749:
--------------------------------------

    Description: 
StatsD dialplan application 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 at 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 at 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.

  was:
StatsD dialplan application not exists.

My test dialplan:

  '601' =>          1. Answer()                                   [pbx_config]
                    2. StatsD(g,extensions.${EXTEN},+1,1)         [pbx_config]
                    3. Playback(tt-monkeys)                       [pbx_config]

rtc*CLI> console dial 601 at 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 at 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.


> StatsD dialplan application not existes
> ---------------------------------------
>
>                 Key: ASTERISK-25749
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25749
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_statsd
>    Affects Versions: 13.7.1, 13.7.2
>         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
>            Reporter: Marcelo Terres
>
> StatsD dialplan application 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 at 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 at 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list