[Asterisk-Users] Incoming calls picked-up then simply hanged-up

fhunter fhunter at survivorsoft.com
Thu May 12 08:22:54 MST 2005


This is what I got:

May 12 11:12:53 VERBOSE[1376]: -- Starting simple switch on 'Zap/4-1'

(Note that the line went dead on the calling phone before this next stuff
ever appeared)

May 12 11:13:01 WARNING[1376]: CallerID returned with error on channel
'Zap/4-1'
May 12 11:13:01 VERBOSE[1376]: -- Executing
[1;36;40mAnswer[0;37;40m("[1;35;40mZap/4-1[0;37;40m", "[1;35;40m[0;37;40m")
in new stack
May 12 11:13:01 DEBUG[1376]: Took Zap/4-1 off hook
May 12 11:13:01 DEBUG[1376]: Enabled echo cancellation on channel 4
May 12 11:13:01 DEBUG[1376]: Engaged echo training on channel 4
May 12 11:13:01 VERBOSE[1376]: -- Executing
[1;36;40mWait[0;37;40m("[1;35;40mZap/4-1[0;37;40m", "[1;35;40m5[0;37;40m")
in new stack
May 12 11:13:06 VERBOSE[1376]: -- Executing
[1;36;40mPlayback[0;37;40m("[1;35;40mZap/4-1[0;37;40m",
"[1;35;40mgoodbye[0;37;40m") in new stack
May 12 11:13:06 DEBUG[1376]: Scheduling timer at 160 sample intervals
May 12 11:13:06 VERBOSE[1376]: -- Playing 'goodbye' (language 'en')
May 12 11:13:07 DEBUG[1376]: Scheduling timer at 0 sample intervals
May 12 11:13:07 DEBUG[1376]: Scheduling timer at 0 sample intervals
May 12 11:13:07 VERBOSE[1376]: -- Executing
[1;36;40mHangup[0;37;40m("[1;35;40mZap/4-1[0;37;40m",
"") in new stack
May 12 11:13:07 VERBOSE[1376]: == Spawn extension (from-pstn, s, 4) exited
non-zero on 'Zap/4-1'
May 12 11:13:07 DEBUG[1376]: cdr_mysql: inserting a CDR record.
May 12 11:13:07 DEBUG[1376]: 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-05-12
11:13:01','\"Francine Walker\" <201>','201','s','from-pstn',
'Zap/4-1','','Hangup','',6,6,'ANSWERED',3,'')
May 12 11:13:07 DEBUG[1376]: Hangup: channel: 4 index = 0, normal = 18,
callwait = -1, thirdcall = -1
May 12 11:13:07 DEBUG[1376]: disabled echo cancellation on channel 4
May 12 11:13:07 DEBUG[1376]: Set option TDD MODE, value: OFF(0) on Zap/4-1
May 12 11:13:07 DEBUG[1376]: Updated conferencing on 4, with 0 conference
users
May 12 11:13:07 VERBOSE[1376]: -- Hungup 'Zap/4-1'
May 12 11:13:26 DEBUG[1376]: Manager received command 'Command'
May 12 11:13:26 DEBUG[1376]: Manager received command 'Command'
May 12 11:15:26 DEBUG[1376]: Manager received command 'Command'
May 12 11:15:26 DEBUG[1376]: Manager received command 'Command'
May 12 11:17:26 DEBUG[1376]: Manager received command 'Command'
May 12 11:17:26 DEBUG[1376]: Manager received command 'Command'
May 12 11:17:26 DEBUG[1376]: Manager received command 'Command'


Any ideas, I don't see any errors reported. Just that callerID warning.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of John covici
Sent: Thursday, May 12, 2005 9:06 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Incoming calls picked-up then simply hanged-up


You should put your asterisk into verbose mode using asterisk -cvvvv or if
you are using a server asterisk -rvvvv and you can trace out what happens
and it will be in the log file called full in the /var/log/asterisk
directory and then you can probably figure out what happened.  Your incoming
call context must eventually dial an extension, but I am sure you will see
what is going on if you debug like that.

on Thursday 05/12/2005 fhunter(fhunter at survivorsoft.com) wrote  > I don't
think my first posting went thru.  > 
 > I am trying to set up Asterisk for the first time. I am new to this.  > I
am using Asterisk at Home.  > I have a TDM400P with one FXO and one  FXS  >  
 > The system is working for outgoing calls and if I test incoming calls
using  > 7777.  > But when doing an actual call the system seems to answer
the call and then  > immediately hang up.  >  
 > I made a small test following some instructions and made changes to the
> from-pstn context to look like this:  >  
 > [from-pstn]
 > exten => s,1,Answer()
 > exten => s,2,Wait(4)
 > exten => s,3,Playback(goodbye)
 > exten => s,4,Hangup()
 >  
 > The incoming calls are set up to go from the PSTN to the Digital  >
Receptionist.  > But I get the same behavior if I have incoming call send to
the extension I  > have set up.  >  
 > Has anyone else seen this behavior? Any ideas as to what I should try?  >

 > Thanks in advance.
 >  
 > 
 > 
 > 
 > _______________________________________________
 > Asterisk-Users mailing list
 > Asterisk-Users at lists.digium.com
 > http://lists.digium.com/mailman/listinfo/asterisk-users
 > To UNSUBSCRIBE or update options visit:
 >    http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
Your life is like a penny.  You're going to lose it.  The question is: How
do you spend it?

         John Covici
         covici at ccs.covici.com
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users







More information about the asterisk-users mailing list