Getting PARK CALL feature to work

All installation and configuration problems and questions

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

Getting PARK CALL feature to work

Postby dev_4901 » Thu Aug 31, 2006 4:50 pm

Hi guys,
I am wondering about how to get the PARK CALL feature working in VICI Dial. What if I want to use it like :

-->The agent dialing outbound campaign parks a call and can reconnect to the same call by some way(HOW, have'nt figured this out yet :( )

I also want to know how this PARK CALL feature works.

Plz advice & thanx in advance.

Dev.
dev_4901
 
Posts: 58
Joined: Sat Jul 22, 2006 1:48 am
Location: New Delhi, India

Postby mflorell » Thu Aug 31, 2006 10:11 pm

The park call features works by sending the customer to an extension that has an audio file play, when you want the customer back just click on the grab parked call button(same as the park customer button, but it changes name after you park a customer).

For this to work you need to make sure you have downloaded the park.gsm file and copied it to the conf.gsm file and have both in the extensions.conf properly according to the SCRATCH_INSTALL.
mflorell
Site Admin
 
Posts: 18383
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby dev_4901 » Fri Sep 01, 2006 3:34 pm

Hi,
Suppose I have all my 8 agents logged in. And at the same instance 3-4 park their respective calls. Upon clicking GRAB PARKED CALL, would they be connected to their repective calls only or would there be a change like :

Agent 1 gets connected to to Agent 3 's call
Agent 2 gets connected to to Agent 4 's call
and so on.(any combination)

Plz advice on how to get over this, if at all it would happen.

Also plz tell me what extensions to define and where to use this feature.

Dev.

P.S : How can I buy the Manuals, 1 for the agent and 1 for the Manager(VICIDIAL). Do you have the ASTGUI Client's Manual too? I'm in India.
dev_4901
 
Posts: 58
Joined: Sat Jul 22, 2006 1:48 am
Location: New Delhi, India

Postby mflorell » Fri Sep 01, 2006 4:19 pm

As many calls as you like can be parked as you have lines for. The call is parked by the channel name so you can have multiple calls parked at one time and the correct call will get back to the correct agent.

As for the extens for this feature, that's all in the SCRATCH_INSTALL doc. I recommend reading it several times if possible



- there is one more file you need that's not included with the download
package, it's the conf.gsm file(this is the half-hour music file that we use
to put people on hold). I have a free classical music file that is available
free for download at the following two sites:
http://www.freedomphones.net/conf.gsm
http://astguiclient.sf.net/conf.gsm
Once you have downloaded it, you will need to copy it to this folder:
/var/lib/asterisk/sounds/
Then you will need to execute this command to copy it as the park file
'cp /var/lib/asterisk/sounds/conf.gsm /var/lib/asterisk/sounds/park.gsm'

extensions.conf:

; park channel for client GUI parking, hangup after 30 minutes
; create a GSM formatted audio file named "park.gsm" that is 30 minutes long
; and put it in /var/lib/asterisk/sounds
exten => 8301,1,Answer
exten => 8301,2,AGI(park_CID.agi)
exten => 8301,3,Playback(park)
exten => 8301,4,Hangup
exten => 8303,1,Answer
exten => 8303,2,AGI(park_CID.agi)
exten => 8303,3,Playback(conf)
exten => 8303,4,Hangup
; park channel for client GUI conferencing, hangup after 30 minutes
; create a GSM formatted audio file named "conf.gsm" that is 30 min
; and put it in /var/lib/asterisk/sounds
exten => 8302,1,Answer
exten => 8302,2,Playback(conf)
exten => 8302,3,Hangup


As for the VICIDIAL Agent and Manager manual. They are available for purchase at http://www.eflo.net If you are unable to pay through paypal.com we can also accept moneybookers.com or western union payments, you just need to contact eflo.net for instructions.

There is currently no astGUIclient client manual, there simply wasn't enough demand for it.
mflorell
Site Admin
 
Posts: 18383
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby dev_4901 » Fri Sep 01, 2006 5:58 pm

Thanx Matt,
I have put both the files in their respective paths. Have also added 8301 , 8302 and 8303 extensions to extensions.conf.

Now in the CAMPAIGNS section, in the PARK EXTENSION : what do i put 8301 or 8302 or 8303? Also in the FILENAME : do I put park or conf?

Thanx again in advance.

Dev.

P.S : This the LOADAVG of my server :

root@localhost:~# /usr/bin/cat /proc/loadavg
0.87 1.05 0.79 3/149 8108

How do you read this and what conclusions can be drawn from the figures?
dev_4901
 
Posts: 58
Joined: Sat Jul 22, 2006 1:48 am
Location: New Delhi, India

Postby mflorell » Fri Sep 01, 2006 6:16 pm

You don't need to put anything in those fields. it will default to the proper values if those are left blank.

As for loadavg it tells you the load on the server out of 1.00 per CPU so if you have a single CPU and your loadavg is 0.99 you are at 99% load.
mflorell
Site Admin
 
Posts: 18383
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby dev_4901 » Tue Sep 05, 2006 6:03 pm

Hi,
Its been an extended weekend for me. Hope you guys also had fun :)

There are no default entries in the "Park Extension:" and "Park Filename:"

Plz advice.

Thanx in advance.

Dev.
dev_4901
 
Posts: 58
Joined: Sat Jul 22, 2006 1:48 am
Location: New Delhi, India

Postby mflorell » Tue Sep 05, 2006 8:35 pm

You are correct, there are no default values, those are hard coded in the scripts if the database field is empty.
mflorell
Site Admin
 
Posts: 18383
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby SuPrSluG » Thu Sep 07, 2006 9:04 am

I too am having problems making this work. When I click on park call nothing happens. I check asterisk
CLI> and nothing. Shouldn't it show something,like trying to transfer to andextension? I am using the latest SVN trunk. I have the necessary sound files in /var/lib/asterisk/sounds
and extensions.conf
; park channel for client GUI parking, hangup after 30 minutes
; create a GSM formatted audio file named "park.gsm" that is 30 minutes long
; and put it in /var/lib/asterisk/sounds
exten => 8301,1,Answer
exten => 8301,2,AGI(park_CID.agi)
exten => 8301,3,Playback(park)
exten => 8301,4,Hangup

exten => 8303,1,Answer
exten => 8303,2,AGI(park_CID.agi)
exten => 8303,3,Playback(conf)
exten => 8303,4,Hangup

; park channel for client GUI conferencing, hangup after 30 minutes
; create a GSM formatted audio file named "conf.gsm" that is 30 minutes long
; and put it in /var/lib/asterisk/sounds
exten => 8302,1,Answer
exten => 8302,2,Playback(conf)
exten => 8302,3,Hangup
SuPrSluG
 
Posts: 71
Joined: Thu Aug 24, 2006 8:01 pm

Postby mflorell » Thu Sep 07, 2006 9:23 am

If nothing happens on the Asterisk CLI when you click on Park Call then you need to check your action_full.2006-XX-XX logfile for the Redirect Action that sends the park and post that and it's response.
mflorell
Site Admin
 
Posts: 18383
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby SuPrSluG » Thu Sep 07, 2006 10:21 am

There is no redirect action.

2006-09-07 10:56:59|1||Response: Success
Message: Originate successfully queued

|
2006-09-07 10:56:59|2||Response: Goodbye
Message: Thanks for all the fish.

|
2006-09-07 10:59:15|0|1|
Action: Hangup
Channel: IAX2/66.225.202.80:4569-4

|
2006-09-07 10:59:15|1||Response: Success
Message: Channel Hungup

|
2006-09-07 10:59:15|2||Response: Goodbye
Message: Thanks for all the fish.
SuPrSluG
 
Posts: 71
Joined: Thu Aug 24, 2006 8:01 pm

Postby mflorell » Thu Sep 07, 2006 11:26 am

When you try to park call do you see any errors in the Firefox Javascript Console?
mflorell
Site Admin
 
Posts: 18383
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby SuPrSluG » Thu Sep 07, 2006 12:35 pm

No javascript errors.
SuPrSluG
 
Posts: 71
Joined: Thu Aug 24, 2006 8:01 pm

Postby mflorell » Thu Sep 07, 2006 3:04 pm

Send a private message to me with the top half of the "view source" for vicidial.php after you have logged in so I can see what settings are being loaded
mflorell
Site Admin
 
Posts: 18383
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby SuPrSluG » Thu Sep 07, 2006 4:41 pm

I read in the devel section that you're going to be doing away with the call_park.agi script in 2.0 because they never worked all that well. If this is the case should I wait for the VDAD_closerinbound script. This is only for testing and I'd rather not waste your time if you're going to be dropping it anyways.
SuPrSluG
 
Posts: 71
Joined: Thu Aug 24, 2006 8:01 pm

Postby mflorell » Thu Sep 07, 2006 5:11 pm

the park_CID.agi script that is used to park calls is not the same as the call_park.agi script you mention. park_CID.agi does work and parking calls in VICIDIAL should function if the system is setup properly.

I'm not sure what you mean by the "VDAD_closerinbound" script that you are waiting for.
mflorell
Site Admin
 
Posts: 18383
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby SuPrSluG » Sat Sep 09, 2006 3:17 pm

I can park a call manually by using transfer-conf at all 3 park extens -> 8301 8302 8303, so I know that the extension works. When I use park call I get nothing. Now hangup
SuPrSluG
 
Posts: 71
Joined: Thu Aug 24, 2006 8:01 pm

Postby mflorell » Sat Sep 09, 2006 3:46 pm

You can send me the "view source" of the vicidial.php page after you have logged in.
mflorell
Site Admin
 
Posts: 18383
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby mflorell » Sat Sep 09, 2006 9:09 pm

The source you posted to me looked fine. Are any vicidial_manager records created when you try to park a customer?
mflorell
Site Admin
 
Posts: 18383
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby SuPrSluG » Sat Sep 09, 2006 9:57 pm

Where should I be looking. There is nothing on the web page under Reports->park stats. I've looked in
mysql tables.
mysql> select * from call_log;
Empty set (0.00 sec)

mysql> select * from park_log;
Empty set (0.00 sec)

mysql> select * from parked_channels;
Empty set (0.00 sec)


mysql> select * from vicidial_manager;

| 225 | 0.0000000 | 2006-09-09 22:58:11 | SENT | N | 192.168.2.133 | NULL | Hangup | HLvdcW11578570551212 | Channel: IAX2/66.225.202.80:4569-3 | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL |
SuPrSluG
 
Posts: 71
Joined: Thu Aug 24, 2006 8:01 pm

Postby mflorell » Sun Sep 10, 2006 12:47 am

Since you have nothing in your call_log table you probably do not have your extensions.conf configured properly. Many parts of VICIDIAL cannot run properly unless you have call_log.agi in the right places in your dialplan. Please read the SCRATCH_INSTALL document again.
mflorell
Site Admin
 
Posts: 18383
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby SuPrSluG » Sun Sep 10, 2006 9:50 am

Thanks for all your help. This is kickin' me arse.

I've looked and checked against the scratch install.
Mine is pretty much exactly the same. I have different extension numbers but that's it and they are setup according to the scratch install extensions. If you want to check my extensions.conf
I'll pm them to you. Maybe I'm missing something.
SuPrSluG
 
Posts: 71
Joined: Thu Aug 24, 2006 8:01 pm

Postby SuPrSluG » Sun Sep 10, 2006 10:23 am

I install mysql dev libs and am now getting
vicidial_manager and call_log entries

ysql> select * from call_log;
+--------------------+---------------------------+---------------+------+---------------+----------------------+---------------+-------------+---------------------+-------------+---------------------+------------+---------------+---------------+
| uniqueid | channel | channel_group | type | server_ip | extension | number_dialed | caller_code | start_time | start_epoch | end_time | end_epoch | length_in_sec | length_in_min |
+--------------------+---------------------------+---------------+------+---------------+----------------------+---------------+-------------+---------------------+-------------+---------------------+------------+---------------+---------------+
| 1157896468.5000000 | IAX2/66.225.202.80:4569-1 | NULL | IAX2 | 192.168.2.133 | 66.225.202.80:4569-1 | 8662619713 | 7164080354 | 2006-09-10 09:54:28 | 1157896468 | 2006-09-10 09:54:38 | 1157896478 | 10 | 0.17 |
| 1157896514.8000000 | IAX2/66.225.202.80:4569-5 | NULL | IAX2 | 192.168.2.133 | 66.225.202.80:4569-5 | 8662619713 | 7164080354 | 2006-09-10 09:55:14 | 1157896514 | 2006-09-10 09:55:33 | 1157896533 | 19 | 0.32 |
| 1157899424.2000000 | IAX2/66.225.202.80:4569-3 | NULL | IAX2 | 192.168.2.133 | 66.225.202.80:4569-3 | 8662619713 | 7164080354 | 2006-09-10 10:43:44 | 1157899424 | 2006-09-10 10:43:58 | 1157899438 | 14 | 0.23 |
| 1157900787.5000000 | IAX2/66.225.202.80:4569-1 | NULL | IAX2 | 192.168.2.133 | 66.225.202.80:4569-1 | 8662619713 | 7164080354 | 2006-09-10 11:06:27 | 1157900787 | 2006-09-10 11:06:53 | 1157900813 | 26 | 0.43 |
+--------------------+---------------------------+---------------+------+---------------+----------------------+---------------+-------------+---------------------+-------------+---------------------+------------+---------------+---------------+
4 rows in set (0.00 sec)

mysql>
mysql> select * from park_log ;
Empty set (0.00 sec)

mysql> select * from parked_channels ;
Empty set (0.00 sec)

mysql> select * from vicidial_xfer_log;
Empty set (0.00 sec)

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 |
+--------+--------------------+---------------------+---------+----------+---------------+------------------+-----------+----------------------+---------------------------+------------------+----------------+-------------+--------------------------------+------------+------------+------------+------------+------------+
| 239 | 0.0000000 | 2006-09-10 10:34:38 | SENT | N | 192.168.2.133 | NULL | Hangup | RH1234591157898878 | Channel: | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL |
| 240 | 1157899391.0000000 | 2006-09-10 10:43:10 | UPDATED | N | 192.168.2.133 | SIP/112-0819b998 | Originate | S0609101043108600051 | Channel: SIP/112 | Context: default | Exten: 8600051 | Priority: 1 | Callerid: S0609101043108600051 | NULL | NULL | NULL | NULL | NULL |
| 241 | 0.0000000 | 2006-09-10 11:06:01 | SENT | N | 192.168.2.133 | NULL | Hangup | RH1234591157900761 | Channel: SIP/112-0819b998 | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL |
| 242 | 1157900765.3000000 | 2006-09-10 11:06:04 | UPDATED | N | 192.168.2.133 | SIP/112-081a1028 | Originate | S0609101106048600051 | Channel: SIP/112 | Context: default | Exten: 8600051 | Priority: 1 | Callerid: S0609101106048600051 | NULL | NULL | NULL | NULL | NULL |
+--------+--------------------+---------------------+---------+----------+---------------+------------------+-----------+----------------------+---------------------------+------------------+----------------+-------------+--------------------------------+------------+------------+------------+------------+------------+
4 rows in set (0.00 sec)
SuPrSluG
 
Posts: 71
Joined: Thu Aug 24, 2006 8:01 pm

Postby SuPrSluG » Tue Sep 12, 2006 9:16 am

I am able to see the output of screen -r asterisk
the call comes in and is taken. When I press park call it accepts it on the web page, but nothing happens at the CLI> . There seem to be no input received. What command should be issued to asterisk by the web page?
SuPrSluG
 
Posts: 71
Joined: Thu Aug 24, 2006 8:01 pm

Postby mflorell » Tue Sep 12, 2006 10:30 am

Does the "PARK CALL" button change to "GRAB PARKED CALL"?

If you are using 2.0.1b2 release you can uncomment this line(line 2167) to view debug information:
// alert(xmlhttp.responseText);
change to
alert(xmlhttp.responseText);

and post what it returns when you try to park a call.
mflorell
Site Admin
 
Posts: 18383
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby SuPrSluG » Tue Sep 12, 2006 11:39 am

Does the "PARK CALL" button change to "GRAB PARKED CALL"?

If you are using 2.0.1b2 release you can uncomment this line(line 2167) to view debug information:
// alert(xmlhttp.responseText);
change to
alert(xmlhttp.responseText);


Yes, the button does change to "GRAB PARKED CALL"

I'm using 2.0.1b2. I changed that in agc/vicidial.php

and post what it returns when you try to park a call

what file does it output to?


PS. I can agc/astguiclient.php and park a call.
SuPrSluG
 
Posts: 71
Joined: Thu Aug 24, 2006 8:01 pm

Postby mflorell » Tue Sep 12, 2006 12:02 pm

it will not post to a file, it should popup when you park the call.
mflorell
Site Admin
 
Posts: 18383
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby SuPrSluG » Tue Sep 12, 2006 12:22 pm

No popups. I just upgraded to asterisk 1.2.12.1
and am using IAX inbound trunk. Also, sometimes hangup customer works, sometimes not.
SuPrSluG
 
Posts: 71
Joined: Thu Aug 24, 2006 8:01 pm

Postby mflorell » Tue Sep 12, 2006 12:40 pm

There has to be a bigger problem here then. I cannot duplicate your problem, and I cannot get the vicidial.php script to NOT show a popup message when I uncomment that line.

What version of Firefox are you using?
mflorell
Site Admin
 
Posts: 18383
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby SuPrSluG » Tue Sep 12, 2006 12:45 pm

firefox 1.5.04
SuPrSluG
 
Posts: 71
Joined: Thu Aug 24, 2006 8:01 pm

Postby mflorell » Tue Sep 12, 2006 1:25 pm

I have no idea what could be wrong. It is something that I would need to poke around and see for myself and I don't have the time to do that this week.
mflorell
Site Admin
 
Posts: 18383
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 97 guests