Same thing:

  == Using SIP RTP CoS mark 5
    -- Executing [...@outbound:1] Answer("SIP/102-096a48c8", "") in new stack
    -- Executing [...@outbound:2] Verbose("SIP/102-096a48c8", " "In timeofday" 
") in new stack
 In timeofday
    -- Executing [...@outbound:3] GotoIfTime("SIP/102-096a48c8", " 
00:00-12:00,*,*,*?day") in new stack
    -- Executing [...@outbound:4] GotoIfTime("SIP/102-096a48c8", " 
12:01-17:59,*,*,*?afternoon") in new stack
    -- Executing [...@outbound:5] GotoIfTime("SIP/102-096a48c8", " 
18:00-11:59,*,*,*?night") in new stack
    -- Goto (outbound,80,16)
    -- Executing [...@outbound:16] Verbose("SIP/102-096a48c8", 
""Night.............."") in new stack
Night..............
    -- Executing [...@outbound:17] BackGround("SIP/102-096a48c8", " es/good ") 
in new stack
[Dec 12 23:24:07] WARNING[6343]: file.c:650 ast_openstream_full: File  es/good  
does not exist in any format
[Dec 12 23:24:07] WARNING[6343]: file.c:933 ast_streamfile: Unable to open  
es/good  (format 0x8 (alaw)): No such f
ile or directory
[Dec 12 23:24:07] WARNING[6343]: pbx.c:8251 pbx_builtin_background: 
ast_streamfile failed on SIP/102-096a48c8 for
es/good
    -- Executing [...@outbound:18] BackGround("SIP/102-096a48c8", " es/evening 
") in new stack
[Dec 12 23:24:07] WARNING[6343]: file.c:650 ast_openstream_full: File  
es/evening  does not exist in any format
[Dec 12 23:24:07] WARNING[6343]: file.c:933 ast_streamfile: Unable to open  
es/evening  (format 0x8 (alaw)): No suc
h file or directory
[Dec 12 23:24:07] WARNING[6343]: pbx.c:8251 pbx_builtin_background: 
ast_streamfile failed on SIP/102-096a48c8 for
es/evening
    -- Executing [...@outbound:19] Hangup("SIP/102-096a48c8", "") in new stack
  == Spawn extension (outbound, 80, 19) exited non-zero on 'SIP/102-096a48c8'

This is what the context looks like:

[timeofday]

exten => 80,1,Answer()
exten => 80,n,Verbose( "In timeofday" )
exten => 80,n,GotoIfTime( 00:00-12:00,*,*,*?day)
exten => 80,n,GotoIfTime( 12:01-17:59,*,*,*?afternoon)
exten => 80,n,GotoIfTime( 18:00-11:59,*,*,*?night)

exten => 80,n(day),Verbose("It's Day..............")
exten => 80,n,BackGround( es/good )
exten => 80,n,Verbose("Day..............")
exten => 80,n,BackGround( es/morning )
exten => 80,n,hangup()

exten => 80,n(afternoon),Verbose("It's Afternoon..............")
exten => 80,n,BackGround( es/good )
exten => 80,n,Verbose("afternoon..............")
exten => 80,n,BackGround( es/afternoon )
exten => 80,n,hangup()


exten => 80,n(night),Verbose("Night..............")
exten => 80,n,BackGround( es/good )
exten => 80,n,BackGround( es/evening )
exten => 80,n,hangup()



      

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to