All pastes #12241 Raw Edit

darwin35

public text v1 · immutable
#12241 ·published 2005-05-20 12:17 UTC
rendered paste body
[inbound]
#include extensions.burrough-brasuell.conf
#include extensions.internal.conf

this exten is in extensions.burrough-brasuell.conf
exten => 2010150,1,Goto(autoattend|s|1)

then it jumps back to the main extensions.conf to autoattend

[autoattend]
include => selection
;
include => night|00:00-23:59|sun|*|* ; closed sundays
include => night|16:01-23:59|sat|*|* ; closed
include => night|00:00-08:59|sat|*|* ; closed before sat opens
include => day|00:00-07:59|mon-fri|*|* ; closed
include => day|18:01-23:59|mon-fri|*|* ; closed
include => day|08:00-17:00|mon-fri|*|* ; OPEN w00t!
include => night|09:00-16:00|sat|*|* ; OPEN w00t!
;
[day]
exten => s,1,Dial(SIP/151&SIP/152&SIP/153&SIP/154&SIP/155&SIP/156&SIP/157&SIP/158&SIP/159&SIP/160|15|Tr)
exten => s,2,Dial(SIP/1001&SIP/1002&SIP/1003&SIP/1004&SIP/1005&SIP/1010&SIP/1007&SIP/1008&SIP/1009&SIP/1010|15|Tr)
exten => s,3,Dial(SIP/1011&SIP/1012&SIP/1013&SIP/1014&SIP/1015&SIP/1016&SIP/1017&SIP/1018&SIP/1019&SIP/1020|15|Tr)
exten => s,4,Answer
exten => s,5,Voicemail(u4715227)

cli > 
 -- Executing Goto("SIP/10.1.3.56-081c0000", "autoattend|s|1") in new stack
    -- Goto (autoattend,s,1)
    -- Called 151
    -- Called 160
    -- SIP/160-922f is ringing
    -- SIP/151-9474 is ringing
   -- Nobody picked up in 15000 ms
    -- Executing Dial("SIP/10.1.3.56-081c0000", "SIP/1001&SIP/1002&SIP/1003&SIP/1004&SIP/1005&SIP/1010&SIP/1007&SIP/1008&SIP/1009&SIP/1010|15|Tr") in new  tack
May 20 07:12:28 NOTICE[88655]: app_dial.c:972 dial_exec_full: Unable to create channel of type 'SIP' (cause 3)
    -- Called 1002
    -- Called 1003
    -- Called 1004
    -- Called 1005
May 20 07:12:28 NOTICE[88655]: app_dial.c:972 dial_exec_full: Unable to create channel of type 'SIP' (cause 3)
    -- Called 1007
    -- Called 1008
    -- Called 1009
May 20 07:12:28 NOTICE[88655]: app_dial.c:972 dial_exec_full: Unable to create channel of type 'SIP' (cause 3)
    -- SIP/1009-4a07 is ringing
    -- SIP/1004-db72 is ringing
    -- SIP/1005-dc14 is ringing
    -- SIP/1002-b4fa is ringing
    -- SIP/1003-0802 is ringing
    -- SIP/1007-6204 is ringing
    -- SIP/1008-17e7 is ringing
May 20 07:12:30 NOTICE[88655]: chan_sip.c:9139 handle_request_register: 
  == Spawn extension (autoattend, s, 2) exited non-zero on 'SIP/10.1.3.56-081c0000'