Page 1 of 1

Monitor calls are not visible to agents

PostPosted: Tue Jul 08, 2008 9:52 am
by ast1
Matt,

Could you explain the steps of how to hide the monitor calls to the agents?

PostPosted: Tue Jul 08, 2008 11:47 am
by mflorell
Use 2.0.4.1rc2 or higher with the iax.conf and extensions.conf as a base for your configuration. Then dial 0 + sessionID and the call will not show up in the agent screen "calls in this session"

PostPosted: Tue Jul 08, 2008 12:33 pm
by ast1
I just updated to astguiclient_2.0.4.1rc2 but the call still shows up in the agent screen "calls in this session" ( I am doing monitoring over IAX trunk). Do I need to make any changes in iax.conf and extensions.conf in order to make it work?

PostPosted: Tue Jul 08, 2008 1:35 pm
by mflorell
What are you dialing to monitor your agents?

what is the Asterisk CLI output when you do this?

PostPosted: Tue Jul 08, 2008 2:55 pm
by ast1
Accepting AUTHENTICATED call from 10.0.0.94:
> requested format = ulaw,
> requested prefs = (ulaw|alaw|gsm),
> actual format = gsm,
> host prefs = (gsm),
> priority = mine
-- Executing MeetMe("IAX2/ASTtest1-7", "8600051|F") in new stack

This is the cli output

I dial 08600051

PostPosted: Tue Jul 08, 2008 6:50 pm
by mflorell
That doesn't look right, do you have this in your extensions.conf?

; Local blind monitoring
exten => _08600XXX,1,Dial(${TRUNKblind}/6${EXTEN:1},55,To)

PostPosted: Wed Jul 09, 2008 10:43 am
by ast1
Yes, I do have that in extensions.conf file.

PostPosted: Wed Jul 09, 2008 12:04 pm
by mflorell
what version and build of vicidial.php are you using?

PostPosted: Wed Jul 09, 2008 12:16 pm
by ast1
VICIDIAL web-client version: 2.0.4-146 BUILD: 80428-0413

PostPosted: Wed Jul 09, 2008 12:31 pm
by mflorell
what exactly shows up in the "calls in this session" frame?

PostPosted: Wed Jul 09, 2008 2:12 pm
by ast1
# REMOTE CHANNEL HANGUP VOLUME
1 Local/8600051@default-33bb,2 HANGUP
2 SIP/333-007ee4f0 HANGUP
3 Local/78600051@default-e4b7,2 HANGUP
4 IAX2/ASTtest1-5 HANGUP

PostPosted: Wed Jul 09, 2008 5:26 pm
by mflorell
what is TRUNKblind defined as in your extensions.conf?

PostPosted: Wed Jul 09, 2008 7:36 pm
by ast1
;TRUNKloop = IAX2/ASTloop:test@127.0.0.1:40569
;TRUNKblind = IAX2/ASTblind:test@127.0.0.1:41569

I have these lines commented though.

Thanks in advance

PostPosted: Thu Jul 10, 2008 12:40 am
by mflorell
Well, what happens when you uncomment them and reload, then try it again?

PostPosted: Thu Jul 10, 2008 7:33 am
by ast1
It is still doing the same thing even after I commented out those lines. Here is the asterisk cli output:

Remote UNIX connection
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
> Channel SIP/333-0074bbb0 was answered.
-- Executing MeetMe("SIP/333-0074bbb0", "8600051|F") in new stack
== Parsing '/etc/asterisk/meetme.conf': Found
-- Created MeetMe conference 1023 for conference '8600051'
-- Playing 'conf-onlyperson' (language 'en')
== 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 MeetMe("Local/8600051@default-1939,2", "8600051|F") in new stack
> Channel Local/8600051@default-1939,1 was answered.
-- Executing AGI("Local/8600051@default-1939,1", "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/8600051@default-1939,1", "IAX2/voip2/XXXXXXXXXX||To") in new stack
-- Called voip2/XXXXXXXXXX
-- Call accepted by 10.0.0.33 (format ulaw)
-- Format for call is ulaw
-- IAX2/voip2-16384 is proceeding passing it to Local/8600051@default-1939,1
-- IAX2/voip2-16384 is making progress passing it to Local/8600051@default-1939,1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMe("Local/78600051@default-52e7,2", "8600051|Fq") in new stack
> Channel Local/78600051@default-52e7,1 was answered.
-- Executing Answer("Local/78600051@default-52e7,1", "") in new stack
-- Executing Monitor("Local/78600051@default-52e7,1", "wav|20080710-082741_XXXXXXXXXX") in new stack
-- Executing Wait("Local/78600051@default-52e7,1", "3600") in new stack
-- IAX2/voip2-16384 is ringing
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
-- IAX2/voip2-16384 stopped sounds
-- IAX2/voip2-16384 answered Local/8600051@default-1939,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
-- Accepting AUTHENTICATED call from 10.0.0.94:
> requested format = ulaw,
> requested prefs = (ulaw|alaw|gsm),
> actual format = gsm,
> host prefs = (gsm),
> priority = mine
-- Executing MeetMe("IAX2/ASTtest1-2", "8600051|Fmq") in new stack
== Spawn extension (default, 68600051, 1) exited non-zero on 'IAX2/ASTtest1-2'
-- Executing DeadAGI("IAX2/ASTtest1-2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
-- Hungup 'IAX2/ASTtest1-2'
Jul 10 08:28:25 WARNING[23621]: channel.c:2290 ast_write: Thread 1079863632 Blocking 'SIP/333-0074bbb0', already blocked by thread 1079064912 in procedure ast_waitfor_nandfds
Jul 10 08:28:25 WARNING[23621]: channel.c:2290 ast_write: Thread 1079863632 Blocking 'Local/78600051@default-52e7,2', already blocked by thread 1079331152 in procedure ast_waitfor_nandfds
-- Hungup 'IAX2/voip2-16384'
== Spawn extension (default, 91XXXXXXXXXX, 2) exited non-zero on 'Local/8600051@default-1939,1'
-- Executing DeadAGI("Local/8600051@default-1939,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----44-----35") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... -44-----35 completed, returning 0
== Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-1939,2'
-- Executing DeadAGI("Local/8600051@default-1939,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
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Spawn extension (default, 78600051, 1) exited non-zero on 'Local/78600051@default-52e7,2'
-- Executing DeadAGI("Local/78600051@default-52e7,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-52e7,1'
-- Executing DeadAGI("Local/78600051@default-52e7,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
== Parsing '/etc/asterisk/manager.conf': Found

PostPosted: Fri Jul 11, 2008 2:45 am
by mflorell
Something is not letting the call go through "IAX2/ASTblind", it is going through "IAX2/ASTtest1" instead.

double-check your extensions.conf and iax.conf, the reload in Asterisk and try again.