2
« on: September 23, 2011, 14:35:28 »
Thanks,
I fix the incoming by putting the iax2 extension as a static agent.
But if if try to call from queuemetrics outbound queue, from the QM web Interface.. It tries to ring the IAX2 phone but the phone never rings but the destination does get the call so the call is routed out by the system. If i do the same thing with the same phone but instead of acquiring the phone as IAX2 i use the SIP everything is working the phone rings i can pickup and then route the call. I have tried to put the IAX" extension in as a static agent but same issue cannot do an outbound call from the QM web app
-- Executing [3264@from-internal:1] Macro("Local/3264@from-internal-ce5b;2", "exten-vm,3264,3264") in new stack
-- Executing [s@macro-exten-vm:1] Macro("Local/3264@from-internal-ce5b;2", "user-callerid") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/3264@from-internal-ce5b;2", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("Local/3264@from-internal-ce5b;2", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("Local/3264@from-internal-ce5b;2", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("Local/3264@from-internal-ce5b;2", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("Local/3264@from-internal-ce5b;2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("Local/3264@from-internal-ce5b;2", "Using CallerID "" <>") in new stack
-- Executing [s@macro-exten-vm:2] Set("Local/3264@from-internal-ce5b;2", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("Local/3264@from-internal-ce5b;2", "VMBOX=3264") in new stack
-- Executing [s@macro-exten-vm:4] Set("Local/3264@from-internal-ce5b;2", "EXTTOCALL=3264") in new stack
-- Executing [s@macro-exten-vm:5] Set("Local/3264@from-internal-ce5b;2", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("Local/3264@from-internal-ce5b;2", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("Local/3264@from-internal-ce5b;2", "RT=15") in new stack
-- Executing [s@macro-exten-vm:8] Macro("Local/3264@from-internal-ce5b;2", "record-enable,3264,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Local/3264@from-internal-ce5b;2", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("Local/3264@from-internal-ce5b;2", "recordingcheck,20110923-082119,1316780479.110") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck,20110923-082119,1316780479.110: Inbound recording not enabled
-- <Local/3264@from-internal-ce5b;2>AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("Local/3264@from-internal-ce5b;2", "") in new stack
-- Executing [s@macro-exten-vm:9] Macro("Local/3264@from-internal-ce5b;2", "dial,15,tr,3264") in new stack
-- Executing [s@macro-dial:1] GotoIf("Local/3264@from-internal-ce5b;2", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("Local/3264@from-internal-ce5b;2", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is 'unknown' number is 'unknown'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 3264 to extension map
-- dialparties.agi: Extension 3264 cf is disabled
-- dialparties.agi: Extension 3264 do not disturb is disabled
> dialparties.agi: extnum 3264 has: cw: 0; hascfb: 0 [] hascfu: 0 []
dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
dialparties.agi: Extension 3264 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 3264
-- dialparties.agi: DbDel CALLTRACE/3264 - Caller ID is not defined
-- dialparties.agi: Filtered ARG3: 3264
-- <Local/3264@from-internal-ce5b;2>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("Local/3264@from-internal-ce5b;2", "IAX2/3264,15,tr") in new stack
-- Called 3264
-- Nobody picked up in 15000 ms
-- Hungup 'IAX2/3264-2543'
-- Executing [s@macro-dial:8] Set("Local/3264@from-internal-ce5b;2", "DIALSTATUS=NOANSWER") in new stack
-- Executing [s@macro-dial:9] GosubIf("Local/3264@from-internal-ce5b;2", "0?NOANSWER,1") in new stack
-- Executing [s@macro-exten-vm:10] GotoIf("Local/3264@from-internal-ce5b;2", "0?exit,return") in new stack
-- Executing [s@macro-exten-vm:11] Set("Local/3264@from-internal-ce5b;2", "SV_DIALSTATUS=NOANSWER") in new stack
-- Executing [s@macro-exten-vm:12] GosubIf("Local/3264@from-internal-ce5b;2", "0?docfu,1") in new stack
-- Executing [s@macro-exten-vm:13] GosubIf("Local/3264@from-internal-ce5b;2", "0?docfb,1") in new stack
-- Executing [s@macro-exten-vm:14] Set("Local/3264@from-internal-ce5b;2", "DIALSTATUS=NOANSWER") in new stack
-- Executing [s@macro-exten-vm:15] NoOp("Local/3264@from-internal-ce5b;2", "Voicemail is '3264'") in new stack
-- Executing [s@macro-exten-vm:16] GotoIf("Local/3264@from-internal-ce5b;2", "0?s-NOANSWER,1") in new stack
-- Executing [s@macro-exten-vm:17] NoOp("Local/3264@from-internal-ce5b;2", "Sending to Voicemail box 3264") in new stack
-- Executing [s@macro-exten-vm:18] Macro("Local/3264@from-internal-ce5b;2", "vm,3264,NOANSWER,") in new stack
-- Executing [s@macro-vm:1] Macro("Local/3264@from-internal-ce5b;2", "user-callerid,SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/3264@from-internal-ce5b;2", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("Local/3264@from-internal-ce5b;2", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("Local/3264@from-internal-ce5b;2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("Local/3264@from-internal-ce5b;2", "Using CallerID "" <>") in new stack
-- Executing [s@macro-vm:2] Set("Local/3264@from-internal-ce5b;2", "VMGAIN=""") in new stack
-- Executing [s@macro-vm:3] GotoIf("Local/3264@from-internal-ce5b;2", "1?vmx,1") in new stack
-- Goto (macro-vm,vmx,1)
-- Executing [vmx@macro-vm:1] GotoIf("Local/3264@from-internal-ce5b;2", "0?s-NOANSWER,1") in new stack
-- Executing [vmx@macro-vm:2] Set("Local/3264@from-internal-ce5b;2", "MODE=unavail") in new stack
-- Executing [vmx@macro-vm:3] GotoIf("Local/3264@from-internal-ce5b;2", "1?notdirect") in new stack
-- Goto (macro-vm,vmx,5)
-- Executing [vmx@macro-vm:5] NoOp("Local/3264@from-internal-ce5b;2", "Checking if ext 3264 is enabled: ") in new stack
-- Executing [vmx@macro-vm:6] GotoIf("Local/3264@from-internal-ce5b;2", "1?s-NOANSWER,1") in new stack
-- Goto (macro-vm,s-NOANSWER,1)
-- Executing [s-NOANSWER@macro-vm:1] Macro("Local/3264@from-internal-ce5b;2", "get-vmcontext,3264") in new stack
-- Executing [s@macro-get-vmcontext:1] Set("Local/3264@from-internal-ce5b;2", "VMCONTEXT=default") in new stack
-- Executing [s@macro-get-vmcontext:2] GotoIf("Local/3264@from-internal-ce5b;2", "0?200:300") in new stack
-- Goto (macro-get-vmcontext,s,300)
-- Executing [s@macro-get-vmcontext:300] NoOp("Local/3264@from-internal-ce5b;2", "") in new stack
-- Executing [s-NOANSWER@macro-vm:2] VoiceMail("Local/3264@from-internal-ce5b;2", "3264@default,su""") in new stack
> Channel Local/3264@from-internal-ce5b;1 was answered.
== Manager 'admin' logged off from 127.0.0.1
-- Executing [28@queuemetrics:1] Answer("Local/3264@from-internal-ce5b;1", "") in new stack
-- Executing [28@queuemetrics:2] NoOp("Local/3264@from-internal-ce5b;1", " "QM: Agent Custom Dial. Dialing 4188183719 on queue 2001 made by 'Agent/3264'" ") in new stack
-- Executing [28@queuemetrics:3] Set("Local/3264@from-internal-ce5b;1", "QDIALER_QUEUE=2001") in new stack
-- Executing [28@queuemetrics:4] Set("Local/3264@from-internal-ce5b;1", "QDIALER_NUMBER=4188183719") in new stack
-- Executing [28@queuemetrics:5] Set("Local/3264@from-internal-ce5b;1", "QDIALER_AGENT=Agent/3264") in new stack
-- Executing [28@queuemetrics:6] Set("Local/3264@from-internal-ce5b;1", "QDIALER_CHANNEL=DAHDI/g0/4188183719") in new stack
-- Executing [28@queuemetrics:7] Set("Local/3264@from-internal-ce5b;1", "QueueName=2001") in new stack
-- Executing [28@queuemetrics:8] MixMonitor("Local/3264@from-internal-ce5b;1", "Q-2001-1316780479.109.WAV,b,") in new stack
== Begin MixMonitor Recording Local/3264@from-internal-ce5b;1
-- Executing [28@queuemetrics:9] Goto("Local/3264@from-internal-ce5b;1", "qm-queuedial,s,1") in new stack
-- Goto (qm-queuedial,s,1)
-- Executing [s@qm-queuedial:1] NoOp("Local/3264@from-internal-ce5b;1", "") in new stack
-- Executing [s@qm-queuedial:2] Set("Local/3264@from-internal-ce5b;1", "CDR(accountcode)=QDIALAGI") in new stack
-- Executing [s@qm-queuedial:3] Set("Local/3264@from-internal-ce5b;1", "ST=1316780494") in new stack
-- Executing [s@qm-queuedial:4] Set("Local/3264@from-internal-ce5b;1", "GM=QDV-Agent/3264") in new stack
-- Executing [s@qm-queuedial:5] Set("Local/3264@from-internal-ce5b;1", "GLOBAL(QDV-Agent/3264)=U") in new stack
== Setting global variable 'QDV-Agent/3264' to 'U'
-- Executing [s@qm-queuedial:6] Set("Local/3264@from-internal-ce5b;1", "GLOBAL(QDV-Agent/3264ans)=0") in new stack
== Setting global variable 'QDV-Agent/3264ans' to '0'
-- Executing [s@qm-queuedial:7] Macro("Local/3264@from-internal-ce5b;1", "queuelog,1316780494,1316780479.109,2001,Agent/3264,CALLOUTBOUND,,4188183719") in new stack
-- Executing [s@macro-queuelog:1] QueueLog("Local/3264@from-internal-ce5b;1", "2001,1316780479.109,Agent/3264,CALLOUTBOUND,|4188183719|") in new stack
-- Executing [s@qm-queuedial:8] Dial("Local/3264@from-internal-ce5b;1", "DAHDI/g0/4188183719,300,gM(queuedial-answer^1316780479.109^QDV-Agent/3264^2001^Agent/3264^1316780494)") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g0/4188183719
-- DAHDI/1-1 is proceeding passing it to Local/3264@from-internal-ce5b;1
-- <Local/3264@from-internal-ce5b;2> Playing 'vm-theperson.gsm' (language 'en')
-- DAHDI/1-1 is ringing
-- <Local/3264@from-internal-ce5b;2> Playing 'digits/3.gsm' (language 'en')
-- <Local/3264@from-internal-ce5b;2> Playing 'digits/2.gsm' (language 'en')
-- <Local/3264@from-internal-ce5b;2> Playing 'digits/6.gsm' (language 'en')
-- <Local/3264@from-internal-ce5b;2> Playing 'digits/4.gsm' (language 'en')
-- <Local/3264@from-internal-ce5b;2> Playing 'vm-isunavail.gsm' (language 'en')
-- <Local/3264@from-internal-ce5b;2> Playing 'beep.gsm' (language 'en')
-- Recording the message
-- x=0, open writing: /var/spool/asterisk/voicemail/default/3264/tmp/MnhhIt format: wav49, 0xb6835468
-- x=1, open writing: /var/spool/asterisk/voicemail/default/3264/tmp/MnhhIt format: gsm, 0xb6835688
-- x=2, open writing: /var/spool/asterisk/voicemail/default/3264/tmp/MnhhIt format: wav, 0xb7b5e050
-- Local/3264@from-internal-ce5b;1 requested special control 18, passing it to DAHDI/1-1
-- DAHDI/1-1 answered Local/3264@from-internal-ce5b;1
-- Executing [s@macro-queuedial-answer:1] NoOp("DAHDI/1-1", ""Macro: queuedial-answer UID:1316780479.109 GR:QDV-Agent/3264 Q:2001 A:Agent/3264 E:1316780494"") in new stack
-- Executing [s@macro-queuedial-answer:2] Set("DAHDI/1-1", "NOW=1316780507") in new stack
-- Executing [s@macro-queuedial-answer:3] Set("DAHDI/1-1", "WD=13") in new stack
-- Executing [s@macro-queuedial-answer:4] Macro("DAHDI/1-1", "queuelog,1316780507,1316780479.109,2001,Agent/3264,CONNECT,13") in new stack
-- Executing [s@macro-queuelog:1] QueueLog("DAHDI/1-1", "2001,1316780479.109,Agent/3264,CONNECT,13||") in new stack
-- Executing [s@macro-queuedial-answer:5] Set("DAHDI/1-1", "GLOBAL(QDV-Agent/3264)=A") in new stack
== Setting global variable 'QDV-Agent/3264' to 'A'
-- Executing [s@macro-queuedial-answer:6] Set("DAHDI/1-1", "GLOBAL(QDV-Agent/3264ans)=1316780507") in new stack
== Setting global variable 'QDV-Agent/3264ans' to '1316780507'
-- Executing [s@macro-queuedial-answer:7] NoOp("DAHDI/1-1", ""Macro queuedial-answer terminating" ") in new stack
-- Channel 0/1, span 1 got hangup request, cause 16
-- Hungup 'DAHDI/1-1'
-- Executing [s@qm-queuedial:9] Set("Local/3264@from-internal-ce5b;1", "CAUSECOMPLETE=C") in new stack
-- Auto fallthrough, channel 'Local/3264@from-internal-ce5b;1' status is 'ANSWER'
-- Executing [h@qm-queuedial:1] NoOp("Local/3264@from-internal-ce5b;1", " "Call exiting: status A answered at: 1316780507 DS: ANSWER" ") in new stack
-- Executing [h@qm-queuedial:2] Goto("Local/3264@from-internal-ce5b;1", "case-A") in new stack
-- Goto (qm-queuedial,h,7)
-- Executing [h@qm-queuedial:7] Set("Local/3264@from-internal-ce5b;1", "COMPLETE=COMPLETECALLER") in new stack
-- Executing [h@qm-queuedial:8] Set("Local/3264@from-internal-ce5b;1", "WT=13") in new stack
-- Executing [h@qm-queuedial:9] Set("Local/3264@from-internal-ce5b;1", "CT=12") in new stack
-- Executing [h@qm-queuedial:10] Macro("Local/3264@from-internal-ce5b;1", "queuelog,1316780519,1316780479.109,2001,Agent/3264,COMPLETECALLER,13,12") in new stack
-- Executing [s@macro-queuelog:1] QueueLog("Local/3264@from-internal-ce5b;1", "2001,1316780479.109,Agent/3264,COMPLETECALLER,13|12|") in new stack
-- Executing [h@qm-queuedial:11] Hangup("Local/3264@from-internal-ce5b;1", "") in new stack
== Spawn extension (qm-queuedial, h, 11) exited non-zero on 'Local/3264@from-internal-ce5b;1'
== MixMonitor close filestream
== End MixMonitor Recording Local/3264@from-internal-ce5b;1
-- User hung up