Same conterence number giving to two agents ...

All installation and configuration problems and questions

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

Same conterence number giving to two agents ...

Postby saqibali » Tue Oct 09, 2007 5:07 pm

The same conference number is giving to two agents . i also check for the duplication of the conference number but no duplication. Also it could be the problem with the conference update script ? All my configuration is on single server.
saqibali
 
Posts: 48
Joined: Wed Nov 22, 2006 7:48 pm

Postby Op3r » Tue Oct 09, 2007 9:28 pm

Have them logout properly.

Click the logout button, then check if the softphone/ip phone is still connected then hung it up.

:)
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby bobbymc » Wed Oct 10, 2007 1:32 am

i recently published a code that cleans out confrence rooms.. here is some code that can check if the confrence room is really avaliable or not based on asterisk telling us and not the database


this should be added after the first if statment to check for exsisting confrence rooms

(replace manager_login_here and manager_pass_here with valid info)

#### check astertisk to see which confrence rooms are taken jsut to make sure it wont reassing it to someone
#### else due to lack of updates on db
require_once("php-asmanager.php");
$astman = new AGI_AsteriskManager();
if (! $res = $astman->connect("$server_ip", "manager_login_here" , "manager_pass_here")) {
unset( $astman );
}
$response = $astman->send_request('Command', array('Command'=>'meetme'));
$verinfo = $response['data'];
$astman->disconnect();
foreach (split("\n", $verinfo) as $indexparse) {
preg_match('/(.*) (.*)/i', $indexparse, $matches);
list($left,$right) = split("[\t ]+", $matches[1]);
if($left)$extension_disclude.= "and conf_exten != '$left' ";
}


##### grab the next available vicidial_conference room and reserve it
$stmt="SELECT conf_exten FROM vicidial_conferences where server_ip = '$server_ip' and (((extension='' or extension is null) $extension_disclude)) LIMIT 1;";


hope this helps
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am

Postby ramindia » Wed Oct 10, 2007 8:24 am

Hi

php-asmanager.php


where is this file ?

ram
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby saqibali » Wed Oct 10, 2007 10:43 am

in which paticular file i put that code ? Also i want to explain the problem i am facing are ---->
Problem 1:
and also when the given conference problem occuered i checked the vicidial_conference table the paticular conference number is assigned to agent 1 in that table . but when agent 2 logged in that conference number also assigned to agent 2 . but when looking into database that conference is mapped with agent 1 .
Problem 2 :
But sometime both agents are assigned two different conference numbers but they can hear eachother voices . that could be the problem with the meetme application ???

Also these problem occuered when there are more than 15 agnets .

i have dell 2950
Ram 8GB
Processor 3.2 Quad core

Asterisk 1.2.18
zaptel 1.2.18
astguiclient 2.0.2

Thats the only problem i am facing help in this regard will be highly appriciated. thanks
saqibali
 
Posts: 48
Joined: Wed Nov 22, 2006 7:48 pm

Postby bobbymc » Wed Oct 10, 2007 3:11 pm

this is on the client side vicidial.php
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am


Return to Support

Who is online

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