Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - lady_cr0ft

Pages: [1]
1
General Asterisk configuration / Re: QM Issue with TB 2.8
« on: November 13, 2009, 19:41:45 »
 ;D thanks! Here's what's in my /var/log/asterisk/full

[Nov 13 04:02:01] VERBOSE[3563] logger.c:   == Parsing '/etc/asterisk/logger.conf': [Nov 13 04:02:01] VERBOSE[3563] logger.c:   == Found
[Nov 13 04:02:01] VERBOSE[3563] logger.c:  Asterisk Event Logger restarted
[Nov 13 04:02:01] VERBOSE[3563] logger.c:  Asterisk Queue Logger restarted
[Nov 13 04:02:02] VERBOSE[3563] logger.c:     -- Remote UNIX connection disconnected
[Nov 13 04:56:34] VERBOSE[2520] logger.c:     -- Unregistered SIP '5366'
[Nov 13 05:11:03] VERBOSE[2496] logger.c:     -- Remote UNIX connection
[Nov 13 05:11:03] VERBOSE[3684] logger.c:     -- Remote UNIX connection disconnected
[Nov 13 05:11:03] VERBOSE[2496] logger.c:     -- Remote UNIX connection
[Nov 13 05:11:04] VERBOSE[3686] logger.c:     -- Remote UNIX connection disconnected
[Nov 13 05:11:04] VERBOSE[2496] logger.c:     -- Remote UNIX connection
[Nov 13 05:11:04] VERBOSE[3688] logger.c:     -- Remote UNIX connection disconnected
[Nov 13 05:11:04] VERBOSE[2496] logger.c:     -- Remote UNIX connection
[Nov 13 05:11:05] VERBOSE[3690] logger.c:     -- Remote UNIX connection disconnected
[Nov 13 07:00:47] VERBOSE[2999] logger.c:     -- Remote UNIX connection disconnected
[Nov 13 07:22:36] VERBOSE[3724] logger.c:   == Manager 'admin' logged on from 127.0.0.1
[Nov 13 07:22:37] VERBOSE[3724] logger.c:   == Manager 'admin' logged off from 127.0.0.1
[Nov 13 07:22:37] VERBOSE[3733] logger.c:   == Manager 'admin' logged on from 127.0.0.1
[Nov 13 07:22:37] VERBOSE[3733] logger.c:   == Manager 'admin' logged off from 127.0.0.1
[Nov 13 07:23:49] VERBOSE[2496] logger.c:     -- Remote UNIX connection
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/extconfig.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/manager.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/manager_additional.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/manager_custom.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/logger.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found
[Nov 13 07:23:49] VERBOSE[3736] logger.c:  Asterisk Event Logger restarted
[Nov 13 07:23:49] VERBOSE[3736] logger.c:  Asterisk Queue Logger restarted
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/features.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/features_general_additional.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/features_general_custom.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/features_applicationmap_additional.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/features_applicationmap_custom.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/features_featuremap_additional.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/features_featuremap_custom.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found
[Nov 13 07:23:49] VERBOSE[3736] logger.c:     -- Added extension '700' priority 1 to parkedcalls (0x9de68c8)
[Nov 13 07:23:49] VERBOSE[3736] logger.c:     -- Reloading module 'res_phoneprov.so' (HTTP Phone Provisioning)
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/sip.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/sip_general_additional.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/sip_general_custom.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/sip_nat.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/sip_registrations_custom.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/sip_registrations.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/sip_custom.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/sip_additional.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/sip_custom_post.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found
[Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Parsing '/etc/asterisk/phoneprov.conf': [Nov 13 07:23:49] VERBOSE[3736] logger.c:   == Found

2
General Asterisk configuration / Re: QM Issue with TB 2.8
« on: November 12, 2009, 18:15:08 »
 ??? What do you mean by run the command? Sorry, I'm not yet well versed on these stuff..

3
General Asterisk configuration / Re: QM Issue with TB 2.8
« on: November 11, 2009, 23:46:05 »
 :) Here's what I got:

-= Info about application 'AddQueueMember' =-

[Synopsis]
Dynamically adds queue members

[Description]
   AddQueueMember(queuename[,interface[,penalty[,options[,membername[,stateinterface]]]]]):
Dynamically adds interface to an existing queue.
If the interface is already in the queue it will return an error.
  This application sets the following channel variable upon completion:
     AQMSTATUS    The status of the attempt to add a queue member as a
                     text string, one of
           ADDED | MEMBERALREADY | NOSUCHQUEUE
Example: AddQueueMember(techsupport,SIP/3000)

4
General Asterisk configuration / Re: QM Issue with TB 2.8
« on: November 10, 2009, 21:37:19 »
   -= Registered Asterisk Applications =-
        AddQueueMember: Dynamically adds queue members
              ADSIProg: Load Asterisk ADSI Scripts into phone
            AgentLogin: Call agent login
  AgentMonitorOutgoing: Record agent's outgoing call
                   AGI: Executes an AGI compliant application
         AlarmReceiver: Provide support for receiving alarm reports from a burglar or fire alarm panel
                   AMD: Attempts to detect answering machines
                Answer: Answer a channel if ringing
          Authenticate: Authenticate a user
            BackGround: Play an audio file while waiting for digits of an extension to go to.
      BackgroundDetect: Background a file with talk detect
                Bridge: Bridge two channels
                  Busy: Indicate the Busy condition
         ChangeMonitor: Change monitoring filename of a channel
           ChanIsAvail: Check channel availability
       ChannelRedirect: Redirects given channel to a dialplan target.
               ChanSpy: Listen to a channel, and optionally whisper into it
             ClearHash: Clear the keys from a specified hashname
            Congestion: Indicate the Congestion condition
         ContinueWhile: Restart a While loop
       ControlPlayback: Play a file with fast forward and rewind
            DAHDIBarge: Barge in (monitor) DAHDI channel
              DAHDIRAS: Executes DAHDI ISDN RAS application
             DAHDIScan: Scan DAHDI channels to monitor calls
  DAHDISendKeypadFacility: Send digits out of band over a PRI
              DateTime: Says a specified time in a custom format
                 DBdel: Delete a key from the database
             DBdeltree: Delete a family or keytree from the database
               DeadAGI: Executes AGI on a hungup channel
                  Dial: Place a call and connect to the current channel
               Dictate: Virtual Dictation Machine
             Directory: Provide directory of voicemail extensions
                  DISA: DISA (Direct Inward System Access)
              DumpChan: Dump Info About The Calling Channel
                  EAGI: Executes an EAGI compliant application
                  Echo: Echo audio, video, or DTMF back to the calling party
              EndWhile: End a while loop
                  Exec: Executes dialplan application
                ExecIf: Executes dialplan application, conditionally
            ExecIfTime: Conditional application execution based on the current time
             ExitWhile: End a While loop
              ExtenSpy: Listen to a channel, and optionally whisper into it
           ExternalIVR: Interfaces with an external IVR application
              Festival: Say text to the user
                 Flash: Flashes a DAHDI Trunk
              FollowMe: Find-Me/Follow-Me application
               ForkCDR: Forks the Call Data Record
              GetCPEID: Get ADSI CPE ID
                 Gosub: Jump to label, saving return address
               GosubIf: Conditionally jump to label, saving return address
                  Goto: Jump to a particular priority, extension, or context
                GotoIf: Conditional goto
            GotoIfTime: Conditional Goto based on the current time
                Hangup: Hang up the calling channel
         IAX2Provision: Provision a calling IAXy with a given template
                  ICES: Encode and stream using 'ices'
             ImportVar: Import a variable from a channel into a new variable
            JabberSend: JabberSend(jabber,screenname,message)
          JabberStatus: JabberStatus(Jabber,ScreenName,Variable)
                   Log: Send arbitrary text to a selected log level
                 Macro: Macro Implementation
        MacroExclusive: Exclusive Macro Implementation
             MacroExit: Exit From Macro
               MacroIf: Conditional Macro Implementation
         MailboxExists: Check to see if Voicemail mailbox exists
                MeetMe: MeetMe conference bridge
           MeetMeAdmin: MeetMe conference Administration
    MeetMeChannelAdmin: MeetMe conference Administration (channel specific)
           MeetMeCount: MeetMe participant count
             Milliwatt: Generate a Constant 1004Hz tone at 0dbm (mu-law)
         MinivmAccMess: Record account specific messages
          MinivmDelete: Delete Mini-Voicemail voicemail messages
           MinivmGreet: Play Mini-Voicemail prompts
          MinivmNotify: Notify voicemail owner about new messages.
          MinivmRecord: Receive Mini-Voicemail and forward via e-mail
            MixMonitor: Record a call and mix the audio during the recording
               Monitor: Monitor a channel
             Morsecode: Plays morse code
             MP3Player: Play an MP3 file or stream
                  MSet: Set channel variable(s) or function value(s)
           MusicOnHold: Play Music On Hold indefinitely
                 MYSQL: Do several mySQLy things
                NBScat: Play an NBS local stream
                 NoCDR: Tell Asterisk to not maintain a CDR for the current call
                  NoOp: Do Nothing (No Operation)
    NVBackgroundDetect: Background a file with talk and fax detect (IAX and SIP too)
           NVFaxDetect: Detects fax sounds on all channel types (IAX and SIP too)
            ODBCFinish: Clear the resultset of a successful multirow query
                  Page: Pages phones
                  Park: Park yourself
       ParkAndAnnounce: Park and Announce
            ParkedCall: Answer a parked call
          PauseMonitor: Pause monitoring of a channel
      PauseQueueMember: Pauses a queue member
                Pickup: Directed Call Pickup
            PickupChan: Pickup a ringing channel
              Playback: Play a file
             PlayTones: Play a tone list
        PrivacyManager: Require phone number to be entered, if no CallerID sent
            Proceeding: Indicate proceeding
              Progress: Indicate progress
                 Queue: Queue a call for a call queue
              QueueLog: Writes to the queue_log
        RaiseException: Handle an exceptional condition
                  Read: Read a variable
             ReadExten: Read an extension into a variable
              ReadFile: Read the contents of a text file into a channel variable
            ReceiveFAX: Receive a FAX
                Record: Record to a file
     RemoveQueueMember: Dynamically removes queue members
              ResetCDR: Resets the Call Data Record
             RetryDial: Place a call, retrying on failure allowing optional exit extension.
                Return: Return from gosub routine
               Ringing: Indicate ringing tone
              SayAlpha: Say Alpha
            SayCountPL: Say Polish counting words
             SayDigits: Say Digits
             SayNumber: Say Number
           SayPhonetic: Say Phonetic
           SayUnixTime: Says a specified time in a custom format
              SendDTMF: Sends arbitrary DTMF digits
               SendFAX: Send a FAX
             SendImage: Send an image file
              SendText: Send a Text Message
               SendURL: Send a URL
                   Set: Set channel variable or function value
           SetAMAFlags: Set the AMA Flags
         SetCallerPres: Set CallerID Presentation
        SetMusicOnHold: Set default Music On Hold class
          SIPAddHeader: Add a SIP header to the outbound call
           SIPDtmfMode: Change the dtmfmode for a SIP call
       SIPRemoveHeader: Remove SIP headers previously added with SIPAddHeader
            SLAStation: Shared Line Appearance Station
              SLATrunk: Shared Line Appearance Trunk
                   SMS: Communicates with SMS service centres and SMS capable analogue phones
            SoftHangup: Soft Hangup Application
  SpeechActivateGrammar: Activate a Grammar
      SpeechBackground: Play a sound file and wait for speech to be recognized
          SpeechCreate: Create a Speech Structure
  SpeechDeactivateGrammar: Deactivate a Grammar
         SpeechDestroy: End speech recognition
     SpeechLoadGrammar: Load a Grammar
  SpeechProcessingSound: Change background processing sound
           SpeechStart: Start recognizing voice in the audio stream
   SpeechUnloadGrammar: Unload a Grammar
              StackPop: Remove one address from gosub stack
      StartMusicOnHold: Play Music On Hold
        StopMixMonitor: Stop recording a call through MixMonitor
           StopMonitor: Stop monitoring a channel
       StopMusicOnHold: Stop Playing Music On Hold
         StopPlayTones: Stop playing a tone list
                System: Execute a system command
            TestClient: Execute Interface Test Client
            TestServer: Execute Interface Test Server
              Transfer: Transfer caller to remote extension
               TryExec: Executes dialplan application, always returning
             TrySystem: Try executing a system command
        UnpauseMonitor: Unpause monitoring of a channel
    UnpauseQueueMember: Unpauses a queue member
             UserEvent: Send an arbitrary event to the manager interface
               Verbose: Send arbitrary text to verbose output
        VMAuthenticate: Authenticate with Voicemail passwords
             VoiceMail: Leave a Voicemail message
         VoiceMailMain: Check Voicemail messages
                  Wait: Waits for some time
             WaitExten: Waits for an extension to be entered
           WaitForRing: Wait for Ring Application
        WaitForSilence: Waits for a specified amount of silence
       WaitMusicOnHold: Wait, playing Music On Hold
             WaitUntil: Wait (sleep) until the current time is the given epoch
                 While: Start a while loop
            Zapateller: Block telemarketers with SIT
    -= 172 Applications Registered =-

5
General Asterisk configuration / QM Issue with TB 2.8
« on: November 08, 2009, 23:16:33 »
Hi, we are trying to install TrixBox 2.8 (with Asterisk 1.6), unfortunately
"AddQueueMember" is not executing. We already changed

exten => 25,3,AddQueueMember(${QUEUENAME}|
Local/${AGENTCODE}@from-internal)

exten => 27,3,RemoveQueueMember(${QUEUENAME}|
Local/${AGENTCODE}@from-internal)

TO

exten
=>25,3,AddQueueMember(${QUEUENAME},Local/${AGENTCODE}@from-internal)

exten =>
27,3,RemoveQueueMember(${QUEUENAME},Local/${AGENTCODE}@from-internal)


We have also enabled rewriteLocalChannels:

# Rewrites Local/XXX@ext channels in the format Agent/XXX
default.rewriteLocalChannels=true


We have included this line in extensions_custom.conf:

#include extensions_queuemetrics.conf


But still to no avail. When we checked our CLI we are not getting any
error. We are only getting these:

Manager 'admin' logged on from 127.0.0.1
Manager 'admin' logged off from 127.0.0.1



Here's our AMI credentials in configurations.properties:

cluster.trix.manager=tcp:admin:amp111@127.0.0.1


And our manager.conf:

[admin]
secret = amp111
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user

6
hi, I'm having the same problem. it seems that my extension.conf is not running. when i checked the cli, no logs were created. i am using asterisk 1.6 and qm 1.5.4 btw

is there anybody who have the same versions?

7
Outbound and QueueMetrics / Re: Call Outcome for Outbound Calls
« on: July 23, 2009, 15:21:28 »
 :D problem resolved... I just added the server's IP add in exten => 28,6,Set(QDIALER_CHANNEL=SIP/<IP ADDRESS>${QDIALER_NUMBER})


; extension 28: agent custom dial
exten => 28,1,Answer
exten => 28,2,NoOp( "QM: Agent Custom Dial. Dialing ${EXTTODIAL} on queue ${OUTQUEUE}  made by '${QM_LOGIN}'" )
exten => 28,3,Set(QDIALER_QUEUE=${OUTQUEUE})
exten => 28,4,Set(QDIALER_NUMBER=${EXTTODIAL})
exten => 28,5,Set(QDIALER_AGENT=Agent/${AGENTCODE})
exten => 28,6,Set(QDIALER_CHANNEL=SIP/${QDIALER_NUMBER})
exten => 28,7,Set(QueueName=${QDIALER_QUEUE})
exten => 28,8,MixMonitor(Q-${QDIALER_QUEUE}-${UNIQUEID}.WAV|b|)
exten => 28,9,Goto(qm-queuedial,s,1)
exten => 28,10,Hangup

8
Outbound and QueueMetrics / Re: Call Outcome for Outbound Calls
« on: July 23, 2009, 12:25:02 »
thanks marcos! I was able to make the agent visible in the monitoring but still my calls are not getting through. When I dial the number directly from Eyebeam (still loged on in QM) my calls are getting through but the call doesn't appear on agent's logon page (I need this to appear for the call outcome). If I use the Dial button on agent's logon page, my Eyebeam will ring but will automatically hung up after 6 seconds.

9
Outbound and QueueMetrics / Re: Call Outcome for Outbound Calls
« on: July 23, 2009, 09:08:12 »

WHAT HAPPENS IN MY CLI:

Verbosity is at least 3
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/manager_additional.conf': Found
  == Parsing '/etc/asterisk/manager_custom.conf': Found
  == Manager 'admin' logged on from 127.0.0.1
    -- Executing [6453@from-internal:1] Macro("Local/6453@from-internal-1d21,2",                                                              "exten-vm|novm|6453") in new stack
    -- Executing [s@macro-exten-vm:1] Macro("Local/6453@from-internal-1d21,2", "                                                             user-callerid") in new stack
    -- Executing [s@macro-user-callerid:1] Set("Local/6453@from-internal-1d21,2"                                                             , "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("Local/6453@from-internal-1d21                                                             ,2", "1?report") in new stack
    -- Goto (macro-user-callerid,s,11)
    -- Executing [s@macro-user-callerid:11] GotoIf("Local/6453@from-internal-1d2                                                             1,2", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:12] Set("Local/6453@from-internal-1d21,2                                                             ", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:13] GotoIf("Local/6453@from-internal-1d2                                                             1,2", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,20)
    -- Executing [s@macro-user-callerid:20] NoOp("Local/6453@from-internal-1d21,                                                             2", "Using CallerID "" <>") in new stack
    -- Executing [s@macro-exten-vm:2] Set("Local/6453@from-internal-1d21,2", "Ri                                                             ngGroupMethod=none") in new stack
    -- Executing [s@macro-exten-vm:3] Set("Local/6453@from-internal-1d21,2", "VM                                                             BOX=novm") in new stack
    -- Executing [s@macro-exten-vm:4] Set("Local/6453@from-internal-1d21,2", "EX                                                             TTOCALL=6453") in new stack
    -- Executing [s@macro-exten-vm:5] Set("Local/6453@from-internal-1d21,2", "CF                                                             UEXT=") in new stack
    -- Executing [s@macro-exten-vm:6] Set("Local/6453@from-internal-1d21,2", "CF                                                             BEXT=") in new stack
    -- Executing [s@macro-exten-vm:7] Set("Local/6453@from-internal-1d21,2", "RT                                                             =""") in new stack
    -- Executing [s@macro-exten-vm:8] Macro("Local/6453@from-internal-1d21,2", "                                                             record-enable|6453|IN") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("Local/6453@from-internal-1d21                                                             ,2", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("Local/6453@from-internal-1d21,2"                                                             , "recordingcheck|20090722-231748|1248319068.62") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20090722-231748|1248319068.62: Inbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("Local/6453@from-internal-1                                                             d21,2", "") in new stack
    -- Executing [s@macro-exten-vm:9] Macro("Local/6453@from-internal-1d21,2", "                                                             dial||tr|6453") in new stack
    -- Executing [s@macro-dial:1] GotoIf("Local/6453@from-internal-1d21,2", "1?d                                                             ial") in new stack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("Local/6453@from-internal-1d21,2", "dialpa                                                             rties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
  dialparties.agi: Starting New Dialparties.agi
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/manager_additional.conf': Found
  == Parsing '/etc/asterisk/manager_custom.conf': Found
  == Manager 'admin' logged on from 127.0.0.1
  dialparties.agi: Caller ID name is 'unknown' number is 'unknown'
  dialparties.agi: Methodology of ring is  'none'
    --  dialparties.agi: Added extension 6453 to extension map
    --  dialparties.agi: Extension 6453 cf is disabled
    --  dialparties.agi: Extension 6453 do not disturb is disabled
    --  dialparties.agi: DbDel CALLTRACE/6453 - Caller ID is not defined
    --  dialparties.agi: Filtered ARG3: 6453
  == Manager 'admin' logged off from 127.0.0.1
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:7] Dial("Local/6453@from-internal-1d21,2", "SIP/6                                                             453||tr") in new stack
    -- Called 6453
    -- SIP/6453-08417600 is ringing
    -- SIP/6453-08417600 answered Local/6453@from-internal-1d21,2
  == Manager 'admin' logged off from 127.0.0.1
    -- Executing [28@queuemetrics:1] Answer("Local/6453@from-internal-1d21,1", "                                                             ") in new stack
    -- Executing [28@queuemetrics:2] NoOp("Local/6453@from-internal-1d21,1", " "                                                             QM: Agent Custom Dial. Dialing 18779999284 on queue 6001  made by agent/86453" "                                                             ) in new stack
    -- Executing [28@queuemetrics:3] Set("Local/6453@from-internal-1d21,1", "QDI                                                             ALER_QUEUE=6001") in new stack
    -- Executing [28@queuemetrics:4] Set("Local/6453@from-internal-1d21,1", "QDI                                                             ALER_NUMBER=18779999284") in new stack
    -- Executing [28@queuemetrics:5] Set("Local/6453@from-internal-1d21,1", "QDI                                                             ALER_AGENT=Agent/86453") in new stack
    -- Executing [28@queuemetrics:6] Set("Local/6453@from-internal-1d21,1", "QDI                                                             ALER_CHANNEL=SIP/18779999284") in new stack
    -- Executing [28@queuemetrics:7] Set("Local/6453@from-internal-1d21,1", "Que                                                             ueName=6001") in new stack
    -- Executing [28@queuemetrics:8] MixMonitor("Local/6453@from-internal-1d21,1                                                             ", "Q-6001-1248319068.61.WAV|b|") in new stack
    -- Executing [28@queuemetrics:9] Goto("Local/6453@from-internal-1d21,1", "qm                                                             -queuedial|s|1") in new stack
    -- Goto (qm-queuedial,s,1)
    -- Executing [s@qm-queuedial:1] NoOp("Local/6453@from-internal-1d21,1", "Out                                                             bound call -> A:Agent/86453 N:18779999284 Q:6001 Ch:SIP/18779999284") in new sta                                                             ck
    -- Executing [s@qm-queuedial:2] Set("Local/6453@from-internal-1d21,1", "CDR(                                                             accountcode)=QDIALAGI") in new stack
    -- Executing [s@qm-queuedial:3] Set("Local/6453@from-internal-1d21,1", "ST=1                                                             248319077") in new stack
    -- Executing [s@qm-queuedial:4] Set("Local/6453@from-internal-1d21,1", "GM=Q                                                             DV-Agent/86453") in new stack
    -- Executing [s@qm-queuedial:5] Set("Local/6453@from-internal-1d21,1", "GLOB                                                             AL(QDV-Agent/86453)=U") in new stack
  == Setting global variable 'QDV-Agent/86453' to 'U'
    -- Executing [s@qm-queuedial:6] Set("Local/6453@from-internal-1d21,1", "GLOB                                                             AL(QDV-Agent/86453ans)=0") in new stack
  == Setting global variable 'QDV-Agent/86453ans' to '0'
    -- Executing [s@qm-queuedial:7] Macro("Local/6453@from-internal-1d21,1", "qu                                                             euelog|1248319077|1248319068.61|6001|Agent/86453|CALLOUTBOUND|-|18779999284") in                                                              new stack
    -- Executing [s@macro-queuelog:1] QueueLog("Local/6453@from-internal-1d21,1"                                                             , "6001|1248319068.61|Agent/86453|CALLOUTBOUND|-|18779999284|") in new stack
    -- Executing [s@qm-queuedial:8] Dial("Local/6453@from-internal-1d21,1", "SIP                                                             /18779999284|30|gM(queuedial-answer^1248319068.61^QDV-Agent/86453^6001^Agent/864                                                             53^1248319077)") in new stack
  == Begin MixMonitor Recording Local/6453@from-internal-1d21,1
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/manager_additional.conf': Found
  == Parsing '/etc/asterisk/manager_custom.conf': Found
  == Manager 'admin' logged on from 127.0.0.1
  == Manager 'admin' logged off from 127.0.0.1
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/manager_additional.conf': Found
  == Parsing '/etc/asterisk/manager_custom.conf': Found
  == Manager 'admin' logged on from 127.0.0.1
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@qm-queuedial:9] Set("Local/6453@from-internal-1d21,1", "CAUS                                                             ECOMPLETE=") in new stack
  == Auto fallthrough, channel 'Local/6453@from-internal-1d21,1' status is 'CHAN                                                             UNAVAIL'
  == Spawn extension (macro-dial, s, 7) exited non-zero on 'Local/6453@from-inte                                                             rnal-1d21,2' in macro 'dial'
  == Spawn extension (macro-dial, s, 7) exited non-zero on 'Local/6453@from-inte                                                             rnal-1d21,2' in macro 'exten-vm'
  == Spawn extension (macro-dial, s, 7) exited non-zero on 'Local/6453@from-inte                                                             rnal-1d21,2'
    -- Executing [h@macro-dial:1] Macro("Local/6453@from-internal-1d21,2", "hang                                                             upcall") in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("Local/6453@from-internal-1d21,                                                             2", "vw") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("Local/6453@from-internal-1d21,2",                                                              "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("Local/6453@from-internal-1d21,2"                                                             , "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("Local/6453@from-internal-1d21,2"                                                             , "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("Local/6453@from-internal-1d21,2"                                                             , "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("Local/6453@from-internal-1d21,2                                                             ", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Local/6453@fr                                                             om-internal-1d21,2' in macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Local/6453@fr                                                             om-internal-1d21,2'
    -- Executing [h@qm-queuedial:1] NoOp("Local/6453@from-internal-1d21,1", " "C                                                             all exiting: status U answered at: 0 DS: CHANUNAVAIL"  ") in new stack
    -- Executing [h@qm-queuedial:2] Goto("Local/6453@from-internal-1d21,1", "cas                                                             e-U") in new stack
    -- Goto (qm-queuedial,h,4)
    -- Executing [h@qm-queuedial:4] Set("Local/6453@from-internal-1d21,1", "WT=1                                                             0") in new stack
    -- Executing [h@qm-queuedial:5] Macro("Local/6453@from-internal-1d21,1", "qu                                                             euelog|1248319087|1248319068.61|6001|Agent/86453|ABANDON|1|1|10") in new stack
    -- Executing [s@macro-queuelog:1] QueueLog("Local/6453@from-internal-1d21,1"                                                             , "6001|1248319068.61|Agent/86453|ABANDON|1|1|10") in new stack
    -- Executing [s@qm-queuedial:6] Set("Local/6453@from-internal-1d21,1", "GLOB                                                             AL(QDV-Agent/86453ans)=0") in new stack
  == Setting global variable 'QDV-Agent/86453ans' to '0'
    -- Executing [s@qm-queuedial:7] Macro("Local/6453@from-internal-1d21,1", "qu                                                             euelog|1248319077|1248319068.61|6001|Agent/86453|CALLOUTBOUND|-|18779999284") in                                                              new stack
    -- Executing [s@macro-queuelog:1] QueueLog("Local/6453@from-internal-1d21,1"                                                             , "6001|1248319068.61|Agent/86453|CALLOUTBOUND|-|18779999284|") in new stack
    -- Executing [s@qm-queuedial:8] Dial("Local/6453@from-internal-1d21,1", "SIP                                                             /18779999284|30|gM(queuedial-answer^1248319068.61^QDV-Agent/86453^6001^Agent/864                                                             53^1248319077)") in new stack
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@qm-queuedial:9] Set("Local/6453@from-internal-1d21,1", "CAUS                                                             ECOMPLETE=") in new stack
  == End MixMonitor Recording Local/6453@from-internal-1d21,1

10
Outbound and QueueMetrics / Call Outcome for Outbound Calls
« on: July 23, 2009, 09:07:55 »
 ??? I'm having a hard time trying to figure out a way of making it possible for the outbound agents put call dispositions to their call. Outbound calls done by agents are not reflecting on agent's logon page (unlike QM's default for inbound calls). I thought of using the Dial button but unfortunately after putting the number to be dialed, the agent's eyebeam will ring. I answered it but unfortunately instead of being connected to the number I dialed tha call was hung up.

I'm currently using QM 1.5.3, Asterisk 1.4.22 and TrixBox 2.6.2.1

EXTENSIONS_QUEUEMTRICS.CONF
;
; ============================================================================
; The following dialplan context is used by QueueMetrics
; through the manager API.
; - $Id: extensions_queuemetrics.conf,v 1.9 2009/04/09 10:18:39 marcos Exp $
;
; You should modify it to fit your system.
;
; To enable this file, copy it to /etc/asterisk
; and add the line:
;   #include extensions_queuemetrics.conf
; by the end of your extensions.conf file.
; ============================================================================
;

[queuemetrics]
; extension 0 is a dummy end point
exten => 10,1,Answer
exten => 10,2,Wait(10)
exten => 10,3,Hangup

; extension 11 makes remote monitoring possible
exten => 11,1,Answer
exten => 11,2,NoOp( "QM_AGENT_CODE: ${QM_AGENT_CODE}" )
exten => 11,3,NoOp( "QM_EXT_MONITOR: ${QM_EXT_MONITOR}" )
exten => 11,4,NoOp( "QM_AGENT_EXT: ${QM_AGENT_EXT}" )
exten => 11,5,NoOp( "QM_LOGIN: ${QM_LOGIN}" )
exten => 11,6,ChanSpy(${QM_AGENT_CODE})
exten => 11,7,Hangup

; extension 12: set call status code
exten => 12,1,Answer
exten => 12,2,NoOp( "QM: Setting call status '${CALLSTATUS}' on call '${CALLID}' for agent '${AGENTCODE}' made by '${QM_LOGIN}'" )
exten => 12,3,System( echo "${EPOCH}|${CALLID}|NONE|Agent/${AGENTCODE}|CALLSTATUS|${CALLSTATUS}" >> /var/log/asterisk/queue_log )
exten => 12,4,Hangup

; 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,7,Hangup

; extension 20: agent callback login
;               For this to work, there must be no password on the agent.
exten => 20,1,Answer
exten => 20,2,NoOp( "QM: Logging on Agent/${AGENTCODE} to extension ${AGENT_EXT}@from-internal made by '${QM_LOGIN}'" )
exten => 20,3,AgentCallBackLogin(${AGENTCODE}||${AGENT_EXT}@from-internal)
exten => 20,4,Hangup

; extension 21: agent callback logoff
exten => 21,1,Answer
exten => 21,2,NoOp( "QM: Logging off Agent/${AGENTCODE} made by '${QM_LOGIN}'" )
exten => 21,3,System(asterisk -rx "agent logoff Agent/${AGENTCODE}")
exten => 21,4,Hangup

; extension 22: agent pause (with pause code)
exten => 22,1,Answer
exten => 22,2,NoOp( "QM: Pausing Agent/${AGENTCODE} with pause reason '${PAUSEREASON}' made by '${QM_LOGIN}' " )
exten => 22,3,PauseQueueMember(|Agent/${AGENTCODE})
exten => 22,4,System( echo "${EPOCH}|${UNIQUEID}|NONE|Agent/${AGENTCODE}|PAUSEREASON|${PAUSEREASON}" >> /var/log/asterisk/queue_log )
exten => 22,5,Hangup

; extension 23: agent unpause
exten => 23,1,Answer
exten => 23,2,NoOp( "QM: Unpausing Agent/${AGENTCODE} made by '${QM_LOGIN}' " )
exten => 23,3,UnpauseQueueMember(|Agent/${AGENTCODE})
exten => 23,4,Hangup

; extension 24: agent addqueuemember (for asterisk v1.2)
exten => 24,1,Answer
exten => 24,2,NoOp( "QM: AddQueueMember (asterisk v1.2) Agent/${AGENTCODE} on queue ${QUEUENAME} made by '${QM_LOGIN}'" )
exten => 24,3,System( echo "${EPOCH}|${UNIQUEID}|${QUEUENAME}|Local/${AGENTCODE}@from-internal|ADDMEMBER|" >> /var/log/asterisk/queue_log )
exten => 24,4,Hangup

; extension 25: agent addqueuemember (for asterisk v1.4+)
exten => 25,1,Answer
exten => 25,2,NoOp( "QM: AddQueueMember (asterisk v1.4+) Agent/${AGENTCODE} on queue ${QUEUENAME} made by '${QM_LOGIN}'" )
exten => 25,3,AddQueueMember(${QUEUENAME},Local/${AGENTCODE}@from-internal)
exten => 25,4,Hangup

; extension 26: agent removequeuemember
exten => 26,1,Answer
exten => 26,2,NoOp( "QM: RemoveQueueMember (asterisk v1.2) Agent/${AGENTCODE} on queue ${QUEUENAME} made by '${QM_LOGIN}'" )
exten => 26,3,System( echo "${EPOCH}|${UNIQUEID}|${QUEUENAME}|Local/${AGENTCODE}@from-internal|REMOVEMEMBER|" >> /var/log/asterisk/queue_log )
exten => 26,4,Hangup

; extension 27: agent removequeuemember (for asterisk v1.4+)
exten => 27,1,Answer
exten => 27,2,NoOp( "QM: RemoveQueueMember (asterisk v1.4+) Agent/${AGENTCODE} on queue ${QUEUENAME} made by '${QM_LOGIN}'" )
exten => 27,3,RemoveQueueMember(${QUEUENAME},Local/${AGENTCODE}@from-internal)
exten => 27,4,Hangup

; extension 28: agent custom dial
exten => 28,1,Answer
exten => 28,2,NoOp( "QM: Agent Custom Dial. Dialing ${EXTTODIAL} on queue ${OUTQUEUE}  made by '${QM_LOGIN}'" )
exten => 28,3,Set(QDIALER_QUEUE=${OUTQUEUE})
exten => 28,4,Set(QDIALER_NUMBER=${EXTTODIAL})
exten => 28,5,Set(QDIALER_AGENT=Agent/${AGENTCODE})
exten => 28,6,Set(QDIALER_CHANNEL=SIP/${QDIALER_NUMBER})
exten => 28,7,Set(QueueName=${QDIALER_QUEUE})
exten => 28,8,MixMonitor(Q-${QDIALER_QUEUE}-${UNIQUEID}.WAV|b|)
exten => 28,9,Goto(qm-queuedial,s,1)
exten => 28,10,Hangup

;
; ================================================================
; The following dialplan is used in order to make oubound calls
; that are tracked through QueueMetrics.
; See http://forum.queuemetrics.com/index.php?board=12.0
; ================================================================


[queuedial]
; this piece of dialplan is just a calling hook into the [qm-queuedial] context that actually does the
; outbound dialing - replace as needed - just fill in the same variables.
exten => _XXX.,1,Set(QDIALER_QUEUE=${EXTEN:3:4})
exten => _XXX.,2,Set(QDIALER_NUMBER=${EXTEN:0:3}${EXTEN:7:10})
exten => _XXX.,3,Set(QDIALER_AGENT=${CALLERID(num)})
exten => _XXX.,n,Set(QDIALER_CHANNEL=SIP/216.89.76.6/${QDIALER_NUMBER})
exten => _XXX.,n,Set(QueueName=${QDIALER_QUEUE})
exten => _XXX.,n,MixMonitor(Q-${QDIALER_QUEUE}-${UNIQUEID}.WAV|b|)
exten => _XXX.,n,Goto(qm-queuedial,s,1)
[queuedial-loggedon]
; This piece of dialplan will let only logged on agents dial out
exten => _XXX.,1,Set(QDIALER_QUEUE=q-${EXTEN:0:3})
exten => _XXX.,n,Set(QDIALER_NUMBER=${EXTEN:3})
exten => _XXX.,n,Set(QDIALER_AGENT=Agent/${AGENTBYCALLERID_${CALLERID(num)}})
exten => _XXX.,n,Set(QDIALER_CHANNEL=SIP/${QDIALER_NUMBER})
exten => _XXX.,n,Set(QueueName=${QDIALER_QUEUE})
exten => _XXX.,n,MixMonitor(Q-${QDIALER_QUEUE}-${UNIQUEID}.WAV|b|)
exten => _XXX.,n,GotoIf($[${LEN(${QDIALER_AGENT})} > 6]?qm-queuedial,s,1)
exten => _XXX.,n,NoOp,Extension ${CALLERID(num)} is not logged on as agent.
exten => _XXX.,n,Playback(agent-loggedoff)
exten => _XXX.,n,Congestion


[qm-queuedial]
; We use a global variable to pass values back from the answer-detect macro.
; STATUS = U unanswered
;        = A answered    (plus CAUSECOMPLETE=C when callee hung up)
; The 'g' dial parameter must be used in order to track callee disconnecting.
; Note that we'll be using the 'h' hook in any case to do the logging when channels go down.
; We set the CDR(accountcode) for live monitoring by QM.
;
exten => s,1,NoOp,Outbound call -> A:${QDIALER_AGENT} N:${QDIALER_NUMBER} Q:${QDIALER_QUEUE} Ch:${QDIALER_CHANNEL}
exten => s,n,Set(CDR(accountcode)=QDIALAGI)
exten => s,n,Set(ST=${EPOCH})
exten => s,n,Set(GM=QDV-${QDIALER_AGENT})
exten => s,n,Set(GLOBAL(${GM})=U)
exten => s,n,Set(GLOBAL(${GM}ans)=0)
exten => s,n,Macro(queuelog,${ST},${UNIQUEID},${QDIALER_QUEUE},${QDIALER_AGENT},CALLOUTBOUND,-,${QDIALER_NUMBER})
exten => s,n,Dial(${QDIALER_CHANNEL},30,gM(queuedial-answer^${UNIQUEID}^${GM}^${QDIALER_QUEUE}^${QDIALER_AGENT}^${ST}))
exten => s,n,Set(CAUSECOMPLETE=${IF($["${DIALSTATUS}" = "ANSWER"]?C)})

; Trapping call termination here
exten => h,1,NoOp( "Call exiting: status ${GLOBAL(${GM})} answered at: ${GLOBAL(${GM}ans)} DS: ${DIALSTATUS}"  )
exten => h,n,Goto(case-${GLOBAL(${GM})})
exten => h,n,Hangup()

; Call unanswered
exten => h,n(case-U),Set(WT=$[${EPOCH} - ${ST}])
exten => h,n,Macro(queuelog,${EPOCH},${UNIQUEID},${QDIALER_QUEUE},${QDIALER_AGENT},ABANDON,1,1,${WT})
exten => h,n,Hangup()

; call answered: agent/callee hung
exten => h,n(case-A)i,Set(COMPLETE=${IF($["${CAUSECOMPLETE}" = "C"]?COMPLETECALLER:COMPLETEAGENT)})
exten => h,n,Set(WT=$[${GLOBAL(${GM}ans)} - ${ST}])
exten => h,n,Set(CT=$[${EPOCH} - ${GLOBAL(${GM}ans)}])
exten => h,n,Macro(queuelog,${EPOCH},${UNIQUEID},${QDIALER_QUEUE},${QDIALER_AGENT},${COMPLETE},${WT},${CT})
exten => h,n,Hangup()


[macro-queuedial-answer]
; Expecting $ARG1: uniqueid of the caller channel
;           $ARG2: global variable to store the answer results
;           $ARG3: queue name
;           $ARG4: agent name
;           $ARG5: enterqueue
;
exten => s,1,NoOp("Macro: queuedial-answer UID:${ARG1} GR:${ARG2} Q:${ARG3} A:${ARG4} E:${ARG5}")
exten => s,n,Set(NOW=${EPOCH})
exten => s,n,Set(WD=$[${NOW} - ${ARG5}])
exten => s,n,Macro(queuelog,${NOW},${ARG1},${ARG3},${ARG4},CONNECT,${WD})
exten => s,n,Set(GLOBAL(${ARG2})=A)
exten => s,n,Set(GLOBAL(${ARG2}ans)=${NOW})
exten => s,n,NoOp("Macro queuedial-answer terminating" )

[macro-queuelog]
; The advantage of using this macro is that you can choose whether to use the Shell version
; (where you have complete control of what gets written) or the Application version (where you
; do not need a shellout, so it's way faster).
;
; Expecting  $ARG1: Timestamp
;            $ARG2: Call-id
;            $ARG3: Queue
;            $ARG4: Agent
;            $ARG5: Verb
;            $ARG6: Param1
;            $ARG7: Param2
;            $ARG8: Param3
;
;exten => s,1,System( echo "${ARG1}|${ARG2}|${ARG3|${ARG4}|${ARG5}|${ARG6}|${ARG7}|${ARG8}" >> /var/log/asterisk/queue_log )
exten => s,1,QueueLog(${ARG3},${ARG2},${ARG4},${ARG5},${ARG6}|${ARG7}|${ARG8})



11
Running QueueMetrics / Logon/off and pause/unpause malfunction
« on: December 23, 2008, 17:23:52 »
 :) Hi! I'm currently having some issues on our QM. There are time our agents cannot log off because when they tried to, it was the log on window that was prompting. There are also some case wherein they were on pause for a while then they cannot unpause. There are also cases wherein the window that prompted to our agents are the last window they used ex. they paused from QM then logoff from QM, when they try to login back it was the Pause window prompting.


 ??? i have no idea what's causing this, please help.

12
QueueMetrics installation / Queue Logs and Recordings
« on: October 15, 2008, 16:26:22 »
 :) Hi, I'm planning to make a new server, I would like the new server to contain old server's queue logs and recordings. I tried uploading old server's queue log to the new server and it worked. However, when I copied the recordings of old server to new server when I run custom report and clicked the magnifying glass icon the pop up window does not display the link of the recording of that particular call.  ??? I'm not sure if I missed out anything. Has anyone tried this before?

Pages: [1]