Page 1 of 1

Screen scripts not running?

PostPosted: Mon Nov 25, 2019 2:17 pm
by jboxxx
Code: Select all
vicibox9:~ # screen -ls
There are screens on:
        2398.ASTemail   (Detached)
        2395.ASTVDadFILL        (Detached)
        2391.ASTfastlog (Detached)
        2384.ASTVDadapt (Detached)
        2381.ASTVDremote        (Detached)
        2378.ASTVDauto  (Detached)
        2375.ASTlisten  (Detached)
        2372.ASTsend    (Detached)
        2369.ASTupdate  (Detached)
        2173.asterisk   (Detached)
        2167.astshell20191126004106     (Detached)



Everything (nothing) looks fine, I can log in, dial and I get in CLI

Code: Select all
[Nov 26 00:45:05] WARNING[2802][C-00000003]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Nov 26 00:45:05]     -- Executing [h@default:1] AGI("Local/8600051@default-00000004;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----18-----CHANUNAVAIL---------------)") in new stack
[Nov 26 00:45:05]     -- <Local/8600051@default-00000004;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----18-----CHANUNAVAIL---------------) completed, returning 0
[Nov 26 00:45:05]   == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-00000004;2'
[Nov 26 00:45:05] WARNING[2803][C-00000002]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Nov 26 00:45:05]     -- Executing [h@default:1] AGI("Local/8600051@default-00000004;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----18--------------------)") in new stack



Any idea?

Re: Screen scripts not running?

PostPosted: Tue Nov 26, 2019 6:42 am
by roger.milligan
Hello

When you say that the "Screen scripts are not running" what do you mean exactly? Are you saying that the ASTlisten, etc are not connecting to Asterisk via AMI? Perhaps look for manager.c: Manager 'sendcron' logged on from 127.0.0.1 in the CLI output or /var/log/asterisk/messages. (Assuming you have a standard ViciBox install - you don't tell us your setup - Cue WC)

Re: Screen scripts not running?

PostPosted: Tue Nov 26, 2019 12:03 pm
by jboxxx
I dont know, I assume the screen -ls scripts should be in 'ATTACHED' mode right? I am just assuming because for some reason my setup is not working. It was working before, I have no clue what happened.

This is Vicibox 9.

Re: Screen scripts not running?

PostPosted: Tue Nov 26, 2019 4:46 pm
by roger.milligan
Screen sessions run in the background and are normally (Detached) because nobody is actively viewing them. If you run "screen -r <screenID> then that screen will show as (Attached) when you run "screen -ls" on another terminal. So your screens are as they should be.

So, if you can make calls etc. then perhaps you don't have any problems. Is there any other issue?

Re: Screen scripts not running?

PostPosted: Tue Nov 26, 2019 4:50 pm
by williamconley
jboxxx wrote: ... my setup is not working. It was working before, I have no clue what happened.


What is not working? Did the server shut down? Agents can't log in? No dialing is happening? Or is something purple you think should be red? 8-)

Yes, I'm picking on you. Please provide some details and we'll all be happy to help out.

Re: Screen scripts not running?

PostPosted: Tue Nov 26, 2019 4:55 pm
by jboxxx
Code: Select all
chaNUNAVAIL Cause: 1 - Unallocated (unassigned) number. SIP: 404 - User not found)

Re: Screen scripts not running?

PostPosted: Tue Nov 26, 2019 5:00 pm
by williamconley
OK: Where do you see this, during what event, in what screen?