Advice from load_balancing.txt - Solved in some way

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Advice from load_balancing.txt - Solved in some way

Postby eijal » Thu Aug 23, 2007 1:33 pm

Hi:
In the load_balancing.txt document in the part:
Code: Select all
1. The VICIDIAL/Asterisk servers need to have all of the perl scripts and cron jobs installed on them, except these which only need to be on one of the servers:
   - AST_VDhopper.pl
   - AST_cleanup_agent_log.pl
   - ADMIN_adjust_GMTnow_on_leads.pl
   - AST_DB_optimize.pl
   - AST_VDadapt.pl
   - AST_VDauto_dial_FILL.pl


It means that:
ASTERISK/VICIDIAL 1 (like scratch_install)
Code: Select all
- cd /usr/share/astguiclient
   - crontab -e
      - add the following entries(here's what we used):
         (Note if you have not edited the AST_CRON_mix_recordings.pl script
to FTP to a different server, then you should use the
AST_CRON_mix_recordings_BASIC.pl file in it's place)

### recording mixing for Asterisk run every 5 minutes
1,6,11,16,21,26,31,36,41,46,51,56 * * * 1,2,3,4,5,6 /usr/share/astguiclient/AST_CRON_mix_recordings_BASIC.pl

### keepalive script for astguiclient processes
* * * * * /usr/share/astguiclient/ADMIN_keepalive_ALL.pl

### kill Hangup script for Asterisk updaters
* * * * * /usr/share/astguiclient/AST_manager_kill_hung_congested.pl

### updater for voicemail
* * * * * /usr/share/astguiclient/AST_vm_update.pl

### updater for conference validator
* * * * * /usr/share/astguiclient/AST_conf_update.pl

### flush queue DB table every hour for entries older than 1 hour
11 * * * * /usr/share/astguiclient/AST_flush_DBqueue.pl -q

### fix the vicidial_agent_log once every hour
33 * * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl

### updater for VICIDIAL hopper
* * * * * /usr/share/astguiclient/AST_VDhopper.pl -q

### adjust the GMT offset for the leads in the vicidial_list table
1 1 * * * /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug --postal-code-gmt

### reset several temporary-info tables in the database
2 1 * * * /usr/share/astguiclient/AST_reset_mysql_vars.pl

### optimize the database tables within the asterisk database
3 1 * * * /usr/share/astguiclient/AST_DB_optimize.pl

## adjust time on the server with ntp
30 * * * * /usr/sbin/ntpdate -u 18.145.0.30 2>/dev/null 1>&2

### VICIDIAL agent time log weekly summary report generation
2 0 * * 0 /usr/share/astguiclient/AST_agent_week.pl

and for
ASTERISK/VICIDIAL SERVER 2 (without AST_VDhopper.pl, AST_cleanup_agent_log.pl, ADMIN_adjust_GMTnow_on_leads.pl, AST_DB_optimize.pl, AST_VDadapt.pl, AST_VDauto_dial_FILL.pl)

Code: Select all
- cd /usr/share/astguiclient
   - crontab -e
      - add the following entries(here's what we used):
         (Note if you have not edited the AST_CRON_mix_recordings.pl script
to FTP to a different server, then you should use the
AST_CRON_mix_recordings_BASIC.pl file in it's place)

### recording mixing for Asterisk run every 5 minutes
1,6,11,16,21,26,31,36,41,46,51,56 * * * 1,2,3,4,5,6 /usr/share/astguiclient/AST_CRON_mix_recordings_BASIC.pl

### keepalive script for astguiclient processes
* * * * * /usr/share/astguiclient/ADMIN_keepalive_ALL.pl

### kill Hangup script for Asterisk updaters
* * * * * /usr/share/astguiclient/AST_manager_kill_hung_congested.pl

### updater for voicemail
* * * * * /usr/share/astguiclient/AST_vm_update.pl

### updater for conference validator
* * * * * /usr/share/astguiclient/AST_conf_update.pl

### flush queue DB table every hour for entries older than 1 hour
11 * * * * /usr/share/astguiclient/AST_flush_DBqueue.pl -q

### fix the vicidial_agent_log once every hour (WITHOUT THIS)
###33 * * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl

### updater for VICIDIAL hopper (WITHOUT THIS)
###* * * * * /usr/share/astguiclient/AST_VDhopper.pl -q


### adjust the GMT offset for the leads in the vicidial_list table (WITHOUT THIS)
###1 1 * * * /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug --postal-code-gmt

### reset several temporary-info tables in the database
2 1 * * * /usr/share/astguiclient/AST_reset_mysql_vars.pl

### optimize the database tables within the asterisk database (WITHOUT THIS)
###3 1 * * * /usr/share/astguiclient/AST_DB_optimize.pl

## adjust time on the server with ntp
30 * * * * /usr/sbin/ntpdate -u 18.145.0.30 2>/dev/null 1>&2

### VICIDIAL agent time log weekly summary report generation
2 0 * * 0 /usr/share/astguiclient/AST_agent_week.pl


Is it right?

Thanks in advance
Last edited by eijal on Sat Oct 20, 2007 10:18 am, edited 1 time in total.
eijal
 
Posts: 186
Joined: Thu Feb 08, 2007 6:34 pm

Postby eijal » Thu Aug 23, 2007 9:12 pm

In the part of the document:
Code: Select all
4. The two servers need to have wildcard extensions assigned to the other server in the dialplan:
  SERVER ONE(ASTtest1-10.10.10.15)
    extensions.conf:
   [globals]
   TRUNKIAX2=IAX2/ASTtest1:test@10.10.10.16

     [default]
   exten => _010*010*010*015*8600XXX,1,Goto(default,${EXTEN:16},1)
   exten => _010*010*010*016*8600XXX,1,Dial(${TRUNKIAX2}/${EXTEN:16},55,o)

   exten => _010*010*010*015*8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
   exten => _010*010*010*016*8600XXX*.,1,Dial(${TRUNKIAX2}/${EXTEN:16},55,o)
   exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)

  SERVER TWO(ASTtest2-10.10.10.16)
    extensions.conf:
   [globals]
   TRUNKIAX1=IAX2/ASTtest2:test@10.10.10.15

     [default]
   exten => _010*010*010*015*8600XXX,1,Dial(${TRUNKIAX1}/${EXTEN:16},55,o)
   exten => _010*010*010*016*8600XXX,1,Goto(default,${EXTEN:16},1)

   exten => _010*010*010*015*8600XXX*.,1,Dial(${TRUNKIAX1}/${EXTEN:16},55,o)
   exten => _010*010*010*016*8600XXX*.,1,Goto(default,${EXTEN:16},1)                 
   exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)


The extens:
Code: Select all
exten => _010*010*010*015*8600XXX
exten => _010*010*010*016*8600XXX

exten => _010*010*010*015*8600XXX*.
exten => _010*010*010*016*8600XXX*.
exten => _8600XXX*.

have some relation with the IP address of the servers?

THANKs
eijal
 
Posts: 186
Joined: Thu Feb 08, 2007 6:34 pm

Postby mflorell » Fri Aug 24, 2007 11:34 am

For the first issue, you can change whether some of those scripts run by changing the keepalive setting in the /etc/astguiclient.conf file.

For the second posting, yes those are related to the IP address of the servers, zero-padded and stars insread of periods.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

CONSULTATIVE TRANSFERS

Postby eijal » Tue Aug 28, 2007 10:32 am

Now with a 1 DB/WEB server and 1 Asterisk/Vicidial server, for consultative transfers I am using in the dial plan:
Code: Select all
exten => _90009.,1,Answer                  ; Answer the line
exten => _90009.,2,AGI(agi-VDADcloser.agi,${EXTEN}-----START)
exten => _90009.,3,Hangup

And everything works fine.

In a few days we will need more consultative agents, and I am going to use load balancing, with 1 DB/WEB server and 2 Asterisk/Vicidial servers.
In the dialplan for both Asterisk/Vicidial server for consultative transfers. Is it like the load_balancing document?
Code: Select all
; parameters for agi-VDAD_LB_closer.agi (2 fields separated by five dashes "-----"):
; 1. the full extension formatted by VICIDIAL for internal transfers * separated
; 2. the word START to denote the beginning of the acceptance of the transfer
; inbound VICIDIAL transfer calls [INTERNAL TRANSFER]
exten => _90009.,1,Answer                  ; Answer the line
exten => _90009.,2,AGI(agi-VDAD_LB_closer.agi,${EXTEN}-----START)
exten => _90009.,3,Hangup

; parameters for agi-VDAD_LO_closer.agi (2 fields separated by five dashes "-----"):
; 1. the full extension formatted by VICIDIAL for internal transfers * separated
; 2. the word START to denote the beginning of the acceptance of the transfer
; inbound VICIDIAL transfer calls [LOCAL TRANSFER]
exten => _990009.,1,Answer                  ; Answer the line
exten => _990009.,2,AGI(agi-VDAD_LO_closer.agi,${EXTEN}-----START)
exten => _990009.,3,Hangup


As you can note, I will have some consultative agents in the 1st Asterisk/Vicidial server and others consultative agents in the 2nd Asterisk/Vicidial server

Thanks in advance
Last edited by eijal on Fri Aug 31, 2007 11:11 am, edited 1 time in total.
eijal
 
Posts: 186
Joined: Thu Feb 08, 2007 6:34 pm

Postby eijal » Tue Aug 28, 2007 9:36 pm

Hi,
First: When I tried with the dial plan
Code: Select all
exten => _90009.,1,Answer                  ; Answer the line
exten => _90009.,2,AGI(agi-VDAD_LB_closer.agi,${EXTEN}-----START)
exten => _90009.,3,Hangup

In a consultative transfers, I had the following lots warning messages
Code: Select all
Aug 28 22:22:01 WARNING[4037]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*381874**6233628619*51300*@default-f573,1
Aug 28 22:22:01 WARNING[4037]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*381874**6233628619*51300*@default-f573,1
Aug 28 22:22:01 WARNING[4037]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*381874**6233628619*51300*@default-f573,1
Aug 28 22:22:01 WARNING[4037]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*381874**6233628619*51300*@default-f573,1
Aug 28 22:22:01 WARNING[4037]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*381874**6233628619*51300*@default-f573,1
Aug 28 22:22:01 WARNING[4037]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*381874**6233628619*51300*@default-f573,1



Then when I tried with:
Code: Select all
exten => _990009.,1,Answer                  ; Answer the line
exten => _990009.,2,AGI(agi-VDAD_LO_closer.agi,${EXTEN}-----START)
exten => _990009.,3,Hangup

In the consultative transfer, I had again the following lots warning messages
Code: Select all
Aug 28 22:24:48 WARNING[4327]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/990009*CL_AGENTES_L*CXFER*382009**6233746504*51300*@default-6b06,1
Aug 28 22:24:48 WARNING[4327]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/990009*CL_AGENTES_L*CXFER*382009**6233746504*51300*@default-6b06,1
Aug 28 22:24:48 WARNING[4327]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/990009*CL_AGENTES_L*CXFER*382009**6233746504*51300*@default-6b06,1
Aug 28 22:24:48 WARNING[4327]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/990009*CL_AGENTES_L*CXFER*382009**6233746504*51300*@default-6b06,1
Aug 28 22:24:48 WARNING[4327]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/990009*CL_AGENTES_L*CXFER*382009**6233746504*51300*@default-6b06,1
Aug 28 22:24:48 WARNING[4327]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/990009*CL_AGENTES_L*CXFER*382009**6233746504*51300*@default-6b06,1
Aug 28 22:24:48 WARNING[4327]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/990009*CL_AGENTES_L*CXFER*382009**6233746504*51300*@default-6b06,1


Please, Where is the mistake? I need your help
THANKs
eijal
 
Posts: 186
Joined: Thu Feb 08, 2007 6:34 pm

Postby eijal » Fri Aug 31, 2007 11:42 am

Ok, for the same issue here is the output with the agiout file:

First:
Using
exten => _90009.,1,Answer ; Answer the line
exten => _90009.,2,AGI(agi-VDAD_LB_closer.agi,${EXTEN}-----START)
exten => _90009.,3,Hangup


In the asterisk console lots of:
Aug 31 11:57:05 WARNING[10896]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*423290**6148891495*51300*@default-4082,1
Aug 31 11:57:05 WARNING[10896]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*423290**6148891495*51300*@default-4082,1
Aug 31 11:57:05 WARNING[10896]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*423290**6148891495*51300*@default-4082,1
Aug 31 11:57:05 WARNING[10896]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*423290**6148891495*51300*@default-4082,1
Aug 31 11:57:05 WARNING[10896]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*423290**6148891495*51300*@default-4082,1
Aug 31 11:57:05 WARNING[10896]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*423290**6148891495*51300*@default-4082,1
Aug 31 11:57:05 WARNING[10896]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*423290**6148891495*51300*@default-4082,1


In the agiout file:
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi|Perl Environment Dump:
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi|0|90009*CL_AGENTES_L*CXFER*423290**6148891495*51300*-----START
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi|callerID changed: J0831115648000423290
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi|callerID changed: J0831115648000423290
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi|callerID changed: J0831115648000423290
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi|callerID changed: J0831115648000423290
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi| -- accountcode =
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi| -- callerid = 2054511865
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi| -- calleridname = DCagcW11885757991300
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi| -- callingani2 = 0
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi| -- callingpres = 0
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi| -- callingtns = 0
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi| -- callington = 0
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi| -- channel = Local/90009*CL_AGENTES_L*CXFER*423290**6148891495*51300*@default-4082,2
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi| -- context = default
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi| -- dnid = unknown
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi| -- enhanced = 0.0
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi| -- extension = 90009*CL_AGENTES_L*CXFER*423290**6148891495*51300*
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi| -- language = en
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi| -- priority = 2
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi| -- rdnis = unknown
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi| -- request = agi-VDAD_LB_closer.agi
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi| -- type = Local
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi| -- uniqueid = 1188575808.13
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi|AGI Variables: |1188575808.13|Local/90009*CL_AGENTES_L*CXFER*423290**6148891495*51300*@default-4082,2|90009*CL_AGENTES_L*CXFER*423290**6148891495*51300*|Local|J0831115648000423290|
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi|+++++ VDAD START : |423290|2007-08-31 11:56:48|
2007-08-31 11:56:48|agi-VDAD_LB_closer.agi|+++++ VDAD START LOCAL CHANNEL: EXITING-


Second
Using
exten => _990009.,1,Answer ; Answer the line
exten => _990009.,2,AGI(agi-VDAD_LO_closer.agi,${EXTEN}-----START)
exten => _990009.,3,Hangup

Asterisk console lots of:
Aug 31 12:28:34 WARNING[12631]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/990009*CL_AGENTES_L*CXFER*443878**7813221477*51300*@default-b8b3,1
Aug 31 12:28:34 WARNING[12631]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/990009*CL_AGENTES_L*CXFER*443878**7813221477*51300*@default-b8b3,1
Aug 31 12:28:34 WARNING[12631]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/990009*CL_AGENTES_L*CXFER*443878**7813221477*51300*@default-b8b3,1
Aug 31 12:28:34 WARNING[12631]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/990009*CL_AGENTES_L*CXFER*443878**7813221477*51300*@default-b8b3,1

In the agiout file:
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi|Perl Environment Dump:
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi|0|990009*CL_AGENTES_L*CXFER*443878**7813221477*51300*-----START
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi| -- accountcode =
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi| -- callerid = 2054511865
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi| -- calleridname = DCagcW11885776851300
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi| -- callingani2 = 0
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi| -- callingpres = 0
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi| -- callingtns = 0
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi| -- callington = 0
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi| -- channel = Local/990009*CL_AGENTES_L*CXFER*443878**7813221477*51300*@default-b8b3,2
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi| -- context = default
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi| -- dnid = unknown
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi| -- enhanced = 0.0
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi| -- extension = 990009*CL_AGENTES_L*CXFER*443878**7813221477*51300*
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi| -- language = en
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi| -- priority = 2
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi| -- rdnis = unknown
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi| -- request = agi-VDAD_LO_closer.agi
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi| -- type = Local
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi| -- uniqueid = 1188577687.20
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi|AGI Variables: |1188577687.20|Local/990009*CL_AGENTES_L*CXFER*443878**7813221477*51300*@default-b8b3,2|990009*CL_AGENTES_L*CXFER*443878**7813221477*51300*|Local|2054511865|
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi|+++++ VDAD START : |0|2007-08-31 12:28:07|
2007-08-31 12:28:07|agi-VDAD_LO_closer.agi|+++++ VDAD START LOCAL CHANNEL: EXITING-


I am using:
vicidial 2.0.3
asterisk 1.2.17
1 DB/WEB server
1 Asterisk/Vicidial server: With fronter and consultative agents (everything works fine in a consultative transfer, using just the script agi-VDADcloser.agi)
1 Asterisk/Vicidial server: At this time with just fronter agents, trying to make consultative transfer to the other server (with the errors above)

:(

THANKs
eijal
 
Posts: 186
Joined: Thu Feb 08, 2007 6:34 pm

Postby mflorell » Sat Sep 01, 2007 9:25 pm

what are your iax.conf settings for the servers to connect to each other?

Do you have a zaptel timer on the closer server?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby eijal » Mon Sep 03, 2007 6:18 pm

mflorell wrote:what are your iax.conf settings for the servers to connect to each other?

For server one: (Where are de closer or consultative agents)
Code: Select all
;To register to server two
register => ASTtest1:password@192.168.2.4
; Server two can connect with server one
[ASTtest2]
type=friend
accountcode=IAXtrunk2
context=default
auth=plaintext
host=dynamic
permit=0.0.0.0/0.0.0.0
secret=password
qualify=yes


For server two
Code: Select all
; To register to server one
register => ASTtest2:password@192.168.2.5

; Sever one can connect to server two
[ASTtest1]
type=friend
accountcode=IAXtrunk1
context=default
auth=plaintext
host=dynamic
permit=0.0.0.0/0.0.0.0
secret=password
qualify=yes


Do you have a zaptel timer on the closer server?


Yes, I do. I have zaptel timer in both servers



The example of the load_balancing.txt
For instance, on an outbound campaign, you have 2 servers, server one has 20 agents logged in on a campaign and the other server(two) has 5 agents logged in on the same campaign. Lets say that the campaign is set to a dial_level of 3.0 so there are 60 active calls being placed on server one and 15 active calls being placed on server two. Then 23 of the calls on server one answer, meaning that there are three calls too many for the agents available on that server. Under a load-balancing-overflow setup, those three calls can travel over an IAX2 trunk directly to the agents on that server that are still available. This increased efficiency in both inbound and outbound environments as well as reducing on-hold times for customers and equalizing wait times for agents across all servers for a campaign.


works very well, the problem is when agents from server two want to make a consultative call to server one.

THANKs
eijal
 
Posts: 186
Joined: Thu Feb 08, 2007 6:34 pm

Postby mflorell » Wed Sep 05, 2007 7:47 pm

Could you show the codec settings or iax.conf?

As for your consultative issues, could you go into more detail about how you have set them up and how exactly you want them to work?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby eijal » Thu Sep 06, 2007 12:31 pm

mflorell wrote:Could you show the codec settings or iax.conf?

As for your consultative issues, could you go into more detail about how you have set them up and how exactly you want them to work?


Here are all the posible details :

SERVER ONE:
vicidial 2.0.3
asterisk 1.2.17

In this server we have 15 fronter agents and 5 consultative agents.
For consultative transfers we are using the agi-VDADcloser.agi script, and works well the consultative transfer in the same server.
But if I want to use the agi-VDAD_LO_closer.agi script in this same server, the fronters can't make consultative transfers

iax.conf
[general]
;
bandwidth=low
;
; You can also fine tune codecs here using "allow" and "disallow" clauses
; with specific codecs. Use "all" to represent all formats.
;
;allow=all ; same as bandwidth=high
;disallow=g723.1 ; Hm... Proprietary, don't use it...
disallow=lpc10 ; Icky sound quality... Mr. Roboto.
disallow=all
allow=gsm ; Always allow GSM, it's cool :)
;




;********My VoIP provider********************
register => user:password@ip-address

;*************REGISTER ASTERISK/VICIDIAL********************
register => ASTtest1:password@192.168.2.4


;
autokill=yes
;
;*********OTHERS ASTERISK/VICIDIAL**************
;***********************************************
[ASTtest2]
type=friend
accountcode=IAXtrunk2
context=default
auth=plaintext
host=dynamic
permit=0.0.0.0/0.0.0.0
secret=pssvicigvds2
qualify=yes



extensions.conf

[general]
static=yes
writeprotect=no

[globals]
CONSOLE=Console/dsp ; Console interface for demo
TRUNK=Zap/g1 ; Trunk interface
TRUNKX=Zap/g2 ; 2nd trunk interface
;TRUNKIAX=IAX2/ASTtest1:test@10.10.10.16:4569 ; IAX trunk interface
;TRUNKIAX1=IAX2/ASTtest1:test@10.10.10.16:4569 ; IAX trunk interface
TRUNKBINFONE=IAX2/1112223333:PASSWORD@iax.binfone.com ; IAX trunk interface
SIPtrunk=SIP/1234:PASSWORD@sip.provider.net ; SIP trunk

;****TO CALL 2nd SERVER******
;****************************
TRUNKIAX2=IAX2/ASTtest1:password@192.168.2.4


; parameters for agi-VDADcloser.agi (2 fields separated by five dashes "-----"):
; 1. the full extension formatted by VICIDIAL for internal transfers * separated
; 2. the word START to denote the beginning of the acceptance of the transfer
; inbound VICIDIAL transfer calls [can arrive through PRI T1 crossover or IAX channel]
exten => _90009.,1,Answer ; Answer the line
exten => _90009.,2,AGI(agi-VDADcloser.agi,${EXTEN}-----START)
exten => _90009.,3,Hangup

;*************CONSULTATIVE TRANSFERS WITH OTHER AGI SCRIPTS***************
;*************************************************************************
; parameters for agi-VDAD_LB_closer.agi (2 fields separated by five dashes "-----"):
; 1. the full extension formatted by VICIDIAL for internal transfers * separated
; 2. the word START to denote the beginning of the acceptance of the transfer
; inbound VICIDIAL transfer calls [INTERNAL TRANSFER]
;exten => _90009.,1,Answer ; Answer the line
;exten => _90009.,2,AGI(agi-VDAD_LB_closer.agi,${EXTEN}-----START)
;exten => _90009.,3,Hangup

; parameters for agi-VDAD_LO_closer.agi (2 fields separated by five dashes "-----"):
; 1. the full extension formatted by VICIDIAL for internal transfers * separated
; 2. the word START to denote the beginning of the acceptance of the transfer
; inbound VICIDIAL transfer calls [LOCAL TRANSFER]
;exten => _90009.,1,Answer ; Answer the line
;exten => _90009.,2,AGI(agi-VDAD_LO_closer.agi,${EXTEN}-----START)
;exten => _90009.,3,Hangup

; inbound VICIDIAL call with prompt for 4-digit fronter code
;exten => 1234,1,Answer ; Answer the line
;exten => 1234,2,AGI(agi-VDAD_LO_closer_inbound.agi,CL_GALLERIA-----7275555134-----Closer-----park----------999-----1)
;exten => 1234,3,Hangup
;************************************************************************************************************
;************************************************************************************************************



; VICIDIAL_auto_dialer transfer script:
exten => 8365,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => 8365,1,AGI(call_log.agi,${EXTEN})
exten => 8365,2,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,3,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,4,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,5,Hangup


; VICIDIAL_auto_dialer transfer script Load Balance Overflow:
exten => 8367,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => 8367,1,AGI(call_log.agi,${EXTEN})
exten => 8367,2,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,3,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,4,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,5,Hangup

; VICIDIAL_auto_dialer transfer script Load Balanced:
exten => 8368,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => 8368,1,AGI(call_log.agi,${EXTEN})
exten => 8368,2,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,3,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,4,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,5,Hangup

;*******LOAD BALANCING**********
;*******************************
exten => _192*168*002*005*8600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*002*004*8600XXX,1,Dial(${TRUNKIAX2}/${EXTEN:16},55,o)

exten => _192*168*002*005*8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _192*168*002*004*8600XXX*.,1,Dial(${TRUNKIAX2}/${EXTEN:16},55,o)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)


;***************FOR OUTBOUND CALLS********************
;*****************************************************
exten => _3841XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _3841XXXXXXXXXX,2,Dial(IAX2/user:password@ip-address/${EXTEN:3},,tTo)
exten => _3841XXXXXXXXXX,3,Hangup


SERVER TWO
vicidial 2.0.3
asterisk 1.2.17

We need 10 fronter agents more
For outbond calls the load balancing script agi-VDAD_LO_transfer.agi is working fine.
The problem is when a fronter wants to make a consultative transfer with the button dial with customer

For consultative transfer I am tryin to use the agi-VDAD_LO_closer.agi OR agi-VDAD_LB_closer.agi script.

iax.conf
[general]
; Specify bandwidth of low, medium, or high to control which codecs are used
; in general.
;
bandwidth=low
;
; You can also fine tune codecs here using "allow" and "disallow" clauses
; with specific codecs. Use "all" to represent all formats.
;
;allow=all ; same as bandwidth=high
;disallow=g723.1 ; Hm... Proprietary, don't use it...
;disallow=lpc10 ; Icky sound quality... Mr. Roboto.
;allow=gsm ; Always allow GSM, it's cool :)
disallow=all
allow=gsm


;*************OTHERS ASTERISK/VICIDIAL********************
register => ASTtest2:passwordvicigvds2@192.168.2.5

;************My VoIP provider**********
;**************************************
register => user:password@ip-address

autokill=yes
[ASTtest1]
type=friend
accountcode=IAXtrunk1
context=default
auth=plaintext
host=dynamic
permit=0.0.0.0/0.0.0.0
secret=password
qualify=yes


extensions.conf
[general]
static=yes
writeprotect=no

[globals]
CONSOLE=Console/dsp ; Console interface for demo
TRUNK=Zap/g1 ; Trunk interface
TRUNKX=Zap/g2 ; 2nd trunk interface
;TRUNKIAX=IAX2/ASTtest1:test@10.10.10.16:4569 ; IAX trunk interface
;TRUNKIAX1=IAX2/ASTtest1:test@10.10.10.16:4569 ; IAX trunk interface
TRUNKBINFONE=IAX2/1112223333:PASSWORD@iax.binfone.com ; IAX trunk interface
SIPtrunk=SIP/1234:PASSWORD@sip.provider.net ; SIP trunk

;****TO CALL 1st SERVER******
;*********************************************
TRUNKIAX1=IAX2/ASTtest2:password@192.168.2.5

[default]

; parameters for agi-VDADcloser.agi (2 fields separated by five dashes "-----"):
; 1. the full extension formatted by VICIDIAL for internal transfers * separated
; 2. the word START to denote the beginning of the acceptance of the transfer
; inbound VICIDIAL transfer calls [can arrive through PRI T1 crossover or IAX channel]
;exten => _90009.,1,Answer ; Answer the line
;exten => _90009.,2,AGI(agi-VDADcloser.agi,${EXTEN}-----START)
;exten => _90009.,3,Hangup

;*************DESCOMENTAR LAS SIGUIENTES LINEAS PARA CLOSER EN UN ENTORNO DE LOAD BALANCING***************
;*********************************************************************************************************
; parameters for agi-VDAD_LB_closer.agi (2 fields separated by five dashes "-----"):
; 1. the full extension formatted by VICIDIAL for internal transfers * separated
; 2. the word START to denote the beginning of the acceptance of the transfer
; inbound VICIDIAL transfer calls [INTERNAL TRANSFER]
exten => _90009.,1,Answer ; Answer the line
exten => _90009.,2,AGI(agi-VDAD_LB_closer.agi,${EXTEN}-----START)
exten => _90009.,3,Hangup

; parameters for agi-VDAD_LO_closer.agi (2 fields separated by five dashes "-----"):
; 1. the full extension formatted by VICIDIAL for internal transfers * separated
; 2. the word START to denote the beginning of the acceptance of the transfer
; inbound VICIDIAL transfer calls [LOCAL TRANSFER]
exten => _990009.,1,Answer ; Answer the line
exten => _990009.,2,AGI(agi-VDAD_LO_closer.agi,${EXTEN}-----START)
exten => _990009.,3,Hangup

; inbound VICIDIAL call with prompt for 4-digit fronter code
exten => 1234,1,Answer ; Answer the line
exten => 1234,2,AGI(agi-VDAD_LO_closer_inbound.agi,CL_GALLERIA-----7275555134-----Closer-----park----------999-----1)
exten => 1234,3,Hangup
;************************************************************************************************************
;************************************************************************************************************





; VICIDIAL_auto_dialer transfer script:
exten => 8365,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => 8365,1,AGI(call_log.agi,${EXTEN})
exten => 8365,2,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,3,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,4,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,5,Hangup


; VICIDIAL_auto_dialer transfer script Load Balance Overflow:
exten => 8367,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => 8367,1,AGI(call_log.agi,${EXTEN})
exten => 8367,2,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,3,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,4,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,5,Hangup

; VICIDIAL_auto_dialer transfer script Load Balanced:
exten => 8368,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => 8368,1,AGI(call_log.agi,${EXTEN})
exten => 8368,2,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,3,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,4,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,5,Hangup


;*******LOAD BALANCING**********
;*******************************
exten => _192*168*002*005*8600XXX,1,Dial(${TRUNKIAX1}/${EXTEN:16},55,o)
exten => _192*168*002*004*8600XXX,1,Goto(default,${EXTEN:16},1)

exten => _192*168*002*005*8600XXX*.,1,Dial(${TRUNKIAX1}/${EXTEN:16},55,o)
exten => _192*168*002*004*8600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)



;***************FOR OUTBOUND CALLS********************
;*****************************************************
exten => _3841XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _3841XXXXXXXXXX,2,Dial(IAX2/user:password@ip-address:4569/${EXTEN:3},55,tTo)
exten => _3841XXXXXXXXXX,3,Hangup


The error are:
asterisk console
Code: Select all
  == Parsing '/etc/asterisk/manager.conf': Found
  == Manager 'sendcron' logged on from 127.0.0.1
    -- Executing Answer("Local/90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*@default-3b6f", "") in new stack
       > Channel Local/90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*@default-3b6f,1 was answered.
    -- Executing AGI("Local/90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*@default-3b6f", "agi-VDAD_LB_closer.agi|90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*-----START") in new stack
    -- Executing MeetMe("Local/90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*@default-3b6f", "8600065") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_LB_closer.agi
    -- AGI Script agi-VDAD_LB_closer.agi completed, returning 0
    -- Executing Hangup("Local/90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*@default-3b6f", "") in new stack
  == Spawn extension (default, 90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*, 3) exited non-zero on 'Local/90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*@default-3b6f,2'
    -- Executing DeadAGI("Local/90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*@default-3b6f", "agi://127.0.0.1:4577/call_log") in new stack
    -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
    -- Executing DeadAGI("Local/90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*@default-3b6f", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
    -- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------) completed, returning 0
Sep  6 13:25:32 WARNING[14489]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*@default-3b6f,1
Sep  6 13:25:32 WARNING[14489]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*@default-3b6f,1
Sep  6 13:25:32 WARNING[14489]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*@default-3b6f,1
Sep  6 13:25:32 WARNING[14489]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*@default-3b6f,1
Sep  6 13:25:32 WARNING[14489]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*@default-3b6f,1
Sep  6 13:25:32 WARNING[14489]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*@default-3b6f,1
Sep  6 13:25:32 WARNING[14489]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*@default-3b6f,1
Sep  6 13:25:32 WARNING[14489]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*@default-3b6f,1
Sep  6 13:25:32 WARNING[14489]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*@default-3b6f,1
Sep  6 13:25:32 WARNING[14489]: app_meetme.c:1560 conf_run: Unable to write frame to channel Local/90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*@default-3b6f,1


And from the agiout file:
Code: Select all
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi|Perl Environment Dump:
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi|0|90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*-----START
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi|callerID changed: J0906132532000521681
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi|callerID changed: J0906132532000521681
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi|callerID changed: J0906132532000521681
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi|callerID changed: J0906132532000521681
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi| -- accountcode =
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi| -- callerid = 2054511865
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi| -- calleridname = DCagcW11890995291300
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi| -- callingani2 = 0
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi| -- callingpres = 0
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi| -- callingtns = 0
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi| -- callington = 0
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi| -- channel = Local/90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*@default-3b6f,2
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi| -- context = default
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi| -- dnid = unknown
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi| -- enhanced = 0.0
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi| -- extension = 90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi| -- language = en
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi| -- priority = 2
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi| -- rdnis = unknown
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi| -- request = agi-VDAD_LB_closer.agi
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi| -- type = Local
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi| -- uniqueid = 1189099532.61
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi|AGI Variables: |1189099532.61|Local/90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*@default-3b6f,2|90009*CL_AGENTES_L*CXFER*521681**6203762160*51300*|Local|J0906132532000521681|
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi|+++++ VDAD START : |521681|2007-09-06 13:25:32|
2007-09-06 13:25:32|agi-VDAD_LB_closer.agi|+++++ VDAD START LOCAL CHANNEL: EXITING-


May be is something in the extensions.conf, I am not really sure
:cry:

Thanks
eijal
 
Posts: 186
Joined: Thu Feb 08, 2007 6:34 pm

Postby mflorell » Fri Sep 07, 2007 7:36 pm

Do transfers to closers work if it is not consultative?

Have you tried switching to ULAW codec instead of gsm only in iax.conf?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby eijal » Mon Sep 10, 2007 7:09 pm

mflorell wrote:Do transfers to closers work if it is not consultative?

INTERNAL CLOSER works very well, with gsm or ulaw codec
using this dial plan
Code: Select all
exten => _90009.,1,Answer                  ; Answer the line
exten => _90009.,2,AGI(agi-VDAD_LB_closer.agi,${EXTEN}-----START)
exten => _90009.,3,Hangup

The agiout file is:
Code: Select all
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi|Perl Environment Dump:
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi|0|90009*CL_AGENTES_L**561980**6144092856*51300*-----START
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi|callerID changed: J0910194928000561980
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi|callerID changed: J0910194928000561980
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi|callerID changed: J0910194928000561980
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi|callerID changed: J0910194928000561980
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi| -- accountcode =
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi| -- callerid = unknown
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi| -- calleridname = V0910194553000561980
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi| -- callingani2 = 0
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi| -- callingpres = 0
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi| -- callingtns = 0
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi| -- callington = 0
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi| -- channel = IAX2/192.168.2.9:4569-3
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi| -- context = default
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi| -- dnid = unknown
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi| -- enhanced = 0.0
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi| -- extension = 90009*CL_AGENTES_L**561980**6144092856*51300*
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi| -- language = en
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi| -- priority = 2
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi| -- rdnis = unknown
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi| -- request = agi-VDAD_LB_closer.agi
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi| -- type = IAX2
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi| -- uniqueid = 1189467953.543
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi|AGI Variables: |1189467953.543|IAX2/192.168.2.9:4569-3|90009*CL_AGENTES_L**561980**6144092856*51300*|IAX2|J0910194928000561980|
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi|+++++ VDAD START : |561980|2007-09-10 19:49:28|
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi||INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,uniqueid,callerid,channel,phone_code,phone_number,call_time,call_type,stage)  values('192.168.2.4','CL_AGENTES_L','LIVE','561980','1189467953.543','J0910194928000561980','IAX2/192.168.2.9:4569-3','1','6144092856','2007-09-10 19:49:28','IN','LIVE-0')|
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi||INSERT INTO vicidial_closer_log (lead_id,campaign_id,call_date,start_epoch,status,phone_code,phone_number,user,processed) values('561980','CL_AGENTES_L','2007-09-10 19:49:28','1189468168','QUEUE','1','6144092856','VDCL','N')|
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi|--    VDCL : |561980|561980|insert to vicidial_closer_log
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi||INSERT INTO vicidial_xfer_log (lead_id,campaign_id,call_date,phone_code,phone_number,user,closer) values('561980','CL_AGENTES_L','2007-09-10 19:49:28','1','6144092856','51300','VDXL')|
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi|--    VDXL : |561980|561980|insert to vicidial_xfer_log
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and campaign_id = 'CL_AGENTES_L' and call_time < "2007-09-10 19:49:28" and lead_id != '561980';|
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi|--    VDAD get agent: |1|CL_AGENTES_L|UPDATE vicidial_live_agents set status='QUEUE',lead_id='561980',uniqueid='1189467953.543', channel='IAX2/192.168.2.9:4569-3', callerid='J0910194928000561980', call_server_ip='192.168.2.4' where status IN('CLOSER','READY') and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% CL_AGENTES_L %" and last_update_time > '19691231195955' order by user_level desc,last_call_finish limit 1;|
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi||SELECT conf_exten,user,extension,server_ip FROM vicidial_live_agents where status = 'QUEUE' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and callerid='J0910194928000561980' and channel='IAX2/192.168.2.9:4569-3' order by last_call_time limit 1;|
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi|--    VDCL XFER : |1|J0910194928000561980
|UPDATE vicidial_auto_calls set status='CLOSER', stage='CLOSER-0' where callerid='J0910194928000561980';|
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi|--    VDXL XFER vicidial_xfer_log update: |1|561980|4005
|UPDATE vicidial_xfer_log set closer='4005' where lead_id = '561980' order by call_date desc limit 1;|
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi|exiting VDAD app, transferring call to 192*168*002*005*8600076
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi|--    VDCL vcl update: |1|561980|
|UPDATE vicidial_closer_log set queue_seconds='0' where lead_id = '561980' and call_date='2007-09-10 19:49:28';|
2007-09-10 19:49:28|agi-VDAD_LB_closer.agi|XXXXX VDAD transferred: start|stop  2007-09-10 19:49:28|2007-09-10 19:49:28


But with LOCAL CLOSER it doesn't work. Using this dial plan
Code: Select all
exten => _990009.,1,Answer                  ; Answer the line
exten => _990009.,2,AGI(agi-VDAD_LO_closer.agi,${EXTEN}-----START)
exten => _990009.,3,Hangup

The asterisk console for a long time is:
Code: Select all
 == Spawn extension (default, 990009*CL_AGENTES_L**561700**6142383474*51300*, 0) exited non-zero on 'IAX2/192.168.2.9:4569-4'
    -- Executing Answer("IAX2/192.168.2.9:4569-4", "") in new stack
    -- Executing AGI("IAX2/192.168.2.9:4569-4", "agi-VDAD_LO_closer.agi|990009*CL_AGENTES_L**561700**6142383474*51300*-----START") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_LO_closer.agi

And the agiout file for this local closer is:
Code: Select all
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi|Perl Environment Dump:
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi|0|990009*CL_AGENTES_L**561700**6142383474*51300*-----START
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi| -- accountcode =
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi| -- callerid = unknown
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi| -- calleridname = V0910195152000561700
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi| -- callingani2 = 0
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi| -- callingpres = 0
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi| -- callingtns = 0
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi| -- callington = 0
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi| -- channel = IAX2/192.168.2.9:4569-4
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi| -- context = default
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi| -- dnid = unknown
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi| -- enhanced = 0.0
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi| -- extension = 990009*CL_AGENTES_L**561700**6142383474*51300*
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi| -- language = en
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi| -- priority = 2
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi| -- rdnis = unknown
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi| -- request = agi-VDAD_LO_closer.agi
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi| -- type = IAX2
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi| -- uniqueid = 1189468312.550
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi|AGI Variables: |1189468312.550|IAX2/192.168.2.9:4569-4|990009*CL_AGENTES_L**561700**6142383474*51300*|IAX2|V0910195152000561700|
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi|+++++ VDAD START : |561700|2007-09-10 19:52:36|
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi||INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,uniqueid,callerid,channel,phone_code,phone_number,call_time,call_type,stage)  values('192.168.2.4','','LIVE','561700','1189468312.550','V0910195152000561700','IAX2/192.168.2.9:4569-4','1','6142383474','2007-09-10 19:52:36','IN','LIVE-0')|
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi||INSERT INTO vicidial_closer_log (lead_id,campaign_id,call_date,start_epoch,status,phone_code,phone_number,user,processed) values('561700','','2007-09-10 19:52:36','1189468356','QUEUE','1','6142383474','VDCL','N')|
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi|--    VDCL : |561700|561700|insert to vicidial_closer_log
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi||INSERT INTO vicidial_xfer_log (lead_id,campaign_id,call_date,phone_code,phone_number,user,closer) values('561700','','2007-09-10 19:52:36','1','6142383474','51300','VDXL')|
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi|--    VDXL : |561700|561700|insert to vicidial_xfer_log
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.2.4' and campaign_id = '' and call_time < "2007-09-10 19:52:36" and lead_id != '561700';|
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi|--    VDAD get agent: |0E0||UPDATE vicidial_live_agents set status='QUEUE',lead_id='561700',uniqueid='1189468312.550', channel='IAX2/192.168.2.9:4569-4', callerid='V0910195152000561700' where status IN('CLOSER','READY') and server_ip='192.168.2.4' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "%  %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi|NNNNN No available agent found
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip!='192.168.2.4' and campaign_id = '' and call_time < "2007-09-10 19:52:36" and lead_id != '561700';|
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi|--    VDAD get agent: |360|0|0E0|update of vla table: |
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='561700',uniqueid='1189468312.550', channel='IAX2/192.168.2.9:4569-4', callerid='V0910195152000561700', call_server_ip='192.168.2.4' where status IN('CLOSER','READY') and server_ip!='192.168.2.4' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "%  %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi|NNNNN No available remote agent found
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.2.4' and campaign_id = '' and call_time < "2007-09-10 19:52:36" and lead_id != '561700';|
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi|--    VDAD get agent: |0E0||UPDATE vicidial_live_agents set status='QUEUE',lead_id='561700',uniqueid='1189468312.550', channel='IAX2/192.168.2.9:4569-4', callerid='V0910195152000561700' where status IN('CLOSER','READY') and server_ip='192.168.2.4' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "%  %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi|NNNNN No available agent found
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip!='192.168.2.4' and campaign_id = '' and call_time < "2007-09-10 19:52:36" and lead_id != '561700';|
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi|--    VDAD get agent: |360|0.25|0E0|update of vla table: |
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='561700',uniqueid='1189468312.550', channel='IAX2/192.168.2.9:4569-4', callerid='V0910195152000561700', call_server_ip='192.168.2.4' where status IN('CLOSER','READY') and server_ip!='192.168.2.4' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "%  %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi|NNNNN No available remote agent found
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.2.4' and campaign_id = '' and call_time < "2007-09-10 19:52:36" and lead_id != '561700';|
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi|--    VDAD get agent: |0E0||UPDATE vicidial_live_agents set status='QUEUE',lead_id='561700',uniqueid='1189468312.550', channel='IAX2/192.168.2.9:4569-4', callerid='V0910195152000561700' where status IN('CLOSER','READY') and server_ip='192.168.2.4' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "%  %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi|NNNNN No available agent found
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip!='192.168.2.4' and campaign_id = '' and call_time < "2007-09-10 19:52:36" and lead_id != '561700';|
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi|--    VDAD get agent: |360|0.5|0E0|update of vla table: |
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='561700',uniqueid='1189468312.550', channel='IAX2/192.168.2.9:4569-4', callerid='V0910195152000561700', call_server_ip='192.168.2.4' where status IN('CLOSER','READY') and server_ip!='192.168.2.4' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "%  %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2007-09-10 19:52:36|agi-VDAD_LO_closer.agi|NNNNN No available remote agent found
.
.
.


Have you tried switching to ULAW codec instead of gsm only in iax.conf?


Yes I have. And the consultative transfers still are not working

Thanks :(
eijal
 
Posts: 186
Joined: Thu Feb 08, 2007 6:34 pm

Postby mflorell » Mon Sep 17, 2007 10:52 pm

are you using agc_es or the standard agc folder scripts?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby eijal » Tue Sep 18, 2007 9:08 am

mflorell wrote:are you using agc_es or the standard agc folder scripts?

The standar agc folder scripts.


The ID of my closer campaing is CLOSER, may be it must be named like CLOSER_I or CLOSER_C or CLOSER_B, I am not sure.

Thanks in advance
eijal
 
Posts: 186
Joined: Thu Feb 08, 2007 6:34 pm

Postby mflorell » Tue Sep 18, 2007 11:34 pm

Your consultative transfer issues are with Asterisk, not really with vicidial settings. The problem is you are not able to send audio from one meetme to another one, and I'm not sure what could be causing it since I've never run into that issue myself.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby eijal » Thu Sep 20, 2007 2:53 pm

mflorell wrote:Your consultative transfer issues are with Asterisk, not really with vicidial settings. The problem is you are not able to send audio from one meetme to another one, and I'm not sure what could be causing it since I've never run into that issue myself.


But Why does it work well with INTERNAL CLOSER button? With this agi file output:
Code: Select all
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi|Perl Environment Dump:
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi|0|90009*CL_TESTCAMP_L**536445**9702431817*51300*-----START
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi|callerID changed: J0920153003000536445
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi|callerID changed: J0920153003000536445
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi|callerID changed: J0920153003000536445
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi|callerID changed: J0920153003000536445
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi| -- accountcode =
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi| -- callerid = unknown
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi| -- calleridname = V0920152848000536445
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi| -- callingani2 = 0
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi| -- callingpres = 0
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi| -- callingtns = 0
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi| -- callington = 0
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi| -- channel = IAX2/192.168.2.9:4569-22
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi| -- context = default
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi| -- dnid = unknown
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi| -- enhanced = 0.0
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi| -- extension = 90009*CL_TESTCAMP_L**536445**9702431817*51300*
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi| -- language = en
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi| -- priority = 2
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi| -- rdnis = unknown
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi| -- request = agi-VDAD_LB_closer.agi
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi| -- type = IAX2
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi| -- uniqueid = 1190316528.17859
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi|AGI Variables: |1190316528.17859|IAX2/192.168.2.9:4569-22|90009*CL_TESTCAMP_L**536445**9702431817*51300*|IAX2|J0920153003000536445|
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi|+++++ VDAD START : |536445|2007-09-20 15:30:03|
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi||INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,uniqueid,callerid,channel,phone_code,phone_number,call_time,call_type,stage)  values('192.168.2.4','CL_TESTCAMP_L','LIVE','536445','1190316528.17859','J0920153003000536445','IAX2/192.168.2.9:4569-22','1','9702431817','2007-09-20 15:30:03','IN','LIVE-0')|
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi||INSERT INTO vicidial_closer_log (lead_id,campaign_id,call_date,start_epoch,status,phone_code,phone_number,user,processed) values('536445','CL_TESTCAMP_L','2007-09-20 15:30:03','1190316603','QUEUE','1','9702431817','VDCL','N')|
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi|--    VDCL : |536445|536445|insert to vicidial_closer_log
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi||INSERT INTO vicidial_xfer_log (lead_id,campaign_id,call_date,phone_code,phone_number,user,closer) values('536445','CL_TESTCAMP_L','2007-09-20 15:30:03','1','9702431817','51300','VDXL')|
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi|--    VDXL : |536445|536445|insert to vicidial_xfer_log
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and campaign_id = 'CL_TESTCAMP_L' and call_time < "2007-09-20 15:30:03" and lead_id != '536445';|
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi|--    VDAD get agent: |1|CL_TESTCAMP_L|UPDATE vicidial_live_agents set status='QUEUE',lead_id='536445',uniqueid='1190316528.17859', channel='IAX2/192.168.2.9:4569-22', callerid='J0920153003000536445', call_server_ip='192.168.2.4' where status IN('CLOSER','READY') and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% CL_TESTCAMP_L %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi||SELECT conf_exten,user,extension,server_ip FROM vicidial_live_agents where status = 'QUEUE' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and callerid='J0920153003000536445' and channel='IAX2/192.168.2.9:4569-22' order by last_call_time limit 1;|
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi|--    VDCL XFER : |1|J0920153003000536445
|UPDATE vicidial_auto_calls set status='CLOSER', stage='CLOSER-0' where callerid='J0920153003000536445';|
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi|--    VDXL XFER vicidial_xfer_log update: |1|536445|4000
|UPDATE vicidial_xfer_log set closer='4000' where lead_id = '536445' order by call_date desc limit 1;|
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi|exiting VDAD app, transferring call to 192*168*002*005*8600063
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi|--    VDCL vcl update: |1|536445|
|UPDATE vicidial_closer_log set queue_seconds='0' where lead_id = '536445' and call_date='2007-09-20 15:30:03';|
2007-09-20 15:30:03|agi-VDAD_LB_closer.agi|XXXXX VDAD transferred: start|stop  2007-09-20 15:30:03|2007-09-20 15:30:03


And Why doesn´t it work with LOCAL CLOSER button? With this agi file output
Code: Select all
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi|Perl Environment Dump:
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi|0|990009*CL_TESTCAMP_L**536447**9703950231*51300*-----START
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi| -- accountcode =
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi| -- callerid = unknown
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi| -- calleridname = V0920153129000536447
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi| -- callingani2 = 0
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi| -- callingpres = 0
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi| -- callingtns = 0
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi| -- callington = 0
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi| -- channel = IAX2/192.168.2.9:4569-55
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi| -- context = default
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi| -- dnid = unknown
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi| -- enhanced = 0.0
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi| -- extension = 990009*CL_TESTCAMP_L**536447**9703950231*51300*
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi| -- language = en
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi| -- priority = 2
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi| -- rdnis = unknown
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi| -- request = agi-VDAD_LO_closer.agi
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi| -- type = IAX2
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi| -- uniqueid = 1190316689.17972
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi|AGI Variables: |1190316689.17972|IAX2/192.168.2.9:4569-55|990009*CL_TESTCAMP_L**536447**9703950231*51300*|IAX2|V0920153129000536447|
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi|+++++ VDAD START : |536447|2007-09-20 15:31:55|
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi||INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,uniqueid,callerid,channel,phone_code,phone_number,call_time,call_type,stage)  values('192.168.2.4','','LIVE','536447','1190316689.17972','V0920153129000536447','IAX2/192.168.2.9:4569-55','1','9703950231','2007-09-20 15:31:55','IN','LIVE-0')|
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi||INSERT INTO vicidial_closer_log (lead_id,campaign_id,call_date,start_epoch,status,phone_code,phone_number,user,processed) values('536447','','2007-09-20 15:31:55','1190316715','QUEUE','1','9703950231','VDCL','N')|
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi|--    VDCL : |536447|536447|insert to vicidial_closer_log
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi||INSERT INTO vicidial_xfer_log (lead_id,campaign_id,call_date,phone_code,phone_number,user,closer) values('536447','','2007-09-20 15:31:55','1','9703950231','51300','VDXL')|
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi|--    VDXL : |536447|536447|insert to vicidial_xfer_log
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.2.4' and campaign_id = '' and call_time < "2007-09-20 15:31:55" and lead_id != '536447';|
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi|--    VDAD get agent: |0E0||UPDATE vicidial_live_agents set status='QUEUE',lead_id='536447',uniqueid='1190316689.17972', channel='IAX2/192.168.2.9:4569-55', callerid='V0920153129000536447' where status IN('CLOSER','READY') and server_ip='192.168.2.4' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "%  %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi|NNNNN No available agent found
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip!='192.168.2.4' and campaign_id = '' and call_time < "2007-09-20 15:31:55" and lead_id != '536447';|
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi|--    VDAD get agent: |360|0|0E0|update of vla table: |
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='536447',uniqueid='1190316689.17972', channel='IAX2/192.168.2.9:4569-55', callerid='V0920153129000536447', call_server_ip='192.168.2.4' where status IN('CLOSER','READY') and server_ip!='192.168.2.4' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "%  %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi|NNNNN No available remote agent found
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.2.4' and campaign_id = '' and call_time < "2007-09-20 15:31:55" and lead_id != '536447';|
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi|--    VDAD get agent: |0E0||UPDATE vicidial_live_agents set status='QUEUE',lead_id='536447',uniqueid='1190316689.17972', channel='IAX2/192.168.2.9:4569-55', callerid='V0920153129000536447' where status IN('CLOSER','READY') and server_ip='192.168.2.4' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "%  %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi|NNNNN No available agent found
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip!='192.168.2.4' and campaign_id = '' and call_time < "2007-09-20 15:31:55" and lead_id != '536447';|
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi|--    VDAD get agent: |360|0.25|0E0|update of vla table: |
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='536447',uniqueid='1190316689.17972', channel='IAX2/192.168.2.9:4569-55', callerid='V0920153129000536447', call_server_ip='192.168.2.4' where status IN('CLOSER','READY') and server_ip!='192.168.2.4' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "%  %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi|NNNNN No available remote agent found
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.2.4' and campaign_id = '' and call_time < "2007-09-20 15:31:55" and lead_id != '536447';|
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi|--    VDAD get agent: |0E0||UPDATE vicidial_live_agents set status='QUEUE',lead_id='536447',uniqueid='1190316689.17972', channel='IAX2/192.168.2.9:4569-55', callerid='V0920153129000536447' where status IN('CLOSER','READY') and server_ip='192.168.2.4' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "%  %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi|NNNNN No available agent found
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip!='192.168.2.4' and campaign_id = '' and call_time < "2007-09-20 15:31:55" and lead_id != '536447';|
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi|--    VDAD get agent: |360|0.5|0E0|update of vla table: |
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='536447',uniqueid='1190316689.17972', channel='IAX2/192.168.2.9:4569-55', callerid='V0920153129000536447', call_server_ip='192.168.2.4' where status IN('CLOSER','READY') and server_ip!='192.168.2.4' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "%  %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi|NNNNN No available remote agent found
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.2.4' and campaign_id = '' and call_time < "2007-09-20 15:31:55" and lead_id != '536447';|
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi|--    VDAD get agent: |0E0||UPDATE vicidial_live_agents set status='QUEUE',lead_id='536447',uniqueid='1190316689.17972', channel='IAX2/192.168.2.9:4569-55', callerid='V0920153129000536447' where status IN('CLOSER','READY') and server_ip='192.168.2.4' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "%  %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2007-09-20 15:31:55|agi-VDAD_LO_closer.agi|NNNNN No available agent found


Where can be here the mistake?

Thanks
eijal
 
Posts: 186
Joined: Thu Feb 08, 2007 6:34 pm

Postby eijal » Thu Sep 20, 2007 8:44 pm

Matt:

How can I try to send audio from one meetme to another one, in a different way. Without using vicidial?
In that way, I can confirm that the issue is asterisk and not vicidial itself.

Thank you very much
eijal
 
Posts: 186
Joined: Thu Feb 08, 2007 6:34 pm

Postby mflorell » Fri Sep 21, 2007 1:42 pm

you could try using the speech lab functionality since that is how it works, although that is not the same as transferring calls from outside lines.

You can also insert a ReDirect into the vicidial_manager table to send a Local/ channel call from one meetme to another.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby eijal » Wed Oct 03, 2007 5:04 pm

mflorell wrote:Your consultative transfer issues are with Asterisk, not really with vicidial settings. The problem is you are not able to send audio from one meetme to another one, and I'm not sure what could be causing it since I've never run into that issue myself.


Hi Matt
I installed a new version of asterisk, zaptel and libpri in my two servers:
asterisk-1.2.24
zaptel-1.2.20.1
libpri-1.2.5

And now I have different ouputs.

1. When I am using agi-VDAD_LB_closer.agi script for consultative transfers
Asterisk console:
-- Executing Answer("Local/90009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-b934,2") in new stack
-- Executing AGI("Local/90009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-b934,2agi-VDAD_LB_closer.agi|90009*CL_AGENTES_L*CXFER*31**4072488140*51300*-----START") in new stack
> Channel Local/90009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-b934,1 was answered.
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_LB_closer.agi
-- Executing MeetMe("Local/90009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-b934,18600051") in new stack
-- AGI Script agi-VDAD_LB_closer.agi completed, returning 0
-- Executing Hangup("Local/90009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-b934,2") in new stack
== Spawn extension (default, 90009*CL_AGENTES_L*CXFER*31**4072488140*51300*, 3) exited non-zero on 'Local/90009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-b934,2'
-- Executing DeadAGI("Local/90009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-b934,2agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/90009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-b934,2agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Spawn extension (default, 8600051, 1) exited non-zero on 'Local/90009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-b934,1'
-- Executing DeadAGI("Local/90009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-b934,1agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/90009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-b934,1agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
VICI01*CLI>

agiout file:
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi|Perl Environment Dump:
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi|0|90009*CL_AGENTES_L*CXFER*31**4072488140*51300*-----START
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi|callerID changed: J1003174408000000031
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi|callerID changed: J1003174408000000031
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi|callerID changed: J1003174408000000031
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi|callerID changed: J1003174408000000031
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi| -- accountcode =
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi| -- callerid = 0000000000
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi| -- calleridname = DCagcW11914478181300
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi| -- callingani2 = 0
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi| -- callingpres = 0
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi| -- callingtns = 0
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi| -- callington = 0
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi| -- channel = Local/90009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-b934,2
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi| -- context = default
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi| -- dnid = unknown
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi| -- enhanced = 0.0
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi| -- extension = 90009*CL_AGENTES_L*CXFER*31**4072488140*51300*
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi| -- language = en
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi| -- priority = 2
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi| -- rdnis = unknown
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi| -- request = agi-VDAD_LB_closer.agi
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi| -- type = Local
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi| -- uniqueid = 1191447848.31
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi|AGI Variables: |1191447848.31|Local/90009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-b934,2|90009*CL_AGENTES_L*CXFER*31**4072488140*51300*|Local|J1003174408000000031|
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi|+++++ VDAD START : |31|2007-10-03 17:44:08|
2007-10-03 17:44:08|agi-VDAD_LB_closer.agi|+++++ VDAD START LOCAL CHANNEL: EXITING-

1. When I am using agi-VDAD_LO_closer.agi script for consultative transfers
Asterisk console:
-- Executing Answer("Local/990009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-53c6,2") in new stack
> Channel Local/990009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-53c6,1 was answered.
-- Executing AGI("Local/990009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-53c6,2agi-VDAD_LO_closer.agi|990009*CL_AGENTES_L*CXFER*31**4072488140*51300*-----START") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_LO_closer.agi
-- Executing MeetMe("Local/990009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-53c6,18600051") in new stack
-- AGI Script agi-VDAD_LO_closer.agi completed, returning 0
-- Executing Hangup("Local/990009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-53c6,2") in new stack
== Spawn extension (default, 990009*CL_AGENTES_L*CXFER*31**4072488140*51300*, 3) exited non-zero on 'Local/990009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-53c6,2'
-- Executing DeadAGI("Local/990009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-53c6,2agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/990009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-53c6,2agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Spawn extension (default, 8600051, 1) exited non-zero on 'Local/990009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-53c6,1'
-- Executing DeadAGI("Local/990009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-53c6,1agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/990009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-53c6,1agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
VICI01*CLI>

agiout file:
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi|Perl Environment Dump:
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi|0|990009*CL_AGENTES_L*CXFER*31**4072488140*51300*-----START
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi| -- accountcode =
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi| -- callerid = 0000000000
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi| -- calleridname = DCagcW11914481311300
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi| -- callingani2 = 0
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi| -- callingpres = 0
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi| -- callingtns = 0
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi| -- callington = 0
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi| -- channel = Local/990009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-53c6,2
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi| -- context = default
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi| -- dnid = unknown
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi| -- enhanced = 0.0
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi| -- extension = 990009*CL_AGENTES_L*CXFER*31**4072488140*51300*
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi| -- language = en
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi| -- priority = 2
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi| -- rdnis = unknown
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi| -- request = agi-VDAD_LO_closer.agi
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi| -- type = Local
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi| -- uniqueid = 1191448169.37
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi|AGI Variables: |1191448169.37|Local/990009*CL_AGENTES_L*CXFER*31**4072488140*51300*@default-53c6,2|990009*CL_AGENTES_L*CXFER*31**4072488140*51300*|Local|0000000000|
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi|+++++ VDAD START : |0|2007-10-03 17:49:29|
2007-10-03 17:49:29|agi-VDAD_LO_closer.agi|+++++ VDAD START LOCAL CHANNEL: EXITING-


3. INTERNAL CLOSER works well, I am still have issues with LOCAL CLOSER with these outputs:
Asterisk console:
== Spawn extension (default, 990009*CL_AGENTES_L**32**4072488186*51300*, 0) exited non-zero on 'IAX2/192.168.2.9:4569-1'
-- Executing Answer("IAX2/192.168.2.9:4569-1", "") in new stack
-- Executing AGI("IAX2/192.168.2.9:4569-1", "agi-VDAD_LO_closer.agi|990009*CL_AGENTES_L**32**4072488186*51300*-----START") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_LO_closer.agi

agiout file:
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi|Perl Environment Dump:
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi|0|990009*CL_AGENTES_L**32**4072488186*51300*-----START
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi| -- accountcode =
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi| -- callerid = unknown
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi| -- calleridname = V1003175637000000032
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi| -- callingani2 = 0
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi| -- callingpres = 0
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi| -- callingtns = 0
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi| -- callington = 0
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi| -- channel = IAX2/192.168.2.9:4569-1
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi| -- context = default
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi| -- dnid = unknown
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi| -- enhanced = 0.0
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi| -- extension = 990009*CL_AGENTES_L**32**4072488186*51300*
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi| -- language = en
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi| -- priority = 2
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi| -- rdnis = unknown
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi| -- request = agi-VDAD_LO_closer.agi
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi| -- type = IAX2
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi| -- uniqueid = 1191448597.38
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi|AGI Variables: |1191448597.38|IAX2/192.168.2.9:4569-1|990009*CL_AGENTES_L**32**4072488186*51300*|IAX2|V1003175637000000032|
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi|+++++ VDAD START : |32|2007-10-03 17:57:06|
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi||INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,uniqueid,callerid,channel,phone_code,phone_number,call_time,call_type,stage) values('192.168.2.10','','LIVE','32','1191448597.38','V1003175637000000032','IAX2/192.168.2.9:4569-1','1','4072488186','2007-10-03 17:57:06','IN','LIVE-0')|
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi||INSERT INTO vicidial_closer_log (lead_id,campaign_id,call_date,start_epoch,status,phone_code,phone_number,user,processed) values('32','','2007-10-03 17:57:06','1191448626','QUEUE','1','4072488186','VDCL','N')|
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi|-- VDCL : |32|32|insert to vicidial_closer_log
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi||INSERT INTO vicidial_xfer_log (lead_id,campaign_id,call_date,phone_code,phone_number,user,closer) values('32','','2007-10-03 17:57:06','1','4072488186','51300','VDXL')|
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi|-- VDXL : |32|32|insert to vicidial_xfer_log
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.2.10' and campaign_id = '' and call_time < "2007-10-03 17:57:06" and lead_id != '32';|
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi|-- VDAD get agent: |0E0||UPDATE vicidial_live_agents set status='QUEUE',lead_id='32',uniqueid='1191448597.38', channel='IAX2/192.168.2.9:4569-1', callerid='V1003175637000000032' where status IN('CLOSER','READY') and server_ip='192.168.2.10' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi|NNNNN No available agent found
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip!='192.168.2.10' and campaign_id = '' and call_time < "2007-10-03 17:57:06" and lead_id != '32';|
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi|-- VDAD get agent: |360|0|0E0|update of vla table: |
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='32',uniqueid='1191448597.38', channel='IAX2/192.168.2.9:4569-1', callerid='V1003175637000000032', call_server_ip='192.168.2.10' where status IN('CLOSER','READY') and server_ip!='192.168.2.10' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi|NNNNN No available remote agent found
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.2.10' and campaign_id = '' and call_time < "2007-10-03 17:57:06" and lead_id != '32';|
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi|-- VDAD get agent: |0E0||UPDATE vicidial_live_agents set status='QUEUE',lead_id='32',uniqueid='1191448597.38', channel='IAX2/192.168.2.9:4569-1', callerid='V1003175637000000032' where status IN('CLOSER','READY') and server_ip='192.168.2.10' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2007-10-03 17:57:06|agi-VDAD_LO_closer.agi|NNNNN No available agent found


May be is the asterisk version. Which asterisk version did you use for your consultative transfers?

Thank you very much
eijal
 
Posts: 186
Joined: Thu Feb 08, 2007 6:34 pm

Postby mflorell » Wed Oct 03, 2007 9:53 pm

Does the call go through the CXFER fix agi script?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby eijal » Thu Oct 04, 2007 12:00 pm

mflorell wrote:Does the call go through the CXFER fix agi script?

Yeah, that could be the problem
These are my settings:

ASTERISK/VICIDIAL 01 192.168.2.10
In extensions.conf I added this lines
; inbound VICIDIAL transfer calls [INTERNAL TRANSFER]
exten => _90009.,1,Answer ; Answer the line
exten => _90009.,2,AGI(agi-VDAD_LB_closer.agi,${EXTEN}-----START)
exten => _90009.,3,Hangup

; parameters for agi-VDAD_LO_closer.agi (2 fields separated by five dashes "-----"):
; 1. the full extension formatted by VICIDIAL for internal transfers * separated
; 2. the word START to denote the beginning of the acceptance of the transfer
; inbound VICIDIAL transfer calls [LOCAL TRANSFER]
exten => _990009.,1,Answer ; Answer the line
exten => _990009.,2,AGI(agi-VDAD_LO_closer.agi,${EXTEN}-----START)
exten => _990009.,3,Hangup

exten => _192*168*002*010*8600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*002*011*8600XXX,1,Dial(${TRUNKIAX2}/${EXTEN:16},55,o)

exten => _192*168*002*010*8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _192*168*002*011*8600XXX*.,1,Dial(${TRUNKIAX2}/${EXTEN:16},55,o)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)

; VICIDIAL_auto_dialer transfer script Load Balance Overflow:
exten => 8367,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => 8367,1,AGI(call_log.agi,${EXTEN})
exten => 8367,2,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,3,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,4,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,5,Hangup


; VICIDIAL_auto_dialer transfer script Load Balanced:
exten => 8368,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => 8368,1,AGI(call_log.agi,${EXTEN})
exten => 8368,2,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,3,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,4,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,5,Hangup


ASTERISK/VICIDIAL 02 192.168.2.11
in extensions.conf I added these lines:
; inbound VICIDIAL transfer calls [INTERNAL TRANSFER]
exten => _90009.,1,Answer ; Answer the line
exten => _90009.,2,AGI(agi-VDAD_LB_closer.agi,${EXTEN}-----START)
exten => _90009.,3,Hangup

; parameters for agi-VDAD_LO_closer.agi (2 fields separated by five dashes "-----"):
; 1. the full extension formatted by VICIDIAL for internal transfers * separated
; 2. the word START to denote the beginning of the acceptance of the transfer
; inbound VICIDIAL transfer calls [LOCAL TRANSFER]
exten => _990009.,1,Answer ; Answer the line
exten => _990009.,2,AGI(agi-VDAD_LO_closer.agi,${EXTEN}-----START)
exten => _990009.,3,Hangup

exten => _192*168*002*010*8600XXX,1,Dial(${TRUNKIAX1}/${EXTEN:16},55,o)
exten => _192*168*002*011*8600XXX,1,Goto(default,${EXTEN:16},1)

exten => _192*168*002*010*8600XXX*.,1,Dial(${TRUNKIAX1}/${EXTEN:16},55,o)
exten => _192*168*002*011*8600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)

; VICIDIAL_auto_dialer transfer script Load Balance Overflow:
exten => 8367,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => 8367,1,AGI(call_log.agi,${EXTEN})
exten => 8367,2,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,3,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,4,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,5,Hangup

; VICIDIAL_auto_dialer transfer script Load Balanced:
exten => 8368,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => 8368,1,AGI(call_log.agi,${EXTEN})
exten => 8368,2,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,3,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,4,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,5,Hangup


And when I make a consultative transfer, the agiout file doesn't have something like this:
|agi-VDADfixCXFER.agi|

Then I dialed just from an eyebeam softphone to the following extensions, with these results:

192*168*002*010*8600999 The call went well (there were messages in the asterisk console)
192*168*002*011*8600999 The call went well to the second server (there were messages in the asterisk console)
192*168*002*010*8600999*123456 The call went well (there were messages in the asterisk console)
192*168*002*011*8600999*123456 The call went well to the second server (there were messages in the asterisk console)
8600999*123456 The call didn't go (No messages in the asterisk console, and in the softphone I can only hear "I'm sorry that's not a valid extension, please try again)"

Did you try consultative transfers with asterisk 1.2.17 or 1.2.24, zaptel 1.2.16 or 1.2.20.1 and libpri 1.2.4 or 1.2.5

Thank you very much
eijal
 
Posts: 186
Joined: Thu Feb 08, 2007 6:34 pm

Postby eijal » Thu Oct 04, 2007 7:17 pm

mflorell wrote:you could try using the speech lab functionality since that is how it works, although that is not the same as transferring calls from outside lines.

You can also insert a ReDirect into the vicidial_manager table to send a Local/ channel call from one meetme to another.


Sorry but
Where can I find speech lab functionality?

Please, Could you give me more details about inserting a ReDirect into the vicidial_manager table to send a Local/channel call from one meetme to another? I don't know how to do those steps

THANKS :(
eijal
 
Posts: 186
Joined: Thu Feb 08, 2007 6:34 pm

Postby mflorell » Sun Oct 07, 2007 7:32 am

take a look at vicidial/voice_lab.php

As for Redirect, take a look at some records in the vicidial_manager table and you can copy some content from there, just make sure to set a status of NEW for it to be executed.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby eijal » Fri Oct 12, 2007 12:57 pm

Well, I tried with voice_lab.php script and the conferences between server01 and server02 work fine.
This is the vicidial_manager table:
Code: Select all
mysql> SELECT * FROM vicidial_manager;
+--------+--------------------+---------------------+---------+----------+--------------+-----------------+-----------+---------------------+---------------------------------------------+---------------+----------------+-------------+-------------------------------+------------+------------+------------+------------+------------+
| man_id | uniqueid           | entry_date          | status  | response | server_ip    | channel         | action    | callerid            | cmd_line_b                                  | cmd_line_c    | cmd_line_d     | cmd_line_e  | cmd_line_f                    | cmd_line_g | cmd_line_h | cmd_line_i | cmd_line_j | cmd_line_k |
+--------+--------------------+---------------------+---------+----------+--------------+-----------------+-----------+---------------------+---------------------------------------------+---------------+----------------+-------------+-------------------------------+------------+------------+------------+------------+------------+
|      1 | 1192209387.7000000 | 2007-10-12 13:16:27 | UPDATED | N        | 192.168.2.10 | IAX2/ASTtest2-3 | Originate | VL20071012-131627_0 | Channel: Local/192*168*002*011*8600900@demo | Context: demo | Exten: 8600051 | Priority: 1 | Callerid: VL20071012-131627_0 |            |            |            |            |            |
+--------+--------------------+---------------------+---------+----------+--------------+-----------------+-----------+---------------------+---------------------------------------------+---------------+----------------+-------------+-------------------------------+------------+------------+------------+------------+------------+
1 row in set (0.00 sec)

mysql>

But consultative transfers between server doesn't work. And the agiout file doesn't have something like this:
|agi-VDADfixCXFER.agi|

The vicidial_manager table is:
Code: Select all
mysql> SELECT * FROM vicidial_manager;
+--------+-----------+---------------------+--------+----------+--------------+---------+-----------+----------------------+-----------------------------------------------------------------------+------------------+----------------+-------------+-----------------------------------------------+------------+------------+------------+------------+------------+
| man_id | uniqueid  | entry_date          | status | response | server_ip    | channel | action    | callerid             | cmd_line_b                                                            | cmd_line_c       | cmd_line_d     | cmd_line_e  | cmd_line_f                                    | cmd_line_g | cmd_line_h | cmd_line_i | cmd_line_j | cmd_line_k |
+--------+-----------+---------------------+--------+----------+--------------+---------+-----------+----------------------+-----------------------------------------------------------------------+------------------+----------------+-------------+-----------------------------------------------+------------+------------+------------+------------+------------+
|      5 | 0.0000000 | 2007-10-12 13:29:41 | SENT   | N        | 192.168.2.10 |         | Originate | DCagcW11922101011300 | Channel: Local/90009*CL_AGENTES_L*CXFER*55**4072490902*51300*@default | Context: default | Exten: 8600051 | Priority: 1 | Callerid: "DCagcW11922101011300" <0000000000> |            |            |            |            |            |
+--------+-----------+---------------------+--------+----------+--------------+---------+-----------+----------------------+-----------------------------------------------------------------------+------------------+----------------+-------------+-----------------------------------------------+------------+------------+------------+------------+------------+
1 row in set (0.00 sec)

mysql>

This is the /var/log/asterisk/messages output for the consultative:
Code: Select all
Oct 12 13:41:13 VERBOSE[18959] logger.c:     -- Executing Answer("Local/90009*CL_AGENTES_L*CXFER*55**4072490902*51300*@default-3095,2") in new stack
Oct 12 13:41:13 DEBUG[18886] channel.c: Avoiding initial deadlock for 'Local/90009*CL_AGENTES_L*CXFER*55**4072490902*51300*@default-3095,2'
Oct 12 13:41:13 VERBOSE[18959] logger.c:     -- Executing AGI("Local/90009*CL_AGENTES_L*CXFER*55**4072490902*51300*@default-3095,2agi-VDAD_LB_closer.agi|90009*CL_AGENTES_L*CXFER*55**4072490902*51300*-----START") in new stack
Oct 12 13:41:13 VERBOSE[18957] logger.c:        > Channel Local/90009*CL_AGENTES_L*CXFER*55**4072490902*51300*@default-3095,1 was answered.
Oct 12 13:41:13 VERBOSE[18959] logger.c:     -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_LB_closer.agi
Oct 12 13:41:13 VERBOSE[18961] logger.c:     -- Executing MeetMe("Local/90009*CL_AGENTES_L*CXFER*55**4072490902*51300*@default-3095,18600051") in new stack
Oct 12 13:41:13 VERBOSE[18961] logger.c:   == Parsing '/etc/asterisk/meetme.conf': Oct 12 13:41:13 VERBOSE[18961] logger.c:   == Parsing '/etc/asterisk/meetme.conf': Found
Oct 12 13:41:13 VERBOSE[18961] logger.c:     -- Created MeetMe conference 1023 for conference '8600051'
Oct 12 13:41:13 DEBUG[18961] channel.c: Scheduling timer at 160 sample intervals
Oct 12 13:41:13 VERBOSE[18961] logger.c:     -- Playing 'conf-onlyperson' (language 'en')
Oct 12 13:41:13 VERBOSE[18959] logger.c:     -- AGI Script agi-VDAD_LB_closer.agi completed, returning 0
Oct 12 13:41:13 VERBOSE[18959] logger.c:     -- Executing Hangup("Local/90009*CL_AGENTES_L*CXFER*55**4072490902*51300*@default-3095,2") in new stack
Oct 12 13:41:13 VERBOSE[18959] logger.c:   == Spawn extension (default, 90009*CL_AGENTES_L*CXFER*55**4072490902*51300*, 3) exited non-zero on 'Local/90009*CL_AGENTES_L*CXFER*55**4072490902*51300*@default-3095,2'
Oct 12 13:41:13 VERBOSE[18959] logger.c:     -- Executing DeadAGI("Local/90009*CL_AGENTES_L*CXFER*55**4072490902*51300*@default-3095,2agi://127.0.0.1:4577/call_log") in new stack
Oct 12 13:41:13 VERBOSE[18959] logger.c:     -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
Oct 12 13:41:13 VERBOSE[18959] logger.c:     -- Executing DeadAGI("Local/90009*CL_AGENTES_L*CXFER*55**4072490902*51300*@default-3095,2agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
Oct 12 13:41:13 VERBOSE[18959] logger.c:     -- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------) completed, returning 0
Oct 12 13:41:13 DEBUG[18961] app_meetme.c: Placed channel Local/90009*CL_AGENTES_L*CXFER*55**4072490902*51300*@default-3095,1 in ZAP conf 1023
Oct 12 13:41:13 DEBUG[18959] pbx.c: Function result is '"J1012134113000000055" <0000000000>'
Oct 12 13:41:13 DEBUG[18959] pbx.c: Function result is '0000000000'
Oct 12 13:41:13 DEBUG[18959] pbx.c: Function result is '90009*CL_AGENTES_L*CXFER*55**4072490902*51300*'
Oct 12 13:41:13 DEBUG[18959] pbx.c: Function result is 'default'
Oct 12 13:41:13 DEBUG[18959] pbx.c: Function result is 'Local/90009*CL_AGENTES_L*CXFER*55**4072490902*51300*@default-3095,2'
Oct 12 13:41:13 DEBUG[18959] pbx.c: Function result is '(null)'
Oct 12 13:41:13 DEBUG[18959] pbx.c: Function result is 'DeadAGI'
Oct 12 13:41:13 DEBUG[18959] pbx.c: Function result is 'agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------'
Oct 12 13:41:13 DEBUG[18959] pbx.c: Function result is '2007-10-12 13:41:13'
Oct 12 13:41:13 DEBUG[18959] pbx.c: Function result is '2007-10-12 13:41:13'
Oct 12 13:41:13 DEBUG[18959] pbx.c: Function result is '2007-10-12 13:41:13'
Oct 12 13:41:13 DEBUG[18959] pbx.c: Function result is '0'
Oct 12 13:41:13 DEBUG[18959] pbx.c: Function result is '0'
Oct 12 13:41:13 DEBUG[18959] pbx.c: Function result is 'ANSWERED'
Oct 12 13:41:13 DEBUG[18959] pbx.c: Function result is 'DOCUMENTATION'
Oct 12 13:41:13 DEBUG[18959] pbx.c: Function result is '(null)'
Oct 12 13:41:13 DEBUG[18959] pbx.c: Function result is '1192210873.1'
Oct 12 13:41:13 DEBUG[18959] pbx.c: Function result is '(null)'
Oct 12 13:41:13 DEBUG[18945] manager.c: Manager received command 'Command'
Oct 12 13:41:14 DEBUG[18961] chan_zap.c: Hangup: channel: -2 index = 0, normal = 32, callwait = -1, thirdcall = -1
Oct 12 13:41:14 DEBUG[18961] chan_zap.c: Set option TDD MODE, value: OFF(0) on Zap/pseudo-1340263692
Oct 12 13:41:14 DEBUG[18961] chan_zap.c: Updated conferencing on -2, with 0 conference users
Oct 12 13:41:14 VERBOSE[18961] logger.c:     -- Hungup 'Zap/pseudo-1340263692'
Oct 12 13:41:14 VERBOSE[18961] logger.c:   == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/90009*CL_AGENTES_L*CXFER*55**4072490902*51300*@default-3095,1'
Oct 12 13:41:14 VERBOSE[18961] logger.c:     -- Executing DeadAGI("Local/90009*CL_AGENTES_L*CXFER*55**4072490902*51300*@default-3095,1agi://127.0.0.1:4577/call_log") in new stack
Oct 12 13:41:14 VERBOSE[18961] logger.c:     -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
Oct 12 13:41:14 VERBOSE[18961] logger.c:     -- Executing DeadAGI("Local/90009*CL_AGENTES_L*CXFER*55**4072490902*51300*@default-3095,1agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)") in new stack
Oct 12 13:41:14 VERBOSE[18961] logger.c:     -- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------) completed, returning 0



The problem seems to be the agi-VDAD_LB_closer.agi script
Some ideas? Thank you
eijal
 
Posts: 186
Joined: Thu Feb 08, 2007 6:34 pm

Postby eijal » Tue Oct 16, 2007 5:18 pm

The full log asterisk file output is:
Code: Select all
Oct 16 17:58:01 VERBOSE[6833] logger.c:     -- Executing Answer("Local/90009*CL_AGENTES_L*CXFER*60**4072491475*51300*@default-fda0,2") in new stack
Oct 16 17:58:01 DEBUG[4082] channel.c: Avoiding initial deadlock for 'Local/90009*CL_AGENTES_L*CXFER*60**4072491475*51300*@default-fda0,2'
Oct 16 17:58:01 VERBOSE[6833] logger.c:     -- Executing AGI("Local/90009*CL_AGENTES_L*CXFER*60**4072491475*51300*@default-fda0,2agi-VDAD_LB_closer.agi|90009*CL_AGENTES_L*CXFER*60**4072491475*51300*-----START") in new stack
Oct 16 17:58:01 VERBOSE[6831] logger.c:        > Channel Local/90009*CL_AGENTES_L*CXFER*60**4072491475*51300*@default-fda0,1 was answered.
Oct 16 17:58:01 VERBOSE[6833] logger.c:     -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_LB_closer.agi
Oct 16 17:58:01 VERBOSE[6835] logger.c:     -- Executing MeetMe("Local/90009*CL_AGENTES_L*CXFER*60**4072491475*51300*@default-fda0,18600051") in new stack
Oct 16 17:58:01 DEBUG[6835] app_meetme.c: Placed channel Local/90009*CL_AGENTES_L*CXFER*60**4072491475*51300*@default-fda0,1 in ZAP conf 1023
Oct 16 17:58:01 VERBOSE[6833] logger.c:     -- AGI Script agi-VDAD_LB_closer.agi completed, returning 0
Oct 16 17:58:01 VERBOSE[6833] logger.c:     -- Executing Hangup("Local/90009*CL_AGENTES_L*CXFER*60**4072491475*51300*@default-fda0,2") in new stack
Oct 16 17:58:01 VERBOSE[6833] logger.c:   == Spawn extension (default, 90009*CL_AGENTES_L*CXFER*60**4072491475*51300*, 3) exited non-zero on 'Local/90009*CL_AGENTES_L*CXFER*60**4072491475*51300*@default-fda0,2'
Oct 16 17:58:01 VERBOSE[6833] logger.c:     -- Executing DeadAGI("Local/90009*CL_AGENTES_L*CXFER*60**4072491475*51300*@default-fda0,2agi://127.0.0.1:4577/call_log") in new stack
Oct 16 17:58:01 VERBOSE[6833] logger.c:     -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
Oct 16 17:58:01 VERBOSE[6833] logger.c:     -- Executing DeadAGI("Local/90009*CL_AGENTES_L*CXFER*60**4072491475*51300*@default-fda0,2agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
Oct 16 17:58:01 VERBOSE[6833] logger.c:     -- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------) completed, returning 0
Oct 16 17:58:01 DEBUG[6833] pbx.c: Function result is '"J1016175801000000060" <0000000000>'
Oct 16 17:58:01 DEBUG[6833] pbx.c: Function result is '0000000000'
Oct 16 17:58:01 DEBUG[6833] pbx.c: Function result is '90009*CL_AGENTES_L*CXFER*60**4072491475*51300*'
Oct 16 17:58:01 DEBUG[6833] pbx.c: Function result is 'default'
Oct 16 17:58:01 DEBUG[6833] pbx.c: Function result is 'Local/90009*CL_AGENTES_L*CXFER*60**4072491475*51300*@default-fda0,2'
Oct 16 17:58:01 DEBUG[6833] pbx.c: Function result is '(null)'
Oct 16 17:58:01 DEBUG[6833] pbx.c: Function result is 'DeadAGI'
Oct 16 17:58:01 DEBUG[6833] pbx.c: Function result is 'agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------'
Oct 16 17:58:01 DEBUG[6833] pbx.c: Function result is '2007-10-16 17:58:01'
Oct 16 17:58:01 DEBUG[6833] pbx.c: Function result is '2007-10-16 17:58:01'
Oct 16 17:58:01 DEBUG[6833] pbx.c: Function result is '2007-10-16 17:58:01'
Oct 16 17:58:01 DEBUG[6833] pbx.c: Function result is '0'
Oct 16 17:58:01 DEBUG[6833] pbx.c: Function result is '0'
Oct 16 17:58:01 DEBUG[6833] pbx.c: Function result is 'ANSWERED'
Oct 16 17:58:01 DEBUG[6833] pbx.c: Function result is 'DOCUMENTATION'
Oct 16 17:58:01 DEBUG[6833] pbx.c: Function result is '(null)'
Oct 16 17:58:01 DEBUG[6833] pbx.c: Function result is '1192571881.12'
Oct 16 17:58:01 DEBUG[6833] pbx.c: Function result is '(null)'
Oct 16 17:58:01 DEBUG[4134] manager.c: Manager received command 'Command'
Oct 16 17:58:01 VERBOSE[6835] logger.c:   == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/90009*CL_AGENTES_L*CXFER*60**4072491475*51300*@default-fda0,1'
Oct 16 17:58:01 VERBOSE[6835] logger.c:     -- Executing DeadAGI("Local/90009*CL_AGENTES_L*CXFER*60**4072491475*51300*@default-fda0,1agi://127.0.0.1:4577/call_log") in new stack
Oct 16 17:58:01 VERBOSE[6835] logger.c:     -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
Oct 16 17:58:01 VERBOSE[6835] logger.c:     -- Executing DeadAGI("Local/90009*CL_AGENTES_L*CXFER*60**4072491475*51300*@default-fda0,1agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)") in new stack
Oct 16 17:58:01 VERBOSE[6835] logger.c:     -- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------) completed, returning 0
Oct 16 17:58:01 DEBUG[6835] pbx.c: Function result is '"DCagcW11925718611300" <0000000000>'
Oct 16 17:58:01 DEBUG[6835] pbx.c: Function result is '0000000000'
Oct 16 17:58:01 DEBUG[6835] pbx.c: Function result is '8600051'
Oct 16 17:58:01 DEBUG[6835] pbx.c: Function result is 'default'
Oct 16 17:58:01 DEBUG[6835] pbx.c: Function result is 'Local/90009*CL_AGENTES_L*CXFER*60**4072491475*51300*@default-fda0,1'
Oct 16 17:58:01 DEBUG[6835] pbx.c: Function result is '(null)'
Oct 16 17:58:01 DEBUG[6835] pbx.c: Function result is 'MeetMe'
Oct 16 17:58:01 DEBUG[6835] pbx.c: Function result is '8600051'
Oct 16 17:58:01 DEBUG[6835] pbx.c: Function result is '2007-10-16 17:58:01'
Oct 16 17:58:01 DEBUG[6835] pbx.c: Function result is '(null)'
Oct 16 17:58:01 DEBUG[6835] pbx.c: Function result is '2007-10-16 17:58:01'
Oct 16 17:58:01 DEBUG[6835] pbx.c: Function result is '0'
Oct 16 17:58:01 DEBUG[6835] pbx.c: Function result is '0'
Oct 16 17:58:01 DEBUG[6835] pbx.c: Function result is 'ANSWERED'
Oct 16 17:58:01 DEBUG[6835] pbx.c: Function result is 'DOCUMENTATION'
Oct 16 17:58:01 DEBUG[6835] pbx.c: Function result is '(null)'
Oct 16 17:58:01 DEBUG[6835] pbx.c: Function result is '1192571881.11'
Oct 16 17:58:01 DEBUG[6835] pbx.c: Function result is '(null)'
Oct 16 17:58:02 DEBUG[6855] manager.c: Manager received command 'Login'
Oct 16 17:58:02 VERBOSE[6855] logger.c:   == Parsing '/etc/asterisk/manager.conf': Oct 16 17:58:02 VERBOSE[6855] logger.c:   == Parsing '/etc/asterisk/manager.conf': Found

The issue seems to be in:

Oct 16 17:58:01 DEBUG[6835] app_meetme.c: Placed channel Local/90009*CL_AGENTES_L*CXFER*60**4072491475*51300*@default-fda0,1 in ZAP conf 1023


What does that output mean?

I tried with x100p digium cards and ztdummy and the debug message is the same. The asterisk version now is 1.2.23

PD.
The call doesn't go through the CXFER fix agi script

Thank you very much
eijal
 
Posts: 186
Joined: Thu Feb 08, 2007 6:34 pm

Postby mflorell » Thu Oct 18, 2007 8:22 pm

have you tried sending the 90009. exten to the other server to process there?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby eijal » Sat Oct 20, 2007 12:16 pm

mflorell wrote:have you tried sending the 90009. exten to the other server to process there?


Thanks Matt again.
I am sending the 90009. exten to the second server. The second server uses the agi-VDADcloser.agi script. Something wear is that the second server can use the agi-VDAD_LB_closer.agi script too :shock:

Restriction: I will have all the consultative agentes just in one server, but at this time with these settings I am OK

Thank you very much
eijal
 
Posts: 186
Joined: Thu Feb 08, 2007 6:34 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 150 guests