Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
I'm trying to install asterisk in slackware.But after installing zaptel I stucked up.There is no rc script available for zaptel for slaware.what ever is available for system V like os like redhat can be started directly from init.d directory.Please suggest how to start the zaptel in slackware.
These are the errors I'm getting while dialing through iax trunk
Nov 16 16:08:32 WARNING[3472]: res_agi.c:210 launch_netscript: Connect to 'agi://127.0.0.1:4577/call_log' failed: Connection refused
== Spawn extension (default, 3000004001, 1) exited non-zero on 'IAX2/101-1'
-- Executing DeadAGI("IAX2/101-1", "agi://127.0.0.1:4577/call_log") in new stack
Nov 16 16:08:32 WARNING[3472]: res_agi.c:210 launch_netscript: Connect to 'agi://127.0.0.1:4577/call_log' failed: Connection refused
== Spawn extension (default, h, 1) exited non-zero on 'IAX2/101-1'
-- Hungup 'IAX2/101-1'
=========================================================================
Connected to Asterisk 1.2.14 currently running on CentOSClear (pid = 3714)
Verbosity is at least 7
CentOSClear*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
spa2001/spa2001 10.16.190.66 D 5061 OK (7 ms)
spa2000/spa2000 10.16.190.66 D 5060 OK (11 ms)
gs102/gs102 10.16.190.64 D 5060 OK (4 ms)
101/101 10.16.190.18 D 5060 OK (4 ms)
4 sip peers [4 online , 0 offline]
-- Executing Dial("SIP/gs102-09429058", "sip/spa2000|5|to") in new stack
-- Called spa2000
-- SIP/spa2000-0942f1b0 is ringing
== Spawn extension (default, 2000, 1) exited non-zero on 'SIP/gs102-09429058'
-- Executing DeadAGI("SIP/gs102-09429058", "agi://127.0.0.1:4577/call_log") in new stack
Jan 12 17:58:00 WARNING[30004]: res_agi.c:210 launch_netscript: Connect to 'agi://127.0.0.1:4577/call_log' failed: Connection refused
== Spawn extension (default, h, 1) exited non-zero on 'SIP/gs102-09429058'
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
PATHhome => /usr/share/astguiclient
PATHlogs => /var/log/astguiclient
PATHagi => /var/lib/asterisk/agi-bin
PATHweb => /usr/local/apache2/htdocs
PATHsounds => /var/lib/asterisk/sounds
PATHmonitor => /var/spool/asterisk/monitor
VARserver_ip => 10.16.190.67
VARDB_server => 127.0.0.1
VARDB_database => asterisk
VARDB_user => cron
VARDB_pass => 1234
VARDB_port => 3306
VARactive_keepalives => 2
VARfastagi_log_min_servers => 3
VARfastagi_log_max_servers => 16
VARfastagi_log_min_spare_servers => 2
VARfastagi_log_max_spare_servers => 8
VARfastagi_log_max_requests => 1000
VARfastagi_log_checkfordead => 30
VARfastagi_log_checkforwait => 60
[root@CentOSClear etc]# crontab -l
### recording mixing for Asterisk run every 5 minutes
1,6,11,16,21,26,31,36,41,46,51,56 * * * 1,2,3,4,5,6 /usr/share/astguiclient/AST_CRON_mix_recordings_BASIC.pl
### keepalive script for astguiclient processes
* * * * * /usr/share/astguiclient/ADMIN_keepalive_ALL.pl
### kill Hangup script for Asterisk updaters
* * * * * /usr/share/astguiclient/AST_manager_kill_hung_congested.pl
### updater for voicemail
* * * * * /usr/share/astguiclient/AST_vm_update.pl
### updater for conference validator
* * * * * /usr/share/astguiclient/AST_conf_update.pl
### flush queue DB table every hour for entries older than 1 hour
11 * * * * /usr/share/astguiclient/AST_flush_DBqueue.pl -q
### fix the vicidial_agent_log once every hour
33 * * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl
### updater for VICIDIAL hopper
* * * * * /usr/share/astguiclient/AST_VDhopper.pl -q
### adjust the GMT offset for the leads in the vicidial_list table
1 1 * * * /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug
### reset several temporary-info tables in the database
2 1 * * * /usr/share/astguiclient/AST_reset_mysql_vars.pl
### optimize the database tables within the asterisk database
3 1 * * * /usr/share/astguiclient/AST_DB_optimize.pl
## adjust time on the server with ntp
30 * * * * /usr/local/bin/ntpdate -u 18.145.0.30 2>/dev/null 1>&2
### VICIDIAL agent time log weekly summary report generation
2 0 * * 0 /usr/share/astguiclient/AST_agent_week.pl
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
[cron]
secret = 1234
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user
[updatecron]
secret = 1234
read = command
write = command
[listencron]
secret = 1234
read = system,call,log,verbose,command,agent,user
write = command
[sendcron]
secret = 1234
read = command
write = system,call,log,verbose,command,agent,user
cpan[10]> install DBI
DBI is up to date (1.53).
cpan[11]> install Net::Telnet
Net::Telnet is up to date (3.03).
cpan[12]> install Time::HiRes
Time::HiRes is up to date (1.9704).
cpan[13]> install Net::Server
Net::Server is up to date (0.94).
[root@CentOSClear etc]# telnet 127.0.0.1 4577
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
[root@CentOSClear etc]# telnet 127.0.0.1 5038
Trying 127.0.0.1...
Connected to CentOSClear (127.0.0.1).
Escape character is '^]'.
Asterisk Call Manager/1.0
[root@CentOSClear ~]# screen -r
There are several suitable screens on:
3135.asterisk (Detached)
3754.ASTsend (Detached)
3757.ASTlisten (Detached)
5905.pts-4.CentOSClear (Attached)
Type "screen [-d] -r [pid.]tty.host" to resume one of them.
[root@CentOSClear ~]#
== Registered application 'DISA'
[app_queue.so] => (True Call Queueing)
== Registered application 'Queue'
== Manager registered action Queues
== Manager registered action QueueStatus
== Manager registered action QueueAdd
== Manager registered action QueueRemove
== Manager registered action QueuePause
== Registered application 'AddQueueMember'
== Registered application 'RemoveQueueMember'
== Registered application 'PauseQueueMember'
== Registered application 'UnpauseQueueMember'
== Registered custom function QUEUEAGENTCOUNT
== Parsing '/etc/asterisk/queues.conf': Found
[format_wav_gsm.so] => (Microsoft WAV format (Proprietary GSM))
== Registered file format wav49, extension(s) WAV|wav49
[codec_adpcm.so] => (Adaptive Differential PCM Coder/Decoder)
== Parsing '/etc/asterisk/codecs.conf': Found
-- codec_adpcm: using generic PLC
== Registered translator 'adpcmtolin' from format adpcm to slin, cost 1
== Registered translator 'lintoadpcm' from format slin to adpcm, cost 1
[app_mixmonitor.so] => (Mixed Audio Monitoring Application)
== Registered application 'MixMonitor'
[app_cut.so] => (Cut out information from a string)
== Registered custom function CUT
== Registered custom function SORT
== Registered application 'Sort'
== Registered application 'Cut'
[format_wav.so] => (Microsoft WAV format (8000hz Signed Linear))
== Registered file format wav, extension(s) wav
[app_echo.so] => (Simple Echo Application)
== Registered application 'Echo'
[app_macro.so] => (Extension Macros)
== Registered application 'MacroExit'
== Registered application 'MacroIf'
== Registered application 'Macro'
[app_system.so] => (Generic System() application)
== Registered application 'TrySystem'
== Registered application 'System'
[app_lookupblacklist.so] => (Look up Caller*ID name/number from blacklist database)
== Registered application 'LookupBlacklist'
[app_forkcdr.so] => (Fork The CDR into 2 separate entities.)
== Registered application 'ForkCDR'
Asterisk Ready.
*CLI> -- Registered SIP '101' at 10.16.190.18 port 5060 expires 3600
-- Saved useragent "Grandstream HT286 1.0.7.19" for peer 101
-- Registered SIP 'gs102' at 10.16.190.64 port 5060 expires 3600
-- Saved useragent "Grandstream HT286 1.0.7.19" for peer gs102
-- Saved useragent "Sipura/SPA2002-3.1.2(a)" for peer spa2000
-- Registered SIP 'spa2001' at 10.16.190.66 port 5061 expires 3600
-- Saved useragent "Sipura/SPA2002-3.1.2(a)" for peer spa2001
Jan 13 09:05:02 NOTICE[6436]: chan_sip.c:11704 sip_poke_noanswer: Peer 'spa2001' is now UNREACHABLE! Last qualify: 0
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'listencron' logged on from 127.0.0.1
Jan 13 09:05:26 NOTICE[6436]: chan_sip.c:9989 handle_response_peerpoke: Peer 'spa2001' is now REACHABLE! (21ms / 1000ms)
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
checking to see if listener is dead ||1|
checking to see if listener is dead ||1|
checking to see if listener is dead ||1|
...
checking to see if listener is dead ||1|
checking to see if listener is dead ||1|
checking to see if listener is dead ||1|
loop counter: |860714|
|UPDATE vicidial_manager set status='UPDATED', channel='SIP/spa2000-0881e170', uniqueid = '1168652593.22' where server_ip = '10.16.190.67' and callerid = 'gs102'|
|0E0 RINGINGs updated|
input buffer: 432 lines: 2 partial: 0
|Event: Hangup
Privilege: call,all
Channel: SIP/spa2000-0881e170
Uniqueid: 1168652593.22
Cause: 16
Cause-txt: Normal Clearing
Event: Newexten
Privilege: call,all
Channel: SIP/gs102-08818d68
Context: default
Extension: h
Priority: 1
Application: DeadAGI
AppData: agi://127.0.0.1:4577/call_log
Uniqueid: 1168652593.21
Event: Hangup
Privilege: call,all
Channel: SIP/gs102-08818d68
Uniqueid: 1168652593.21
Cause: 0
Cause-txt: Unknown
|
|UPDATE vicidial_manager set status='DEAD', channel='SIP/spa2000-0881e170' where server_ip = '10.16.190.67' and uniqueid = '1168652593.22' and callerid NOT LIKE "DCagcW%";|
|0E0 HANGUPS updated|
|UPDATE vicidial_manager set status='DEAD', channel='SIP/gs102-08818d68' where server_ip = '10.16.190.67' and uniqueid = '1168652593.21' and callerid NOT LIKE "DCagcW%";|
|0E0 HANGUPS updated|
input lines: 2|863550|50|
+++++++++++++++++++++++++++++++sending keepalive transmit line 863550|2007-01-13 9:43:19|0000-00-00 00:00:00|
Users browsing this forum: Google [Bot] and 59 guests