Displaying 5 results from an estimated 5 matches for "ast_pthread_mutex_unlock".
2003 Jun 18
2
Wrap-up
Is it possible to specify a 'wrap-up' time in a queue so agents will
have a specified amount of time to complete tasks between calls unless
they hit a key on the phone? As it is they can recieve a call moments
after they hang up with no 'down time'. Thanks
Jim Friedeck
2003 Oct 27
1
Fwd: Re: Asterisk on FreeBSD
...ed_wait(sched);
if ((res < 0) || (res > 1000))
res = 1000;
res = ast_io_wait(io, res);
ast_pthread_mutex_lock(&monlock);
if (res >= 0)
ast_sched_runq(sched);
ast_pthread_mutex_unlock(&monlock);
OK so it looks like ast_sched_wait(sched) is returning
zeroes Take a look....
{
/*
* Return the number of milliseconds
* until the next scheduled event
*/
struct timeval tv;
int ms;
DEBUG(ast_log(LOG_DEBUG, "ast_s...
2003 May 01
2
Max number of connection in IAX ?
Hi.
I was wondering if there's a parameter to limit
the number of concurrent sessions in IAX, globally or
on a per-user basis.
That could be needed for security purposes
(to prevent dos attacks), to limit bandwidth / cpu usage, or
to not allow more than N guest connections, for example.
Any other VoIP channel support that?
(like SIP, MGCP)
Matteo.
--
Brancaleoni Matteo
2003 Jul 03
1
res parking patch
...pu = pu->next;
+ }
+ }
+ else {
+ ast_log(LOG_NOTICE,"Normally picking up a parked call!\n");
+ while(pu) {
if (pu->parkingnum == park) {
if (pl)
pl->next = pu->next;
@@ -517,6 +534,7 @@
}
pl = pu;
pu = pu->next;
+ }
}
ast_pthread_mutex_unlock(&parking_lock);
if (pu) {
@@ -611,6 +629,8 @@
while(var) {
if (!strcasecmp(var->name, "parkext")) {
strncpy(parking_ext, var->value, sizeof(parking_ext) - 1);
+ } else if (!strcasecmp(var->name, "parkpick")) {
+ strncpy(parking_pick, var->value...
2003 Jul 30
5
chan_sip.c problems problems from cvs 1.134
All,
I've found problems in my setup with the latest couple of revisions (1.135/1.136) of asterisk/channels/chan_sip.c In my setup I have a RH9 asterisk server, AS5300 (single E1 to PSTN) and a dozen 7940's, everything is in the same VLAN and only running SIP.
Outbound calls work fine: 7940 -SIP-> Asterisk -SIP-> AS5300
But inbound calls fail, I see the initial INVITE from the