All pastes #76396 Raw Edit

Miscellany

public text v1 · immutable
·published 2006-07-01 15:20 UTC
rendered paste body
time to start 12:45
time to finish 19.20
week day start monday
etc

the destination if it matches is a ringgroup calls MAIN.  If it doesn't match it's supposed to go to my no answer IVR.  I set it to start at 12:45 just for testing, it's supposeds to be 8:45.  Basically, when we're closed I want it to go to the voice mail.  In the old aah it worked fine but enver with this new time conditions thing.

Here's the log from the call:

Jul 1 10:58:58 DEBUG[6484] config.c: Parsing /etc/asterisk/manager_custom.conf
Jul 1 10:58:58 WARNING[6484] config.c: Unknown directive 'permit=192.168.1.0/255.255.255.0' at line 18 of manager_custom.conf
Jul 1 10:58:58 DEBUG[6484] acl.c: 0.0.0.0/0.0.0.0/0.0.0.0 appended to acl for peer
Jul 1 10:58:58 DEBUG[6484] acl.c: 127.0.0.1/255.255.255.0/255.255.255.0 appended to acl for peer
Jul 1 10:58:58 DEBUG[6484] acl.c: ##### Testing 127.0.0.1 with 0.0.0.0
Jul 1 10:58:58 DEBUG[6484] acl.c: ##### Testing 127.0.0.1 with 127.0.0.0
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] db.c: Unable to find key 'Zap/3' in family 'cfb'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] db.c: Unable to find key 'Zap/4' in family 'cfb'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] db.c: Unable to find key 'SIP/20' in family 'cfb'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] db.c: Unable to find key 'SIP/telasip' in family 'cfb'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] db.c: Unable to find key 'SIP/10' in family 'cfb'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] db.c: Unable to find key 'Zap/1' in family 'cfb'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] db.c: Unable to find key 'SIP/40' in family 'cfb'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] db.c: Unable to find key 'SIP/30' in family 'cfb'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] db.c: Unable to find key 'Zap/2' in family 'cfb'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] db.c: Unable to find key 'Zap/3' in family 'dnd'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] db.c: Unable to find key 'Zap/4' in family 'dnd'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] db.c: Unable to find key 'SIP/20' in family 'dnd'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] db.c: Unable to find key 'SIP/telasip' in family 'dnd'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] db.c: Unable to find key 'SIP/10' in family 'dnd'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] db.c: Unable to find key 'Zap/1' in family 'dnd'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] db.c: Unable to find key 'SIP/40' in family 'dnd'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] db.c: Unable to find key 'SIP/30' in family 'dnd'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] db.c: Unable to find key 'Zap/2' in family 'dnd'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'QueueStatus'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Status'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'ZapShowChannels'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'MailboxStatus'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'MailboxStatus'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'MailboxStatus'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'MailboxStatus'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:58:58 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:59:00 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:59:00 DEBUG[6484] manager.c: Manager received command 'Command'
Jul 1 10:59:00 DEBUG[6451] rtp.c: Got RTCP report of 88 bytes
Jul 1 10:59:03 DEBUG[2845] chan_sip.c: Allocating new SIP dialog for (No Call-ID) - NOTIFY (No RTP)
Jul 1 10:59:04 DEBUG[2845] chan_sip.c: Stopping retransmission on '258e4f8b5f7535371b229fe46e3e06bd@192.168.0.30' of Request 102: Match Found
Jul 1 10:59:04 DEBUG[2845] chan_sip.c: Allocating new SIP dialog for (No Call-ID) - NOTIFY (No RTP)
Jul 1 10:59:04 DEBUG[2845] chan_sip.c: Stopping retransmission on '1a5b1ded1e6f407f2d9ae9e84678fb8b@192.168.0.30' of Request 102: Match Found
Jul 1 10:59:10 DEBUG[6451] rtp.c: Got RTCP report of 88 bytes
Jul 1 10:59:15 DEBUG[2845] chan_sip.c: Auto destroying call '7bfd15df2d91a3663bc43bd030378c93@127.0.0.1'
Jul 1 10:59:20 DEBUG[6451] rtp.c: Got RTCP report of 88 bytes
Jul 1 10:59:25 DEBUG[2845] chan_sip.c: Auto destroying call '45ba58584c60376f485d4d4f75eef0b5@127.0.0.1'
Jul 1 10:59:30 DEBUG[6451] rtp.c: Got RTCP report of 88 bytes
Jul 1 10:59:36 DEBUG[2845] chan_sip.c: Allocating new SIP dialog for CALL_ID13_0015E9708427_T1887157520@192.168.0.10 - INVITE (With RTP)
Jul 1 10:59:36 DEBUG[2845] chan_sip.c: * SIP extension value: 7 for call CALL_ID13_0015E9708427_T1887157520@192.168.0.10
Jul 1 10:59:36 DEBUG[2845] chan_sip.c: Setting NAT on RTP to 0
Jul 1 10:59:36 DEBUG[2845] chan_sip.c: Stopping retransmission on 'CALL_ID13_0015E9708427_T1887157520@192.168.0.10' of Response 1863782859: Match Found
Jul 1 10:59:36 DEBUG[2845] chan_sip.c: Setting NAT on RTP to 0
Jul 1 10:59:36 DEBUG[2845] chan_sip.c: Checking SIP call limits for device 20
Jul 1 10:59:36 DEBUG[2845] chan_sip.c: build_route: Contact hop:
Jul 1 10:59:36 DEBUG[6489] pbx.c: Launching 'Macro'
Jul 1 10:59:36 DEBUG[6489] pbx.c: Expression result is '0'
Jul 1 10:59:36 DEBUG[6489] pbx.c: Launching 'GotoIf'
Jul 1 10:59:36 DEBUG[6489] pbx.c: Not taking any branch
Jul 1 10:59:36 DEBUG[6489] pbx.c: Expression result is '0'
Jul 1 10:59:36 DEBUG[6489] pbx.c: Launching 'GotoIf'
Jul 1 10:59:36 DEBUG[6489] pbx.c: Not taking any branch
Jul 1 10:59:36 DEBUG[6489] pbx.c: Function result is '20'
Jul 1 10:59:36 DEBUG[6489] pbx.c: Launching 'Set'
Jul 1 10:59:36 DEBUG[6489] pbx.c: Launching 'NoOp'
Jul 1 10:59:36 DEBUG[6489] pbx.c: Function result is '20'
Jul 1 10:59:36 DEBUG[6489] pbx.c: Launching 'Set'
Jul 1 10:59:36 DEBUG[6489] pbx.c: Function result is 'Eric Gould'
Jul 1 10:59:36 DEBUG[6489] pbx.c: Launching 'Set'
Jul 1 10:59:36 DEBUG[6489] pbx.c: Expression result is '0'
Jul 1 10:59:36 DEBUG[6489] pbx.c: Launching 'GotoIf'
Jul 1 10:59:36 DEBUG[6489] pbx.c: Not taking any branch
Jul 1 10:59:36 DEBUG[6489] pbx.c: Launching 'Set'
Jul 1 10:59:36 DEBUG[6489] pbx.c: Function result is '"Eric Gould" <20>'
Jul 1 10:59:36 DEBUG[6489] pbx.c: Launching 'NoOp'
Jul 1 10:59:36 DEBUG[6489] pbx.c: Function result is '20'
Jul 1 10:59:36 DEBUG[6489] pbx.c: Launching 'Set'
Jul 1 10:59:36 DEBUG[6489] pbx.c: Launching 'Answer'
Jul 1 10:59:36 DEBUG[6489] chan_sip.c: sip_answer(SIP/20-3458)
Jul 1 10:59:36 DEBUG[6489] pbx.c: Launching 'Wait'
Jul 1 10:59:36 DEBUG[6490] app_queue.c: Device 'SIP/20' changed to state '2' (In use) but we don't care because they're not a member of any queue.
Jul 1 10:59:36 DEBUG[6491] app_queue.c: Device 'SIP/20' changed to state '2' (In use) but we don't care because they're not a member of any queue.
Jul 1 10:59:36 DEBUG[2845] chan_sip.c: Stopping retransmission on 'CALL_ID13_0015E9708427_T1887157520@192.168.0.10' of Response 1863782860: Match Found
Jul 1 10:59:37 DEBUG[6489] pbx.c: Launching 'ZapBarge'
Jul 1 10:59:37 DEBUG[6489] channel.c: Set channel SIP/20-3458 to write format ulaw
Jul 1 10:59:37 DEBUG[6489] rtp.c: Ooh, format changed from unknown to ulaw
Jul 1 10:59:37 DEBUG[6489] channel.c: Scheduling timer at 160 sample intervals
Jul 1 10:59:40 DEBUG[6489] channel.c: Scheduling timer at 41 sample intervals
Jul 1 10:59:40 DEBUG[6489] channel.c: Scheduling timer at 0 sample intervals
Jul 1 10:59:40 DEBUG[6489] channel.c: Scheduling timer at 0 sample intervals
Jul 1 10:59:40 DEBUG[6489] channel.c: Set channel SIP/20-3458 to write format ulaw
Jul 1 10:59:40 DEBUG[6451] rtp.c: Got RTCP report of 88 bytes
Jul 1 10:59:43 DEBUG[6489] channel.c: Set channel SIP/20-3458 to write format ulaw
Jul 1 10:59:43 DEBUG[6489] channel.c: Set channel SIP/20-3458 to read format ulaw
Jul 1 10:59:43 WARNING[6489] app_zapbarge.c: Error setting conference
Jul 1 10:59:43 DEBUG[6489] pbx.c: Spawn extension (from-internal,888,5) exited non-zero on 'SIP/20-3458'
Jul 1 10:59:43 DEBUG[6489] pbx.c: Launching 'Macro'
Jul 1 10:59:43 DEBUG[6489] pbx.c: Launching 'ResetCDR'
Jul 1 10:59:43 DEBUG[6489] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
Jul 1 10:59:43 DEBUG[6489] 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,uniqueid) VALUES ('2006-07-01 10:59:36','\"Eric Gould\" <20>','20','888','from-internal', 'SIP/20-3458','','ResetCDR','w',7,7,'ANSWERED',3,'','1151765976.59')
Jul 1 10:59:43 DEBUG[6489] pbx.c: Launching 'NoCDR'
Jul 1 10:59:43 WARNING[6489] cdr.c: CDR on channel 'SIP/20-3458' not posted
Jul 1 10:59:43 WARNING[6489] cdr.c: CDR on channel 'SIP/20-3458' lacks end
Jul 1 10:59:43 DEBUG[6489] pbx.c: Launching 'Wait'
Jul 1 10:59:46 DEBUG[6489] app_macro.c: Spawn extension (macro-hangupcall,s,3) exited non-zero on 'SIP/20-3458' in macro 'hangupcall'
Jul 1 10:59:46 DEBUG[6489] pbx.c: Spawn extension (macro-hangupcall,s,3) exited non-zero on 'SIP/20-3458'
Jul 1 10:59:46 DEBUG[6489] channel.c: Hanging up channel 'SIP/20-3458'
Jul 1 10:59:46 DEBUG[6489] chan_sip.c: Hangup call SIP/20-3458, SIP callid CALL_ID13_0015E9708427_T1887157520@192.168.0.10)
Jul 1 10:59:46 DEBUG[6489] chan_sip.c: update_call_counter(20) - decrement call limit counter
Jul 1 10:59:46 DEBUG[6492] app_queue.c: Device 'SIP/20' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
Jul 1 10:59:50 DEBUG[6451] rtp.c: Got RTCP report of 88 bytes
Jul 1 10:59:53 DEBUG[2845] chan_sip.c: Allocating new SIP dialog for (No Call-ID) - OPTIONS (No RTP)
Jul 1 10:59:53 DEBUG[2845] chan_sip.c: Stopping retransmission on '1fa13200159022b547434f3a292e0853@192.168.0.30' of Request 102: Match Found
Jul 1 10:59:55 DEBUG[2845] chan_sip.c: Allocating new SIP dialog for CALL_ID14_0015E9708427_T648222641@192.168.0.10 - INVITE (With RTP)
Jul 1 10:59:55 DEBUG[2845] chan_sip.c: * SIP extension value: 7 for call CALL_ID14_0015E9708427_T648222641@192.168.0.10
Jul 1 10:59:55 DEBUG[2845] chan_sip.c: Setting NAT on RTP to 0
Jul 1 10:59:55 DEBUG[2845] chan_sip.c: Stopping retransmission on 'CALL_ID14_0015E9708427_T648222641@192.168.0.10' of Response 394677471: Match Found
Jul 1 10:59:55 DEBUG[2845] chan_sip.c: Setting NAT on RTP to 0
Jul 1 10:59:55 DEBUG[2845] chan_sip.c: Checking SIP call limits for device 20
Jul 1 10:59:55 DEBUG[2845] chan_sip.c: build_route: Contact hop:
Jul 1 10:59:55 DEBUG[6493] pbx.c: Launching 'Macro'
Jul 1 10:59:55 DEBUG[6493] pbx.c: Expression result is '0'
Jul 1 10:59:55 DEBUG[6493] pbx.c: Launching 'GotoIf'
Jul 1 10:59:55 DEBUG[6493] pbx.c: Not taking any branch
Jul 1 10:59:55 DEBUG[6493] pbx.c: Expression result is '0'
Jul 1 10:59:55 DEBUG[6493] pbx.c: Launching 'GotoIf'
Jul 1 10:59:55 DEBUG[6493] pbx.c: Not taking any branch
Jul 1 10:59:55 DEBUG[6493] pbx.c: Function result is '20'
Jul 1 10:59:55 DEBUG[6493] pbx.c: Launching 'Set'
Jul 1 10:59:55 DEBUG[6493] pbx.c: Launching 'NoOp'
Jul 1 10:59:55 DEBUG[6493] pbx.c: Function result is '20'
Jul 1 10:59:55 DEBUG[6493] pbx.c: Launching 'Set'
Jul 1 10:59:55 DEBUG[6493] pbx.c: Function result is 'Eric Gould'
Jul 1 10:59:55 DEBUG[6493] pbx.c: Launching 'Set'
Jul 1 10:59:55 DEBUG[6493] pbx.c: Expression result is '0'
Jul 1 10:59:55 DEBUG[6493] pbx.c: Launching 'GotoIf'
Jul 1 10:59:55 DEBUG[6493] pbx.c: Not taking any branch
Jul 1 10:59:55 DEBUG[6493] pbx.c: Launching 'Set'
Jul 1 10:59:55 DEBUG[6493] pbx.c: Function result is '"Eric Gould" <20>'
Jul 1 10:59:55 DEBUG[6493] pbx.c: Launching 'NoOp'
Jul 1 10:59:55 DEBUG[6493] pbx.c: Function result is '20'
Jul 1 10:59:55 DEBUG[6493] pbx.c: Launching 'Set'
Jul 1 10:59:55 DEBUG[6493] pbx.c: Launching 'Answer'
Jul 1 10:59:55 DEBUG[6493] chan_sip.c: sip_answer(SIP/20-5013)
Jul 1 10:59:55 DEBUG[6493] pbx.c: Launching 'Wait'
Jul 1 10:59:55 DEBUG[6494] app_queue.c: Device 'SIP/20' changed to state '2' (In use) but we don't care because they're not a member of any queue.
Jul 1 10:59:55 DEBUG[6495] app_queue.c: Device 'SIP/20' changed to state '2' (In use) but we don't care because they're not a member of any queue.
Jul 1 10:59:55 DEBUG[2845] chan_sip.c: Stopping retransmission on 'CALL_ID14_0015E9708427_T648222641@192.168.0.10' of Response 394677472: Match Found
Jul 1 10:59:56 DEBUG[6493] pbx.c: Launching 'ZapBarge'