Nothing
i mean i did this
; extension 14 makes remote monitoring possible for OUTBOUND CALLS
exten => 14,1,Answer
exten => 14,2,NoOp( "QM_AGENT_CODE: ${QM_AGENT_CODE}" )
exten => 14,3,NoOp( "QM_EXT_MONITOR: ${QM_EXT_MONITOR}" )
exten => 14,4,NoOp( "QM_AGENT_EXT: ${QM_AGENT_EXT}" )
exten => 14,5,NoOp( "QM_LOGIN: ${QM_LOGIN}" )
;exten => 14,6,ChanSpy(Local/${QM_AGENT_CODE:6}@from-internal)
exten => 14,6,ChanSpy(SIP/${QM_AGENT_CODE:6})
this is the output when i dial to the number but nothing happens after i click on the icon type the extension and prees monitor buttom
servidor*CLI>
-- Executing [73139000@from-internal:1] Answer("SIP/111-b760cd80", "") in new stack
-- Executing [73139000@from-internal:2] Set("SIP/111-b760cd80", "anagent=1010") in new stack
-- Executing [73139000@from-internal:3] GotoIf("SIP/111-b760cd80", "1?marcarag") in new stack
-- Goto (from-internal,73139000,5)
-- Executing [73139000@from-internal:5] DeadAGI("SIP/111-b760cd80", "queueDial.agi|3139000|sip/spa400/3139000|350|Agent/1010") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/queueDial.agi
-- AGI Script Executing Application: (dial) Options: (sip/spa400/3139000||g)
-- Called spa400/3139000
-- SIP/spa400-094fd508 answered SIP/111-b760cd80
-- AGI Script queueDial.agi completed, returning 0