dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

13398 Commits

Author SHA1 Message Date
rizzo e7c3f913ac block merging of not-applicable patch
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88490 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-04 22:42:54 +00:00
rizzo 5c6adf7951 Simplify the implementation and the API for stringfields;
details and examples are in include/asterisk/stringfields.h.

Not applicable to older branches except for 1.4 which will
receive a fix for the routines that free memory pools.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88454 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-04 19:44:31 +00:00
tilghman 69e206ffb4 Revert commit #86119. Some users intentionally do not want colorized terminals, so this was a misfeature.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88437 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-03 14:19:47 +00:00
jamesgolovich 661a6413fb Set CLI command to the correct name. Rev 85460 introduced two 'database show' commands when this one
should have been 'database showkey'



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88422 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-03 04:55:06 +00:00
russell 4e9e2791c2 fix some issues with crashing on unload, when it didn't completely load cleanly
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88409 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02 22:36:30 +00:00
russell 3b700df38a Convert the CLI commands to the new format
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88408 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02 22:08:15 +00:00
russell 3b2405b45f propagate the DECLINE return value back to the loader
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88376 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02 21:39:36 +00:00
russell f5b2699dac Don't kill asterisk if extensions.lua is not present.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88371 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02 21:36:37 +00:00
russell 149e9c8fdc Show the channel unique ID in the "show channel concise" output
(closes issue #11148, requested by falves11, patched by me)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88370 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02 21:25:55 +00:00
russell 5f0e53299f Merge the code from asterisk/team/group/chan_unistim:
This introduces a new channel driver, chan_unistim, that supports the Unistim
VoIP protocol for Nortel phones.  The following models have been confirmed 
to work: i2002, i2004 and i2050.

(closes issue #8864)
Reported by: c_hans
Patches: 
      chan_unistim.patch uploaded by c (license 304)
      ustm_no_conf.diff uploaded by junky (license 177)
Tested by: c_hans, dbowerman, math, junky, loloski


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88368 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02 20:56:12 +00:00
file 5590a16c77 Merged revisions 88366 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88366 | file | 2007-11-02 17:49:45 -0300 (Fri, 02 Nov 2007) | 4 lines

Make subscribecontext behave as advertised. It will now look for the presence of a hint in the given context (be it subscribecontext or context).
(closes issue #10702)
Reported by: slavon

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88367 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02 20:51:53 +00:00
file 077383a065 Merged revisions 88328 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88328 | file | 2007-11-02 17:20:21 -0300 (Fri, 02 Nov 2007) | 6 lines

If an INFO request within a dialog is received with a content length of 0 simply send back a 200 OK. It is valid to do this and the remote side is probably using it to make sure the signalling is still alive.
(closes issue #5747)
Reported by: chandi
Patches:
      infofix-81430-1.patch uploaded by IgorG (license 20)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88329 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02 20:22:40 +00:00
russell 9c6b14da19 Fix replacing the version number when it has a '/' in it, like
SVN-group-chan_unistim-r88326M-/trunk


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88327 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02 20:13:18 +00:00
tilghman 7cf4daa7a8 Oops, some dev-mode changes for ISO C90
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88287 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02 17:34:33 +00:00
qwell 7e29240985 Merged revisions 88283 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11147)
........
r88283 | qwell | 2007-11-02 11:51:08 -0500 (Fri, 02 Nov 2007) | 4 lines

We need to make sure to specify a language to ast_fileexists, otherwise it may fail for anything besides en

Issue 11147, fix discovered by both citats and myself (independently), with input from Corydon76

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88284 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02 16:54:11 +00:00
tilghman 82ccaa3bac Add a few bytes on LUA
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88267 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02 16:26:31 +00:00
tilghman bad99f6a2a Add pbx_lua as a method of doing extensions
Reported by: mnicholson
Patch by: mnicholson
Closes issue #11140


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88250 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02 15:36:34 +00:00
tilghman 91e1d7a423 Don't re-cache the filename, but check to see if it already exists
Reported by: jamesgolovich
Patch by: jamesgolovich
Closes issue #11144


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88212 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02 13:17:48 +00:00
tilghman 991e435f45 Merged revisions 88210 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88210 | tilghman | 2007-11-02 08:03:03 -0500 (Fri, 02 Nov 2007) | 5 lines

Fix build on Solaris
Reported by: snuffy
Patch by: ys
Closes issue #11143

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88211 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02 13:10:29 +00:00
tilghman 40e214cbcd 'h' extension doesn't execute past first priority
Reported by: dimas
Patch by: dimas
Closes bug #11146


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88209 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02 12:54:31 +00:00
file a91d1a2abc Restore building under 64-bit platforms.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88197 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02 03:09:02 +00:00
qwell 8af80a59de Remove traces of gnutls, since we no longer use/need it.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88184 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-01 23:26:51 +00:00
tilghman 82ba695b00 Modify WaitExten to include an optional dialtone
Closes issue #10783


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88183 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-01 23:26:35 +00:00
tilghman d13f1492f0 Convert cdr_odbc to use res_odbc managed connections
Closes issue #10614


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88182 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-01 22:43:46 +00:00
murf 47c8ea00b8 This commits the performance mods that give the priority processing engine in the pbx, a 25-30% speed boost. The two updates used, are, first, to merge the ast_exists_extension() and the ast_spawn_extension() where they are called sequentially in a loop in the code, into a slightly upgraded version of ast_spawn_extension(), with a few extra args; and, second, I modified the substitute_variables_helper_full, so it zeroes out the byte after the evaluated string instead of demanding you pre-zero the buffer; I also went thru the code and removed the code that zeroed this buffer before every call to the substitute_variables_helper_full. The first fix provides about a 9% speedup, and the second the rest. These figures come from the 'PIPS' benchmark I describe in blogs, conf. reports, etc.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88166 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-01 22:26:51 +00:00
qwell 93798f79e2 Crap, accidentally copied the props. Thanks for pointing this out mvanbaak. The odds are quite high that this will break automerge on every team branch.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88165 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-01 22:19:56 +00:00
qwell 0468ce965b Switch res_jabber to use openssl rather than gnutls.
Closes issue #9972, patch by phsultan.  Copied from branch at http://svn.digium.com/svn/asterisk/team/phsultan/res_jabber-openssl/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88164 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-01 22:10:33 +00:00
tilghman 23373716db Merged revisions 88116 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88116 | tilghman | 2007-11-01 12:17:56 -0500 (Thu, 01 Nov 2007) | 2 lines

Add some notes on using valgrind

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88117 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-01 17:25:58 +00:00
qwell 29e524f0b8 Merged revisions 88078 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88078 | qwell | 2007-11-01 11:21:22 -0500 (Thu, 01 Nov 2007) | 4 lines

Make sure we set the poll fds to NULL after free()ing it.

Part of issue 11017, patch by tzafrir.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88079 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-01 16:22:09 +00:00
russell 54e5e5a73e Change some uses of free() to ast_free(). (No functional differences.)
(closes issue #11138)
Reported by: eliel
Patches: 
      pbx_dundi.c.patch uploaded by eliel (license 64)
	  chan_sip.c.patch uploaded by eliel (license 64)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88077 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-01 15:56:25 +00:00
russell d8a12a9c6b Remove another copied source file on "make clean".
(closes issue #11137)
Reported by: IgorG
Patches: 
      addonclean-87971-1.patch uploaded by IgorG (license 20)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88062 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-01 15:18:06 +00:00
file 9efed809d4 Merged revisions 88026 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88026 | file | 2007-11-01 10:27:37 -0300 (Thu, 01 Nov 2007) | 2 lines

Fix up commit for my Zap channel with spies in Meetme fix. (thanks Tony Mountifield!)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88027 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-01 13:30:28 +00:00
tilghman 0ef4927a34 Conditionally free lock_info->thread_name to avoid a useless warning
Reported by: snuffy
Patch by: snuffy
Closes issue #11125


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88010 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-01 06:12:08 +00:00
tilghman 97e8364d35 Janitor: use ast_free to pair calls of ast_malloc and ast_calloc
Reported by: eliel
Patch by: eliel
Closes issue #11135


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88008 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-01 06:07:18 +00:00
tilghman 8380627624 Fix memory leak
Reported by: eliel
Fixed by: tilghman
Closes issue #11136


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88007 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-01 05:44:40 +00:00
file 1150e1ce8c Merged revisions 87970 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87970 | file | 2007-10-31 22:53:55 -0300 (Wed, 31 Oct 2007) | 4 lines

If a Zap channel contains a spy or a spy is added take it out of the conference in kernel space and make it go through Asterisk so the spy gets audio from both sides.
(closes issue #10060)
Reported by: mparker

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87971 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-01 01:55:38 +00:00
file bba947151d Drop any more references to type in the Exception dialplan function.
(closes issue #11134)
Reported by: blitzrage
Patches:
      exception_patch.txt uploaded by blitzrage (license 10)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87953 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-01 00:04:43 +00:00
qwell 0926a1f7c1 Merged revisions 87908 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11131)
........
r87908 | qwell | 2007-10-31 16:23:11 -0500 (Wed, 31 Oct 2007) | 4 lines

Make sure we free some allocated memory before returning.

Issue 11131, patch by eliel.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87909 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31 21:23:42 +00:00
qwell da7f8a5b22 Merged revisions 87906 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11130)
(closes issue #11132)

........
r87906 | qwell | 2007-10-31 16:16:20 -0500 (Wed, 31 Oct 2007) | 4 lines

Don't try to allocate memory that we're just going to re-allocate later anyways.

Issues 11130 and 11132, patch by eliel.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87907 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31 21:18:52 +00:00
qwell 9e15a0e72b More changes to change return values from load_module functions.
(issue #11096)
Patches:
      codec_adpcm.c.patch uploaded by moy (license 222)
      codec_alaw.c.patch uploaded by moy (license 222)
      codec_a_mu.c.patch uploaded by moy (license 222)
      codec_g722.c.patch uploaded by moy (license 222)
      codec_g726.c.diff uploaded by moy (license 222)
      codec_gsm.c.patch uploaded by moy (license 222)
      codec_ilbc.c.patch uploaded by moy (license 222)
      codec_lpc10.c.patch uploaded by moy (license 222)
      codec_speex.c.patch uploaded by moy (license 222)
      codec_ulaw.c.patch uploaded by moy (license 222)
      codec_zap.c.patch uploaded by moy (license 222)
      format_g723.c.patch uploaded by moy (license 222)
      format_g726.c.patch uploaded by moy (license 222)
      format_g729.c.patch uploaded by moy (license 222)
      format_gsm.c.patch uploaded by moy (license 222)
      format_h263.c.patch uploaded by moy (license 222)
      format_h264.c.patch uploaded by moy (license 222)
      format_ilbc.c.patch uploaded by moy (license 222)
      format_jpeg.c.patch uploaded by moy (license 222)
      format_ogg_vorbis.c.patch uploaded by moy (license 222)
      format_pcm.c.patch uploaded by moy (license 222)
      format_sln.c.patch uploaded by moy (license 222)
      format_vox.c.patch uploaded by moy (license 222)
      format_wav.c.patch uploaded by moy (license 222)
      format_wav_gsm.c.patch uploaded by moy (license 222)
      res_adsi.c.patch uploaded by eliel (license 64)
      res_ael_share.c.patch uploaded by eliel (license 64)
      res_clioriginate.c.patch uploaded by eliel (license 64)
      res_convert.c.patch uploaded by eliel (license 64)
      res_indications.c.patch uploaded by eliel (license 64)
      res_musiconhold.c.patch uploaded by eliel (license 64)
      res_smdi.c.patch uploaded by eliel (license 64)
      res_speech.c.patch uploaded by eliel (license 64)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87889 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31 19:24:29 +00:00
murf d15b80b30e Merged revisions 87849 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87849 | murf | 2007-10-31 11:49:39 -0600 (Wed, 31 Oct 2007) | 1 line

closes issue #11108 -- where the 'dialplan save' cli command saves a file where the semicolon is not escaped. Fixed this; User also wanted comments to be preserved across dialplan save, but this is impossible at this point in time, because comments are not stored in the dialplan. They are 'compiled' out of extensions.conf. The only way to preserve those comments is to use the config file reader/writer that the GUI uses to allow online user edits. extensions.conf is first and foremost, a config file, and is read in by the normal config-file reading routines. Then, it is processed into a dialplan (context/exten structs). (in the case of trunk, tho, no mods needed to be made -- works OK there -- just make sure you use ',' to sep app args!)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87888 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31 18:53:13 +00:00
tilghman 4229c71296 Merged revisions 87852 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87852 | tilghman | 2007-10-31 13:03:53 -0500 (Wed, 31 Oct 2007) | 2 lines

Create samples for ALL of the available options in asterisk.conf

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87854 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31 18:09:52 +00:00
file 7af6fda1e0 Add volume adjustment in.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87851 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31 18:03:17 +00:00
file 27c7c3edf5 Restore operation of the option that only writes when the channel is bridged.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87850 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31 17:56:21 +00:00
file 99a3354d8f Add volume adjustment to spy audiohook in app_chanspy.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87833 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31 17:25:16 +00:00
tilghman 92b46d414c Formatting cleanups, remove obsolete contributions (modules no longer in
Asterisk), and obfuscate email addresses enough to stop most spam harvesters.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87817 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31 16:13:40 +00:00
file cb916384a2 Remove old whisper remnants from channel.h
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87815 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31 16:07:50 +00:00
tilghman 0a1b86d19b Optimize pbx_substitute_variables
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87811 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31 15:46:41 +00:00
murf 738af18d9c Merged revisions 87775 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87775 | murf | 2007-10-30 21:51:52 -0600 (Tue, 30 Oct 2007) | 1 line

Included some verbage in the check_includes func, to inform the user that included contexts that have no match in the AEL, might be OK, as AEL cannot check in the extensions.conf or the in-memory contexts, as they may not be there at the time of the check.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87776 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31 04:20:40 +00:00
tilghman f74129bc6e Merged revisions 87739 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87739 | tilghman | 2007-10-30 18:02:22 -0500 (Tue, 30 Oct 2007) | 5 lines

Fix for uninitialized mutexes on *BSD
Reported by: ys
Fixed by: ys
Closes issue #11116

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87740 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-30 23:08:59 +00:00