........
r154260 | tilghman | 2008-11-04 12:47:20 -0600 (Tue, 04 Nov 2008) | 2 lines
Slightly optimize ast_devstate_str and rename global functions devstate2str and config_text_file_save to have an ast_ prefix
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@154261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
------------------------------------------------------------------------
r153709 | kpfleming | 2008-11-02 17:34:39 -0600 (Sun, 02 Nov 2008) | 3 lines
instead of trying to forcibly load res_agi when app_stack is loaded (even if the administrator didn't want it loaded), use GCC weak symbols to determine whether it was loaded already or not; if it was loaded, then use it.
------------------------------------------------------------------------
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@153711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r153578 | russell | 2008-11-02 00:55:46 -0500 (Sun, 02 Nov 2008) | 3 lines
Add a handy makefile target so that you can validate the documentation against the DTD
by running "make validate-docs"
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@153579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r153541 | eliel | 2008-11-02 02:57:02 -0200 (Sun, 02 Nov 2008) | 2 lines
Fix a typo in the name of the application.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@153542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r153507 | seanbright | 2008-11-02 00:14:20 -0400 (Sun, 02 Nov 2008) | 5 lines
There is a troublesome assert() in the alsa/control.h header that causes
GCC 4.3.2 to complain that the passed argument will always evaluate to
true. So to get things to compile, disable assert when building
chan_usbradio.so.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@153508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r153437 | russell | 2008-11-01 21:20:10 -0500 (Sat, 01 Nov 2008) | 3 lines
- Use a for loop instead of a while loop
- Get rid of an unnecessary variable
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@153438 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r153435 | russell | 2008-11-01 21:14:19 -0500 (Sat, 01 Nov 2008) | 3 lines
Instead of doing a couple of strlen() calls each iteration of the loop, only do it once
at the beginning of the function
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@153436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r153403 | russell | 2008-11-01 18:46:12 -0500 (Sat, 01 Nov 2008) | 2 lines
Don't ignore the result of find_peer() when looking for a peer by IP in check_peer_ok().
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@153404 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r153296 | seanbright | 2008-10-31 21:55:04 -0400 (Fri, 31 Oct 2008) | 3 lines
The default in chan_sip for notifyringing is yes, so update the sample
conf to reflect that.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@153297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
........
r153181 | twilson | 2008-10-31 13:55:33 -0500 (Fri, 31 Oct 2008) | 5 lines
Recent CDR fixes moved execution of the 'h' exten into the bridging code, so variables that were set after ast_bridge_call was called would not show up in the 'h' exten. Added a callback function to handle setting variables, etc. from w/in the bridging code. Calls back into a nested function within the function calling ast_bridge_call
(closes issue #13793)
Reported by: greenfieldtech
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@153266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
which were committed to trunk in revision 153223. I blocked that
commit from 1.6.1 since it also contained a new feature.
Note to self: Separate commits so that you don't end up with
a situation where part of a commit should be merged but part
should be blocked from stable branches.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@153225 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r153223 | mmichelson | 2008-10-31 15:05:46 -0500 (Fri, 31 Oct 2008) | 8 lines
* Fixed timeout logic in the dialing API as setting timeouts
had no effect
* Updated dialing API documentation to indicate that timeouts
are specified in milliseconds
* Added a new timeout argument to the Page application. If time
expires, any endpoints which have not answered will be hung up.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@153224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r153057 | russell | 2008-10-31 04:31:10 -0500 (Fri, 31 Oct 2008) | 7 lines
Use the ast_str API call to reset the string instead of manually editing its internals
(closes issue #13816)
Reported by: eliel
Patches:
channel.c.patch uploaded by eliel (license 64)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@153058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r152990 | russell | 2008-10-30 15:46:17 -0500 (Thu, 30 Oct 2008) | 3 lines
Add a todo for a new timing API implementation that would work for Linux systems
as of kernel 2.6.25 and glibc 2.8
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@152991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
........
r152887 | russell | 2008-10-30 14:28:06 -0500 (Thu, 30 Oct 2008) | 7 lines
Fix a bug in AST_SCHED_REPLACE_UNREF(). The reference count of the object
_must_ be increased before creating the scheduler entry. Otherwise, you
create a race condition where the reference count may hit zero and the
object can disappear out from under you. This could also would have
incorrectly decreased the reference count in the case that the scheduler
add failed.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@152900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r152879 | mmichelson | 2008-10-30 14:23:16 -0500 (Thu, 30 Oct 2008) | 7 lines
I just noticed this construct and thought it was
silly to have a bunch of case statements with duplicated
code in each case. Instead, just use the built-in fallthrough
capability of case statements and reduce the code to
a single instance
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@152880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
........
r152877 | russell | 2008-10-30 14:21:53 -0500 (Thu, 30 Oct 2008) | 9 lines
Modify the documentation of the sip_registry struct
- Remove a comment that says that the monitor thread is the only one that
ever touches these objects. This is no longer the case with TCP. Also,
I would eventually like to get the scheduler in its own thread, so this
is just a poor assumption to make.
- Note that reference counting of these objects with respect to scheduler
entries is not complete. There are some leaked references when deleting
scheduler entries.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@152878 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r152807 | mmichelson | 2008-10-30 11:38:19 -0500 (Thu, 30 Oct 2008) | 6 lines
After seeing another problem in #asterisk stemming from
the low default value of featuredigittimeout, I decided it
was high time to change it. I have changed the default to
2000 ms based on a suggestion from Leif Madsen.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@152808 65c4cc65-6c06-0410-ace0-fbb531ad65f3