[Asterisk-Users] NEWBIE HELP : chan_zap.c: Exception on 16,
channel 1, call not being picked up on incoming X1-100P zap
Paul Hussein
pah at terma.it
Wed Oct 19 10:10:04 MST 2005
I am running asterisk at home ( asterisk 1.2beta1 with two X100P cards ) on
centos 4.1 box with a 2.6.12 kernel.
I ran genzaptelconf
and added two trunks for each of the devices however the incoming calls
when I ring just get ignored.
asterisk -r tells me that it just gets hangupcall, and in the the log
files I see exceptions.
I am running asterisk 1.2 beta. Can someone help as to how to debug this
I am new to the asterisk game so any hints would be greatfully received.
== Manager 'admin' logged on from 127.0.0.1
-- Starting simple switch on 'Zap/1-1'
-- Executing Macro("Zap/1-1", "hangupcall") in new stack
-- Executing ResetCDR("Zap/1-1", "w") in new stack
-- Executing NoCDR("Zap/1-1", "") in new stack
-- Executing Wait("Zap/1-1", "5") in new stack
-- Executing Hangup("Zap/1-1", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on
'Zap/1-1' in macro 'hangupcall'
== Spawn extension (from-internal, s, 1) exited non-zero on 'Zap/1-1'
-- Executing Macro("Zap/1-1", "hangupcall") in new stack
-- Executing ResetCDR("Zap/1-1", "w") in new stack
-- Executing NoCDR("Zap/1-1", "") in new stack
-- Executing Wait("Zap/1-1", "5") in new stack
-- Executing Hangup("Zap/1-1", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on
'Zap/1-1' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'Zap/1-1'
Oct 19 19:01:58 VERBOSE[10782] logger.c: -- Starting simple switch
on 'Zap/1-1'
[root at devserver ~]# Oct 19 19:02:03 NOTICE[10782] chan_zap.c: Got event
18 (Event 18)...
Oct 19 19:02:03 VERBOSE[10782] logger.c: -- Executing
Macro("Zap/1-1", "hangupcall") in new stack
Oct 19 19:02:03 VERBOSE[10782] logger.c: -- Executing
ResetCDR("Zap/1-1", "w") in new stack
Oct 19 19:02:03 DEBUG[10782] cdr_addon_mysql.c: cdr_mysql: inserting a
CDR record.
Oct 19 19:02:03 DEBUG[10782] cdr_addon_mysql.c: cdr_mysql: SQL command
as follows: INSERT INTO cdr
(calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode)
VALUES ('2005-10-19 19:02:03','\"device\"
<400>','400','s','from-internal', 'Zap/1-1','','ResetCDR','w',0,0,'NO
ANSWER',3,'')
Oct 19 19:02:03 VERBOSE[10782] logger.c: -- Executing
NoCDR("Zap/1-1", "") in new stack
Oct 19 19:02:03 WARNING[10782] cdr.c: CDR on channel 'Zap/1-1' not posted
Oct 19 19:02:03 WARNING[10782] cdr.c: CDR on channel 'Zap/1-1' lacks end
Oct 19 19:02:03 VERBOSE[10782] logger.c: -- Executing
Wait("Zap/1-1", "5") in new stack
Oct 19 19:02:03 DEBUG[10782] chan_zap.c: Exception on 16, channel 1
Oct 19 19:02:03 DEBUG[10782] chan_zap.c: Got event Ring/Answered(2) on
channel 1 (index 0)
Oct 19 19:02:03 DEBUG[10782] chan_zap.c: Setting IDLE polarity due to
ring. Old polarity was 0
Oct 19 19:02:08 DEBUG[10782] chan_zap.c: Exception on 16, channel 1
Oct 19 19:02:08 DEBUG[10782] chan_zap.c: Got event Event 18(18) on
channel 1 (index 0)
Oct 19 19:02:08 DEBUG[10782] chan_zap.c: Dunno what to do with event 18
on channel 1
Oct 19 19:02:08 DEBUG[10782] acl.c: ##### Testing 192.168.0.108 with
192.168.0.0
Oct 19 19:02:08 NOTICE[10782] chan_sip.c: Registration from 'new
<sip:400 at 192.168.0.10>' failed for '192.168.0.108' - Wrong password
Oct 19 19:02:08 VERBOSE[10782] logger.c: -- Executing
Hangup("Zap/1-1", "") in new stack
Oct 19 19:02:08 VERBOSE[10782] logger.c: == Spawn extension
(macro-hangupcall, s, 4) exited non-zero on 'Zap/1-1' in macro 'hangupcall'
Oct 19 19:02:08 VERBOSE[10782] logger.c: == Spawn extension
(from-internal, s, 1) exited non-zero on 'Zap/1-1'
Oct 19 19:02:08 VERBOSE[10782] logger.c: -- Executing
Macro("Zap/1-1", "hangupcall") in new stack
Oct 19 19:02:08 VERBOSE[10782] logger.c: -- Executing
ResetCDR("Zap/1-1", "w") in new stack
Oct 19 19:02:08 VERBOSE[10782] logger.c: -- Executing
NoCDR("Zap/1-1", "") in new stack
Oct 19 19:02:08 VERBOSE[10782] logger.c: -- Executing
Wait("Zap/1-1", "5") in new stack
Oct 19 19:02:08 DEBUG[10782] chan_zap.c: Exception on 16, channel 1
Oct 19 19:02:08 DEBUG[10782] chan_zap.c: Got event Ring/Answered(2) on
channel 1 (index 0)
Oct 19 19:02:08 DEBUG[10782] chan_zap.c: Setting IDLE polarity due to
ring. Old polarity was 0
More information about the asterisk-users
mailing list