[Asterisk-Users] Autohangup
sega at csc.ee
sega at csc.ee
Mon Jun 21 00:36:59 MST 2004
Hello asterisk-users,
Trying to write an application...
I have incoming call from PRI and hangup after 20 seconds if no answer :(
How to set or disable timeout on incoming call ? And what does the following cause mean ?
Recover on timer expiry (102)
10x in advance.
CDR records:
"","7365949","7780020","default","7365949","Zap/15-1","Zap/1-1","Hangup","","2004-06-20 20:41:56",,"2004-06-20 20:42:16",20,0,"NO ANSWER","DOCUMENTATION"
"","7365949","7780020","default","7365949","Zap/18-1","Zap/1-1","Hangup","","2004-06-20 20:43:52",,"2004-06-20 20:44:12",20,0,"NO ANSWER","DOCUMENTATION"
"","7365949","7780020","default","7365949","Zap/20-1","Zap/2-1","Hangup","","2004-06-20 20:47:25",,"2004-06-20 20:47:45",20,0,"NO ANSWER","DOCUMENTATION"
"","7365949","7780020","default","7365949","Zap/22-1","Zap/2-1","Hangup","","2004-06-20 20:48:44",,"2004-06-20 20:49:04",20,0,"NO ANSWER","DOCUMENTATION"
"","7365949","7780020","default","7365949","Zap/24-1","Zap/1-1","Hangup","","2004-06-20 20:49:51",,"2004-06-20 20:50:11",20,0,"NO ANSWER","DOCUMENTATION"
And PRI DEBUG records:
< Protocol Discriminator: Q.931 (8) len=16
< Call Ref: len= 2 (reference 9473/0x2501) (Originator)
< Message type: DISCONNECT (69)
< [08 05 82 e6 33 30 34]
< Cause (len= 7) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
< Ext: 1 Cause: Recover on timer expiry (102), class = Protocol Error (6) ]
< Cause data 1: 33 (51)
< Cause data 2: 30 (48)
< Cause data 3: 34 (52)
< [1e 02 82 88]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
< Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]
-- Processing IE 8 (cs0, Cause)
-- Processing IE 30 (cs0, Progress Indicator)
-- Channel 0/24, span 1 got hangup
Urgent handler
Jun 20 20:50:11 DEBUG[1171778480]: channel.c:1634 ast_set_write_format: Set channel Zap/24-1 to write format ALAW
-- Stopped music on hold on Zap/24-1
--
Best regards,
Serge Oleinikov mailto:sega at csc.lv
More information about the asterisk-users
mailing list