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 - goit

Pages: [1]
1
I managed to solve the problem by including the agent extension (or name) the member string. ;D

member=>sip/350,,350

By the way, this will solve transfer problems reported on the site. using SIP instead of Local will report better status and device information. I am running Asterisk 1.4.22 with QM 1.5 and have been fighting this problem for quite some time where even using Asterisk internal transfer (##, #1) would not show up in queuemetrics.

using LOCAL to identify queue member is a real trouble maker. I would avoid it all cost when possible!!

2
Hello, I have been trying to figure out this problem for a long time now with no luck. Any assistance is greatly appreciated.

I am trying to use the actual channel name 'SIP' instead of 'Local' when configuring queue members in queues.conf.

from:   member=>local/350@default-originate/n
to    :   member=>SIP/350

once I do this change, I am faced with the issues below.

1- I am not able to see logged-in Agents under 'Relatime'
2- Incoming calls do show up when someone reaches the Queue. (it also shows the agent name answering the call).
3- Once the caller hangs up, agent disappres as well
4- 'Live' Page does show correct information on all Agents along with their status (idle, busy)
5- Reports do show all calls, but not the name of the agent who answered the call. (this is by far the biggest problem as I willing to live without 'Relatime'.

Thank you

3
Outbound and QueueMetrics / Outbound and Druid
« on: January 06, 2009, 16:54:30 »
Hello, I am still not able to get this script working with DRUID. Below is the Macro DRUID uses for outbound calls. Can you someone please suggest how this macro be incorporated with the outbound script.

Thank you

This is the Dial string from extensions.conf

Code: [Select]
exten=>_XXXXXXXXXX,n,Macro(ael-druid-trunkdial,SIP/ipcomms,${EXTEN},WTK,,,,,${EXTEN})

This is the macro in extensions.ael

Code: [Select]
macro ael-druid-trunkdial( dev, number, options, accountcode, callerid, authzone, backuptrunk, backupnumber ) {
   TRANSFER_CONTEXT="druid-default";
   DYNAMIC_FEATURES=automon;
   channeltype = "${CUT(CHANNEL|/|1)}";
   if ("${channeltype}" == "Zap") {
      mydev = "${CUT(CHANNEL|-|1)}";
   }
   else {
      mydev = "${CUT(CHANNEL|-|1-3)}";
   }
   &ael-druid-hotdesk-outbound(${mydev});

   monitor = "${DRUID_USERFIELD(${CALLERID(number)}|monitor)}";
   if (${monitor}) {
      MONITOR_FILE="auto-${EPOCH}-${CALLERID(number)}-${number}";
      Monitor(wav,${MONITOR_FILE},mb);
   }

   // Check mobile bridge
   mobilenum = "${CUT(DIALEDPEERNUMBER|@|1)}";
   mobileexten = "${DRUID_MOBILEUSEREXTEN(${mobilenum})}";
   if (!${ISNULL(${mobileexten})}) {
      options = "wWtTkKM(ael-druid-mobilebridge)";
      CALLERID(number)=${mobileexten};
   }

   TOUCH_MONITOR="${CALLERID(number)}-${number}";
   Verbose(3|- Authenticating outbound call to);
   if (!${ISNULL(${authzone})}) {
      Verbose(3|- Zone ${authzone});
      auth = "${DRUID_ZONE(${CALLERID(number)}|${authzone})}";
     
      if (${auth} == 0) {
         if (${ISNULL(${mobileexten})}) {
            Playback(not-auth-pstn);
         };
         MacroExit;
      }
   }

   Verbose(3|- Setting outbound accountcode);
   if (!${ISNULL(${accountcode})}) {
      Set(CDR(accountcode)=${accountcode});
   }
   else {
      accountcode = "${DRUID_USERFIELD(${CALLERID(number)}|accountcode)}";
      amaflags = "${DRUID_USERFIELD(${CALLERID(number)}|amaflags)}";
      if (!${ISNULL(${accountcode})}) {
         Set(CDR(accountcode)=${accountcode});
      };
      if (!${ISNULL(${amaflags})}) {
         switch (${amaflags}) {
            case omit:
               Set(CDR(amaflags)=1);
               break;
            case billing:
               Set(CDR(amaflags)=2);
               break;
            case documentation:
               Set(CDR(amaflags)=3);
               break;
            default:
               break;
         };
      }
   };

   Verbose(3|- Setting outbound callerid);
   name = "${DRUID_USERFIELD(${CALLERID(number)}|fullname)}";
   cid = "${DRUID_USERFIELD(${CALLERID(number)}|cidnumber)}";
   if (!${ISNULL(${cid})}) {
      CALLERID(name)="${name}";
      CALLERID(number)=${cid};
   }
   else {
      if (!${ISNULL(${callerid})}) {
         Set(CALLERID(all)=${callerid});
      };
   };
   Verbose(3|- Checking if trunk is available);
   ChanIsAvail(${dev});
   if (${ISNULL(${AVAILCHAN})}) {
      if (${ISNULL(${backuptrunk})}) {
         Verbose(3|- No backup trunk configured);
         Congestion;
      }
      else {
         &ael-druid-backuptrunkdial(${backuptrunk}, ${backupnumber}, ${number});
      }
   }
   else {
      Verbose(3|- Normal trunk operation);
      Dial(${dev}/${number}||${options});
      switch(${DIALSTATUS}) {
         case CONGESTION:
         case CHANUNAVAIL:
            &ael-druid-backuptrunkdial(${backuptrunk}, ${backupnumber}, ${number});
      }
   }
   StopMonitor();
}

4
Thank you for the reply. 

My concern is for the "Dial" command. As you can see (Macro(ael-druid-trunkdial), DRUID executes an AEL script to do the dialing. It does not use asterisk "dial" command direclty. the AEL script is the one that executes the "Dial" command. I don't think what you suggested will work, but i will give it a try.

5
Hello,
I am using Druid OSE 1.3. Can you someone please explain to me how the script above will fit in with the dial plan below.

exten=>_XXXXXXXXXX,n,Macro(ael-druid-trunkdial,SIP/trunk-name,1${EXTEN},WTK,,,,,1${EXTEN})
exten=>_XXXXXXXXXX,n,Hangup

6
I am running queuemetrics 1.5 as a cluster to monitor 3 different asterisk servers. each server is located in a different time zone. i am having a problem with realtime page. it only works correclty with the server located in the same time zone as the queuemetrics servers. The other 2 servers do show call information, but it appears as negative!!!

any help is greatly appreicated.

Thanks

Pages: [1]