search for: ast_pthread_mutex_lock

Displaying 6 results from an estimated 6 matches for "ast_pthread_mutex_lock".

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
...n pages for all the system calls Take a look at the source chan_sip.c /* Wait for sched or io */ res = ast_sched_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...
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
...6 +49,7 @@ /* Extension you type to park the call */ static char parking_ext[AST_MAX_EXTENSION] = "700"; +static char parking_pick[AST_MAX_EXTENSION] = "750"; static char pickup_ext[AST_MAX_EXTENSION] = "*8"; @@ -507,7 +508,23 @@ park = atoi((char *)data); ast_pthread_mutex_lock(&parking_lock); pu = parkinglot; - while(pu) { + if (park == atoi((char *)parking_pick)) { + ast_log(LOG_NOTICE,"Picking up the older parked call!\n"); + while(pu) { + if (!pu->next) { + if (pl) + pl->ne...
2017 Feb 13
0
Certified Asterisk 13.13-cert1 Now Available
...Katsnelson) * ASTERISK-25954 - Manager QueueSummary and QueueStatus Actions are case sensitive to QueueName (Reported by Javier Acosta) * ASTERISK-25927 - Removed option "registertrying" is still documented in sip.conf.sample (Reported by Etienne Lessard) * ASTERISK-25948 - ast_pthread_mutex_lock calling ast_reentrancy_lock with lt=0x0 (Reported by Diederik de Groot) * ASTERISK-25947 - Protocol transfers to stasis applications are missing the StasisStart with the replace_channel object. (Reported by Richard Mudgett) * ASTERISK-24649 - Pushing of channel into bridge fails...
2019 Dec 24
0
Certified Asterisk 16.3-cert1 Now Available
...son) - [ASTERISK-25927 <https://issues.asterisk.org/jira/browse/ASTERISK-25927>] - Removed option "registertrying" is still documented in sip.conf.sample (Reported by Etienne Lessard) - [ASTERISK-25948 <https://issues.asterisk.org/jira/browse/ASTERISK-25948>] - ast_pthread_mutex_lock calling ast_reentrancy_lock with lt=0x0 (Reported by Diederik de Groot) - [ASTERISK-25947 <https://issues.asterisk.org/jira/browse/ASTERISK-25947>] - Protocol transfers to stasis applications are missing the StasisStart with the replace_channel object. (Reported by Richard Mudgett)...