No application 'System' for extension

Hello Community!

Let me ask for your help once again.

I am trying to use System application as per documentation.

not complicated, just simple testing of this application for further target use…
extension.conf (testing but working until calling System application)

exten => _.,1,Answer(500)
exten => _.,n,Playback(hello)
   same => n(loop),Background(press-1&or&press-2)
   same => n,WaitExten()

exten => 1,1,Playback(you-entered)
   same => n,SayNumber(1)
   same => n,SayDigits(111)
   same => n,System(echo "testing1" > /home/art/Desktop/test )
   same => n,Goto(s,loop)
 
exten => 2,1,Playback(you-entered)
   same => n,SayNumber(2)
   same => n,SayDigits(22)
   same => n,Goto(s,loop)

on the debugging section I can see as below (not full log):

    -- <Dongle/dongle0-0100000000> Playing 'digits/1.gsm' (language 'en')
    -- <Dongle/dongle0-0100000000> Playing 'digits/1.gsm' (language 'en')
[Mar 13 23:09:26] WARNING[4813][C-00000001]: pbx.c:2904 pbx_extension_helper: No application 'System' for extension (helloWorld, 1, 4)
  == Spawn extension (helloWorld, 1, 4) exited non-zero on 'Dongle/dongle0-0100000000'
    -- Executing [h@helloWorld:1] Answer("Dongle/dongle0-0100000000", "500") in new stack
  == Spawn extension (helloWorld, h, 1) exited non-zero on 'Dongle/dongle0-0100000000'

and the problem is with line

pbx.c:2904 pbx_extension_helper: No application 'System' for extension (helloWorld, 1, 4)

is there any special procedure to load the System() application? Tried to locate “System” Asterisk main folder but nothing found. Googled about that but not many and not accurate results, none that could help me.

My configuration is:

Asterisk 15.2.2 built by root @ Dell on a x86_64 running Linux on 2018-03-06 21:49:35 UT

Could you, please advise what is the cause and eventually how to fix it?

module load app_system

2 Likes

Works! Thank you david551!