Displaying 2 results from an estimated 2 matches for "mysql_update_call_count".
2011 Feb 08
0
Manual Call Transfer // Perl // Asterisk::AGI // MySQL
...not have the option of updating it,
please do not waste your time telling me to =)
I am using PERL AGI scripts to maintain an "active calls count" field
for each phone in a mysql database table, for example (not actual
code, just trying to illustrate)
$SIG{HUP} = 'IGNORE';
....
mysql_update_call_count($user_id, ($count +1) );
$dialret = $agi->exec('Dial', $dialstring);
mysql_update_call_count($user_id, ($count -1) );
This works great, except when doing assisted transfers (or any
transfer for that matter).
We have Polycom IP550 Phones which can do the transfer with a button,
As an ex...
2011 Feb 09
0
Manual Call Transfer (Perl, Asterisk::AGI, MySQL)
...not have the option of updating it,
please do not waste your time telling me to =)
I am using PERL AGI scripts to maintain an "active calls count" field
for each phone in a mysql database table, for example (not actual
code, just trying to illustrate)
$SIG{HUP} = 'IGNORE';
....
mysql_update_call_count($user_id, ($count +1) );
$dialret = $agi->exec('Dial', $dialstring);
mysql_update_call_count($user_id, ($count -1 ));
(ignore the count this, did that for clarity)
This works great, except when doing assisted transfers (or any
transfer for that matter).
We have Polycom IP550 Phones wh...