Call Parking Not Working

All installation and configuration problems and questions

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

Call Parking Not Working

Postby SuPrSluG » Wed Sep 20, 2006 1:16 pm

I've tried everything I can following scratch install but nothing gets this feature to work ( and it's kind of an important feature). Can anyone show me their dialplan etc to get this working. No matter what this is NO way I can click on park call on the web interface and have it call the park call agi. If not, can anyone recommend software that will actually park the call.

I have an inbound 1-866 number through IAX2 protocol. It takes the call but nothing happens when
I try to park the call.

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

Postby mflorell » Wed Sep 20, 2006 3:01 pm

post results of these commands:

ls -l /var/lib/asterisk/sounds/conf.gsm

ls -l /var/lib/asterisk/sounds/park.gsm



Then dial 8301 from a phone on your system and see if it plays anything.

Also post the Asterisk CLI from when you dial 8301.
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby SuPrSluG » Wed Sep 20, 2006 4:37 pm

root[agc]# ll /var/lib/asterisk/sounds/conf.gsm
-rw-r--r-- 1 root root 3182058 2006-09-15 15:55 /var/lib/asterisk/sounds/conf.gsm
root[agc]# ll /var/lib/asterisk/sounds/park.gsm
-rw-r--r-- 1 root root 3182058 2006-09-15 15:56 /var/lib/asterisk/sounds/park.gsm

when I dial 8301 from kphone I get classical music. So it works. Output
-- Executing Answer("SIP/112-081a2670", "") in new stack
-- Executing AGI("SIP/112-081a2670", "park_CID.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/park_CID.agi
-- AGI Script park_CID.agi completed, returning 0
-- Executing Playback("SIP/112-081a2670", "park") in new stack
-- Playing 'park' (language 'en')
== Spawn extension (default, 8301, 3) exited non-zero on 'SIP/112-081a2670'
-- Executing DeadAGI("SIP/112-081a2670", "call_log.agi|h") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing DeadAGI("SIP/112-081a2670", "VD_hangup.agi|IAX2-----NODEBUG-----0---------------") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_hangup.agi


Here's extensions.conf for the inbound number (real number changed). park_CID.agi is never launched from the web page.

exten => 8665551212,AGI(call_log.agi,${EXTEN})
exten => 8665551212,2,Ringing
exten => 8665551212,3,Wait(1)
exten => 8665551212,4,Answer
exten=>8665551212,5,AGI(agi-VDADcloser_inboundCID.agi,SalesLine-----8665551212-----Closer---------------999-----1)
exten => 8665551212,6,Hangup
SuPrSluG
 
Posts: 71
Joined: Thu Aug 24, 2006 8:01 pm

Postby mflorell » Wed Sep 20, 2006 6:37 pm

When you try to park the call, what shows up in the channel field of vicidial.php?

What shows up in the "Calls in this session" at the botom of the screen?
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

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

The channel stays iax2. There is nothing in
LIVE CALLS IN YOUR SESSION:
# REMOTE CHANNEL HANGUP
1 SIP/112-081a26c0 HANGUP

While on a live inbound call


mysql> select * from inbound_numbers;
Empty set (0.01 sec)

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

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

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

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

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

mysql> select * from vicidial_live_agents;
+---------------+------+---------------+------------+-----------+--------+---------+-------------+--------------------+----------------------+---------------------------+-----------+---------------------+------------------+---------------------+------------------+----------------+------------+
| live_agent_id | user | server_ip | conf_exten | extension | status | lead_id | campaign_id | uniqueid | callerid | channel | random_id | last_call_time | last_update_time | last_call_finish | closer_campaigns | call_server_ip | user_level |
+---------------+------+---------------+------------+-----------+--------+---------+-------------+--------------------+----------------------+---------------------------+-----------+---------------------+------------------+---------------------+------------------+----------------+------------+
| 20 | 112 | 192.168.2.133 | 8600051 | SIP/112 | INCALL | 24 | CLOSER | 1158853619.4000001 | Y0921114700000000024 | IAX2/66.225.202.80:4569-2 | 13063264 | 2006-09-21 11:47:01 | 20060921114833 | 2006-09-21 11:43:41 | SalesLine - | | 1 |
+---------------+------+---------------+------------+-----------+--------+---------+-------------+--------------------+----------------------+---------------------------+-----------+---------------------+------------------+---------------------+------------------+----------------+------------+
1 row in set (0.00 sec)
SuPrSluG
 
Posts: 71
Joined: Thu Aug 24, 2006 8:01 pm

Postby mflorell » Thu Sep 21, 2006 2:35 pm

before parking the call what is the exact contents of the channel field and the "calls in this session" box?
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 59 guests