I am running [EMAIL PROTECTED] ( 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' [EMAIL PROTECTED] ~]# 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:[EMAIL PROTECTED]>' 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




_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to