Kevin P. Fleming
6b1817c0d1
if we're going to decrement the frame count when we free a frame, we should inrement it when we create one :-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 21:06:02 +00:00
Kevin P. Fleming
497dd42772
only do IAX2 frame caching for voice and video frames
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 18:31:55 +00:00
Kevin P. Fleming
fa5de60c6e
don't do frame header caching in the core if LOW_MEMORY is defined
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49461 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 18:17:01 +00:00
Kevin P. Fleming
f7a47b38eb
don't define this type either if LOW_MEMORY is enabled
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49460 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 18:16:40 +00:00
Matt O'Gorman
ff7a8f61a4
Merged revisions 49447 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.2
........
r49447 | mogorman | 2007-01-04 11:45:16 -0600 (Thu, 04 Jan 2007) | 2 lines
converted a lot of 256 to PATH_MAX and some white space fixes.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 18:11:19 +00:00
Kevin P. Fleming
74258ab85e
don't do frame caching in LOW_MEMORY mode
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 18:06:51 +00:00
Kevin P. Fleming
d49b295c1d
make building of codec_gsm against the system GSM library actually work
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 18:05:47 +00:00
Matt O'Gorman
04b4ccc4c2
Merged revisions 49412 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.2
........
r49412 | mogorman | 2007-01-04 10:48:43 -0600 (Thu, 04 Jan 2007) | 3 lines
good catch russell sorry i missed that.
fix magic number with proper sizeof
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49413 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 16:50:56 +00:00
Russell Bryant
525f5e6d75
Fix the REALTIME() dialplan function. ast_build_string() advances the string
...
pointer to the position to begin the next write into the buffer. So, this
pointer can not be used to copy the contents of the string later. The
beginning of the buffer must be saved. Interestingly enough, this code could
not have ever worked. (Pointed out by Sebb on IRC, thanks!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49388 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 04:33:00 +00:00
Matt O'Gorman
5ebc820813
Merged revisions 49354 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.2
........
r49354 | mogorman | 2007-01-03 17:22:47 -0600 (Wed, 03 Jan 2007) | 6 lines
When using ODBC_STORAGE VoicemailMain doesn't create the
subdirectories for a mailbox such as the INBOX directory.
this patch solves that problem, was written by anthony
be-125
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-03 23:32:03 +00:00
Christian Richter
fb52698667
Merged revisions 48319,48321,48467,48552,48576,49135,49303 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48319 | crichter | 2006-12-06 15:35:25 +0100 (Mi, 06 Dez 2006) | 1 line
changed a few debugs to higher debug levels
........
r48321 | crichter | 2006-12-06 16:48:45 +0100 (Mi, 06 Dez 2006) | 1 line
added the export and import of the MISDN_ADDRESS_COMPLETE Variable to inidcate wether the extension is already completely dialed or if there might come additional digits by information elements. also added some docs for that.
........
r48467 | crichter | 2006-12-14 14:03:49 +0100 (Do, 14 Dez 2006) | 1 line
removed FIXUP state. added check for channel allocation conflict when we create a setup while the other site creates a setup on the same channel, besides the check we resolve this conflict.
........
r48552 | crichter | 2006-12-18 11:19:39 +0100 (Mo, 18 Dez 2006) | 1 line
when our PTP Partner sends us a SETUP with a preselected channel we just accept it, even when we're NT. added some checks for segfaults.
........
r48576 | crichter | 2006-12-19 14:08:51 +0100 (Di, 19 Dez 2006) | 1 line
when we reject a channel, because it's in use already, we shouldn't process the setup anymore. made the channel allocation a bit easier and more understandable, removed a few unused lines
........
r49135 | crichter | 2007-01-02 11:07:22 +0100 (Di, 02 Jan 2007) | 1 line
added check for channel ranges in the set/empty channel functions. set pmp_l1_check default to no. added misdn restart pid cli command. added cleaning of channel when we send a RELEASE_COMPLETE.
........
r49303 | crichter | 2007-01-03 09:24:00 +0100 (Mi, 03 Jan 2007) | 9 lines
* Added check for bridging in misdn_call to avoid setting echocancellation
when 2 mISDN channels are involved and when bridging is set. That lead
to a kernel panic before under different situations, because we switched
about 2 times between hardware bridging and echocancelation
* readded MISDN_URATE variable which got lost before, this should make app_v110
work again
* fixed typo
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-03 09:06:50 +00:00
Kevin P. Fleming
8332521122
various Makefile improvements to get chan_vpb (and any other C++ modules) to build properly
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49282 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-03 03:21:25 +00:00
Joshua Colp
40707f097a
Check pvt structure presence before passing to send_command. This gets rid of the irritating message about a packet without pvt structure. This happens because the scheduled item is getting cancelled at almost the exact moment it is getting executed.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49259 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-03 01:19:53 +00:00
Steve Murphy
49cce60e51
This is a slight modification to Josh's edits for #8579 ; both files edited were the produced by flex; so the source files need to be changed instead, and the generated files regenerated.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49237 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-02 22:30:53 +00:00
Olle Johansson
5edb7fa173
Small cleanup of add_t38sdp - it's always enabled at that point in the code
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-02 19:58:45 +00:00
Jason Parker
0b50088366
Allow fractions of a second in the Wait() application, like it says it allows.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49189 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-02 17:33:02 +00:00
Kevin P. Fleming
95758b4920
remove comment that is unrelated to this function
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-02 13:59:44 +00:00
Olle Johansson
ab6ee2376a
Adding note on effect of applicationmap features on re-invites
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49145 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-02 12:08:50 +00:00
Kevin P. Fleming
f195c5d622
check specifically for VLDTMF and transcoding support in the system's Zaptel installation, and make only the modules that need those features dependent on them (this will allow building the other Zaptel-using parts of Asterisk against older versions of Zaptel or those on other platforms that haven't caught up yet to the Linux version)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49102 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-01 23:34:35 +00:00
Kevin P. Fleming
9944304c2f
use a simpler (and portable) method to ensure that menuselect is built as a host binary
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49099 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-01 22:48:03 +00:00
Kevin P. Fleming
6e45c965e1
revert this change until a better solution can be found... 'env -i' was not being used properly, but even when changed to do so, this process fails during cross-compilation because the menuselect build still sees 'CC' as set to the cross-compiler
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49098 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-01 22:08:24 +00:00
Olle Johansson
7db2ca152c
remove incomplete implementation of dnsmgr. Let's fix this in trunk.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-01 20:14:33 +00:00
Joshua Colp
cc8ee54779
IAX has been deprecated for quite some time so we had better use IAX2 when creating the dial string for users. (issue #8697 reported by ssokol)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-30 18:31:17 +00:00
Joshua Colp
05716471b5
Use asprintf to build the channel names instead of custom function. I believe the custom function is doing some things that are not portable across all implementations. (issue #8570 reported by hterag & issue #8692 reported by nicolasg)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-30 18:19:57 +00:00
Joshua Colp
156a6cf5db
If the Packet2Packet bridge is being broken because of a masquerade then attempt to read a frame in so the masquerade actually happens. Otherwise weirdness will occur. (issue #8696 reported by kjotte)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-30 05:46:57 +00:00
Joshua Colp
37e5a39d76
Initialize the packet queue in load_module instead of just declaring the list with the default value. (issue #8695 reported by ssokol)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49063 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-30 03:37:22 +00:00
Steve Murphy
eae46d9a28
A fix for 8661, where the CUT func needed to have comma args converted to vertical bars. I hope this change does little harm.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-30 00:40:37 +00:00
Kevin P. Fleming
4c9809f6db
put this value into the correct property
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-29 00:50:17 +00:00
Kevin P. Fleming
ad46f05d4a
Merged revisions 49045 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r49045 | kpfleming | 2006-12-28 18:32:32 -0600 (Thu, 28 Dec 2006) | 2 lines
location of the bug posting guidelines has changed
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-29 00:32:59 +00:00
Kevin P. Fleming
1715794a0b
simple commit to test CIA integration
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-29 00:05:46 +00:00
Jason Parker
52fb756adc
Fix some deprecated commands.
...
Issue 8682, patch by me
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49035 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-28 21:26:04 +00:00
Jason Parker
c38c990bc7
saw this in passing... fix a small typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49032 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-28 20:40:23 +00:00
Kevin P. Fleming
0e3a9ba044
new versions of sounds
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49028 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-28 20:08:59 +00:00
Jason Parker
c2f688d2fd
make the uris_lock a rwlock instead of a mutex lock - needs to be forward ported to trunk
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-28 19:52:46 +00:00
Joshua Colp
345968e6fb
Backport support for read/write locks.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-28 19:43:15 +00:00
Steve Murphy
4d6a91eef0
removed <err.h> as in trunk from the ael stuff. Also, threw in a minor fix to frame.c to avoid build-killing compiler warnings.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-28 19:21:56 +00:00
Joshua Colp
6d582d75c7
ast_copy_string is not available when LOW_MEMORY is used and things are being built in the utils directory, so we need to resort to the old method of strncpy. (issue #8579 reported by mottano)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 22:28:46 +00:00
Kevin P. Fleming
a299485952
since these variables all have static duration, none of them need initializers (they default to zero anyway)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 22:06:56 +00:00
Kevin P. Fleming
3307ae060a
move extern declaration for this option to a header file where it belongs
...
provide an initial value for 'languageprefix' option, instead of relying on randomness to provide a useful value
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48998 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 21:08:30 +00:00
Olle Johansson
1e9c141c2d
Only include acl.h and lock.h once
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 21:06:48 +00:00
Olle Johansson
4f157be79e
Only set rfc2833compensate flag once (handle_common_options)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 20:27:59 +00:00
Olle Johansson
f1f8bbaabe
- Remove checking for T38 options twice. Keeping them in handle_common_options
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 20:24:03 +00:00
Kevin P. Fleming
0f5aae9688
make the option actually match the documentation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 18:33:22 +00:00
Kevin P. Fleming
b2c8abbc6d
allow 'show memory' and 'show memory summary' to distinguish memory allocations that were done for caching purposes, so they don't look like memory leaks
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 18:29:13 +00:00
Olle Johansson
d2b7e8b247
Be a bit more politically correct
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48985 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 17:59:53 +00:00
Olle Johansson
bfe4bb0f1e
Issue #8575 - Buggy cisco MWI support.
...
Normally we try not to change our software for bugs in other devices. But in
this case, the Cisco phones are so widespread so we try to implement a fix while
waiting for a bugfix from Cisco.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 16:49:45 +00:00
Olle Johansson
e25756dfac
- Make sure handle_common_options return 1 when we found a common option
...
- Move uncommon (only global) option away from handle_common_options
Reported by rizzo. Thanks!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48980 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 16:31:55 +00:00
Olle Johansson
4ea530f2dc
Issue 8599 (rizzo) Change invitestate before re-sending invite with auth.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48977 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 16:12:21 +00:00
Olle Johansson
8a42650605
Fix bogus content-length in t38 sdp. (rizzo, #8600 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48975 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 15:58:13 +00:00
Joshua Colp
c4bde5b40a
Get rid of a needless memory allocation and only create a conference structure in find_conf_realtime if data was read from realtime. (issue #8669 reported by robl)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48966 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-26 05:20:08 +00:00