Page 1 of 1

VICIDIAL inbound cofiguration problem

PostPosted: Tue Jul 15, 2008 4:51 am
by dosti
hi to all

I am trying to configure VICIDIAL for an inbound call center scenario .I had created In-Group ..closer type campaign....when agent login through interface ,select the the inbound compaign then press submit . sip client start ringing ...when agent pickup the call, he is successfully placed in meetme room ... when inbound call is made by any customer ,agent can see colour changed on agent form... but agent got no alert message about inbound call :( ..and after some time IVR regarded to invalid extension is being played.... the following section of dialplan execute...


exten => 877,1,Ringing
exten => 877,2,wait(1)
exten => 877,3,Answer
exten => 877,4,AGI(agi-VDAD_ALL_inbound.agi,CIDLOOKUPRC-----LB-----AA_INBOUND-----877------------------------------TEST_AA)
exten => 877,5,hangup


this result with the following output on the cli>
Code: Select all
chan_local.c:562 local_alloc: No such extension/context 192*168*002*077*78600051@default

Here asterisk is trying to dial 192*168*002*077*78600051@default to alert the agent is it correct?


Here is the output of agiout.
Code: Select all
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi|Perl Environment Dump:
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi|0|CIDLOOKUPRC-----LB-----AA_INBOUND-----877------------------------------TEST_AA2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi| -- accountcode =
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi| -- callerid = 334
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi| -- calleridname = 334
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi| -- callingani2 = 0
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi| -- callingpres = 0
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi| -- callingtns = 0
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi| -- callington = 0
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi| -- channel = SIP/334-0902b378
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi| -- context = default
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi| -- dnid = 877
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi| -- enhanced = 0.0
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi| -- extension = 877
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi| -- language = en
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi| -- priority = 4
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi| -- rdnis = unknown
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi| -- request = agi-VDAD_ALL_inbound.agi
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi| -- type = SIP
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi| -- uniqueid = 1216111778.59
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi|AGI Variables: |1216111778.59|SIP/334-0902b378|877|SIP||
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi|+++++ INBOUND CALL VDCL STARTED : |AA_INBOUND|-877|2008-07-15 13:49:39
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi|VDAD vicidial_list search |334|SELECT lead_id from vicidial_list where phone_number='334'  order by modify_date limit 1;|
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi|VDAD vicidial_list found |49|SELECT lead_id from vicidial_list where phone_number='334'  order by modify_date limit 1;|
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi||SELECT campaign_id FROM vicidial_campaigns where active='Y' and campaign_allow_inbound='Y';|49|
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi|callerID changed: Y0715134939000000049
2008-07-15 13:49:39|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('192.168.2.77','AA_INBOUND','LIVE','49','1216111778.59','Y0715134939000000049','SIP/334-0902b378','','334','2008-07-15 13:49:39','IN','LIVE-0')|
2008-07-15 13:49:39|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('49','AA_INBOUND','2008-07-15 13:49:39','1216111779','QUEUE','','334','VDCL','N')|
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi|--    VDCL : |49|insert to vicidial_closer_log
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and campaign_id = 'AA_INBOUND' and call_time < "2008-07-15 13:49:39" and lead_id != '49';|
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi|--    VDAD get agent: |360|0|1|1|update of vla table: AA_INBOUND|
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='49',uniqueid='1216111778.59', channel='SIP/334-0902b378', callerid='Y0715134939000000049', call_server_ip='192.168.2.77' where status IN('CLOSER','READY') and campaign_id IN('Test_Aza','TEST_IN','TEST_AA') and closer_campaigns LIKE "% AA_INBOUND %" and last_update_time > '20080715134934' order by last_call_finish limit 1;|
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi||SELECT conf_exten,user,extension,server_ip FROM vicidial_live_agents where status = 'QUEUE' and campaign_id IN('Test_Aza','TEST_IN','TEST_AA') and callerid='Y0715134939000000049' and channel='SIP/334-0902b378' order by last_call_time limit 1;|
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi|--    VDCL XFER REMOTE: |1|update of vac table: Y0715134939000000049
|UPDATE vicidial_auto_calls set status='CLOSER', stage='CLOSER-0' where callerid='Y0715134939000000049';|
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi|--    VDXL vicidial_xfer_log update: |0E0|49|ali786
|UPDATE vicidial_xfer_log set closer='ali786' where lead_id = '49' order by call_date desc limit 1;|
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi|--    closer log : |1|update of vcl table: 49
|UPDATE vicidial_closer_log set user='ali786' where lead_id='49' order by call_date desc limit 1;|
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi|--    VDCL agent alert: |VH07151349398600051|192*168*002*077*78600051|SIP/334-0902b378|insert to vicidial_manager
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi|exiting VDAD app, transferring call to 192*168*002*077*8600051
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi||SELECT calls_today from vicidial_inbound_group_agents WHERE user='ali786' and group_id='AA_INBOUND';|
2008-07-15 13:49:39|agi-VDAD_ALL_inbound.agi|--    VDCL vcl update: |1|49|
|UPDATE vicidial_closer_log set queue_seconds='0' where lead_id = '49' and call_date='2008-07-15 13:49:39';|
2008-07-15 13:49:41|agi-VDAD_ALL_inbound.agi|XXXXX VDAD transferred: start|stop  2008-07-15 13:49:39|2008-07-15 13:49:41


Thanks

PostPosted: Tue Jul 15, 2008 6:31 am
by mflorell
if 192.168.2.77 is your server's IP address then yes it is correct.

You need to change the 010*010*010*015 that is in your extensions.conf to match that. This is mentioned several times in the documentation as well as in the install.pl script when you installed VICIDIAL.

PostPosted: Tue Jul 15, 2008 6:52 am
by dosti
oh yes mflorell u r right ...thanks alot