Archived
14
0
Fork 0
Commit graph

14326 commits

Author SHA1 Message Date
tilghman
abdb54a569 Merged revisions 98164 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r98164 | tilghman | 2008-01-11 09:52:31 -0600 (Fri, 11 Jan 2008) | 2 lines

Back out changes from revision 97077, since it wasn't perfect

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98193 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-11 16:08:43 +00:00
tilghman
56dc662118 Documentation updates
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98152 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-11 15:12:33 +00:00
kpfleming
da2462e46b Ascom phones send Flash events as SIP INFO using '!' as the 'digit'
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98124 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-11 12:51:21 +00:00
russell
16190febd3 Blocked revisions 98082 via svnmerge
........
r98082 | russell | 2008-01-10 21:39:33 -0600 (Thu, 10 Jan 2008) | 2 lines

Fix samples vs. length calculations for g722

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98083 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-11 03:40:58 +00:00
russell
560327b0ec - Fix the last set of places where incorrect assumptions were made about the
sample length with g722.  It is _2_ samples per byte, not 1.  This was all
   over the place, and I believed it, and it is what caused me to take so long
   to figure out what was broken.
 - Update copyright information on codec_g722.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98081 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-11 03:37:19 +00:00
mmichelson
a8ec4ca202 Fix "core show translation" to not output information for "unknown" codecs.
This fix was made in favor of the proposed patch since it doesn't involve changing
a core codec define.

(closes issue #11722, reported and initially patched by caio1982, final patch by me)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98047 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-11 00:54:54 +00:00
russell
00e26442c5 Add a new global and per-peer option to chan_sip, qualifyfreq, which allows you
to set the qualify frequency.

(closes issue #11597)
Reported by: wilder
Patches:
      qualifyfreq5.patch uploaded by wilder (license 362)
	   -- with some mods by me


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98027 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-11 00:38:23 +00:00
russell
328952d8d0 Blocked revisions 98025 via svnmerge
........
r98025 | russell | 2008-01-10 18:14:59 -0600 (Thu, 10 Jan 2008) | 3 lines

Simplify this code with a suggestion from Luigi on the asterisk-dev list.
Instead of using is16kHz(), implement a format_rate() function.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98026 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-11 00:15:58 +00:00
russell
3365064ef5 Simplify this code with a suggestion from Luigi on the asterisk-dev list.
Instead of using is16kHz(), implement a format_rate() function.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98024 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-11 00:12:22 +00:00
tilghman
b9067db42c Merged revisions 97973 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97973 | tilghman | 2008-01-10 17:08:36 -0600 (Thu, 10 Jan 2008) | 6 lines

1) When we get a translated frame out, clone it, because if the
translator pvt is freed before we use the frame, bad things happen.
2) Getting a failure from ast_sched_delete means that the schedule
ID is currently running.  Don't just ignore it.
(Closes issue #11698)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97978 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 23:40:13 +00:00
russell
db54cffaa3 Merged revisions 97976 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97976 | russell | 2008-01-10 17:30:40 -0600 (Thu, 10 Jan 2008) | 3 lines

Fix various timing calculations that made assumptions that the audio being
processed was at a sample rate of 8 kHz.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97977 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 23:33:24 +00:00
russell
300fa53d79 Fix various issues in codec_g722.
- The most common fix being made here is to fix all of the places where the
   number of output samples and output bytes gets updated in the translator
   state structure.
 - Fix a number of other places where the number of samples provided as an
   initialization value to a struct was incorrect.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97975 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 23:16:09 +00:00
russell
57ccc02998 Fix the buffer_samples value. For signed linear, the number of samples needed
to fill the buffer is half the buffer size.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97974 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 23:10:00 +00:00
mmichelson
4f0b7e0572 Merged revisions 97925 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97925 | mmichelson | 2008-01-10 15:57:06 -0600 (Thu, 10 Jan 2008) | 6 lines

Let us leave a voicemail for ourself if we have logged into VoiceMailMain and chosen
to leave a message.

(closes issue #11735, reported and patched by jamessan)


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97933 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 21:58:47 +00:00
murf
0eb21c8f2d Merged revisions 97889 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97889 | murf | 2008-01-10 14:37:10 -0700 (Thu, 10 Jan 2008) | 1 line

Applied the same fixes for ael.flex as was done in 97849 for ast_expr2.fl; overrode the normally generate yyfree func with our own version that checks the pointer for non-null before passing to free(). Also takes care of a little problem with 2.5.33 and the use of the __STDC_VERSION__ macro.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97890 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 21:46:56 +00:00
murf
8358b5cbc0 Merged revisions 97849 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97849 | murf | 2008-01-10 13:21:27 -0700 (Thu, 10 Jan 2008) | 1 line

This is a fix for 2 things: a problem Terry was having in OSX with null pointers, which was my fault, as I probably forgot to run the sed script last time I made mods. So, I moved the fix into the flex input itself. Then, I found when I used flex 2.5.33, that it was using __STDC_VERSION__, and that's not real good; so I added back in a DIFFERENT sed script to fix that little mess. Tested everything, a couple different ways. Hope I did no harm, at the least.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97850 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 20:45:05 +00:00
qwell
8c685c6a42 Merged revisions 97847 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97847 | qwell | 2008-01-10 14:12:37 -0600 (Thu, 10 Jan 2008) | 1 line

Fix a comment that is no longer true.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97848 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 20:13:24 +00:00
mmichelson
399c59a84d Use the appropriate line ending for the X-Asterisk-VM-Message-Type header.
(closes issue #11734, reported and patched by jaroth)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97846 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 20:05:43 +00:00
twilson
d998cef35e heh, remove patch to generated file.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97826 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 19:07:36 +00:00
twilson
3d2e5fea00 Check pointers before freeing (was getting WARNINGS under MALLOC_DEBUG)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97825 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 19:03:04 +00:00
tilghman
45f02f8778 Fix problem with timestr going out of scope
(Closes issue #11726, closes issue #11731)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97805 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 17:38:36 +00:00
russell
f9bd05b3e1 minor formatting changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97804 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 17:30:24 +00:00
russell
27c4379db2 spaces to tabs
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97769 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 16:43:31 +00:00
russell
1d0d1a7f8f Use AST_EXT_TOOL_CHECK() for the GTK check again. I changed this to an inline
implementation to fix a small bug, but after a discussion with rizzo, I went to
change it back.  Also, it turns out that the implementation of the macro already
supported what was needed to fix the problem.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97767 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 16:27:03 +00:00
russell
a8236f3bdb Merged revisions 97753 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97753 | russell | 2008-01-10 10:19:47 -0600 (Thu, 10 Jan 2008) | 2 lines

Remove other remnants of pbx_kdeconsole

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97758 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 16:22:10 +00:00
russell
cfcf4c9f8c Merged revisions 97734 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97734 | russell | 2008-01-10 10:10:09 -0600 (Thu, 10 Jan 2008) | 4 lines

Remove pbx_kdeconsole from the tree.  It hasn't worked in ages, and nobody has
complained.
(closes issue #11706, reported by caio1982)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97745 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 16:15:43 +00:00
file
d3421c995a Merged revisions 97697 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97697 | file | 2008-01-10 11:07:12 -0400 (Thu, 10 Jan 2008) | 6 lines

Don't try to copy the category from the group if no category exists.
(closes issue #11724)
Reported by: IgorG
Patches:
      group_count.v1.patch uploaded by IgorG (license 20)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97698 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 15:12:08 +00:00
russell
50cf679a18 These prototypes are not supposed to be in asterisk.h. They are already in
version.h.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97657 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 00:54:01 +00:00
murf
94140239f2 The fixes in this commit are mainly to allow compiling of trunk with --enable-dev-mode, mutex profiling, lock debugging, etc. Mainly, the version.c needs to be in the OBJS line; asterisk.h was chosen to have the prototypes for ast_get_version, ast_get_version_num; and the ASTERISK_FILE_VERSION macro needs to be used after including asterisk.h in a few files. I hope I did the right thing. If not, let me know.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97656 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 00:50:39 +00:00
tilghman
928cdf67bc oops, missed the case of a 0 permission (which should mean everybody is allowed, not nobody)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97655 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 00:39:34 +00:00
twilson
c46162bb4c Attempt at making lookup_iface work under FreeBSD. Not yet tested, but it compiles under OS X. And still works under linux.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97653 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 00:22:50 +00:00
russell
a2a1eb045d Fix this so it doesn't force codec_g722 to get relinked every time
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97652 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 00:17:02 +00:00
tilghman
40a3aabbf1 Several manager changes:
1) Add the Dialplan class, for NewExten and VarSet events, which should cut
down on the volume of traffic in the Call class.
2) Permit some commands to be run from multiple classes, such as allowing
DBGet to be run from either the System or the Reporting class.
3) Heavily document each class in the sample config, as there were several
that made no sense to be in the write= line, and two that made no sense to be
in the read= line (since they controlled no permissions there).

(Closes issue #10386)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97651 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 00:12:35 +00:00
russell
d4f2402f2e Ensure that libg722.a gets rebuilt if one of the files changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97650 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 00:11:02 +00:00
russell
245dfccf9e Merged revisions 97645 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97645 | russell | 2008-01-09 17:01:48 -0600 (Wed, 09 Jan 2008) | 2 lines

Strip terminal sequences from the verbose messages

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97646 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 23:02:19 +00:00
russell
89c6f5009a re-gen configure
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97644 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 22:53:12 +00:00
russell
989737c4c9 re-add check for gtk1, which is used for pbx_gtkconsole
(related to issue #11706)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97643 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 22:51:15 +00:00
russell
a26a31b0b2 Merged revisions 97640 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97640 | russell | 2008-01-09 16:26:33 -0600 (Wed, 09 Jan 2008) | 3 lines

Make pbx_gtkconsole build ... but doesn't actually load on my system still
(related to issue #11706)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97641 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 22:27:50 +00:00
twilson
11f6af8c7b Added a new module, res_phoneprov, which allows auto-provisioning of phones
based on configuration templates that use Asterisk dialplan function and
variable substitution.  It should be possible to create phone profiles and
templates that work for the majority of phones provisioned over http. It
is currently only intended to provision a single user account per phone.
An example profile and set of templates for Polycom phones is provided.
NOTE: Polycom firmware is not included, but should be placed in
AST_DATA_DIR/phoneprov/configs to match up with the included templates.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97634 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 21:37:26 +00:00
qwell
34c07ddcaf Merged revisions 97622 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11718)
........
r97622 | qwell | 2008-01-09 14:28:43 -0600 (Wed, 09 Jan 2008) | 5 lines

Correctly display a message if a command could not be found.
Also fix a comment which may have led to this happening.

Issue 11718, reported by kshumard.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97623 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 20:30:54 +00:00
qwell
2b30b408f6 Merged revisions 97618 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97618 | qwell | 2008-01-09 14:05:45 -0600 (Wed, 09 Jan 2008) | 1 line

Fix some locking and return value funkiness.  We really shouldn't be unlocking this lock inside of a function, unless we locked it there too.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97620 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 20:13:14 +00:00
mmichelson
5cc04b8fdf Merged revisions 97575 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97575 | mmichelson | 2008-01-09 12:48:15 -0600 (Wed, 09 Jan 2008) | 3 lines

Part 2 of app_queue doxygen improvements. Some smaller functions this time


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97577 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 18:53:29 +00:00
rizzo
73f0a12313 remove a wrong 'const'
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97533 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 18:12:44 +00:00
rizzo
8cd6762ba8 add annotations for the two message windows
we use.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97532 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 18:04:17 +00:00
russell
0405179f40 Merged revisions 97529 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97529 | russell | 2008-01-09 12:02:08 -0600 (Wed, 09 Jan 2008) | 2 lines

Fix saying the parking space number to the caller doing the parking ...

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97531 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 18:04:14 +00:00
rizzo
ea322dd14c Two changes:
- support scrolling of message window;
- simplify the code for creating a message window,
  and try it using a second one in the top of
  the keypad (where we echo the dialed number).

The 'skin' that supports these two windows will be
committed separately.

 


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97530 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 18:03:40 +00:00
kpfleming
bf8028a2c8 Merged revisions 97491 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97491 | kpfleming | 2008-01-09 11:21:14 -0600 (Wed, 09 Jan 2008) | 2 lines

report the same message whether Zaptel does not have transcoder support loaded or no transcoders were found

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97495 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 17:30:13 +00:00
phsultan
52031edff5 Merged revisions 97489 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97489 | phsultan | 2008-01-09 17:44:24 +0100 (Wed, 09 Jan 2008) | 7 lines

Set the caller id within the gtalk_alloc function.

As underlined in issue #10437 by Josh, we need to prevent a possible
memory leak. We only set the name part of the caller id, the number
part is not relevant when dealing with JIDs.

Closes issue #11549.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97490 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 16:59:09 +00:00
rizzo
1e7077c8bd Implement keyboard handling, and use it to enter
a number to dial in the 'message' area under the
keypad.

Now you can make calls using the keypad as a regular phone
(or the keyboard for chars not present on the keypad)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97488 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 16:44:20 +00:00
file
3af5eebefc Merged revisions 97450 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97450 | file | 2008-01-09 12:11:17 -0400 (Wed, 09 Jan 2008) | 6 lines

Don't do conferencing totally in Zaptel if Monitor is running on the channel.
(closes issue #11709)
Reported by: BigJimmy
Patches:
      patch-meetmerec uploaded by BigJimmy (license 371)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97451 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 16:13:24 +00:00