asterisk/asterisk.git
12 years agoDoxygenify a lot of the functions in res_jabber
Russell Bryant [Thu, 7 Jun 2007 21:22:25 +0000 (21:22 +0000)]
Doxygenify a lot of the functions in res_jabber
(issue #9886, snuffy)

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

12 years agoMerged revisions 68280 via svnmerge from
Russell Bryant [Thu, 7 Jun 2007 21:17:52 +0000 (21:17 +0000)]
Merged revisions 68280 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68280 | russell | 2007-06-07 16:16:07 -0500 (Thu, 07 Jun 2007) | 4 lines

Fix loading persistent queue members when using realtime configuration for queues.
Also, remove an unneeded leading slash for the astdb family.
(issue #9911, patch by atis)

........

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

12 years agoMerged revisions 68249 via svnmerge from
Jason Parker [Thu, 7 Jun 2007 20:25:56 +0000 (20:25 +0000)]
Merged revisions 68249 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68249 | qwell | 2007-06-07 15:25:18 -0500 (Thu, 07 Jun 2007) | 4 lines

Fix an issue with newer phones which require packets be padded out to the correct length.

Issue 9887, patch by DEA.

........

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

12 years agoMerged revisions 68211 via svnmerge from
Jason Parker [Thu, 7 Jun 2007 20:10:47 +0000 (20:10 +0000)]
Merged revisions 68211 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r68211 | qwell | 2007-06-07 15:06:00 -0500 (Thu, 07 Jun 2007) | 12 lines

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

........
r68204 | qwell | 2007-06-07 15:02:50 -0500 (Thu, 07 Jun 2007) | 4 lines

Don't try to save voicemail greetings unless the user presses '1' to accept/save.

Issue 9904, patch by me.

........

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

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

12 years agoAdding Philippe to CREDITS for hard work on detecting bugs in our jabber/jingle integ...
Olle Johansson [Thu, 7 Jun 2007 19:51:25 +0000 (19:51 +0000)]
Adding Philippe to CREDITS for hard work on detecting bugs in our jabber/jingle integration

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

12 years agoMerged revisions 68198 via svnmerge from
Mark Michelson [Thu, 7 Jun 2007 19:50:29 +0000 (19:50 +0000)]
Merged revisions 68198 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68198 | mmichelson | 2007-06-07 14:47:42 -0500 (Thu, 07 Jun 2007) | 5 lines

Submitting a fix for Issue 8016. Added a check to make sure that greetings get stored properly.
(Issue 8016, reported by edhorton, patched by alamantia with modification by me. Thanks to Jason Parker
for the advice on this).

........

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

12 years agoMerged revisions 68196 via svnmerge from
Olle Johansson [Thu, 7 Jun 2007 19:49:15 +0000 (19:49 +0000)]
Merged revisions 68196 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68196 | oej | 2007-06-07 21:46:10 +0200 (Thu, 07 Jun 2007) | 2 lines

Disable chan_features by default in menuselect

........

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

12 years ago- Doxygen updates
Olle Johansson [Thu, 7 Jun 2007 19:45:32 +0000 (19:45 +0000)]
- Doxygen updates
- Adding docs on flags to be able to clean up a bit

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

12 years agoMerged revisions 68192 via svnmerge from
Russell Bryant [Thu, 7 Jun 2007 19:31:05 +0000 (19:31 +0000)]
Merged revisions 68192 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68192 | russell | 2007-06-07 14:30:30 -0500 (Thu, 07 Jun 2007) | 3 lines

Include stdarg.h for build issues on Solaris
(issue #9381)

........

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

12 years agoMerged revisions 68157 via svnmerge from
Joshua Colp [Thu, 7 Jun 2007 18:41:17 +0000 (18:41 +0000)]
Merged revisions 68157 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68157 | file | 2007-06-07 14:39:52 -0400 (Thu, 07 Jun 2007) | 2 lines

Fix logic when doing a name based channel search for a structure when you want to start from a specific point in the channel list. (issue #9324 reported by slavon)

........

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

12 years agoAEL in trunk now uses GOSUB so we have to update the queues with callback members...
Joshua Colp [Thu, 7 Jun 2007 17:52:41 +0000 (17:52 +0000)]
AEL in trunk now uses GOSUB so we have to update the queues with callback members example. (issue #9813 reported by Mike Anikienko)

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

12 years agoMinor formatting change ... testing mantis stuff to see if we're done
Russell Bryant [Thu, 7 Jun 2007 15:48:14 +0000 (15:48 +0000)]
Minor formatting change ... testing mantis stuff to see if we're done
(issue #9790)
(closes issue #9816)

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

12 years agoMerged revisions 68071 via svnmerge from
Joshua Colp [Thu, 7 Jun 2007 14:23:21 +0000 (14:23 +0000)]
Merged revisions 68071 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r68071 | file | 2007-06-07 10:21:59 -0400 (Thu, 07 Jun 2007) | 10 lines

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

........
r68070 | file | 2007-06-07 10:19:40 -0400 (Thu, 07 Jun 2007) | 2 lines

Allow the 'g' option to work if used with the 'S' option. (issue #9888 reported by gasparz)

........

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

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

12 years agoMerged revisions 68030 via svnmerge from
Olle Johansson [Thu, 7 Jun 2007 10:06:32 +0000 (10:06 +0000)]
Merged revisions 68030 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68030 | oej | 2007-06-07 12:00:17 +0200 (Thu, 07 Jun 2007) | 2 lines

Adding a few Todo's to res_jabber so we don't forget.

........

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

12 years agoMerged revisions 68028 via svnmerge from
Olle Johansson [Thu, 7 Jun 2007 10:00:37 +0000 (10:00 +0000)]
Merged revisions 68028 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68028 | oej | 2007-06-07 11:55:13 +0200 (Thu, 07 Jun 2007) | 4 lines

Ok, we found out that this is not about if you have any *active* clients using TLS, but
if you have initialized TLS at all during the lifetime of the module. So if you reload
to disable TLS, it won't help.

........

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

12 years agoMerged revisions 68027 via svnmerge from
Olle Johansson [Thu, 7 Jun 2007 09:57:52 +0000 (09:57 +0000)]
Merged revisions 68027 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68027 | oej | 2007-06-07 11:42:26 +0200 (Thu, 07 Jun 2007) | 8 lines

If you have a jabber client that uses TLS, refuse unload. Bad fix, but will prevent
crashes while we are trying to find a workaround.

Iksemel development seems to have stalled and we might have to stop using the
TCP/TLS connections in that library and use our own, which would scale better
from a poll/select perspective I guess. It would also make it easier to migrate
to OpenSSL and stop Asterisk from depending on both OpenSSL and GnuTLS.

........

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

12 years agoMerged revisions 67993 via svnmerge from
Olle Johansson [Thu, 7 Jun 2007 09:21:29 +0000 (09:21 +0000)]
Merged revisions 67993 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67993 | oej | 2007-06-07 11:00:44 +0200 (Thu, 07 Jun 2007) | 6 lines

Issue #9738 - Make sure we can unload res_jabber. Patch by phsultan - thanks!

Due to a bug in the iksemel library, this will not work if you are using GTLS
in the connection. That's being investigated. If you figure out a way to handle
that without us having to patch iksemel, let us know in the bug report. Thanks.

........

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

12 years agoSimplification of res_jabber code (done at Inria, Paris with Philippe)
Olle Johansson [Thu, 7 Jun 2007 08:45:19 +0000 (08:45 +0000)]
Simplification of res_jabber code (done at Inria, Paris with Philippe)

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

12 years agoReverting part of #67864 to be able to compile agi/eagi-test that relies on this...
Olle Johansson [Thu, 7 Jun 2007 08:43:59 +0000 (08:43 +0000)]
Reverting part of #67864 to be able to compile agi/eagi-test that relies on this without having
ast_log and other asterisk api functions available - I could not compile on OS/X without reverting
this.

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

12 years agoMerged revisions 67941 via svnmerge from
Joshua Colp [Thu, 7 Jun 2007 00:12:21 +0000 (00:12 +0000)]
Merged revisions 67941 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67941 | file | 2007-06-06 20:10:48 -0400 (Wed, 06 Jun 2007) | 10 lines

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

........
r67938 | file | 2007-06-06 20:09:13 -0400 (Wed, 06 Jun 2007) | 2 lines

Only notify the devicestate system of a peer state change when the peer is built from the config file. (issue #9900 reported by arkadia)

........

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

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

12 years agoMerged revisions 67924 via svnmerge from
Joshua Colp [Wed, 6 Jun 2007 23:41:37 +0000 (23:41 +0000)]
Merged revisions 67924 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67924 | file | 2007-06-06 19:38:15 -0400 (Wed, 06 Jun 2007) | 2 lines

Properly handle cases where a stream can't be written to. (issue #9757 reported by junky)

........

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

12 years agoAllow overlapdialing directions to be configurable. Bug #8554
Matthew Fredrickson [Wed, 6 Jun 2007 23:12:58 +0000 (23:12 +0000)]
Allow overlapdialing directions to be configurable.  Bug #8554

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

12 years agoadded CLI 'iax2 unregister <peername>' for issue 9812, thanks eliel
Dwayne M. Hubbard [Wed, 6 Jun 2007 22:35:35 +0000 (22:35 +0000)]
added CLI 'iax2 unregister <peername>' for issue 9812, thanks eliel

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

12 years agoRemove our little joke that was making fun of email disclaimers which nobody
Russell Bryant [Wed, 6 Jun 2007 22:27:18 +0000 (22:27 +0000)]
Remove our little joke that was making fun of email disclaimers which nobody
else seemed to think was very funny.  Oh well ... :)

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

12 years agoMerged revisions 67872 via svnmerge from
Russell Bryant [Wed, 6 Jun 2007 22:09:58 +0000 (22:09 +0000)]
Merged revisions 67872 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67872 | russell | 2007-06-06 17:08:02 -0500 (Wed, 06 Jun 2007) | 6 lines

Disable reload functionality in res_snmp.  It is not possible to initialize the
snmp library more than once without completely unloading the module and loading
it again.
(issue #9571, reported by hristo, additional helpful debug information from festr,
 patch from me)

........

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

12 years agoIssue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines...
Tilghman Lesher [Wed, 6 Jun 2007 21:20:11 +0000 (21:20 +0000)]
Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes

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

12 years agoMerged revisions 67862 via svnmerge from
Russell Bryant [Wed, 6 Jun 2007 21:16:18 +0000 (21:16 +0000)]
Merged revisions 67862 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67862 | russell | 2007-06-06 16:14:46 -0500 (Wed, 06 Jun 2007) | 4 lines

Fix a crash when doing call pickups with SIP phones.  The code unlocked the
channel when it should not have.
(issue #9652, reported by corruptor, fixed by me)

........

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

12 years agoConstify the return values of ast_parking_ext() and ast_pickup_ext()
Russell Bryant [Wed, 6 Jun 2007 21:08:07 +0000 (21:08 +0000)]
Constify the return values of ast_parking_ext() and ast_pickup_ext()

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

12 years agoMinor formatting change to test closing mantis issues through commit tags
Russell Bryant [Wed, 6 Jun 2007 20:35:05 +0000 (20:35 +0000)]
Minor formatting change to test closing mantis issues through commit tags
(closes issue #9828)

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

12 years agoMinor formatting change to test closing mantis issues through commit tags
Russell Bryant [Wed, 6 Jun 2007 20:21:31 +0000 (20:21 +0000)]
Minor formatting change to test closing mantis issues through commit tags
(closes issue #9828)

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

12 years agoPlease forgive this flood of tiny changes ... this will be cool when it works
Russell Bryant [Wed, 6 Jun 2007 20:03:45 +0000 (20:03 +0000)]
Please forgive this flood of tiny changes ... this will be cool when it works
how we want it to  :)   (testing mantis+svn)
(issue #9828)

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

12 years agoMerged revisions 67804 via svnmerge from
Mark Michelson [Wed, 6 Jun 2007 19:46:41 +0000 (19:46 +0000)]
Merged revisions 67804 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67804 | mmichelson | 2007-06-06 14:26:55 -0500 (Wed, 06 Jun 2007) | 10 lines

Fix for Issue 9810. There was a segfault under a specific set of circumstances:

1. VoiceMailMain was configured in the dialplan with an extension as its argument
2. A message was left for this mailbox
3. Tried to call VoiceMailMain but hung up before entering password.

This was fixed by checking that a pointer was non-null prior to trying to dereference it.
(Issue 9810, reported by xmarksthespot, patched by Corydon76 with modifications by me).

........

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

12 years agominor formatting change ... testing mantis/svn
Russell Bryant [Wed, 6 Jun 2007 19:44:57 +0000 (19:44 +0000)]
minor formatting change ... testing mantis/svn
(issue #9828)

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

12 years agoDon't try to check the result of alloca ...
Russell Bryant [Wed, 6 Jun 2007 19:40:04 +0000 (19:40 +0000)]
Don't try to check the result of alloca ...
... testing mantis/svn stuff ...
(issue #9828)

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

12 years agoYet another minor change to test mantis/svn
Russell Bryant [Wed, 6 Jun 2007 19:35:49 +0000 (19:35 +0000)]
Yet another minor change to test mantis/svn
(issue #9828)

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

12 years agominor formatting change ... testing mantis/svn
Russell Bryant [Wed, 6 Jun 2007 19:21:13 +0000 (19:21 +0000)]
minor formatting change ... testing mantis/svn
(issue #9828)

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

12 years agominor formatting change ... testing mantis/svn
Russell Bryant [Wed, 6 Jun 2007 19:10:03 +0000 (19:10 +0000)]
minor formatting change ... testing mantis/svn
(issue #9828)

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

12 years agoFormatting change ... testing
Russell Bryant [Wed, 6 Jun 2007 19:03:14 +0000 (19:03 +0000)]
Formatting change ... testing
(issue #9828)

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

12 years agoFixing a crash wherein Asterisk would segfault when attempting to leave a voicemail...
Mark Michelson [Wed, 6 Jun 2007 19:02:33 +0000 (19:02 +0000)]
Fixing a crash wherein Asterisk would segfault when attempting to leave a voicemail when IMAP storage
was enabled. Though no bug was reported to the bugtracker, there was mention of this made as a note on
bug 9810 by edhorton.

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

12 years agoMake another formatting change ... testing mantis/svn stuff
Russell Bryant [Wed, 6 Jun 2007 19:00:40 +0000 (19:00 +0000)]
Make another formatting change ... testing mantis/svn stuff
(issue #9828)

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

12 years agoAnother minor formatting change ... testing mantis/svn
Russell Bryant [Wed, 6 Jun 2007 18:55:45 +0000 (18:55 +0000)]
Another minor formatting change ... testing mantis/svn
(issue #9828)

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

12 years agoMinor formatting change ... testing mantis/svn
Russell Bryant [Wed, 6 Jun 2007 18:51:42 +0000 (18:51 +0000)]
Minor formatting change ... testing mantis/svn
(issue #9828)

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

12 years agoMake another small tweak ... mantis/svn testing
Russell Bryant [Wed, 6 Jun 2007 18:47:58 +0000 (18:47 +0000)]
Make another small tweak ... mantis/svn testing
(issue #9828)

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

12 years agoAnother tiny formatting change for testing ...
Russell Bryant [Wed, 6 Jun 2007 18:43:12 +0000 (18:43 +0000)]
Another tiny formatting change for testing ...
(issue #9828)

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

12 years agoMore random formatting changes to test Mantis/SVN integration
Russell Bryant [Wed, 6 Jun 2007 17:10:52 +0000 (17:10 +0000)]
More random formatting changes to test Mantis/SVN integration
(issue #9828)

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

12 years agoMake a completely arbitrary formatting change to test out some Mantis/SVN
Russell Bryant [Wed, 6 Jun 2007 17:08:00 +0000 (17:08 +0000)]
Make a completely arbitrary formatting change to test out some Mantis/SVN
integration stuff.  (issue #9828)

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

12 years agoMerged revisions 67716 via svnmerge from
Russell Bryant [Wed, 6 Jun 2007 16:58:28 +0000 (16:58 +0000)]
Merged revisions 67716 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67716 | russell | 2007-06-06 11:55:59 -0500 (Wed, 06 Jun 2007) | 13 lines

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

........
r67715 | russell | 2007-06-06 11:40:51 -0500 (Wed, 06 Jun 2007) | 5 lines

We have some bug reports showing crashes due to a double free of a channel.
Add a sanity check to ast_channel_free() to make sure we don't go on trying
to free a channel that wasn't found in the channel list.
(issue #8850, and others...)

........

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

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

12 years agoChange "show parkedcalls" to "parkedcalls show" and mark the previous command
Russell Bryant [Wed, 6 Jun 2007 14:45:29 +0000 (14:45 +0000)]
Change "show parkedcalls" to "parkedcalls show" and mark the previous command
as deprecated.  Also, convert the CLI command to the new style.
(issue #9861, patch from eliel)

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

12 years agoMerged revisions 67650 via svnmerge from
Joshua Colp [Wed, 6 Jun 2007 13:32:11 +0000 (13:32 +0000)]
Merged revisions 67650 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67650 | file | 2007-06-06 09:30:25 -0400 (Wed, 06 Jun 2007) | 10 lines

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

........
r67649 | file | 2007-06-06 09:28:34 -0400 (Wed, 06 Jun 2007) | 2 lines

Reinvite the RTP back to the Asterisk machine when the timeout happens. (issue #9888 reported by gasparz)

........

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

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

12 years agoMerged revisions 67631 via svnmerge from
Joshua Colp [Wed, 6 Jun 2007 13:20:38 +0000 (13:20 +0000)]
Merged revisions 67631 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67631 | file | 2007-06-06 09:18:39 -0400 (Wed, 06 Jun 2007) | 2 lines

Fix plc_samples warning when registering a translator. (issue #9897 reported by xylome)

........

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

12 years agoMerged revisions 67626 via svnmerge from
Joshua Colp [Wed, 6 Jun 2007 13:17:26 +0000 (13:17 +0000)]
Merged revisions 67626 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67626 | file | 2007-06-06 09:16:34 -0400 (Wed, 06 Jun 2007) | 2 lines

Include macroexten while searching for a channel to pick up in case they are in a macro. (issue #9491 reported by jamesb63)

........

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

12 years agoMerged revisions 67597 via svnmerge from
Joshua Colp [Wed, 6 Jun 2007 12:36:15 +0000 (12:36 +0000)]
Merged revisions 67597 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67597 | file | 2007-06-06 08:34:06 -0400 (Wed, 06 Jun 2007) | 2 lines

Make the new "agi debug off" CLI command work. (issue #9890 reported by eliel)

........

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

12 years agoWhen SS7 is enabled add w/SS7 to the end. (issue #9893 reported by Mike Anikienko)
Joshua Colp [Wed, 6 Jun 2007 12:23:59 +0000 (12:23 +0000)]
When SS7 is enabled add w/SS7 to the end. (issue #9893 reported by Mike Anikienko)

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

12 years agoMerged revisions 67594 via svnmerge from
Joshua Colp [Wed, 6 Jun 2007 12:21:33 +0000 (12:21 +0000)]
Merged revisions 67594 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67594 | file | 2007-06-06 08:20:27 -0400 (Wed, 06 Jun 2007) | 10 lines

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

........
r67593 | file | 2007-06-06 08:18:36 -0400 (Wed, 06 Jun 2007) | 2 lines

Revert channel name splitting fix for Zap. The moral of the story is don't use - in your user/peer names. (issue #9668 reported by stevedavies)

........

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

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

12 years agoMerged revisions 67558 via svnmerge from
Russell Bryant [Tue, 5 Jun 2007 23:02:11 +0000 (23:02 +0000)]
Merged revisions 67558 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67558 | russell | 2007-06-05 18:01:44 -0500 (Tue, 05 Jun 2007) | 5 lines

Fix some crashes related to the use of the "meetme" CLI command.  The code for
this command was not locking the conference list at all.
(issue #9351, reported by and patch submitted by Junk-Y, committed patch
 is different and by me)

........

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

12 years agoFound a bug where when "core set debug #" is used, the verbosity is read as the
Mark Michelson [Tue, 5 Jun 2007 22:59:36 +0000 (22:59 +0000)]
Found a bug where when "core set debug #" is used, the verbosity is read as the
old value instead of the old debug value, leading to an erroneous status message
after setting. This was purely a cosmetic issue and had no other underlying problems.

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

12 years agoMerged revisions 67526 via svnmerge from
Steve Murphy [Tue, 5 Jun 2007 22:04:22 +0000 (22:04 +0000)]
Merged revisions 67526 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67526 | murf | 2007-06-05 15:30:18 -0600 (Tue, 05 Jun 2007) | 1 line

this fixes bug 9883, wherein macros were not allowing the includes construct. fixed and tested, looks OK. Now includes can serve as an adjunct to catch.
........

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

12 years agoMerged revisions 67492 via svnmerge from
Russell Bryant [Tue, 5 Jun 2007 20:55:59 +0000 (20:55 +0000)]
Merged revisions 67492 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67492 | russell | 2007-06-05 15:53:28 -0500 (Tue, 05 Jun 2007) | 16 lines

This bug has been hanging over my head ever since I wrote this SLA code.
Every time I tried to go debug it by adding some debug output, the behavior
would change.  It turns out I wasn't crazy.  I had the following piece of code:

   if (remove)
      AST_LIST_REMOVE_CURRENT(...);

Well, AST_LIST_REMOVE_CURRENT was not wrapped in braces, so my conditional
statement didn't do much good at all.  It always ran at least all of the
macro minus the first statement, so I was seeing list entries magically
disappear when they weren't supposed to.

After many hours of debugging, I have come to this extremely irritating fix. :)

(issues #9581, #9497)

........

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

12 years agoMerged revisions 67424 via svnmerge from
Mark Michelson [Tue, 5 Jun 2007 20:16:19 +0000 (20:16 +0000)]
Merged revisions 67424 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67424 | mmichelson | 2007-06-05 13:32:50 -0500 (Tue, 05 Jun 2007) | 5 lines

Fix for bug number 9786, wherein voicemails saved to IMAP storage using extensions other than gsm were
unable to be played over the phone. (Issue 9786, reporter: xmarksthespot, Patched by xmarksthe spot with revisions by me,
reviewed by Russell Bryant).

........

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

12 years agoMerged revisions 67457 via svnmerge from
Russell Bryant [Tue, 5 Jun 2007 19:50:04 +0000 (19:50 +0000)]
Merged revisions 67457 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67457 | russell | 2007-06-05 14:48:02 -0500 (Tue, 05 Jun 2007) | 2 lines

Suppress a bunch of debug output unless option_debug is on

........

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

12 years agoMerged revisions 67420 via svnmerge from
Steve Murphy [Tue, 5 Jun 2007 18:23:53 +0000 (18:23 +0000)]
Merged revisions 67420 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67420 | murf | 2007-06-05 12:17:28 -0600 (Tue, 05 Jun 2007) | 1 line

Added code to automatically add a default case to switches that don't have one. In some cases, rather than fall thru, it results in a goto with -1 result, which terminates the extension; a sort of dialplan seqfault, sort of. This was required to fix bug reported in 9881
........

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

12 years agoMerged revisions 67421 via svnmerge from
Jason Parker [Tue, 5 Jun 2007 18:19:53 +0000 (18:19 +0000)]
Merged revisions 67421 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67421 | qwell | 2007-06-05 13:18:24 -0500 (Tue, 05 Jun 2007) | 4 lines

Correctly update date/time on devices throughout the life of the device, instead of just at registration.

Issue 9152, yet another patch by DEA.

........

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

12 years agoMake sure we default allowmultiplelogin to on/yes, per the default stated in the...
Jason Parker [Tue, 5 Jun 2007 17:47:37 +0000 (17:47 +0000)]
Make sure we default allowmultiplelogin to on/yes, per the default stated in the config.

Issue 9885, patch by eliel.

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

12 years agochanged #if DEBUG to #ifdef DEBUG to fix make failure when configured with --enable...
Dwayne M. Hubbard [Tue, 5 Jun 2007 17:24:46 +0000 (17:24 +0000)]
changed #if DEBUG to #ifdef DEBUG to fix make failure when configured with --enable-dev-mode

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

12 years agoImprove the way that the zaptel channel name is created by using the Asterisk
Russell Bryant [Tue, 5 Jun 2007 17:11:32 +0000 (17:11 +0000)]
Improve the way that the zaptel channel name is created by using the Asterisk
strings API and by only allocating space on the stack

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

12 years agoBlocked revisions 67372 via svnmerge
Russell Bryant [Tue, 5 Jun 2007 17:08:22 +0000 (17:08 +0000)]
Blocked revisions 67372 via svnmerge

........
r67372 | russell | 2007-06-05 12:07:30 -0500 (Tue, 05 Jun 2007) | 2 lines

Handle a failure in malloc() in ast_safe_string_alloc()

........

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

12 years agoMerged revisions 67360 via svnmerge from
Russell Bryant [Tue, 5 Jun 2007 16:58:09 +0000 (16:58 +0000)]
Merged revisions 67360 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67360 | russell | 2007-06-05 11:56:36 -0500 (Tue, 05 Jun 2007) | 5 lines

Fix a problem that showed itself by causing Zap channel names to be completely
bogus on my machine.  ast_safe_string_alloc() was broken.  It called
vsnprintf() on a va_args list twice without re-initializing it.  After the first
usage, va_end() and va_start() must be called again.

........

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

12 years agoMerged revisions 67334 via svnmerge from
Christian Richter [Tue, 5 Jun 2007 16:21:15 +0000 (16:21 +0000)]
Merged revisions 67334 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67334 | crichter | 2007-06-05 18:14:07 +0200 (Di, 05 Jun 2007) | 9 lines

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

........
r67307 | crichter | 2007-06-05 17:42:03 +0200 (Di, 05 Jun 2007) | 1 line

briding is a bool, fixed copy and paste issue.
........

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

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

12 years agoMerged revisions 67329 via svnmerge from
Christian Richter [Tue, 5 Jun 2007 16:19:20 +0000 (16:19 +0000)]
Merged revisions 67329 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67329 | crichter | 2007-06-05 18:11:57 +0200 (Di, 05 Jun 2007) | 9 lines

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

........
r67306 | crichter | 2007-06-05 17:39:43 +0200 (Di, 05 Jun 2007) | 1 line

simplified the EVENT_SETUP handling in the cb_events function a lot. Commented the different possibilities a bit and made functions of shared code. When the dialed extension does not exist in the extensions.conf we'll jump into the 'i' extension if this does exist, else we disconnect the call with the cause:1 = No Route to Destination.
........

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

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

12 years agoMerged revisions 67308 via svnmerge from
Russell Bryant [Tue, 5 Jun 2007 15:54:36 +0000 (15:54 +0000)]
Merged revisions 67308 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67308 | russell | 2007-06-05 10:51:53 -0500 (Tue, 05 Jun 2007) | 5 lines

When shutting down "gracefully", go through and run the unload() callbacks for
all of the modules.  "stop now" is considered a non-graceful shutdown and will
not go through this process.
(issue #9804, reported by chrisost, patch by me)

........

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

12 years agoMerged revisions 67304 via svnmerge from
Joshua Colp [Tue, 5 Jun 2007 15:24:01 +0000 (15:24 +0000)]
Merged revisions 67304 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67304 | file | 2007-06-05 12:22:30 -0300 (Tue, 05 Jun 2007) | 2 lines

Only muck with the thread structure if an idle one was found/created.

........

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

12 years agoadd a note about inline comments
Russell Bryant [Tue, 5 Jun 2007 14:59:34 +0000 (14:59 +0000)]
add a note about inline comments

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

12 years agoDoxygenify the comments for new members of the iax2_thread struct
Russell Bryant [Tue, 5 Jun 2007 14:55:09 +0000 (14:55 +0000)]
Doxygenify the comments for new members of the iax2_thread struct

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

12 years agoMerged revisions 67270 via svnmerge from
Kevin P. Fleming [Tue, 5 Jun 2007 14:45:48 +0000 (14:45 +0000)]
Merged revisions 67270 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67270 | kpfleming | 2007-06-05 09:35:52 -0500 (Tue, 05 Jun 2007) | 3 lines

ensure that a burst of full frames (AST_FRAME_DTMF being the prime example) will not be processed out of order... this is a brute force fix, but seems to be the safest fix for now (thanks to the Digium PQ department for finding this bug)

........

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

12 years agoMerged revisions 67210 via svnmerge from
Christian Richter [Tue, 5 Jun 2007 11:48:25 +0000 (11:48 +0000)]
Merged revisions 67210 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67210 | crichter | 2007-06-05 12:25:32 +0200 (Di, 05 Jun 2007) | 9 lines

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

........
r67209 | crichter | 2007-06-05 12:05:45 +0200 (Di, 05 Jun 2007) | 1 line

added possibility to deactivate bridging per port
........

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

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

12 years agoMerged revisions 67162 via svnmerge from
Tilghman Lesher [Mon, 4 Jun 2007 23:45:05 +0000 (23:45 +0000)]
Merged revisions 67162 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67162 | tilghman | 2007-06-04 18:43:01 -0500 (Mon, 04 Jun 2007) | 10 lines

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

........
r67161 | tilghman | 2007-06-04 18:41:49 -0500 (Mon, 04 Jun 2007) | 2 lines

According to MATH, 0+1181000386 = 1181000448.  Oops.

........

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

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

12 years agoMerged revisions 67158 via svnmerge from
Russell Bryant [Mon, 4 Jun 2007 23:32:26 +0000 (23:32 +0000)]
Merged revisions 67158 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67158 | russell | 2007-06-04 18:31:40 -0500 (Mon, 04 Jun 2007) | 5 lines

Fix up a bunch of places where the iax2 pvt structure can disappear and the
code did not account for it and crashes.
(issues #9642, #9569, #9666, probably others ... based on the work by
 stevedavies and mihai, with additional changes from me)

........

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

12 years agoMerged revisions 67156 via svnmerge from
Jason Parker [Mon, 4 Jun 2007 23:29:22 +0000 (23:29 +0000)]
Merged revisions 67156 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67156 | qwell | 2007-06-04 18:26:28 -0500 (Mon, 04 Jun 2007) | 6 lines

Fix for skinny keepalives.
If there is no traffic from the phone for (keep_alive * 1100) ms (arbitrarily
 adding 10% for network issues, etc),  unregister the device.

Issue 8394, patch by DEA.

........

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

12 years agoMerged revisions 67121 via svnmerge from
Jason Parker [Mon, 4 Jun 2007 22:39:10 +0000 (22:39 +0000)]
Merged revisions 67121 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67121 | qwell | 2007-06-04 17:36:57 -0500 (Mon, 04 Jun 2007) | 4 lines

Fixes for dtmf/dialing with mgcp (similar to the recent fix for chan_skinny)

Issue 9855, patch by DEA.

........

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

12 years agoMerged revisions 67119 via svnmerge from
Russell Bryant [Mon, 4 Jun 2007 22:29:43 +0000 (22:29 +0000)]
Merged revisions 67119 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67119 | russell | 2007-06-04 17:28:55 -0500 (Mon, 04 Jun 2007) | 6 lines

Add comments for two functions that get called with the appropriate call locked,
but perform operations that could result in the pvt structure getting destroyed
before returning again, causing numerous seg faults all over the module.
(inspired by issues #9642, #9569, and #9666, and the work done by stevedavies
 and mihai)

........

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

12 years agoMerged revisions 67073 via svnmerge from
Steve Murphy [Mon, 4 Jun 2007 22:15:38 +0000 (22:15 +0000)]
Merged revisions 67073 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67073 | murf | 2007-06-04 15:59:34 -0600 (Mon, 04 Jun 2007) | 1 line

This typo has been here since 1.4 forked. It has been the source of heartburn to many a dialplan/CDR programmer.
........

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

12 years agoMerged revisions 67071 via svnmerge from
Russell Bryant [Mon, 4 Jun 2007 21:48:15 +0000 (21:48 +0000)]
Merged revisions 67071 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67071 | russell | 2007-06-04 16:47:36 -0500 (Mon, 04 Jun 2007) | 2 lines

Add a missing \n.  (pointed out by jcmoore on IRC)

........

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

12 years agoRemove a leftover unlock and lock of the iax2 pvt struct lock that was left
Russell Bryant [Mon, 4 Jun 2007 21:45:24 +0000 (21:45 +0000)]
Remove a leftover unlock and lock of the iax2 pvt struct lock that was left
over from my attempt at putting pvt structs in a hash table.  It can cause
seg faults, and has no reason to stay.
(issue #9642, pointed out by stevedavies)

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

12 years agoMerged revisions 67068 via svnmerge from
Joshua Colp [Mon, 4 Jun 2007 19:32:08 +0000 (19:32 +0000)]
Merged revisions 67068 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67068 | file | 2007-06-04 15:31:09 -0400 (Mon, 04 Jun 2007) | 2 lines

Better handle SIP devices that say they have SDP content... but really don't. (issue #9398 reported by mthomasslo)

........

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

12 years agoMerged revisions 67066 via svnmerge from
Joshua Colp [Mon, 4 Jun 2007 18:00:24 +0000 (18:00 +0000)]
Merged revisions 67066 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67066 | file | 2007-06-04 13:59:14 -0400 (Mon, 04 Jun 2007) | 2 lines

Initialize cidname variable to nothing since it may be used without having been touched. (issue #9661 reported by dimas)

........

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

12 years agoMerged revisions 67064 via svnmerge from
Joshua Colp [Mon, 4 Jun 2007 17:43:21 +0000 (17:43 +0000)]
Merged revisions 67064 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67064 | file | 2007-06-04 13:41:59 -0400 (Mon, 04 Jun 2007) | 2 lines

Returning a value that indicates the parking of a call was a success when it really wasn't (because the parking slot selected was in use) is the wrong thing to do. (issue #9723 reported by mdu113)

........

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

12 years agoMinor clean up. Constify a few variables and use ast_strlen_zero in a few places.
Joshua Colp [Mon, 4 Jun 2007 17:32:41 +0000 (17:32 +0000)]
Minor clean up. Constify a few variables and use ast_strlen_zero in a few places.

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

12 years agoMerged revisions 67061 via svnmerge from
Tilghman Lesher [Mon, 4 Jun 2007 17:12:35 +0000 (17:12 +0000)]
Merged revisions 67061 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67061 | tilghman | 2007-06-04 12:11:43 -0500 (Mon, 04 Jun 2007) | 10 lines

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

........
r67060 | tilghman | 2007-06-04 12:10:30 -0500 (Mon, 04 Jun 2007) | 2 lines

Add revision Id tags (by request of tzafrir)

........

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

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

12 years agoMerged revisions 67026 via svnmerge from
Russell Bryant [Mon, 4 Jun 2007 16:03:19 +0000 (16:03 +0000)]
Merged revisions 67026 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67026 | russell | 2007-06-04 11:02:31 -0500 (Mon, 04 Jun 2007) | 6 lines

Change the configure script to build a test program against libcurl to make
sure the results from curl-config can be used to compile successfully.  This is
intended to help prevent a situation where you are cross compiling, and the
configure script finds the curl library installed on the host.
(issue #9865, reported and patched by zandbelt)

........

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

12 years agoChange javadoc style code documentation to the same format we use elsewhere.
Russell Bryant [Mon, 4 Jun 2007 15:56:13 +0000 (15:56 +0000)]
Change javadoc style code documentation to the same format we use elsewhere.
(issue #9864, patch from snuffy)

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

12 years agoMerged revisions 67021 via svnmerge from
Tilghman Lesher [Mon, 4 Jun 2007 15:53:15 +0000 (15:53 +0000)]
Merged revisions 67021 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67021 | tilghman | 2007-06-04 10:50:16 -0500 (Mon, 04 Jun 2007) | 2 lines

Issue 9739 - Malformed jid causes a crash

........

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

12 years agoMerged revisions 67020 via svnmerge from
Russell Bryant [Mon, 4 Jun 2007 15:50:46 +0000 (15:50 +0000)]
Merged revisions 67020 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67020 | russell | 2007-06-04 10:47:40 -0500 (Mon, 04 Jun 2007) | 7 lines

Resolve a deadlock in chan_iax2.  When handling an implicit ACK to a frame that
was marked as the final transmission for a call, don't call iax2_destroy() for
that call while the global frame queue is still locked.  There is a very nice
explanation of the deadlock in the report.
(issue #9663, thorough report and patch from stevedavies, additional positive
 test reports from mihai and joff_oconnell)

........

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

12 years agoBlocked revisions 67018 via svnmerge
Russell Bryant [Mon, 4 Jun 2007 15:29:00 +0000 (15:29 +0000)]
Blocked revisions 67018 via svnmerge

........
r67018 | russell | 2007-06-04 10:28:33 -0500 (Mon, 04 Jun 2007) | 3 lines

Fix some compiler warnings in C++ modules.
(issue #9866, reported by osk, patch by Corydon76)

........

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

12 years agoFix some compiler warnings in C++ modules.
Russell Bryant [Mon, 4 Jun 2007 15:26:43 +0000 (15:26 +0000)]
Fix some compiler warnings in C++ modules.
(issue #9866, reported by osk, patch by Corydon76)

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

12 years agoFix a couple of places where "tos" was used instead of "cos".
Russell Bryant [Mon, 4 Jun 2007 15:14:52 +0000 (15:14 +0000)]
Fix a couple of places where "tos" was used instead of "cos".
(issue #9540, patch by IgorG)

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

12 years agoAdd support for autocompleting start/stop options of the mixmonitor CLI command....
Joshua Colp [Mon, 4 Jun 2007 11:48:01 +0000 (11:48 +0000)]
Add support for autocompleting start/stop options of the mixmonitor CLI command. (issue #9862 reported by eliel)

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

12 years agoast_calloc janitor (Inspired by issue 9860)
Tilghman Lesher [Sun, 3 Jun 2007 06:10:27 +0000 (06:10 +0000)]
ast_calloc janitor (Inspired by issue 9860)

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

12 years agoremove a bogus comment that came from copy/paste
Russell Bryant [Fri, 1 Jun 2007 23:39:18 +0000 (23:39 +0000)]
remove a bogus comment that came from copy/paste

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

12 years agoMerge major changes to the way device state is passed around Asterisk. The two
Russell Bryant [Fri, 1 Jun 2007 23:34:43 +0000 (23:34 +0000)]
Merge major changes to the way device state is passed around Asterisk.  The two
places that cared about device states were app_queue and the hint code in pbx.c.
The changes include converting it to use the Asterisk event system, as well as
other efficiency improvements.
 * app_queue: This module used to register a callback into devicestate.c to
   monitor device state changes.  Now, it is just a subscriber to Asterisk
   events with the type, device state.
 * pbx.c hints: Previously, the device state processing thread in devicestate.c
   would call ast_hint_state_changed() each time the state of a device changed.
   Then, that code would go looking for all the hints that monitor that device,
   and call their callbacks.  All of this blocked the device state processing
   thread.  Now, the hint code is a subscriber of Asterisk events with the
   type, device state.  Furthermore, when this code receives a device state
   change event, it queues it up to be processed by another thread so that it
   doesn't block one of the event processing threads.

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

12 years agoRemove 80 bytes in the iax2_registry struct that weren't being used
Russell Bryant [Fri, 1 Jun 2007 23:02:57 +0000 (23:02 +0000)]
Remove 80 bytes in the iax2_registry struct that weren't being used

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