Kevin P. Fleming
c63f9a3fe8
if --with-foo=<path> is specific for a configure option, ensure that it is used for header file checking as well
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 23:40:29 +00:00
Kevin P. Fleming
d2d50d7a8e
ast_func_read() needs a writable copy of the function name to be passed
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49710 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 23:31:38 +00:00
Jason Parker
9803b9a357
Make codec_zap and chan_zap also depend on zaptel.
...
This fixes an issue (8727) with zaptel being in a different directory, using --with-zaptel.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 23:16:16 +00:00
Kevin P. Fleming
c56f17425c
don't 'consume' the params list before we try to use it again
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49680 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 22:52:37 +00:00
Kevin P. Fleming
444adcb477
reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most cases
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49676 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 22:16:33 +00:00
Joshua Colp
ac75028a50
Don't keep repeating the warning over and over when the end of the call is reached. (issue #8724 reported by xrg)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49675 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 22:14:47 +00:00
Kevin P. Fleming
fb010e49aa
Merged revisions 49635 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r49635 | kpfleming | 2007-01-05 10:56:40 -0600 (Fri, 05 Jan 2007) | 2 lines
ensure that threads which are supposed to be detached (because we aren't going to wait on them) are created properly
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 17:09:00 +00:00
Kevin P. Fleming
ab4da71374
revert the dynamic_list insertion change... that was not the right thing to do
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 00:01:40 +00:00
Kevin P. Fleming
aed1467281
create the IAX2 processing threads as background threads so they will use smaller stacks
...
when we create a dynamic thread, put it on the dynamic_list right away so we don't lose track of it
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 23:50:15 +00:00
Joshua Colp
62b8b03294
It's possible for the iax2 pvt to disappear, so if it has... don't bother looking for dpentries.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 23:00:50 +00:00
Kevin P. Fleming
46d91e71c5
add support for tracking thread-local-storage objects that exist via 'threadstorage' CLI commands
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 22:51:01 +00:00
Joshua Colp
3d460e5a68
Only free comments and line buffer once we reach the first level. (issue #8678 reported by ssokol, fixed by anthonyl)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 22:28:29 +00:00
Kevin P. Fleming
24bb7d865e
don't mark these allocations as 'cache' allocations when caching has been disabled
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 21:58:42 +00:00
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