Inbound/Closer setup instructions.

All installation and configuration problems and questions

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

Inbound/Closer setup instructions.

Postby mjstox » Thu Jul 31, 2008 2:54 pm

Hi there,

I need some help understanding the setup and requirements for dealing with inbound/closer campaigns.

I have read though both the managers manual and the scratch install for how to setup a inbound/closer campaign.

I have also read various forum posts on this site before I decided to ask for some help.

Here is the problems as I see it. It looks like there are naming conventions for both ingroups and campaigns. In the 2.0.4 managers manual I can't find any reference to how the naming conventions work. Is there something I'm missing? I do see the example asks to create a campaign called TEST_IN. I'm assuming that it's important to have the _I as I could read that in other posts. There are no references to having the _I just to name your campaign TEST_IN. The ingroup example doesn't have a naming convention in the sample as its using SALESLINE.

The scratch install tells us to create an campaign called CLOSER. Now this is different than TEST_IN. Also no reference to a naming convention for campaignid's for inbound. I'm assuming by my reading on the forums that the CL in CLOSER is important.

Also now we have a little guidance on the naming convention with the Scratch Install for Ingroups. I see that we have a ingroup called CL_GALLERIA. There is no explaination though of a naming convention.

Then we have a little more guidance on a closer ingroup. Basically it tells you if you have a campaign named test you can use CL_TEST_ for internal closers and CL_TEST_L for closers not internal. The problem is I don't find this naming convention in the managers manual for 2.0.4. So I don't know if that naming convention is still in use.

If someone can clear up this naming convention problems for me it would be great help. I don't think it will solve my inbound issues but it will least clear up one piece of the puzzle for me.

Mark
mjstox
 
Posts: 28
Joined: Thu Jul 31, 2008 2:22 pm

Postby mflorell » Thu Jul 31, 2008 7:28 pm

Prior to 2.0.4 there were naming conventions, but now they are not needed. They were kept in the example for consistency.
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

matt thanks for help.

Postby mjstox » Thu Jul 31, 2008 9:42 pm

Matt,

Thanks for the help.

On to the next inbound question? I have a closer campaign setup as TEST_IN.

There are two ingroups (Ingroup1,Closers). I have both ingroup's allowed for the TEST_IN campaign. I have the Closers ingroup allowed for transfers.
Also Transfer-Conf Number 1: CXFER90009.

Both fronters and agents log into the campaign. Incoming calls are answered
by the fronters no problem. The problem I have is when the fronter transfers the call using local closers with the Closers ingroup the conference on the closer side opens up several channels which causes a loud buzzing sound.

The channels will include the following. The phone of the agent. The customer phone channel and several other channels that look like this.

Local/207*178*236*245*78600054@default-d350,1
Local/207*178*236*245*78600054@default-d350,2

Here is the dialplan that controls the inbound.

; parameters for call_inbound.agi (7 fields separated by five dashes "-----"):
; 1. the extension of the phone to ring as defined in the asterisk.phones table
; 2. the phone number that was called, for the live_inbound/_log entry
; 3. a text description of the number that was called in
; 4-7. optional fields, they are also passed as fields in the GUI to web browser

; BE SURE TO CHANGE THESE FOR YOUR IP ADDRESS!
exten => _207*178*236*245*8600XXX,1,Goto(default,${EXTEN:16},1)
exten => _207*178*236*245*8600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _207*178*236*245*78600XXX,1,Goto(default,${EXTEN:16},1)
exten => _207*178*236*245*78600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi)



; parameters for agi-VDAD_ALL_inbound.agi (9 fields separated by five dashes "-----"):
; 1. the method of call handling for the script:
; - CID - CID received, add record with phone number
; - CIDLOOKUP - Lookup CID to find record in whole system
; - CIDLOOKUPRL - Restrict lookup to one list
; - CLOSER - Closer calls from VICIDIAL fronters
; - ANI - ANI received, add record with phone number
; - ANILOOKUP - Lookup ANI to find record in whole system
; - ANILOOKUPRL - Restrict lookup to one list
; - 3DIGITID - Enter 3 digit code to go to agent
; - 4DIGITID - Enter 4 digit code to go to agent
; - 5DIGITID - Enter 5 digit code to go to agent
; - 10DIGITID - Enter 10 digit code to go to agent
; 2. the method of searching for an available agent:
; - LO - Load Balance Overflow only (priority to home server)
; - LB - <default> Load Balance total system
; - SO - Home server only
; 3. the full name of the IN GROUP to be used in vicidial for the inbound call
; 4. the phone number that was called, for the log entry
; 5. the callerID or lead_id of the person that called(usually overridden)
; 6. the park extension audio file name if used
; 7. the status of the call initially(usually not used)
; 8. the list_id to insert the new lead under if it is new (and CID/ANI available)
; 9. the phone dialing code to insert with the new lead if new (and CID/ANI available)


;18665544795 gafachi ;18016182159 pykn
exten => 18665544795,1,Ringing
exten => 18665544795,2,Wait(1)
exten => 18665544795,3,Answer
exten => 18665544795,4,Wait(1.5)
exten => 18665544795,5,Background(85100004)
exten => 18665544795,6,AGI(agi-VDAD_ALL_inbound.agi,CIDLOOKUPRC-----LB-----INGROUP1-----18665544795-----Closer)
exten => 18665544795,7,Hangup


; inbound VICIDIAL transfer calls [can arrive through PRI T1 crossover, IAX or SIP channel]
exten => _90009.,1,Answer ; Answer the line
exten => _90009.,2,AGI(agi-VDAD_ALL_inbound.agi,CLOSER-----LB-----Closers-----18665544795-----Closer)
exten => _90009.,3,Hangup
exten => _990009.,1,Answer ; Answer the line
exten => _990009.,2,AGI(agi-VDAD_ALL_inbound.agi,CLOSER-----LB-----Closers-----18665544795-----Closer)
exten => _990009.,3,Hangup

Let me know if you need the agi output.

I'm new to vicidial and I'm sure its something easy.

thanks,
Mark J.
mjstox
 
Posts: 28
Joined: Thu Jul 31, 2008 2:22 pm

Postby mflorell » Fri Aug 01, 2008 7:53 am

You should first make sure that standard Local Closer blind transfers work before trying consultative transfers to a closer.

Yes, AGI output logfile and Asterisk CLI output is helpful when trying to debug these problems.
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

blind tranfer. park and dial, and dial with customer work

Postby mjstox » Fri Aug 01, 2008 12:17 pm

Matt,

All the transfers work except for the local closer.

Here are some outputs.

Executing [990009*Closers**25**9518335208*1031*@default:1] Answer("SIP/a5591sFpTVxjJbu9-b6e3c9e8", "") in new stack
-- Executing [990009*Closers**25**9518335208*1031*@default:2] AGI("SIP/a5591sFpTVxjJbu9-b6e3c9e8", "agi-VDAD_ALL_inbound.agi|CLOSER-----LB-----Closers-----18665544795-----Closer") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi
-- Playing 'beep' (escape_digits=) (sample_offset 0)
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_astguiclient.conf': Found
== Manager 'sendcron' logged on from 207.178.236.245
-- Executing [207*178*236*245*78600052@default:1] Goto("Local/207*178*236*245*78600052@default-9140,2", "default|78600052|1") in new stack
-- Goto (default,78600052,1)
-- Executing [78600052@default:1] MeetMe("Local/207*178*236*245*78600052@default-9140,2", "8600052|q") in new stack
-- Executing [207*178*236*245*78600052@default:1] Goto("Local/207*178*236*245*78600052@default-9140,1", "default|78600052|1") in new stack
-- Goto (default,78600052,1)
-- Executing [78600052@default:1] MeetMe("Local/207*178*236*245*78600052@default-9140,1", "8600052|q") in new stack
-- Playing 'ding' (escape_digits=) (sample_offset 0)
-- AGI Script agi-VDAD_ALL_inbound.agi completed, returning 0
-- Executing [207*178*236*245*8600052@default:1] Goto("SIP/a5591sFpTVxjJbu9-b6e3c9e8", "default|8600052|1") in new stack
-- Goto (default,8600052,1)
-- Executing [8600052@default:1] MeetMe("SIP/a5591sFpTVxjJbu9-b6e3c9e8", "8600052") in new stack



2008-07-31 23:22:08|agi-VDAD_ALL_inbound.agi|XXXXX VDAD transferred: start|stop 2008-07-31 23:22:07|2008-07-31 23:22:08
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi|Perl Environment Dump:
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi|0|CLOSER-----LB-----Closers-----18665544795-----Closer
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi|callerID changed: J0731232219000134066
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi| -- accountcode =
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi| -- callerid = unknown
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi| -- calleridname = Y0731232207000134066
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi| -- callingani2 = 0
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi| -- callingpres = 0
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi| -- callingtns = 0
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi| -- callington = 0
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi| -- channel = SIP/a5591sFpTVxjJbu9-b6e3c9e8
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi| -- context = default
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi| -- dnid = 18665544795
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi| -- enhanced = 0.0
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi| -- extension = 990009*Closers**134066**9518335208*almira*
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi| -- language = en
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi| -- priority = 2
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi| -- rdnis = unknown
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi| -- request = agi-VDAD_ALL_inbound.agi
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi| -- type = SIP
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi| -- uniqueid = 1217571719.99077
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi|AGI Variables: |1217571719.99077|SIP/a5591sFpTVxjJbu9-b6e3c9e8|990009*Closers**134066**9518335208*almira*|SIP|J0731232219000134066|
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi|+++++ INBOUND CALL VDCL STARTED : |Closers|J0731232219000134066-|2008-07-31 23:22:19
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi||SELECT campaign_id FROM vicidial_campaigns where active='Y' and campaign_allow_inbound='Y';|134066|
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi|callerID changed: Y0731232219000134066
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi||INSERT INTO vicidial_xfer_log (lead_id,campaign_id,call_date,phone_code,phone_number,user,closer) values('134066','Closers','2008-07-31 23:22:19','1','9518335208','almira','VDXL')|
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi|-- VDXL : |134066|insert to vicidial_xfer_log
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.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('207.178.236.245','Closers','LIVE','134066','1217571719.99077','Y0731232219000134066','SIP/a5591sFpTVxjJbu9-b6e3c9e8','1','9518335208','2008-07-31 23:22:19','IN','LIVE-0')|
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi||INSERT INTO vicidial_closer_log (lead_id,campaign_id,call_date,start_epoch,status,phone_code,phone_number,user,processed) values('134066','Closers','2008-07-31 23:22:19','1217571739','QUEUE','1','9518335208','VDCL','N')|
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi|-- VDCL : |134066|insert to vicidial_closer_log
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and campaign_id = 'Closers' and call_time < "2008-07-31 23:22:19" and lead_id != '134066';|
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi|-- VDAD get agent: |360|0|1|1|update of vla table: Closers|
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='134066',uniqueid='1217571719.99077', channel='SIP/a5591sFpTVxjJbu9-b6e3c9e8', callerid='Y0731232219000134066', call_server_ip='207.178.236.245' where status IN('CLOSER','READY') and campaign_id IN('TEST_IN') and closer_campaigns LIKE "% Closers %" and last_update_time > '20080731232214' order by last_call_time limit 1;|
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi||SELECT conf_exten,user,extension,server_ip FROM vicidial_live_agents where status = 'QUEUE' and campaign_id IN('TEST_IN') and callerid='Y0731232219000134066' and channel='SIP/a5591sFpTVxjJbu9-b6e3c9e8' order by last_call_time limit 1;|
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi|-- VDCL XFER REMOTE: |1|update of vac table: Y0731232219000134066
|UPDATE vicidial_auto_calls set status='CLOSER', stage='CLOSER-0' where callerid='Y0731232219000134066';|
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi|-- VDXL vicidial_xfer_log update: |1|134066|mark
|UPDATE vicidial_xfer_log set closer='mark' where lead_id = '134066' order by call_date desc limit 1;|
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi|-- closer log : |1|update of vcl table: 134066
|UPDATE vicidial_closer_log set user='mark' where lead_id='134066' order by call_date desc limit 1;|
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi|-- VDCL agent alert: |VH07312322198600052|207*178*236*245*78600052|SIP/a5591sFpTVxjJbu9-b6e3c9e8|insert to vicidial_manager
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi|exiting VDAD app, transferring call to 207*178*236*245*8600052
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi||SELECT calls_today from vicidial_inbound_group_agents WHERE user='mark' and group_id='Closers';|
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi|-- VDLIA agent calls: |7|mark|Closers|
2008-07-31 23:22:19|agi-VDAD_ALL_inbound.agi|-- VDCL vcl update: |1|134066|
|UPDATE vicidial_closer_log set queue_seconds='0' where lead_id = '134066' and call_date='2008-07-31 23:22:19';|
2008-07-31 23:22:20|agi-VDAD_ALL_inbound.agi|XXXXX VDAD transferred: start|stop 2008-07-31 23:22:19|2008-07-31 23:22:20
2008-07-31 23:26:21|call_log.agi|AGI Environment Dump:
2008-07-31 23:26:21|call_log.agi| -- accountcode =
2008-07-31 23:26:21|call_log.agi| -- callerid = unknown
2008-07-31 23:26:21|call_log.agi| -- calleridname = Y0731232219000134066
2008-07-31 23:26:21|call_log.agi| -- callingani2 = 0
2008-07-31 23:26:21|call_log.agi| -- callingpres = 0
2008-07-31 23:26:21|call_log.agi| -- callingtns = 0
2008-07-31 23:26:21|call_log.agi| -- callington = 0
2008-07-31 23:26:21|call_log.agi| -- channel = SIP/a5591sFpTVxjJbu9-b6e3c9e8
2008-07-31 23:26:21|call_log.agi| -- context = default
2008-07-31 23:26:21|call_log.agi| -- dnid = 18665544795
2008-07-31 23:26:21|call_log.agi| -- enhanced = 0.0
2008-07-31 23:26:21|call_log.agi| -- extension = h
2008-07-31 23:26:21|call_log.agi| -- language = en
2008-07-31 23:26:21|call_log.agi| -- priority = 1
2008-07-31 23:26:21|call_log.agi| -- rdnis = unknown
2008-07-31 23:26:21|call_log.agi| -- request = call_log.agi
2008-07-31 23:26:21|call_log.agi| -- type = SIP
2008-07-31 23:26:21|call_log.agi| -- uniqueid = 1217571719.99077
2008-07-31 23:26:21|call_log.agi|AGI Variables: |1217571719.99077|SIP/a5591sFpTVxjJbu9-b6e3c9e8|h|SIP|Y0731232219000134066|
2008-07-31 23:26:21|call_log.agi||CALL HUNG UP|
2008-07-31 23:26:21|call_log.agi||DELETE from live_inbound where uniqueid='1217571719.99077' and server_ip='207.178.236.245'|
2008-07-31 23:26:21|call_log.agi|+++++ CALL LOG HUNGUP: |1217571719.99077|SIP/a5591sFpTVxjJbu9-b6e3c9e8|h|2008-07-31 23:26:21|min: |
2008-07-31 23:26:21|VD_hangup.agi|Perl Environment Dump:
2008-07-31 23:26:21|VD_hangup.agi|0|PRI-----NODEBUG-----0---------------
2008-07-31 23:26:21|VD_hangup.agi|AGI Environment Dump:
2008-07-31 23:26:21|VD_hangup.agi| -- accountcode =
2008-07-31 23:26:21|VD_hangup.agi| -- callerid = unknown
2008-07-31 23:26:21|VD_hangup.agi| -- calleridname = Y0731232219000134066
2008-07-31 23:26:21|VD_hangup.agi| -- callingani2 = 0
2008-07-31 23:26:21|VD_hangup.agi| -- callingpres = 0
2008-07-31 23:26:21|VD_hangup.agi| -- callingtns = 0
2008-07-31 23:26:21|VD_hangup.agi| -- callington = 0
2008-07-31 23:26:21|VD_hangup.agi| -- channel = SIP/a5591sFpTVxjJbu9-b6e3c9e8
2008-07-31 23:26:21|VD_hangup.agi| -- context = default
2008-07-31 23:26:21|VD_hangup.agi| -- dnid = 18665544795
2008-07-31 23:26:21|VD_hangup.agi| -- enhanced = 0.0
2008-07-31 23:26:21|VD_hangup.agi| -- extension = h
2008-07-31 23:26:21|VD_hangup.agi| -- language = en
2008-07-31 23:26:21|VD_hangup.agi| -- priority = 2
2008-07-31 23:26:21|VD_hangup.agi| -- rdnis = unknown
2008-07-31 23:26:21|VD_hangup.agi| -- request = VD_hangup.agi
2008-07-31 23:26:21|VD_hangup.agi| -- type = SIP
2008-07-31 23:26:21|VD_hangup.agi| -- uniqueid = 1217571719.99077
2008-07-31 23:26:21|VD_hangup.agi|AGI Variables: |1217571719.99077|SIP/a5591sFpTVxjJbu9-b6e3c9e8|h|SIP|Y0731232219000134066|
2008-07-31 23:26:21|VD_hangup.agi|DEBUG: NODEBUG
2008-07-31 23:26:21|VD_hangup.agi|VD_hangup : Y0731232219000134066 SIP/a5591sFpTVxjJbu9-b6e3c9e8 2 134066
2008-07-31 23:26:21|VD_hangup.agi||SELECT lead_id,callerid FROM vicidial_auto_calls where uniqueid = '1217571719.99077' limit 1;|
2008-07-31 23:26:21|VD_hangup.agi|-- VDAC record deleted: |1| |134066|1217571719.99077|Y0731232219000134066|207.178.236.245
2008-07-31 23:26:21|VD_hangup.agi||SELECT start_epoch,status FROM vicidial_log where uniqueid='1217571719.99077' and lead_id='134066' limit 1;|
2008-07-31 23:26:21|VD_hangup.agi|no VDL record found: 1217571719.99077 Y0731232219000134066 134066 1217571719.99077
2008-07-31 23:26:21|VD_hangup.agi||SELECT start_epoch,status,closecallid FROM vicidial_closer_log where lead_id = '134066' and call_date > "2008-07-31 17:26:21" order by call_date desc limit 1;|
2008-07-31 23:26:21|VD_hangup.agi||UPDATE vicidial_log set end_epoch='1217571981',length_in_sec='242' where uniqueid = '1217571719.99077';|
2008-07-31 23:26:21|VD_hangup.agi|-- VDAD vicidial_log update: |0E0|1217571719.99077|INCALL|
2008-07-31 23:26:21|VD_hangup.agi|||INCALL|
|UPDATE vicidial_closer_log set end_epoch='1217571981',length_in_sec='242' where closecallid = '127';|
2008-07-31 23:26:21|VD_hangup.agi|-- VDCL update: |1|1217571719.99077|127|
2008-07-31 23:26:30|call_log.agi|AGI Environment Dump:
2008-07-31 23:26:30|call_log.agi| -- accountcode =
2008-07-31 23:26:30|call_log.agi| -- callerid = unknown
2008-07-31 23:26:30|call_log.agi| -- calleridname = S0807312148028600051
2008-07-31 23:26:30|call_log.agi| -- callingani2 = 0
2008-07-31 23:26:30|call_log.agi| -- callingpres = 0
2008-07-31 23:26:30|call_log.agi| -- callingtns = 0
2008-07-31 23:26:30|call_log.agi| -- callington = 0
2008-07-31 23:26:30|call_log.agi| -- channel = SIP/1031-0a2e8b48
2008-07-31 23:26:30|call_log.agi| -- context = default
2008-07-31 23:26:30|call_log.agi| -- dnid = unknown
2008-07-31 23:26:30|call_log.agi| -- enhanced = 0.0
2008-07-31 23:26:30|call_log.agi| -- extension = h
2008-07-31 23:26:30|call_log.agi| -- language = en
2008-07-31 23:26:30|call_log.agi| -- priority = 1
2008-07-31 23:26:30|call_log.agi| -- rdnis = unknown
2008-07-31 23:26:30|call_log.agi| -- request = call_log.agi
2008-07-31 23:26:30|call_log.agi| -- type = SIP
2008-07-31 23:26:30|call_log.agi| -- uniqueid = 1217566082.99061
2008-07-31 23:26:30|call_log.agi|AGI Variables: |1217566082.99061|SIP/1031-0a2e8b48|h|SIP|S0807312148028600051|
2008-07-31 23:26:30|call_log.agi||CALL HUNG UP|
2008-07-31 23:26:30|call_log.agi||DELETE from live_inbound where uniqueid='1217566082.99061' and server_ip='207.178.236.245'|
2008-07-31 23:26:30|call_log.agi|+++++ CALL LOG HUNGUP: |1217566082.99061|SIP/1031-0a2e8b48|h|2008-07-31 23:26:30|min: |
2008-07-31 23:26:30|VD_hangup.agi|Perl Environment Dump:
2008-07-31 23:26:30|VD_hangup.agi|0|PRI-----NODEBUG-----16---------------
2008-07-31 23:26:30|VD_hangup.agi|AGI Environment Dump:
2008-07-31 23:26:30|VD_hangup.agi| -- accountcode =
2008-07-31 23:26:30|VD_hangup.agi| -- callerid = unknown
2008-07-31 23:26:30|VD_hangup.agi| -- calleridname = S0807312148028600051
2008-07-31 23:26:30|VD_hangup.agi| -- callingani2 = 0
2008-07-31 23:26:30|VD_hangup.agi| -- callingpres = 0
2008-07-31 23:26:30|VD_hangup.agi| -- callingtns = 0
2008-07-31 23:26:30|VD_hangup.agi| -- callington = 0
2008-07-31 23:26:30|VD_hangup.agi| -- channel = SIP/1031-0a2e8b48
2008-07-31 23:26:30|VD_hangup.agi| -- context = default
2008-07-31 23:26:30|VD_hangup.agi| -- dnid = unknown
2008-07-31 23:26:30|VD_hangup.agi| -- enhanced = 0.0
2008-07-31 23:26:30|VD_hangup.agi| -- extension = h
2008-07-31 23:26:30|VD_hangup.agi| -- language = en
2008-07-31 23:26:30|VD_hangup.agi| -- priority = 2
2008-07-31 23:26:30|VD_hangup.agi| -- rdnis = unknown
2008-07-31 23:26:30|VD_hangup.agi| -- request = VD_hangup.agi
2008-07-31 23:26:30|VD_hangup.agi| -- type = SIP
2008-07-31 23:26:30|VD_hangup.agi| -- uniqueid = 1217566082.99061
2008-07-31 23:26:30|VD_hangup.agi|AGI Variables: |1217566082.99061|SIP/1031-0a2e8b48|h|SIP|S0807312148028600051|
2008-07-31 23:26:30|VD_hangup.agi|DEBUG: NODEBUG
2008-07-31 23:26:30|VD_hangup.agi|VD_hangup : S0807312148028600051 SIP/1031-0a2e8b48 2 28600051
2008-07-31 23:26:30|VD_hangup.agi||SELECT lead_id,callerid FROM vicidial_auto_calls where uniqueid = '1217566082.99061' limit 1;|
2008-07-31 23:26:30|VD_hangup.agi|VD hangup: no VDAC record found: 1217566082.99061 S0807312148028600051
2008-07-31 23:26:45|call_log.agi|AGI Environment Dump:
2008-07-31 23:26:45|call_log.agi| -- accountcode =
2008-07-31 23:26:45|call_log.agi| -- callerid = unknown
2008-07-31 23:26:45|call_log.agi| -- calleridname = unknown
2008-07-31 23:26:45|call_log.agi| -- callingani2 = 0
2008-07-31 23:26:45|call_log.agi| -- callingpres = 0
2008-07-31 23:26:45|call_log.agi| -- callingtns = 0
2008-07-31 23:26:45|call_log.agi| -- callington = 0
2008-07-31 23:26:45|call_log.agi| -- channel = Local/207*178*236*245*78600052@default-347b,2
2008-07-31 23:26:45|call_log.agi| -- context = default
2008-07-31 23:26:45|call_log.agi| -- dnid = unknown
2008-07-31 23:26:45|call_log.agi| -- enhanced = 0.0
2008-07-31 23:26:45|call_log.agi| -- extension = h
2008-07-31 23:26:45|call_log.agi| -- language = en
2008-07-31 23:26:45|call_log.agi| -- priority = 1
2008-07-31 23:26:45|call_log.agi| -- rdnis = unknown
2008-07-31 23:26:45|call_log.agi| -- request = call_log.agi
2008-07-31 23:26:45|call_log.agi| -- type = Local
2008-07-31 23:26:45|call_log.agi| -- uniqueid = 1217571739.99079
2008-07-31 23:26:45|call_log.agi|AGI Variables: |1217571739.99079|Local/207*178*236*245*78600052@default-347b,2|h|Local|unknown|
2008-07-31 23:26:45|call_log.agi||CALL HUNG UP|
2008-07-31 23:26:45|call_log.agi||DELETE from live_inbound where uniqueid='1217571739.99079' and server_ip='207.178.236.245'|
2008-07-31 23:26:45|call_log.agi|+++++ CALL LOG HUNGUP: |1217571739.99079|Local/207*178*236*245*78600052@default-347b,2|h|2008-07-31 23:26:45|min: |
2008-07-31 23:26:45|VD_hangup.agi|Perl Environment Dump:
2008-07-31 23:26:45|VD_hangup.agi|0|PRI-----NODEBUG-----0---------------
2008-07-31 23:26:45|VD_hangup.agi|AGI Environment Dump:
2008-07-31 23:26:45|VD_hangup.agi| -- accountcode =
2008-07-31 23:26:45|VD_hangup.agi| -- callerid = unknown
2008-07-31 23:26:45|VD_hangup.agi| -- calleridname = unknown
2008-07-31 23:26:45|VD_hangup.agi| -- callingani2 = 0
2008-07-31 23:26:45|VD_hangup.agi| -- callingpres = 0
2008-07-31 23:26:45|VD_hangup.agi| -- callingtns = 0
2008-07-31 23:26:45|VD_hangup.agi| -- callington = 0
2008-07-31 23:26:45|VD_hangup.agi| -- channel = Local/207*178*236*245*78600052@default-347b,2
2008-07-31 23:26:45|VD_hangup.agi| -- context = default
2008-07-31 23:26:45|VD_hangup.agi| -- dnid = unknown
2008-07-31 23:26:45|VD_hangup.agi| -- enhanced = 0.0
2008-07-31 23:26:45|VD_hangup.agi| -- extension = h
2008-07-31 23:26:45|VD_hangup.agi| -- language = en
2008-07-31 23:26:45|VD_hangup.agi| -- priority = 2
2008-07-31 23:26:45|VD_hangup.agi| -- rdnis = unknown
2008-07-31 23:26:45|VD_hangup.agi| -- request = VD_hangup.agi
2008-07-31 23:26:45|VD_hangup.agi| -- type = Local
2008-07-31 23:26:45|VD_hangup.agi| -- uniqueid = 1217571739.99079
2008-07-31 23:26:45|VD_hangup.agi|AGI Variables: |1217571739.99079|Local/207*178*236*245*78600052@default-347b,2|h|Local|unknown|
2008-07-31 23:26:45|VD_hangup.agi|DEBUG: NODEBUG
2008-07-31 23:26:45|VD_hangup.agi|VD_hangup : unknown Local/207*178*236*245*78600052@default-347b,2 2 0
2008-07-31 23:26:45|VD_hangup.agi|-- VDhangup Local DEBUG: |PRI|unknown||0|
2008-07-31 23:26:45|VD_hangup.agi|+++++ VDAD START LOCAL CHANNEL: EXITING- 2
2008-07-31 23:26:45|call_log.agi|AGI Environment Dump:
2008-07-31 23:26:45|call_log.agi| -- accountcode =
2008-07-31 23:26:45|call_log.agi| -- callerid = unknown
2008-07-31 23:26:45|call_log.agi| -- calleridname = unknown
2008-07-31 23:26:45|call_log.agi| -- callingani2 = 0
2008-07-31 23:26:45|call_log.agi| -- callingpres = 0
2008-07-31 23:26:45|call_log.agi| -- callingtns = 0
2008-07-31 23:26:45|call_log.agi| -- callington = 0
2008-07-31 23:26:45|call_log.agi| -- channel = Local/207*178*236*245*78600052@default-347b,1
2008-07-31 23:26:45|call_log.agi| -- context = default
2008-07-31 23:26:45|call_log.agi| -- dnid = unknown
2008-07-31 23:26:45|call_log.agi| -- enhanced = 0.0
2008-07-31 23:26:45|call_log.agi| -- extension = h
2008-07-31 23:26:45|call_log.agi| -- language = en
2008-07-31 23:26:45|call_log.agi| -- priority = 1
2008-07-31 23:26:45|call_log.agi| -- rdnis = unknown
2008-07-31 23:26:45|call_log.agi| -- request = call_log.agi
2008-07-31 23:26:45|call_log.agi| -- type = Local
2008-07-31 23:26:45|call_log.agi| -- uniqueid = 1217571739.99078
2008-07-31 23:26:45|call_log.agi|AGI Variables: |1217571739.99078|Local/207*178*236*245*78600052@default-347b,1|h|Local|unknown|
2008-07-31 23:26:45|call_log.agi||CALL HUNG UP|
2008-07-31 23:26:45|call_log.agi||DELETE from live_inbound where uniqueid='1217571739.99078' and server_ip='207.178.236.245'|
2008-07-31 23:26:45|call_log.agi|+++++ CALL LOG HUNGUP: |1217571739.99078|Local/207*178*236*245*78600052@default-347b,1|h|2008-07-31 23:26:45|min: |
2008-07-31 23:26:46|VD_hangup.agi|Perl Environment Dump:
2008-07-31 23:26:46|VD_hangup.agi|0|PRI-----NODEBUG-----0---------------
2008-07-31 23:26:46|VD_hangup.agi|AGI Environment Dump:
2008-07-31 23:26:46|VD_hangup.agi| -- accountcode =
2008-07-31 23:26:46|VD_hangup.agi| -- callerid = unknown
2008-07-31 23:26:46|VD_hangup.agi| -- calleridname = unknown
2008-07-31 23:26:46|VD_hangup.agi| -- callingani2 = 0
2008-07-31 23:26:46|VD_hangup.agi| -- callingpres = 0
2008-07-31 23:26:46|VD_hangup.agi| -- callingtns = 0
2008-07-31 23:26:46|VD_hangup.agi| -- callington = 0
2008-07-31 23:26:46|VD_hangup.agi| -- channel = Local/207*178*236*245*78600052@default-347b,1
2008-07-31 23:26:46|VD_hangup.agi| -- context = default
2008-07-31 23:26:46|VD_hangup.agi| -- dnid = unknown
2008-07-31 23:26:46|VD_hangup.agi| -- enhanced = 0.0
2008-07-31 23:26:46|VD_hangup.agi| -- extension = h
2008-07-31 23:26:46|VD_hangup.agi| -- language = en
2008-07-31 23:26:46|VD_hangup.agi| -- priority = 2
2008-07-31 23:26:46|VD_hangup.agi| -- rdnis = unknown
2008-07-31 23:26:46|VD_hangup.agi| -- request = VD_hangup.agi
2008-07-31 23:26:46|VD_hangup.agi| -- type = Local
2008-07-31 23:26:46|VD_hangup.agi| -- uniqueid = 1217571739.99078
2008-07-31 23:26:46|VD_hangup.agi|AGI Variables: |1217571739.99078|Local/207*178*236*245*78600052@default-347b,1|h|Local|unknown|
2008-07-31 23:26:46|VD_hangup.agi|DEBUG: NODEBUG
2008-07-31 23:26:46|VD_hangup.agi|VD_hangup : unknown Local/207*178*236*245*78600052@default-347b,1 2 0
2008-07-31 23:26:46|VD_hangup.agi|-- VDhangup Local DEBUG: |PRI|unknown||0|
2008-07-31 23:26:46|VD_hangup.agi|+++++ VDAD START LOCAL CHANNEL: EXITING- 2
mjstox
 
Posts: 28
Joined: Thu Jul 31, 2008 2:22 pm

Postby mflorell » Fri Aug 01, 2008 7:59 pm

It looks like a call is going through, what is the problem?
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

problem.

Postby mjstox » Fri Aug 01, 2008 10:45 pm

Problem is transfer leads to sharp painful buzzing sound.

If I hangup one of the channels it loads into the conference -- solves the problem.

The channels look like

Local/207*178*236*245*78600052@default-9140,1
Local/207*178*236*245*78600052@default-9140,2

I'm thinking somehow the script is loading two channels instead of one.

I'm assuming bad data parameters into the script.

But I will leave that up to you.


Executing [207*178*236*245*78600052@default:1] Goto("Local/207*178*236*245*78600052@default-9140,2", "default|78600052|1") in new stack
-- Goto (default,78600052,1)
-- Executing [78600052@default:1] MeetMe("Local/207*178*236*245*78600052@default-9140,2", "8600052|q") in new stack
-- Executing [207*178*236*245*78600052@default:1] Goto("Local/207*178*236*245*78600052@default-9140,1", "default|78600052|1") in new stack
-- Goto (default,78600052,1)
-- Executing [78600052@default:1] MeetMe("Local/207*178*236*245*78600052@default-9140,1", "8600052|q") in new stack
-- Playing 'ding' (escape_digits=) (sample_offset 0)
mjstox
 
Posts: 28
Joined: Thu Jul 31, 2008 2:22 pm

Postby mflorell » Sat Aug 02, 2008 8:29 pm

I'm not really sure why that would be happening, I've never experienced that on any systems that I've set up. Have you tried setting the agent alert extension to 8300 to see if that would help?
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

matt you pointed me in the right direction.

Postby mjstox » Sun Aug 03, 2008 10:13 am

Matt problem solved. I had a blank extension for agent alert. I knew it was something simple :D
mjstox
 
Posts: 28
Joined: Thu Jul 31, 2008 2:22 pm

local closer transfer not working

Postby nav » Mon Jan 19, 2009 1:21 pm

Hi Matt,
I hope you can help here I ma having the same issue as the above post.

Local transfer not working it seems like call is being transferred to closer, i can see the STATUS is updated on the Closer screen LIVE CALL display shows up but but the call hangs up with sharp buzzing sound and a message is played ->you have dialed an invalid extension .
I have set up an out bound campaign.
agent 1 places a call and then he tries to transfer it to the closer .

If the Closer is in PAUSE call is in the QUEUE and then he clicks RESUME's +PARK CALL fast enough the call get connected to the CLOSER but if the closer is on line waiting he will see the STATUS and the LIVE CALL indicator but the call is already dropped and the person on the phone hears the message that he has entered an invalid extension.

P.S I will be in Tampa for the 4 day training. Hope you can help me before I get there
Thanks

Replaced My IP with (--) in the log so it is correct..
CLI output ----------------------------------

== Spawn extension (default, 78600052, 1) exited non-zero on 'Local/78600052@default-d42d,2'
-- Executing DeadAGI("Local/78600052@default-d42d,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
== Spawn extension (default, 8309, 3) exited non-zero on 'Local/78600052@default-d42d,1'
-- Executing DeadAGI("Local/78600052@default-d42d,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1

-- Executing AGI("Local/914049694568@default-33bc,2", "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 Dial("Local/914049694568@default-33bc,2", "iax2/103098/14049694568||To") in new stack
-- Called 103098/14049694568
-- Call accepted by 208.72.186.132 (format ulaw)
-- Format for call is ulaw
-- IAX2/103098-1 is ringing
-- IAX2/103098-1 stopped sounds
-- IAX2/103098-1 answered Local/914049694568@default-33bc,2
> Channel Local/914049694568@default-33bc,1 was answered.
-- Executing AGI("Local/914049694568@default-33bc,1", "agi://127.0.0.1:4577/call_log") in new stack
== Manager 'sendcron' logged off from 127.0.0.1
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AGI("Local/914049694568@default-33bc,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
== Spawn extension (default, 914049694568, 2) exited non-zero on 'Local/914049694568@default-33bc,2'
-- Executing DeadAGI("Local/914049694568@default-33bc,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----4-----0") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---4-----0 completed, returning 0
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("IAX2/103098-1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing MeetMe("IAX2/103098-1", "8600051") in new stack
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMe("Local/78600051@default-a3d5,2", "8600051|Fq") in new stack
> Channel Local/78600051@default-a3d5,1 was answered.
-- Executing Answer("Local/78600051@default-a3d5,1", "") in new stack
-- Executing Monitor("Local/78600051@default-a3d5,1", "wav|20090118-115636_4049694568") in new stack
-- Executing Wait("Local/78600051@default-a3d5,1", "3600") in new stack
== Manager 'sendcron' logged on from 127.0.0.1
== Spawn extension (default, 990009*CL_1001_L**1660**4049694568*agent5*, 0) exited non-zero on 'IAX2/103098-1'
-- Executing Answer("IAX2/103098-1", "") in new stack
-- Executing AGI("IAX2/103098-1", "agi-VDAD_ALL_inbound.agi|CLOSER-----LB-----CL_1001_L-----7275551212-----Closer-----park----------999-----1") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi
== Spawn extension (default, 78600051, 1) exited non-zero on 'Local/78600051@default-a3d5,2'
-- Executing DeadAGI("Local/78600051@default-a3d5,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
== Spawn extension (default, 8309, 3) exited non-zero on 'Local/78600051@default-a3d5,1'
-- Executing DeadAGI("Local/78600051@default-a3d5,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
-- Started music on hold, class 'default', on IAX2/103098-1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Refreshing DNS lookups.
-- Stopped music on hold on IAX2/103098-1
-- Started music on hold, class 'default', on IAX2/103098-1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
Jan 18 11:58:48 NOTICE[13691]: chan_local.c:526 local_alloc: No such extension/context 0---*---*---*---*78600052@default creating local channel
Jan 18 11:58:48 NOTICE[13691]: channel.c:2514 __ast_request_and_dial: Unable to request channel Local/---*---*---*---*78600052@default
-- Stopped music on hold on IAX2/103098-1
-- AGI Script agi-VDAD_ALL_inbound.agi completed, returning 0
-- Sent into invalid extension '---*---*---*---*8600052' in context 'default' on IAX2/103098-1
-- Executing Playback("IAX2/103098-1", "invalid") in new stack
-- Playing 'invalid' (language 'en')
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMe("Local/78600052@default-59da,2", "8600052|Fq") in new stack
> Channel Local/78600052@default-59da,1 was answered.
-- Executing Answer("Local/78600052@default-59da,1", "") in new stack
-- Executing Monitor("Local/78600052@default-59da,1", "wav|20090118-115848_4049694568") in new stack
-- Executing Wait("Local/78600052@default-59da,1", "3600") in new stack
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
-- Timeout on IAX2/103098-1
== CDR updated on IAX2/103098-1
-- Executing Goto("IAX2/103098-1", "#|1") in new stack
-- Goto (default,#,1)
-- Executing Playback("IAX2/103098-1", "invalid") in new stack
-- Playing 'invalid' (language 'en')
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Spawn extension (default, #, 1) exited non-zero on 'IAX2/103098-1'
-- Executing DeadAGI("IAX2/103098-1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
-- Hungup 'IAX2/103098-1'
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Spawn extension (default, 78600052, 1) exited non-zero on 'Local/78600052@default-59da,2'
-- Executing DeadAGI("Local/78600052@default-59da,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
== Spawn extension (default, 8309, 3) exited non-zero on 'Local/78600052@default-59da,1'
-- Executing DeadAGI("Local/78600052@default-59da,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
nav
 
Posts: 6
Joined: Mon Jan 19, 2009 12:37 pm

Postby mflorell » Mon Jan 19, 2009 10:15 pm

No such extension/context 0---*---*---*---*78600052@default

you need No such extension/context _0---*---*---*---*. in your dialplan
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 43 guests