asterisk/asterisk.git
13 years agoThe changes for trunk are less extensive, but include
Russell Bryant [Mon, 29 Jan 2007 20:51:24 +0000 (20:51 +0000)]
The changes for trunk are less extensive, but include
 - changing the actionlock to a rwlock
 - not locking the session before doing the action callback
The crash issue in 8711 should not be an issue here.

Merged revisions 52611 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52611 | russell | 2007-01-29 14:39:20 -0600 (Mon, 29 Jan 2007) | 10 lines

The session lock can not be held while calling action callbacks.  If so, then
when the WaitEvent callback gets called, then no event can happen because the
session can't be locked by another thread.  Also, the session needs to be
locked in the HTTP callback when it reads out the output string.  This fixes
the deadlock reported in both 8711 and 8934.
Regarding issue 8711, there still may be an issue.  If there is a second action
requested before the processing of the first action is finished, there could
still be some corruption of the output string buffer used to build the result.
(issue #8711, #8934)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52613 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoResolve some warnings when not building with IMAP_STORAGE
Russell Bryant [Mon, 29 Jan 2007 20:47:43 +0000 (20:47 +0000)]
Resolve some warnings when not building with IMAP_STORAGE

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52612 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoChange vmstates list to use linked list macros.
Joshua Colp [Mon, 29 Jan 2007 20:22:08 +0000 (20:22 +0000)]
Change vmstates list to use linked list macros.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52610 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoCode cleanup of IMAP storage support in app_voicemail.
Joshua Colp [Mon, 29 Jan 2007 20:04:42 +0000 (20:04 +0000)]
Code cleanup of IMAP storage support in app_voicemail.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52607 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 52572 via svnmerge from
Joshua Colp [Mon, 29 Jan 2007 19:03:01 +0000 (19:03 +0000)]
Merged revisions 52572 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52572 | file | 2007-01-29 13:59:41 -0500 (Mon, 29 Jan 2007) | 2 lines

Use ast_calloc instead of malloc.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52580 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoBlocked 52535 from trunk for 8778 (pt_BR backport to 1.4). Already done here for...
Steve Murphy [Mon, 29 Jan 2007 18:03:08 +0000 (18:03 +0000)]
Blocked 52535 from trunk for 8778 (pt_BR backport to 1.4). Already done here for 7663). See ancient history books for details.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52548 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd core show channels count CLI command. (issue #8932 reported by mr_mehul_shah)
Joshua Colp [Mon, 29 Jan 2007 17:49:04 +0000 (17:49 +0000)]
Add core show channels count CLI command. (issue #8932 reported by mr_mehul_shah)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52525 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 52523 via svnmerge from
Joshua Colp [Mon, 29 Jan 2007 17:39:09 +0000 (17:39 +0000)]
Merged revisions 52523 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52523 | file | 2007-01-29 12:33:19 -0500 (Mon, 29 Jan 2007) | 2 lines

Set quota information to 0 when creating a vm_state. (issue #8924 reported by neutrino88)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52524 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 52494,52506 via svnmerge from
Russell Bryant [Mon, 29 Jan 2007 17:03:31 +0000 (17:03 +0000)]
Merged revisions 52494,52506 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52494 | jdixon | 2007-01-28 22:18:36 -0600 (Sun, 28 Jan 2007) | 4 lines

Fixed problem with jitterbuf, whereas it would not complain about, and
would allow itself to be overfilled (per the max_jitterbuf parameter). Now
it rejects any data over and above that size, and complains about it.

........
r52506 | russell | 2007-01-29 10:54:27 -0600 (Mon, 29 Jan 2007) | 5 lines

Clean up a few things in the last commit to the adaptive jitterbuffer code.
 - Specifically indicate to the compiler that the "dropem" variable only
   needs one but.
 - Change formatting to conform to coding guidelines.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52522 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 52462 via svnmerge from
Tilghman Lesher [Sun, 28 Jan 2007 05:18:02 +0000 (05:18 +0000)]
Merged revisions 52462 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52462 | tilghman | 2007-01-27 23:15:07 -0600 (Sat, 27 Jan 2007) | 2 lines

Suggested change to fix normal usage of --with-tds=/usr/local (Sean Bright, via asterisk-dev mailing list)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52463 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 52416 via svnmerge from
Joshua Colp [Sat, 27 Jan 2007 02:15:21 +0000 (02:15 +0000)]
Merged revisions 52416 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r52416 | file | 2007-01-26 21:13:41 -0500 (Fri, 26 Jan 2007) | 10 lines

Merged revisions 52415 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r52415 | file | 2007-01-26 21:09:10 -0500 (Fri, 26 Jan 2007) | 2 lines

Make COMPLETECALLER and COMPLETEAGENT output to queue_log follow documentation. (issue #7677 reported by amilcar)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52417 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoBlocked revisions 52373 via svnmerge
Joshua Colp [Sat, 27 Jan 2007 00:48:52 +0000 (00:48 +0000)]
Blocked revisions 52373 via svnmerge

........
r52373 | file | 2007-01-26 19:44:51 -0500 (Fri, 26 Jan 2007) | 2 lines

Have the manager interface send back an "Already logged in" message instead of "Invalid/Unknown Command" when the client authenticates for a second time. (issue #8509 reported by pari)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52374 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 52370 via svnmerge from
Joshua Colp [Sat, 27 Jan 2007 00:10:19 +0000 (00:10 +0000)]
Merged revisions 52370 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r52370 | file | 2007-01-26 19:08:18 -0500 (Fri, 26 Jan 2007) | 10 lines

Merged revisions 52360 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r52360 | file | 2007-01-26 19:03:23 -0500 (Fri, 26 Jan 2007) | 2 lines

Make the last context entry read in the dominant one. (issue #8918 reported by pj)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52371 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 52335 via svnmerge from
Joshua Colp [Fri, 26 Jan 2007 23:49:29 +0000 (23:49 +0000)]
Merged revisions 52335 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52335 | file | 2007-01-26 18:46:47 -0500 (Fri, 26 Jan 2007) | 2 lines

Fix core show file formats CLI command.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52336 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoConvert some more stuff to read/write lists.
Joshua Colp [Fri, 26 Jan 2007 22:55:06 +0000 (22:55 +0000)]
Convert some more stuff to read/write lists.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52332 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd DBDel and DBDelTree manager commands. (issue #8516 reported by dprado)
Joshua Colp [Thu, 25 Jan 2007 22:49:24 +0000 (22:49 +0000)]
Add DBDel and DBDelTree manager commands. (issue #8516 reported by dprado)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52308 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 52265 via svnmerge from
Joshua Colp [Thu, 25 Jan 2007 19:20:51 +0000 (19:20 +0000)]
Merged revisions 52265 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r52265 | file | 2007-01-25 14:18:33 -0500 (Thu, 25 Jan 2007) | 10 lines

Merged revisions 52264 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r52264 | file | 2007-01-25 14:15:29 -0500 (Thu, 25 Jan 2007) | 2 lines

Allow dequeueing of frames with negative timestamp by moving jitterbuffer frames check to jb_next. (issue #8546 reported by harmen)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52266 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoUse atomic operation functions for use/ringing/hold manipulation.
Joshua Colp [Thu, 25 Jan 2007 18:10:18 +0000 (18:10 +0000)]
Use atomic operation functions for use/ringing/hold manipulation.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52240 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 52210 via svnmerge from
Joshua Colp [Thu, 25 Jan 2007 17:51:35 +0000 (17:51 +0000)]
Merged revisions 52210 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52210 | file | 2007-01-25 12:49:39 -0500 (Thu, 25 Jan 2007) | 2 lines

Drop out variables I accidentally put in.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52211 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 52208 via svnmerge from
Joshua Colp [Thu, 25 Jan 2007 17:17:56 +0000 (17:17 +0000)]
Merged revisions 52208 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52208 | file | 2007-01-25 12:14:53 -0500 (Thu, 25 Jan 2007) | 2 lines

Decrement onHold count if we are hung up on and still on hold. (issue #8909 reported by alexh42)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52209 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 52163 via svnmerge from
Joshua Colp [Thu, 25 Jan 2007 01:54:39 +0000 (01:54 +0000)]
Merged revisions 52163 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r52163 | file | 2007-01-24 20:51:35 -0500 (Wed, 24 Jan 2007) | 10 lines

Merged revisions 52162 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r52162 | file | 2007-01-24 20:48:52 -0500 (Wed, 24 Jan 2007) | 2 lines

Add another note about audio files being played back to each bridged party. (issue #8718 reported by ppyy)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52168 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 52160 via svnmerge from
Russell Bryant [Thu, 25 Jan 2007 01:38:05 +0000 (01:38 +0000)]
Merged revisions 52160 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52160 | russell | 2007-01-24 19:37:16 -0600 (Wed, 24 Jan 2007) | 2 lines

By suggestion from kpfleming last week, change "vmpassword" to "vmsecret".

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52161 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoBlocked revisions 52158 via svnmerge
Russell Bryant [Thu, 25 Jan 2007 01:07:07 +0000 (01:07 +0000)]
Blocked revisions 52158 via svnmerge

........
r52158 | russell | 2007-01-24 19:05:46 -0600 (Wed, 24 Jan 2007) | 4 lines

Remove libnsl as a required lib for libiksemel to work.  This change was
already made in the trunk.
(issue #8762)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52159 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 52107 via svnmerge from
Russell Bryant [Wed, 24 Jan 2007 21:43:22 +0000 (21:43 +0000)]
Merged revisions 52107 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52107 | russell | 2007-01-24 15:42:47 -0600 (Wed, 24 Jan 2007) | 3 lines

Fix the formatting of doxygen comments to properly indicate that the comment
documents the previous entity, as opposed to the next one.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52108 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAs per bug 8859 (Add option to revert old ChanIsAvail() with 's' option behavior...
Steve Murphy [Wed, 24 Jan 2007 20:35:54 +0000 (20:35 +0000)]
As per bug 8859 (Add option to revert old ChanIsAvail() with 's' option behavior), this update makes the 't' option available, which calls ast_parse_device_state instead of ast_device_state. This option will not dive into the channel driver to find the status of the device (which could be good if sip devicestate isn't returning full status, for various reasons).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52086 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 52052 via svnmerge from
Steve Murphy [Wed, 24 Jan 2007 18:39:49 +0000 (18:39 +0000)]
Merged revisions 52052 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r52052 | murf | 2007-01-24 11:26:22 -0700 (Wed, 24 Jan 2007) | 9 lines

Merged revisions 52002 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r52002 | murf | 2007-01-24 10:43:50 -0700 (Wed, 24 Jan 2007) | 1 line

updated check_expr via 8322 (refactoring of expression checking impl); elfring contributed a nice code reorg, I contributed some time to get it working again, better messages
........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52053 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 52049 via svnmerge from
Joshua Colp [Wed, 24 Jan 2007 18:23:07 +0000 (18:23 +0000)]
Merged revisions 52049 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52049 | file | 2007-01-24 13:20:05 -0500 (Wed, 24 Jan 2007) | 2 lines

Merge in dialing API and the app_page that uses it. (issue #BE-118)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52050 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 52016 via svnmerge from
Joshua Colp [Wed, 24 Jan 2007 18:04:47 +0000 (18:04 +0000)]
Merged revisions 52016 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52016 | file | 2007-01-24 12:59:55 -0500 (Wed, 24 Jan 2007) | 2 lines

Fix changing channel formats when joint capability changes and there are no audio formats... I didn't break it originally! (issue #8535 reported by ivoc)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52025 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoBlocked revisions 52000 via svnmerge
Russell Bryant [Wed, 24 Jan 2007 17:14:55 +0000 (17:14 +0000)]
Blocked revisions 52000 via svnmerge

........
r52000 | russell | 2007-01-24 11:14:11 -0600 (Wed, 24 Jan 2007) | 1 line

rebuild configure script to reflect last chan_h323 related changes.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52001 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51931 via svnmerge from
Olle Johansson [Wed, 24 Jan 2007 09:42:31 +0000 (09:42 +0000)]
Merged revisions 51931 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51931 | oej | 2007-01-24 10:30:21 +0100 (Wed, 24 Jan 2007) | 3 lines

Show capabilities *and* preference in general settings in "sip show settings"
(reported by Clona/Telio - Thanks!)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51933 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoDoxygen updates
Olle Johansson [Wed, 24 Jan 2007 09:31:26 +0000 (09:31 +0000)]
Doxygen updates

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51932 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoDoxygen update
Olle Johansson [Wed, 24 Jan 2007 09:05:29 +0000 (09:05 +0000)]
Doxygen update

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51920 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdding some doxygen for udptl.c
Olle Johansson [Wed, 24 Jan 2007 08:56:22 +0000 (08:56 +0000)]
Adding some doxygen for udptl.c

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51905 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoBlocked revisions 51895 via svnmerge
Paul Cadach [Wed, 24 Jan 2007 08:07:19 +0000 (08:07 +0000)]
Blocked revisions 51895 via svnmerge

........
r51895 | pcadach | 2007-01-24 00:04:59 -0800 (Срд, 24 Янв 2007) | 1 line

Allow x64 builds of H.323 (please, rebuild configure)
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51896 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51848 via svnmerge from
Russell Bryant [Wed, 24 Jan 2007 01:00:57 +0000 (01:00 +0000)]
Merged revisions 51848 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51848 | russell | 2007-01-23 18:59:58 -0600 (Tue, 23 Jan 2007) | 14 lines

Merged revisions 51843 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r51843 | russell | 2007-01-23 18:57:28 -0600 (Tue, 23 Jan 2007) | 6 lines

Fix an issue related to synchronization of recordings when using Monitor().
The bug is a miscalculation of the amount to seek the stream for writing to
disk when the number of samples coming in and out of a channel do not match up.
(issue #8298, #8887, report and patch by guillecabeza, patch files created and
 testing done by whoiswes)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51850 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoClose file after we do the translation, and map memory for both reading/writing....
Joshua Colp [Wed, 24 Jan 2007 00:22:50 +0000 (00:22 +0000)]
Close file after we do the translation, and map memory for both reading/writing. (issue #8886 reported by cwegener)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51831 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51829 via svnmerge from
Russell Bryant [Wed, 24 Jan 2007 00:21:32 +0000 (00:21 +0000)]
Merged revisions 51829 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51829 | russell | 2007-01-23 18:19:55 -0600 (Tue, 23 Jan 2007) | 12 lines

Merged revisions 51828 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r51828 | russell | 2007-01-23 18:17:50 -0600 (Tue, 23 Jan 2007) | 4 lines

Don't set a new value for the END_ variable on the channel before using the
old value.  If you do, it will lead to accessing a memory address that has
been free()'d.  (issue #8895, arkadia)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51830 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51788 via svnmerge from
Joshua Colp [Tue, 23 Jan 2007 22:59:55 +0000 (22:59 +0000)]
Merged revisions 51788 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51788 | file | 2007-01-23 17:46:31 -0500 (Tue, 23 Jan 2007) | 2 lines

Update channel drivers to use module referencing so that unloading them while in use will not result in crashes. (issue #8897 reported by junky)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51801 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51781 via svnmerge from
Russell Bryant [Tue, 23 Jan 2007 22:09:23 +0000 (22:09 +0000)]
Merged revisions 51781 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51781 | russell | 2007-01-23 16:04:01 -0600 (Tue, 23 Jan 2007) | 6 lines

Fix some bugs in process_message().  The manager session lock needs to be held
when sending some sort of response, or calling one of the manager action
callbacks.  This resolves an issue where people using the GUI would get random
crashes when they start clicking around a lot.
(issue #8711, reported and debugged by zandbelt)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51787 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoBlocked revisions 51755 via svnmerge
Russell Bryant [Tue, 23 Jan 2007 21:54:35 +0000 (21:54 +0000)]
Blocked revisions 51755 via svnmerge

........
r51755 | russell | 2007-01-23 15:52:52 -0600 (Tue, 23 Jan 2007) | 2 lines

Fix setting the default port of 8088 on 64-bit or big-endian machines.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51760 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51750 via svnmerge from
Russell Bryant [Tue, 23 Jan 2007 21:38:31 +0000 (21:38 +0000)]
Merged revisions 51750 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51750 | russell | 2007-01-23 15:33:15 -0600 (Tue, 23 Jan 2007) | 4 lines

When traversing the list of manager actions, the iterator needs to be
initialized to the list head *after* locking the list.  Also, lock the actions
list in one place it is being accessed where it was not being done.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51751 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51716 via svnmerge from
Steve Murphy [Tue, 23 Jan 2007 20:36:08 +0000 (20:36 +0000)]
Merged revisions 51716 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51716 | murf | 2007-01-23 13:32:54 -0700 (Tue, 23 Jan 2007) | 1 line

this mod from 8593 (dstchannel in cdr is empty when transfer call).
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51717 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51683 via svnmerge from
Steve Murphy [Tue, 23 Jan 2007 19:11:53 +0000 (19:11 +0000)]
Merged revisions 51683 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51683 | murf | 2007-01-23 11:58:27 -0700 (Tue, 23 Jan 2007) | 1 line

via 8748 (callerid.c loses name when returning PRIVATE_NUMBER flag), the user suggested this mod, saying it would allow 'WITHHELD' to appear in the name field, which would be useful
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51684 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoIssue #8817 - Registry corruption when packet retransmits fail. (tootai, patchy by...
Olle Johansson [Tue, 23 Jan 2007 15:36:01 +0000 (15:36 +0000)]
Issue #8817 - Registry corruption when packet retransmits fail. (tootai, patchy by oej)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51659 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51615 via svnmerge from
Paul Cadach [Tue, 23 Jan 2007 06:56:26 +0000 (06:56 +0000)]
Merged revisions 51615 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51615 | pcadach | 2007-01-22 22:51:51 -0800 (Пнд, 22 Янв 2007) | 1 line

Do not abort Asterisk startup if h323 configuration file not found (reported by mithraen)
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51623 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMake 'H' command do as advertised and add 'E' and 'V' commands to ExternalIVR. (issue...
Joshua Colp [Tue, 23 Jan 2007 04:45:43 +0000 (04:45 +0000)]
Make 'H' command do as advertised and add 'E' and 'V' commands to ExternalIVR. (issue #8165 reported by mnicholson)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51592 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd SRV Lookup support on outbound calls to chan_iax2. It's listed in the RFC so...
Joshua Colp [Tue, 23 Jan 2007 03:15:04 +0000 (03:15 +0000)]
Add SRV Lookup support on outbound calls to chan_iax2. It's listed in the RFC so we might want to support it and please don't hurt me Marko ... (issue #7812 reported by drorlb)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51560 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51558 via svnmerge from
Joshua Colp [Tue, 23 Jan 2007 03:02:09 +0000 (03:02 +0000)]
Merged revisions 51558 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51558 | file | 2007-01-22 22:00:12 -0500 (Mon, 22 Jan 2007) | 2 lines

Only change audio formats on the channel if we have an audio format to change to. (issue #8535 reported by ivoc)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51559 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoNo more conflicts on properties! svnmerge-block be gone!
Joshua Colp [Tue, 23 Jan 2007 01:51:22 +0000 (01:51 +0000)]
No more conflicts on properties! svnmerge-block be gone!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51515 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51513 via svnmerge from
Joshua Colp [Tue, 23 Jan 2007 01:47:55 +0000 (01:47 +0000)]
Merged revisions 51513 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51513 | file | 2007-01-22 20:45:04 -0500 (Mon, 22 Jan 2007) | 10 lines

Merged revisions 51512 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r51512 | file | 2007-01-22 20:41:35 -0500 (Mon, 22 Jan 2007) | 2 lines

Yield before reading from zaptel timing source under Solaris so that other threads get a chance to do things. (issue #7875 reported by bob)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51514 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMight as well go crazy here too and make the autoservice list read/write.
Joshua Colp [Tue, 23 Jan 2007 00:16:55 +0000 (00:16 +0000)]
Might as well go crazy here too and make the autoservice list read/write.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51487 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoCosmetic changes. Make main source files better conform to coding guidelines and...
Joshua Colp [Tue, 23 Jan 2007 00:11:32 +0000 (00:11 +0000)]
Cosmetic changes. Make main source files better conform to coding guidelines and standards. (issue #8679 reported by johann8384)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51486 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoChange RTP protos list to be read/write. Most of the time it's only going to be read...
Joshua Colp [Mon, 22 Jan 2007 23:53:16 +0000 (23:53 +0000)]
Change RTP protos list to be read/write. Most of the time it's only going to be read so making it use mutex locks was a waste.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51467 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMake the RTP stack better conform to coding guidelines. (issue #8679 reported by...
Joshua Colp [Mon, 22 Jan 2007 23:51:42 +0000 (23:51 +0000)]
Make the RTP stack better conform to coding guidelines. (issue #8679 reported by johann8384)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51463 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51409 via svnmerge from
Steve Murphy [Mon, 22 Jan 2007 19:42:28 +0000 (19:42 +0000)]
Merged revisions 51409 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51409 | murf | 2007-01-22 12:28:51 -0700 (Mon, 22 Jan 2007) | 1 line

This fixes 8836, according to dnatural
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51413 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51407 via svnmerge from
Joshua Colp [Mon, 22 Jan 2007 19:22:07 +0000 (19:22 +0000)]
Merged revisions 51407 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51407 | file | 2007-01-22 14:13:44 -0500 (Mon, 22 Jan 2007) | 10 lines

Merged revisions 51406 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r51406 | file | 2007-01-22 14:08:52 -0500 (Mon, 22 Jan 2007) | 2 lines

Move filestream creation to Mixmonitor loop. This will prevent a blank file from being created if no frames ever pass through to be recorded. (issue #7589 reported by steve_mcneil)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51408 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoRemove (to quote Rizzo) "useless" variable.
Olle Johansson [Mon, 22 Jan 2007 19:00:25 +0000 (19:00 +0000)]
Remove (to quote Rizzo) "useless" variable.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51405 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoFix bug introduced during constification (reported by tzanger via IRC)
Tilghman Lesher [Sun, 21 Jan 2007 03:25:57 +0000 (03:25 +0000)]
Fix bug introduced during constification (reported by tzanger via IRC)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51353 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd a comment that the frame type constants are transmitted directly over IAX2.
Russell Bryant [Sat, 20 Jan 2007 18:27:35 +0000 (18:27 +0000)]
Add a comment that the frame type constants are transmitted directly over IAX2.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51352 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51350 via svnmerge from
Jason Parker [Sat, 20 Jan 2007 06:54:45 +0000 (06:54 +0000)]
Merged revisions 51350 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51350 | qwell | 2007-01-20 00:53:49 -0600 (Sat, 20 Jan 2007) | 5 lines

Fix Italian numeral support in say.conf for "_[2-9]00" case.

"2131" would've translated to something along the lines of (pardon my..Italian {or lack thereof})
  "duecentocentotrentuno", which makes no sense at all.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51351 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51348 via svnmerge from
Jason Parker [Sat, 20 Jan 2007 06:18:09 +0000 (06:18 +0000)]
Merged revisions 51348 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51348 | qwell | 2007-01-20 00:16:06 -0600 (Sat, 20 Jan 2007) | 8 lines

Fix German language support in say.conf

Properly support 21, 31, 41, 51, 61, 71, 81, and 91.
  einundzwanzig has the same format as zweiundzwanzig (as do all other "_ZX" spoken numerals)

Fix support for numbers in the 10,000,000 to 99,999,999 range.
Add support for numbers in the 100,000,000 to 999,999,999 range.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51349 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51343 via svnmerge from
Russell Bryant [Sat, 20 Jan 2007 00:13:52 +0000 (00:13 +0000)]
Merged revisions 51343 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51343 | russell | 2007-01-19 18:13:06 -0600 (Fri, 19 Jan 2007) | 2 lines

Remove an unused instance of an unnamed enum.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51344 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51341 via svnmerge from
Russell Bryant [Fri, 19 Jan 2007 22:34:13 +0000 (22:34 +0000)]
Merged revisions 51341 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51341 | russell | 2007-01-19 16:19:10 -0600 (Fri, 19 Jan 2007) | 2 lines

Remove another duplicated definition

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51342 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51339 via svnmerge from
Russell Bryant [Fri, 19 Jan 2007 21:21:03 +0000 (21:21 +0000)]
Merged revisions 51339 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51339 | russell | 2007-01-19 15:20:20 -0600 (Fri, 19 Jan 2007) | 2 lines

Remove a variable that was declared twice.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51340 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51331 via svnmerge from
Russell Bryant [Fri, 19 Jan 2007 19:31:54 +0000 (19:31 +0000)]
Merged revisions 51331 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51331 | russell | 2007-01-19 13:30:54 -0600 (Fri, 19 Jan 2007) | 3 lines

Add a couple more processors that need optimizations excluded.
(issue #8637)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51332 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51328 via svnmerge from
Russell Bryant [Fri, 19 Jan 2007 19:09:04 +0000 (19:09 +0000)]
Merged revisions 51328 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51328 | russell | 2007-01-19 13:08:25 -0600 (Fri, 19 Jan 2007) | 5 lines

Fix VLDTMF support in chan_gtalk.  AST_FRAME_DTMF and AST_FRAME_DTMF_END are
actually the same thing.  So, a digit would have been interpreted incorrectly
here.  Since the channel driver will always have the begin and end callbacks
called for a digit, only support the button-down and button-up messages.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51329 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51326 via svnmerge from
Russell Bryant [Fri, 19 Jan 2007 19:03:43 +0000 (19:03 +0000)]
Merged revisions 51326 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51326 | russell | 2007-01-19 13:02:55 -0600 (Fri, 19 Jan 2007) | 2 lines

Bump the cleancount since my last commit changed the channel structure.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51327 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51311 via svnmerge from
Russell Bryant [Fri, 19 Jan 2007 18:06:03 +0000 (18:06 +0000)]
Merged revisions 51311 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51311 | russell | 2007-01-19 11:49:38 -0600 (Fri, 19 Jan 2007) | 23 lines

Merge the changes from the /team/group/vldtmf_fixup branch.

The main bug being addressed here is a problem introduced when two SIP
channels using SIP INFO dtmf have their media directly bridged.  So, when a
DTMF END frame comes into Asterisk from an incoming INFO message, Asterisk
would try to emulate a digit of some length by first sending a DTMF BEGIN
frame and sending a DTMF END later timed off of incoming audio.  However,
since there was no audio coming in, the DTMF_END was never generated.  This
caused DTMF based features to no longer work.

To fix this, the core now knows when a channel doesn't care about DTMF BEGIN
frames (such as a SIP channel sending INFO dtmf).  If this is the case, then
Asterisk will not emulate a digit of some length, and will instead just pass
through the single DTMF END event.

Channel drivers also now get passed the length of the digit to their digit_end
callback.  This improves SIP INFO support even further by enabling us to put
the real digit duration in the INFO message instead of a hard coded 250ms.
Also, for an incoming INFO message, the duration is read from the frame and
passed into the core instead of just getting ignored.

(issue #8597, maybe others...)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51314 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAs the comment in the diff says:
Luigi Rizzo [Fri, 19 Jan 2007 18:00:00 +0000 (18:00 +0000)]
As the comment in the diff says:

AST_INLINE_API() is a macro that takes a block of code as an argument.
Using preprocessor #directives in the argument is not supported by all
compilers, and it is a bit of an obfuscation anyways, so avoid it.
As a workaround, define a macro that produces either its argument
or nothing, and use that instead of #ifdef/#endif within the
argument to AST_INLINE_API().

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51312 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoin the interest of portability, avoid using %zd when all
Luigi Rizzo [Fri, 19 Jan 2007 17:48:48 +0000 (17:48 +0000)]
in the interest of portability, avoid using %zd when all
we need is to print is an integer that fits in 16 bits.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51310 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agosizeof() is compatible with format %d so don't be too
Luigi Rizzo [Fri, 19 Jan 2007 17:45:46 +0000 (17:45 +0000)]
sizeof() is compatible with format %d so don't be too
picky on printf formats.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51309 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoremove variable declaration in the middle of a block
Luigi Rizzo [Fri, 19 Jan 2007 17:38:28 +0000 (17:38 +0000)]
remove variable declaration in the middle of a block

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51308 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoRegenerate configure script to reflect recent zaptel changes
Russell Bryant [Fri, 19 Jan 2007 17:19:59 +0000 (17:19 +0000)]
Regenerate configure script to reflect recent zaptel changes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51305 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoInclude tonezone.h for linux, too
Russell Bryant [Fri, 19 Jan 2007 17:19:45 +0000 (17:19 +0000)]
Include tonezone.h for linux, too

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51304 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51302 via svnmerge from
Russell Bryant [Fri, 19 Jan 2007 17:02:36 +0000 (17:02 +0000)]
Merged revisions 51302 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51302 | russell | 2007-01-19 10:56:17 -0600 (Fri, 19 Jan 2007) | 12 lines

Merged revisions 51300 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r51300 | russell | 2007-01-19 10:44:09 -0600 (Fri, 19 Jan 2007) | 4 lines

Fix a memory leak on command line tab completion.  The container for the
matches was freed, but the individual matches themselves were not.
(issue #8851, arkadia)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51303 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoforgot to add AST_LIBS += $(BKTR_LIB)
Luigi Rizzo [Fri, 19 Jan 2007 16:51:31 +0000 (16:51 +0000)]
forgot to add AST_LIBS += $(BKTR_LIB)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51301 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoinclude "asterisk/zapata.h" to get the zaptel headers.
Luigi Rizzo [Fri, 19 Jan 2007 16:40:25 +0000 (16:40 +0000)]
include "asterisk/zapata.h" to get the zaptel headers.

this should be the last one left around...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51299 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agowhoops, fix a cut&paste error...
Luigi Rizzo [Fri, 19 Jan 2007 16:35:37 +0000 (16:35 +0000)]
whoops, fix a cut&paste error...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51298 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoslight change to the initialization of a structure,
Luigi Rizzo [Fri, 19 Jan 2007 16:32:05 +0000 (16:32 +0000)]
slight change to the initialization of a structure,
also using '\0' to make it clear we need a (char)0

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51297 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoBreak out of the config processing loop for manager.conf once the correct user
Russell Bryant [Fri, 19 Jan 2007 16:30:00 +0000 (16:30 +0000)]
Break out of the config processing loop for manager.conf once the correct user
has been found so that 'cat' is non-NULL.  This way, users.conf is only checked
when necessary.  (issue #8852, akohlsmith, committed patch a bit different)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51296 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoinclude "asterisk/zapata.h" to get the zaptel headers.
Luigi Rizzo [Fri, 19 Jan 2007 16:28:24 +0000 (16:28 +0000)]
include "asterisk/zapata.h" to get the zaptel headers.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51295 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoinclude "asterisk/zapata.h" to get the zaptel headers
Luigi Rizzo [Fri, 19 Jan 2007 16:24:11 +0000 (16:24 +0000)]
include "asterisk/zapata.h" to get the zaptel headers

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51294 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoinclude "asterisk/zapata.h" instead of testing for
Luigi Rizzo [Fri, 19 Jan 2007 16:21:24 +0000 (16:21 +0000)]
include "asterisk/zapata.h" instead of testing for
the location of the header files.

On passing, add a cast to insure -Werror clean compilation
on FreeBSD 6.x, where time_t does not match %ld

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51293 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoinclude "asterisk/zapata.h" instead of looking
Luigi Rizzo [Fri, 19 Jan 2007 16:16:19 +0000 (16:16 +0000)]
include "asterisk/zapata.h" instead of looking
directly for the zaptel.h and tonezone.h

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51292 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoanother freebsd-specific check for zaptel compatibility
Luigi Rizzo [Fri, 19 Jan 2007 15:59:05 +0000 (15:59 +0000)]
another freebsd-specific check for zaptel compatibility

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51291 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd a stub file to find the zaptel headers in the right
Luigi Rizzo [Fri, 19 Jan 2007 15:48:13 +0000 (15:48 +0000)]
Add a stub file to find the zaptel headers in the right
place, rather than repeating the check on every single file.

Changes to the individual files are coming.

The header file name has been suggested by kevin.

Approved by: kpfleming

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51290 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoforgot to add BKTR_INCLUDE and BKTR_LIB in makeopts.in
Luigi Rizzo [Fri, 19 Jan 2007 15:32:17 +0000 (15:32 +0000)]
forgot to add BKTR_INCLUDE and BKTR_LIB in makeopts.in

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51289 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoadd comments that AC_USE_SYSTEM_EXTENSIONS and AST_PROG_LD
Luigi Rizzo [Fri, 19 Jan 2007 09:44:55 +0000 (09:44 +0000)]
add comments that AC_USE_SYSTEM_EXTENSIONS and AST_PROG_LD
do not work on FreeBSD - presumably they depend on some
auto* feature that is not installed by default.

I am not sure on what is a proper fix. In my local copy
i simply comment them out.

The AST_PROG_LD is a long standing isse, there were attempts
to fix it in the past but probably not enough has been copied
to acinclude.m4, and i had forgotten about it because i
commented out this call in configure.ac long ago

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51288 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd check for backtrace support on platforms that do not have
Luigi Rizzo [Fri, 19 Jan 2007 09:39:02 +0000 (09:39 +0000)]
Add check for backtrace support on platforms that do not have
it natively.

Part of it leaked in in a previous commit.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51287 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoremove a useless (and harmful on some platforms) -lnsl
Luigi Rizzo [Fri, 19 Jan 2007 09:36:27 +0000 (09:36 +0000)]
remove a useless (and harmful on some platforms) -lnsl
from IKSEMEL_LIB.

Actually i am not even sure whether
-lgcrypt -lgpg-error are needed.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51286 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agosimplify checking for zaptel version and location
Luigi Rizzo [Fri, 19 Jan 2007 09:32:13 +0000 (09:32 +0000)]
simplify checking for zaptel version and location
(for linux, this is functionally equivalent to the previous
method; for FreeBSD, it re-adds inspection in $PREFIX/zaptel.h).

Please wait to regenerate the "configure" file as i have
another few pending changes to configure.ac

Not applicable to 1.4 until acinclude.m4 is also updated.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51285 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51274 via svnmerge from
Dwayne M. Hubbard [Fri, 19 Jan 2007 00:28:25 +0000 (00:28 +0000)]
Merged revisions 51274 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51274 | dhubbard | 2007-01-18 18:17:32 -0600 (Thu, 18 Jan 2007) | 3 lines

chan_zap compiles without libpri after committing 7877 patch

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51275 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51272 via svnmerge from
Dwayne M. Hubbard [Fri, 19 Jan 2007 00:06:35 +0000 (00:06 +0000)]
Merged revisions 51272 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51272 | dhubbard | 2007-01-18 17:56:49 -0600 (Thu, 18 Jan 2007) | 11 lines

Merged revisions 51271 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r51271 | dhubbard | 2007-01-18 17:47:10 -0600 (Thu, 18 Jan 2007) | 3 lines

issue 7877: chan_zap module reload does not use default/initialized values on subsequent loads.  Reset configuration variables to default values prior to parsing configuration file.

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51273 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51265 via svnmerge from
Jason Parker [Thu, 18 Jan 2007 22:56:35 +0000 (22:56 +0000)]
Merged revisions 51265 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51265 | qwell | 2007-01-18 16:50:23 -0600 (Thu, 18 Jan 2007) | 4 lines

Add some more checks for option_debug before ast_log(LOG_DEBUG, ...) calls.

Issue 8832, patch(es) by tgrman

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51266 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51262 via svnmerge from
Russell Bryant [Thu, 18 Jan 2007 21:57:55 +0000 (21:57 +0000)]
Merged revisions 51262 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51262 | russell | 2007-01-18 15:54:23 -0600 (Thu, 18 Jan 2007) | 5 lines

Ensure that the locations given to the Asterisk configure script for ncurses,
curses, termcap, or tinfo are further passed along to the editline configure
script.  This fixes some cross-compilation environments.
(issue #8637, reported by ovi, patch by me)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51263 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51256 via svnmerge from
Tilghman Lesher [Thu, 18 Jan 2007 21:15:59 +0000 (21:15 +0000)]
Merged revisions 51256 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51256 | tilghman | 2007-01-18 15:14:24 -0600 (Thu, 18 Jan 2007) | 10 lines

Merged revisions 51255 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r51255 | tilghman | 2007-01-18 15:11:34 -0600 (Thu, 18 Jan 2007) | 2 lines

If a timezone is not specified, assume localtime (instead of gmtime) (Issue #7748)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51257 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 51251 via svnmerge from
Joshua Colp [Thu, 18 Jan 2007 19:19:24 +0000 (19:19 +0000)]
Merged revisions 51251 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51251 | file | 2007-01-18 14:17:34 -0500 (Thu, 18 Jan 2007) | 2 lines

Only start timeout once we reach the end of the files to play back.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51252 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoFix filename completion for "module load" and "load" CLI commands.
Jason Parker [Thu, 18 Jan 2007 19:03:25 +0000 (19:03 +0000)]
Fix filename completion for "module load" and "load" CLI commands.

Issue 8846

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51249 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoFix trunk version of manager support for users.conf. Now it actually pays
Russell Bryant [Thu, 18 Jan 2007 18:54:51 +0000 (18:54 +0000)]
Fix trunk version of manager support for users.conf.  Now it actually pays
attention to the "hasmanager" option.

(Thanks to Anthony L. for pointing out that this was broken!)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51247 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoBlocked revisions 51245 via svnmerge
Jason Parker [Thu, 18 Jan 2007 18:50:43 +0000 (18:50 +0000)]
Blocked revisions 51245 via svnmerge

........
r51245 | qwell | 2007-01-18 12:42:00 -0600 (Thu, 18 Jan 2007) | 4 lines

Fix an issue with file name completion in "module load" and "load".

Issue 8846

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51246 65c4cc65-6c06-0410-ace0-fbb531ad65f3