Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: llandry on November 27, 2007, 05:07:33 AM
-
OK folks,
Weird one going on here...
I was running 2.2.1 - 545 just fine until last Thursday.... Nothing has changed, but my inbound and outbound calls started to fail... I also have 2 sailtosail trunks, and those failed as well with a "busy" signal... Fine, I'll cycle asterisk and all will be fine.... Not...
OK, so I took the opportunity to upgrade to 565... Same thing... My configs haven't changed...
Here's what the inbound log looks like.. (I'm not to asterisk savy, so I'm not sure whats going on, the call comes in, but then hangs up... )
Any incite would be greatly appreciated... If you need more info, please point me in the right direction and I'll gladly provide it.
Thanks in advance.
-- Accepting UNAUTHENTICATED call from 206.191.37.138:
> requested format = ulaw,
> requested prefs = (ulaw|gsm),
> actual format = gsm,
> host prefs = (g729|gsm|ulaw|alaw),
> priority = mine
-- Executing [6477236652@mainmenu:1] AGI("IAX2/6477236652-7", "selintra|Inbound|6477236652") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
-- AGI Script selintra completed, returning 0
== Auto fallthrough, channel 'IAX2/6477236652-7' status is 'UNKNOWN'
-- Executing [h@mainmenu:1] Hangup("IAX2/6477236652-7", "") in new stack
== Spawn extension (mainmenu, h, 1) exited non-zero on 'IAX2/6477236652-7'
-- Hungup 'IAX2/6477236652-7'
[Nov 26 22:54:22] NOTICE[14914]: cdr.c:434 ast_cdr_free: CDR on channel 'IAX2/6477236652-7' not posted
-
Cool
Not seen one like this before. Can you run it again with agi debug?... log in to asterisk and do a hard stop....
CLI> stop now
Then start asterisk as a console task
asterisk -vvvvc
agi debug
run your call
agi no debug
asterisk stop
asterisk
post the output here.
Best
S
-
Selintra...
Problem solved... don't know why it worked before, but....
As I ran the instruction to get the AGI debug log, everything started to work... outbound calls, inbound calls, call between my 3 switches.... Everyhting worked as it should...
I exited the CLI, and procedded to restart asterisk as a service
service asterisk start
Calls failed again... So I stop the service and just ran "asterisk" and everything works...
I must say that I used to have a 2.1.15 installation before, but followed the 2.2.1 installation instructions to the letter... It worked fine for a couple of weeks and then this... I must have gremlins...
Anyhoo.... thanks for the help, I'm back up again, but I would like to know why it won't work as before ie, as a service.
L2
-
Ah ok.
Humour me and do
ls /etc/init.d
then do
config show asterisk
and
config show sark
let me see the output.
Best
S
-
Here we go...
[root@piglet ~]# ls /etc/init.d
acpid haldaemon netplugd smbd
anacron halt network sme7admind
AnotherShaper httpd nmbd smtp-auth-proxy
apmd httpd-admin ntop snmpd
asterisk httpd-e-smith ntpd snmptrapd
atalk identd nut spamassassin
atd imap oidentd spamd
auditd imaps pcmcia sqpsmtpd
bootstrap-console iptables pop3 squid
cbq.sh iptables-trace pop3s sshd
clamd irqbalance pptpd SuperShaper
cpuspeed isdn proftpd supervise
crond keytable psacct syslog
daemontools killall qmail sysstat
dansguardian kudzu qpsmtpd tftp
dc_client ldap qpsmtpd-forkserver tinydns
dc_server lm_sensors radiusd ulogd
dhcpd local raidmonitor ups
dhcrelay lpd ramdisk voipshaper
diald masq rawdevices wan
dnscache mdmonitor readahead winbind
dovecot mdmpd readahead_early wshaper
e-smith-service messagebus sark xinetd
fop microcode_ctl saslauthd yum
freshclam mysqld single zaptel
functions mysql.init smartd
gpm netfs smb
[root@piglet ~]#
[root@piglet ~]# config show asterisk
asterisk=service
UDPPorts=4569,5060,10000:20000
status=enabled
[root@piglet ~]#
[root@piglet ~]# config show sark
sark=service
UDPPorts=4569,5060,10000:20000
status=enabled
[root@piglet ~]#[tt][/tt]
-
do service start sark (or better yet, /etc/init.d/sark start)
That should work correctly and load the correct drivers for you.
service start asterisk won't work properly with 2.2
if it does then you should disable the asterisk daemon with
config setprop sark status disabled
Best
S
-
Thanks Much....
As always, Selintra come through :)
L2
-
oops error in last post
disable the asterisk daemon with
config setprop asterisk status disable
That way, only the sark daemon will run.
Sorry
:oops: