Jason Parker
63535ada60
Fixes for ast_strlen_zero() janitor project.
...
Issue 9968, patch by eliel.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69081 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-13 17:06:53 +00:00
Russell Bryant
156d6338b2
Merged revisions 69071 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r69071 | russell | 2007-06-13 11:56:16 -0500 (Wed, 13 Jun 2007) | 3 lines
Clarify a bit of logic. This doesn't change behavior in any way, but it is
helpful when following the logic to debug problems like 9235.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-13 16:59:42 +00:00
Russell Bryant
65880d7680
Merged revisions 69069 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r69069 | russell | 2007-06-13 11:29:12 -0500 (Wed, 13 Jun 2007) | 3 lines
Fix a place where a chan_iax2 pvt struct was accessed without the lock held.
This issue was reported to me via email by Dmitry Mishchenko. Thanks!
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-13 16:29:45 +00:00
Russell Bryant
f379df9773
Simplify some logic and convert spaces to tabs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-13 16:19:37 +00:00
Russell Bryant
5d350e0f81
The variable used for the return value must be declared as static. I broke
...
this when applying the patch, sorry!
(issue #9637 , jeffg)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-13 16:05:22 +00:00
Russell Bryant
33c66c4e77
Put parenthesis around the level argument to ast_debug()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 20:00:39 +00:00
Russell Bryant
febc05b1f7
Merged revisions 69016 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r69016 | russell | 2007-06-12 14:40:17 -0500 (Tue, 12 Jun 2007) | 4 lines
Fix a memory leak pointed out by prashant_jois in #asterisk-bugs. PQclear() was
not called on the result structure after doing a PQexec(). Also, fix up some
formatting in passing.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 19:40:41 +00:00
Joshua Colp
0b75ad2db9
Merged revisions 69014 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r69014 | file | 2007-06-12 15:36:29 -0400 (Tue, 12 Jun 2007) | 2 lines
Change the full frame dropping log message to debug to avoid future bug reports.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 19:38:17 +00:00
Joshua Colp
74cda06deb
Merged revisions 69012 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r69012 | file | 2007-06-12 15:26:38 -0400 (Tue, 12 Jun 2007) | 2 lines
Schedule the sending of a PING packet a second later than previously so that it does not collide with the LAGRQ.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69013 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 19:29:12 +00:00
Russell Bryant
cf06bdb312
Merged revisions 69010 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r69010 | russell | 2007-06-12 14:13:41 -0500 (Tue, 12 Jun 2007) | 12 lines
In ast_channel_make_compatible(), just return if the channels' read and write
formats already match up. There are code paths that call this function on a
pair of channels multiple times. This made calls fail that were using g729
in some cases. The reason is that codec_g729a will unregister itself from the
list of available translators will all licenses are in use. So, the first
time the function got called, the right translation path was allocated.
However, the second time it got called, the code would not find a translation
path to/from g729 and make the call fail, even if the channel actually already
had a g729 translation path allocated.
(SPD-32)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 19:19:09 +00:00
Russell Bryant
ff4fc97911
Convert pbx.c to use ast_debug() for debug logging.
...
(issue #9925 , dimas)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 16:13:45 +00:00
Russell Bryant
7f437de523
Add a new macro, ast_debug(), which combines the check of the value of
...
option_debug and the actual call to ast_log().
(issue #9925 , dimas)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 16:11:40 +00:00
Russell Bryant
50aaffa97f
update the dump of application docs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 16:03:42 +00:00
Russell Bryant
9e0458e9f1
Completely remove all of the code related to jumping to priority n + 101. yay!
...
(issue #9926 , caio1982)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68970 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 15:58:28 +00:00
Joshua Colp
d0eaf1e389
Merged revisions 68922 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r68922 | file | 2007-06-12 10:23:11 -0400 (Tue, 12 Jun 2007) | 10 lines
Merged revisions 68921 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r68921 | file | 2007-06-12 10:18:57 -0400 (Tue, 12 Jun 2007) | 2 lines
Bring RTP back to Asterisk at the end of a native bridge no matter what.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68923 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 14:26:12 +00:00
Joshua Colp
556ea9f554
Even more minor code cleanup!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68920 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 14:16:37 +00:00
Joshua Colp
b3475e429a
Minor code cleanup.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 13:58:13 +00:00
Joshua Colp
f519db04e4
Remove old stuff from the AgentCallbackLogin days and only autocomplete agents in the agent logoff CLI command that are logged in. (issue #9952 reported by eliel)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 13:34:57 +00:00
Dwayne M. Hubbard
897418858d
corrected CLI 'core show codecs' syntax for issue 9945, thanks eserra.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 22:31:51 +00:00
Tilghman Lesher
f314fa039b
Issue 8971 - Allow DISA input to be ended with a '#'.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 22:21:28 +00:00
Jason Parker
bd3de6d0f1
Change displayconnects option in manager.conf to be per-user.
...
Issue 9932, patch by eliel
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 22:07:50 +00:00
Jason Parker
7ce2280b70
Merged revisions 68814 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r68814 | qwell | 2007-06-11 16:20:15 -0500 (Mon, 11 Jun 2007) | 2 lines
Solaris 10 sometimes (?) needs this include in order to have NULL defined.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68816 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 21:20:59 +00:00
Tilghman Lesher
b353c43c28
Merged revisions 68781 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r68781 | tilghman | 2007-06-11 15:45:53 -0500 (Mon, 11 Jun 2007) | 2 lines
Issue 9947 - fn2 was unused / incorrectly used
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 20:51:43 +00:00
Christian Richter
c2b4e6cef6
Merged revisions 68733 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r68733 | crichter | 2007-06-11 18:57:59 +0200 (Mo, 11 Jun 2007) | 9 lines
Merged revisions 68732 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r68732 | crichter | 2007-06-11 18:49:00 +0200 (Mo, 11 Jun 2007) | 1 line
added check for NULL Pointer when calling misdn_new. Asterisk does not allow us to create channels anymore when stop gracefully is used :). also modified the restart_indicator to 0
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68740 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 17:05:48 +00:00
Joshua Colp
a9043635ed
Change channel list to read/write list... I'm crazy.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68685 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 14:41:39 +00:00
Joshua Colp
eb56cb6b92
Merged revisions 68683 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r68683 | file | 2007-06-11 10:33:12 -0400 (Mon, 11 Jun 2007) | 10 lines
Merged revisions 68682 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r68682 | file | 2007-06-11 10:29:58 -0400 (Mon, 11 Jun 2007) | 2 lines
Improve deadlock handling of the channel list. (issue #8376 reported by one47)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 14:35:02 +00:00
Joshua Colp
21f5078843
Add username completion for manager show user CLI command. (issue #9929 reported by eliel)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68663 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 11:59:53 +00:00
Joshua Colp
cb55dbe8eb
Update documentation for proper CLI commands. (issue #9936 reported by eserra)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 11:49:48 +00:00
Christian Richter
cb42eae091
Merged revisions 68644 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r68644 | crichter | 2007-06-11 12:29:18 +0200 (Mo, 11 Jun 2007) | 9 lines
Merged revisions 68631 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r68631 | crichter | 2007-06-11 11:18:01 +0200 (Mo, 11 Jun 2007) | 1 line
fixed problem that the dummybc chanels had no lock, checking for the lock now. Also fixed the channel restart stuff, we can now specify and restart particular channels too.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 11:40:21 +00:00
Tilghman Lesher
7e52b8620b
Merged revisions 68595 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r68595 | tilghman | 2007-06-10 23:21:30 -0500 (Sun, 10 Jun 2007) | 2 lines
"dialplan save" produced garbage in the config file
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 04:28:08 +00:00
Jason Parker
85683836eb
Fix compile errors in chan_misdn.c
...
Reported by d1mas in #asterisk-bugs on IRC.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68575 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-09 01:06:40 +00:00
Russell Bryant
1441cc8b94
Merged revisions 68527 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r68527 | russell | 2007-06-08 17:23:22 -0500 (Fri, 08 Jun 2007) | 12 lines
Merged revisions 68526 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r68526 | russell | 2007-06-08 17:22:36 -0500 (Fri, 08 Jun 2007) | 4 lines
Don't automatically hang up after running Dictate so that callers can exit
cleanly using '#'
(closes issue #9577 , patch from Thomas Andrews)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-08 22:23:49 +00:00
Russell Bryant
3b9a36109f
Add support for retrieving the number of channels that are currently bridged
...
via SNMP.
(closes issue #9637 , initial patch from jeffg, modified by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-08 21:31:33 +00:00
Russell Bryant
68492b239c
Add an option for ControlPlayback to be able to start at an offset from
...
the beginning of the file. Also, add a channel variable that indicates
the location in the file where the Playback was stopped.
(closes issue #7655 , patch from sharkey)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-08 21:02:46 +00:00
Russell Bryant
334d8d9dc4
Add channel variable manager event
...
(issue #7291 , patch from tonyh and jontow)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-08 16:14:06 +00:00
Kevin P. Fleming
a08922bb71
Merged revisions 68450 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r68450 | kpfleming | 2007-06-08 10:52:47 -0500 (Fri, 08 Jun 2007) | 2 lines
actually remember the type/subclass of full frames that are in process
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68453 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-08 16:03:01 +00:00
Jason Parker
77012734eb
Fix incorrect logic for param count.
...
Issue 9918.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-08 15:51:53 +00:00
Russell Bryant
bd11057367
Minor formatting change to test changes to mantis auto-closing issues
...
(closes issue #6000 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68448 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-08 15:32:46 +00:00
Joshua Colp
154c1a7af5
Merged revisions 68401 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r68401 | file | 2007-06-07 20:17:04 -0400 (Thu, 07 Jun 2007) | 10 lines
Merged revisions 68397 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r68397 | file | 2007-06-07 20:15:33 -0400 (Thu, 07 Jun 2007) | 2 lines
Don't call ast_waitstream_full when the control file descriptor and audio file descriptor are not set, simply call ast_waitstream! (issue #8530 reported by rickead2000)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-08 00:18:58 +00:00
Joshua Colp
1d1566903e
Merged revisions 68370 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r68370 | file | 2007-06-07 20:02:34 -0400 (Thu, 07 Jun 2007) | 10 lines
Merged revisions 68368 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r68368 | file | 2007-06-07 19:59:04 -0400 (Thu, 07 Jun 2007) | 2 lines
Do a DNS lookup immediately upon calling the dnsmgr function, don't wait until a refresh happens. (issue #9097 reported by plack)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68374 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-08 00:03:49 +00:00
Russell Bryant
1093e63553
Merged revisions 68354 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r68354 | russell | 2007-06-07 18:14:45 -0500 (Thu, 07 Jun 2007) | 11 lines
Merged revisions 68351 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r68351 | russell | 2007-06-07 18:13:33 -0500 (Thu, 07 Jun 2007) | 3 lines
Fix a problem where saying a character wouldn't properly break out when the caller pressed '#'
(issue #8113 , reported by patbaker82, patch from jamesgolovich (hey, long time no see!) and patbaker82)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68359 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-07 23:17:01 +00:00
Russell Bryant
1d57ccb6f7
Fix a bunch of doxygen errors and document more things
...
(issue #9842 , snuffy)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68339 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-07 23:07:25 +00:00
Jason Parker
0ac5422486
Merged revisions 68326 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r68326 | qwell | 2007-06-07 18:00:01 -0500 (Thu, 07 Jun 2007) | 5 lines
Fix incorrect French syntax of "old messages".
Request for feedback was sent to asterisk-dev mailing list, with little response.
Issue 9118, patch by junky.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-07 23:00:44 +00:00
Russell Bryant
d2a78872cc
Fix a couple of places that got missed in the conversion to using the new API
...
call for creating detached threads.
(issue #9915 , reported by elguro, fixed by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68325 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-07 22:38:59 +00:00
Kevin P. Fleming
2c9173986a
Merged revisions 68313 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r68313 | kpfleming | 2007-06-07 17:14:35 -0500 (Thu, 07 Jun 2007) | 6 lines
some improvements to the IAX2 full frame dropping logic recently added:
- use inaddrcmp(), since we have it
- output the type of frame and subclass being dropped, and the type/subclass that is already being processed (which caused the drop)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68321 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-07 22:18:38 +00:00
Russell Bryant
1cd610ddbe
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
2007-06-07 21:22:25 +00:00
Russell Bryant
e911f41166
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
2007-06-07 21:17:52 +00:00
Jason Parker
4db176fdc2
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
2007-06-07 20:25:56 +00:00
Jason Parker
20e1e1ad3c
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
2007-06-07 20:10:47 +00:00
Olle Johansson
94f611ac68
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
2007-06-07 19:51:25 +00:00