All pastes #51752 Raw Edit

Untitled

public text v1 · immutable
#51752 ·published 2006-04-27 14:21 UTC
rendered paste body
exten = 2003,1,Macro(stdexten,2003,SIP/2003)
changed to:
exten = 2003,1,Macro(musicDial,2003,SIP/2003)


results:


    -- Executing Macro("SIP/2003-c1ce", "music") in new stack
    -- Executing Answer("SIP/2003-c1ce", "") in new stack
    -- Executing NoOp("SIP/2003-c1ce", "SIP/2003-c1ce") in new stack
    -- Executing NoOp("SIP/2003-c1ce", "2003") in new stack
    -- Executing Set("SIP/2003-c1ce", "DB(DEVICE/2003/muzak)=1") in new stack
    -- Executing Set("SIP/2003-c1ce", "DB(DEVICE/2003/channel)=SIP/2003-c1ce") in new stack
    -- Executing MusicOnHold("SIP/2003-c1ce", "test") in new stack
    -- Started music on hold, class 'test', on channel 'SIP/2003-c1ce'

   -- Executing Macro("SIP/2010-ab2b", "musicDial|2003|SIP/2003") in new stack
Apr 27 09:21:06 WARNING[16205]: ast_expr2.fl:183 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected TOK_EQ, expecting TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input:
 = 1
 ^
Apr 27 09:21:06 WARNING[16205]: ast_expr2.fl:187 ast_yyerror: If you have questions, please refer to doc/README.variables in the asterisk source.
    -- Executing GotoIf("SIP/2010-ab2b", "0?s|10:s|100") in new stack
    -- Goto (macro-musicDial,s,100)
    -- Executing NoOp("SIP/2010-ab2b", "Dialing Extension") in new stack
    -- Executing Dial("SIP/2010-ab2b", "2003/SIP/2003") in new stack
Apr 27 09:21:06 WARNING[16205]: channel.c:2543 ast_request: No channel type registered for '2003'
Apr 27 09:21:06 NOTICE[16205]: app_dial.c:1011 dial_exec_full: Unable to create channel of type '2003' (cause 66 - Channel not implemented)
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Stopped music on hold on SIP/2003-c1ce
  == Spawn extension (macro-music, s, 6) exited non-zero on 'SIP/2003-c1ce' in macro 'music'
  == Spawn extension (macro-music, s, 6) exited non-zero on 'SIP/2003-c1ce'
    -- Executing Set("SIP/2003-c1ce", "DB(DEVICE/2003/muzak)=0") in new stack