]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
18 years agoDisable the more intense packet2packet bridging until the bugs can be worked out.
Joshua Colp [Mon, 8 Jan 2007 18:21:31 +0000 (18:21 +0000)] 
Disable the more intense packet2packet bridging until the bugs can be worked out.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50032 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoIssue #8677 - Handle failure of T.38 re-invite
Olle Johansson [Mon, 8 Jan 2007 14:26:14 +0000 (14:26 +0000)] 
Issue #8677 - Handle failure of T.38 re-invite

This is not a fix, but adding an error message to tell the admin that
we have a bad configuration. We should not send T.38 re-invites to devices
that can't handle it (with the current architecture where you have to
hard-code t.38 support per device).

To really fix this, we need to figure out a way to tell the incoming
call that the re-invite failed, so we can signal failure on that
end and go back to the original call.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50006 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoIssue #8524, support multiple via header values (tardieu)
Olle Johansson [Mon, 8 Jan 2007 13:28:18 +0000 (13:28 +0000)] 
Issue #8524, support multiple via header values (tardieu)
Thanks!

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49983 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoWe only need one forward declaration
Olle Johansson [Mon, 8 Jan 2007 09:08:10 +0000 (09:08 +0000)] 
We only need one forward declaration

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49945 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoIssue 8735: Terminate state when extension is unavailable for subscription
Olle Johansson [Mon, 8 Jan 2007 08:55:03 +0000 (08:55 +0000)] 
Issue 8735: Terminate state when extension is unavailable for subscription

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49925 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 49889 via svnmerge from
Joshua Colp [Mon, 8 Jan 2007 05:11:54 +0000 (05:11 +0000)] 
Merged revisions 49889 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r49889 | file | 2007-01-08 00:10:07 -0500 (Mon, 08 Jan 2007) | 2 lines

Ensure we use the default refresh value of 60 if the remote server does not send one. (issue #8746 reported by maethor)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49890 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agosince we use AC_PATH_TOOL to find tools, we should use the results it provides for...
Kevin P. Fleming [Mon, 8 Jan 2007 03:53:53 +0000 (03:53 +0000)] 
since we use AC_PATH_TOOL to find tools, we should use the results it provides for us (reported by Brian Capouch on the asterisk-dev list)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49866 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 49833 via svnmerge from
Tilghman Lesher [Sun, 7 Jan 2007 21:44:52 +0000 (21:44 +0000)] 
Merged revisions 49833 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r49833 | tilghman | 2007-01-07 15:43:10 -0600 (Sun, 07 Jan 2007) | 2 lines

If openstream fails, then we crash (Issue 8564)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49834 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoSecond condition was a subset of the first, so hold was never decremented, thus hint...
Tilghman Lesher [Sun, 7 Jan 2007 21:24:04 +0000 (21:24 +0000)] 
Second condition was a subset of the first, so hold was never decremented, thus hint stayed stuck (Issue 8747)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49831 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoSave 1 whopping byte of allocated memory!
Jason Parker [Sat, 6 Jan 2007 00:24:38 +0000 (00:24 +0000)] 
Save 1 whopping byte of allocated memory!

This looks like it may have been a chicken/egg scenario..

You had to call a cleanup func, because everything was allocated.
Then since you had to call a cleanup func, you were forced to allocate - ie; strdup("").

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49742 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoone more time...
Kevin P. Fleming [Fri, 5 Jan 2007 23:51:31 +0000 (23:51 +0000)] 
one more time...

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49715 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoproper fix for r49712
Kevin P. Fleming [Fri, 5 Jan 2007 23:49:52 +0000 (23:49 +0000)] 
proper fix for r49712

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49714 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoif --with-foo=<path> is specific for a configure option, ensure that it is used for...
Kevin P. Fleming [Fri, 5 Jan 2007 23:40:29 +0000 (23:40 +0000)] 
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

18 years agoast_func_read() needs a writable copy of the function name to be passed
Kevin P. Fleming [Fri, 5 Jan 2007 23:31:38 +0000 (23:31 +0000)] 
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

18 years agoMake codec_zap and chan_zap also depend on zaptel.
Jason Parker [Fri, 5 Jan 2007 23:16:16 +0000 (23:16 +0000)] 
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

18 years agodon't 'consume' the params list before we try to use it again
Kevin P. Fleming [Fri, 5 Jan 2007 22:52:37 +0000 (22:52 +0000)] 
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

18 years agoreduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most cases
Kevin P. Fleming [Fri, 5 Jan 2007 22:16:33 +0000 (22:16 +0000)] 
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

18 years agoDon't keep repeating the warning over and over when the end of the call is reached...
Joshua Colp [Fri, 5 Jan 2007 22:14:47 +0000 (22:14 +0000)] 
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

18 years agoMerged revisions 49635 via svnmerge from
Kevin P. Fleming [Fri, 5 Jan 2007 17:09:00 +0000 (17:09 +0000)] 
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

18 years agorevert the dynamic_list insertion change... that was not the right thing to do
Kevin P. Fleming [Fri, 5 Jan 2007 00:01:40 +0000 (00:01 +0000)] 
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

18 years agocreate the IAX2 processing threads as background threads so they will use smaller...
Kevin P. Fleming [Thu, 4 Jan 2007 23:50:15 +0000 (23:50 +0000)] 
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

18 years agoIt's possible for the iax2 pvt to disappear, so if it has... don't bother looking...
Joshua Colp [Thu, 4 Jan 2007 23:00:50 +0000 (23:00 +0000)] 
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

18 years agoadd support for tracking thread-local-storage objects that exist via 'threadstorage...
Kevin P. Fleming [Thu, 4 Jan 2007 22:51:01 +0000 (22:51 +0000)] 
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

18 years agoOnly free comments and line buffer once we reach the first level. (issue #8678 report...
Joshua Colp [Thu, 4 Jan 2007 22:28:29 +0000 (22:28 +0000)] 
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

18 years agodon't mark these allocations as 'cache' allocations when caching has been disabled
Kevin P. Fleming [Thu, 4 Jan 2007 21:58:42 +0000 (21:58 +0000)] 
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

18 years agoif we're going to decrement the frame count when we free a frame, we should inrement...
Kevin P. Fleming [Thu, 4 Jan 2007 21:06:02 +0000 (21:06 +0000)] 
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

18 years agoonly do IAX2 frame caching for voice and video frames
Kevin P. Fleming [Thu, 4 Jan 2007 18:31:55 +0000 (18:31 +0000)] 
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

18 years agodon't do frame header caching in the core if LOW_MEMORY is defined
Kevin P. Fleming [Thu, 4 Jan 2007 18:17:01 +0000 (18:17 +0000)] 
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

18 years agodon't define this type either if LOW_MEMORY is enabled
Kevin P. Fleming [Thu, 4 Jan 2007 18:16:40 +0000 (18:16 +0000)] 
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

18 years agoMerged revisions 49447 via svnmerge from
Matt O'Gorman [Thu, 4 Jan 2007 18:11:19 +0000 (18:11 +0000)] 
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

18 years agodon't do frame caching in LOW_MEMORY mode
Kevin P. Fleming [Thu, 4 Jan 2007 18:06:51 +0000 (18:06 +0000)] 
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

18 years agomake building of codec_gsm against the system GSM library actually work
Kevin P. Fleming [Thu, 4 Jan 2007 18:05:47 +0000 (18:05 +0000)] 
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

18 years agoMerged revisions 49412 via svnmerge from
Matt O'Gorman [Thu, 4 Jan 2007 16:50:56 +0000 (16:50 +0000)] 
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

18 years agoFix the REALTIME() dialplan function. ast_build_string() advances the string
Russell Bryant [Thu, 4 Jan 2007 04:33:00 +0000 (04:33 +0000)] 
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

18 years agoMerged revisions 49354 via svnmerge from
Matt O'Gorman [Wed, 3 Jan 2007 23:32:03 +0000 (23:32 +0000)] 
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

18 years agoMerged revisions 48319,48321,48467,48552,48576,49135,49303 via svnmerge from
Christian Richter [Wed, 3 Jan 2007 09:06:50 +0000 (09:06 +0000)] 
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

18 years agovarious Makefile improvements to get chan_vpb (and any other C++ modules) to build...
Kevin P. Fleming [Wed, 3 Jan 2007 03:21:25 +0000 (03:21 +0000)] 
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

18 years agoCheck pvt structure presence before passing to send_command. This gets rid of the...
Joshua Colp [Wed, 3 Jan 2007 01:19:53 +0000 (01:19 +0000)] 
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

18 years agoThis is a slight modification to Josh's edits for #8579; both files edited were the...
Steve Murphy [Tue, 2 Jan 2007 22:30:53 +0000 (22:30 +0000)] 
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

18 years agoSmall cleanup of add_t38sdp - it's always enabled at that point in the code
Olle Johansson [Tue, 2 Jan 2007 19:58:45 +0000 (19:58 +0000)] 
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

18 years agoAllow fractions of a second in the Wait() application, like it says it allows.
Jason Parker [Tue, 2 Jan 2007 17:33:02 +0000 (17:33 +0000)] 
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

18 years agoremove comment that is unrelated to this function
Kevin P. Fleming [Tue, 2 Jan 2007 13:59:44 +0000 (13:59 +0000)] 
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

18 years agoAdding note on effect of applicationmap features on re-invites
Olle Johansson [Tue, 2 Jan 2007 12:08:50 +0000 (12:08 +0000)] 
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

18 years agocheck specifically for VLDTMF and transcoding support in the system's Zaptel installa...
Kevin P. Fleming [Mon, 1 Jan 2007 23:34:35 +0000 (23:34 +0000)] 
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

18 years agouse a simpler (and portable) method to ensure that menuselect is built as a host...
Kevin P. Fleming [Mon, 1 Jan 2007 22:48:03 +0000 (22:48 +0000)] 
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

18 years agorevert this change until a better solution can be found... 'env -i' was not being...
Kevin P. Fleming [Mon, 1 Jan 2007 22:08:24 +0000 (22:08 +0000)] 
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

18 years agoremove incomplete implementation of dnsmgr. Let's fix this in trunk.
Olle Johansson [Mon, 1 Jan 2007 20:14:33 +0000 (20:14 +0000)] 
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

18 years agoIAX has been deprecated for quite some time so we had better use IAX2 when creating...
Joshua Colp [Sat, 30 Dec 2006 18:31:17 +0000 (18:31 +0000)] 
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

18 years agoUse asprintf to build the channel names instead of custom function. I believe the...
Joshua Colp [Sat, 30 Dec 2006 18:19:57 +0000 (18:19 +0000)] 
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

18 years agoIf the Packet2Packet bridge is being broken because of a masquerade then attempt...
Joshua Colp [Sat, 30 Dec 2006 05:46:57 +0000 (05:46 +0000)] 
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

18 years agoInitialize the packet queue in load_module instead of just declaring the list with...
Joshua Colp [Sat, 30 Dec 2006 03:37:22 +0000 (03:37 +0000)] 
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

18 years agoA fix for 8661, where the CUT func needed to have comma args converted to vertical...
Steve Murphy [Sat, 30 Dec 2006 00:40:37 +0000 (00:40 +0000)] 
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

18 years agoput this value into the correct property
Kevin P. Fleming [Fri, 29 Dec 2006 00:50:17 +0000 (00:50 +0000)] 
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

18 years agoMerged revisions 49045 via svnmerge from
Kevin P. Fleming [Fri, 29 Dec 2006 00:32:59 +0000 (00:32 +0000)] 
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

18 years agosimple commit to test CIA integration
Kevin P. Fleming [Fri, 29 Dec 2006 00:05:46 +0000 (00:05 +0000)] 
simple commit to test CIA integration

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49042 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFix some deprecated commands.
Jason Parker [Thu, 28 Dec 2006 21:26:04 +0000 (21:26 +0000)] 
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

18 years agosaw this in passing... fix a small typo
Jason Parker [Thu, 28 Dec 2006 20:40:23 +0000 (20:40 +0000)] 
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

18 years agonew versions of sounds
Kevin P. Fleming [Thu, 28 Dec 2006 20:08:59 +0000 (20:08 +0000)] 
new versions of sounds

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49028 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agomake the uris_lock a rwlock instead of a mutex lock - needs to be forward ported...
Jason Parker [Thu, 28 Dec 2006 19:52:46 +0000 (19:52 +0000)] 
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

18 years agoBackport support for read/write locks.
Joshua Colp [Thu, 28 Dec 2006 19:43:15 +0000 (19:43 +0000)] 
Backport support for read/write locks.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49022 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoremoved <err.h> as in trunk from the ael stuff. Also, threw in a minor fix to frame...
Steve Murphy [Thu, 28 Dec 2006 19:21:56 +0000 (19:21 +0000)] 
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

18 years agoast_copy_string is not available when LOW_MEMORY is used and things are being built...
Joshua Colp [Wed, 27 Dec 2006 22:28:46 +0000 (22:28 +0000)] 
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

18 years agosince these variables all have static duration, none of them need initializers (they...
Kevin P. Fleming [Wed, 27 Dec 2006 22:06:56 +0000 (22:06 +0000)] 
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

18 years agomove extern declaration for this option to a header file where it belongs
Kevin P. Fleming [Wed, 27 Dec 2006 21:08:30 +0000 (21:08 +0000)] 
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

18 years agoOnly include acl.h and lock.h once
Olle Johansson [Wed, 27 Dec 2006 21:06:48 +0000 (21:06 +0000)] 
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

18 years agoOnly set rfc2833compensate flag once (handle_common_options)
Olle Johansson [Wed, 27 Dec 2006 20:27:59 +0000 (20:27 +0000)] 
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

18 years ago- Remove checking for T38 options twice. Keeping them in handle_common_options
Olle Johansson [Wed, 27 Dec 2006 20:24:03 +0000 (20:24 +0000)] 
- 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

18 years agomake the option actually match the documentation
Kevin P. Fleming [Wed, 27 Dec 2006 18:33:22 +0000 (18:33 +0000)] 
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

18 years agoallow 'show memory' and 'show memory summary' to distinguish memory allocations that...
Kevin P. Fleming [Wed, 27 Dec 2006 18:29:13 +0000 (18:29 +0000)] 
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

18 years agoBe a bit more politically correct
Olle Johansson [Wed, 27 Dec 2006 17:59:53 +0000 (17:59 +0000)] 
Be a bit more politically correct

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48985 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoIssue #8575 - Buggy cisco MWI support.
Olle Johansson [Wed, 27 Dec 2006 16:49:45 +0000 (16:49 +0000)] 
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

18 years ago- Make sure handle_common_options return 1 when we found a common option
Olle Johansson [Wed, 27 Dec 2006 16:31:55 +0000 (16:31 +0000)] 
- 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

18 years agoIssue 8599 (rizzo) Change invitestate before re-sending invite with auth.
Olle Johansson [Wed, 27 Dec 2006 16:12:21 +0000 (16:12 +0000)] 
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

18 years agoFix bogus content-length in t38 sdp. (rizzo, #8600)
Olle Johansson [Wed, 27 Dec 2006 15:58:13 +0000 (15:58 +0000)] 
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

18 years agoGet rid of a needless memory allocation and only create a conference structure in...
Joshua Colp [Tue, 26 Dec 2006 05:20:08 +0000 (05:20 +0000)] 
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

18 years agoAdd an API call that initializes an RTP structure. We need this because chan_sip...
Joshua Colp [Tue, 26 Dec 2006 04:31:58 +0000 (04:31 +0000)] 
Add an API call that initializes an RTP structure. We need this because chan_sip is cheeky and uses a temporary RTP structure for codec purposes, and the API calls that are used rely on the lock. (Pointed out on asterisk-dev by Andy Wang)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48964 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoClean up autoconf file (gets rid of warnings seen when rebuilding configure) and...
Joshua Colp [Mon, 25 Dec 2006 17:04:48 +0000 (17:04 +0000)] 
Clean up autoconf file (gets rid of warnings seen when rebuilding configure) and rebuild configure.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48960 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoMerged revisions 48955 via svnmerge from
Russell Bryant [Mon, 25 Dec 2006 05:21:20 +0000 (05:21 +0000)] 
Merged revisions 48955 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48955 | russell | 2006-12-25 00:19:48 -0500 (Mon, 25 Dec 2006) | 6 lines

Fix an error introduced by copying and pasting the handling of the >= operator
for the MATH function.  If a single equal sign was used as an operator, the
function would treat it is as if it were the >= operator.  Now, it properly
handles it as an invalid operator.
(issue #8665, patch by tempest1)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48956 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoFix a typo in an error message that indicated that the MGCP channel type could
Russell Bryant [Sun, 24 Dec 2006 21:19:37 +0000 (21:19 +0000)] 
Fix a typo in an error message that indicated that the MGCP channel type could
not be registered, instead of the correct type, OSS.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48948 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoMerged revisions 48943 via svnmerge from
Russell Bryant [Sun, 24 Dec 2006 07:25:38 +0000 (07:25 +0000)] 
Merged revisions 48943 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48943 | russell | 2006-12-24 02:23:07 -0500 (Sun, 24 Dec 2006) | 3 lines

Check for the proper return value on an error in a call to mmap().
This was reported by Andy Wang on the asterisk-dev list.  Thanks!

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48944 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoMerged revisions 48939 via svnmerge from
Russell Bryant [Sun, 24 Dec 2006 06:49:31 +0000 (06:49 +0000)] 
Merged revisions 48939 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48939 | russell | 2006-12-24 01:47:29 -0500 (Sun, 24 Dec 2006) | 3 lines

Remove a couple of misplaced dots in log messages.  This was reported by
Andrea Spadaccini on the asterisk-dev mailing list.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48940 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoImplement locking for the list of URI handlers to make it thread-safe.
Russell Bryant [Sat, 23 Dec 2006 20:22:52 +0000 (20:22 +0000)] 
Implement locking for the list of URI handlers to make it thread-safe.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48931 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoMinor fixes for Solaris.
Jason Parker [Fri, 22 Dec 2006 22:33:46 +0000 (22:33 +0000)] 
Minor fixes for Solaris.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48906 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoNote to self: Run make before committing...
Jason Parker [Fri, 22 Dec 2006 21:40:20 +0000 (21:40 +0000)] 
Note to self: Run make before committing...

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48888 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoFix for issue 7774 - patch by alamantia
Jason Parker [Fri, 22 Dec 2006 20:43:05 +0000 (20:43 +0000)] 
Fix for issue 7774 - patch by alamantia

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48870 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoMerged revisions 48782 via svnmerge from
Joshua Colp [Thu, 21 Dec 2006 20:26:29 +0000 (20:26 +0000)] 
Merged revisions 48782 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48782 | file | 2006-12-21 15:25:01 -0500 (Thu, 21 Dec 2006) | 2 lines

Add new silence sound files to the spec for Redhat. (issue #8652 reported by alvaro_palma_aste)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48783 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agovms doesn't exist on non-IMAP storage builds.
Joshua Colp [Wed, 20 Dec 2006 02:56:09 +0000 (02:56 +0000)] 
vms doesn't exist on non-IMAP storage builds.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48637 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoPass 'vms' pointer to record_and_review so it is then passed to the IMAP store file...
Joshua Colp [Tue, 19 Dec 2006 23:04:30 +0000 (23:04 +0000)] 
Pass 'vms' pointer to record_and_review so it is then passed to the IMAP store file function. (issue #8614 reported by punknow)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48596 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agofind is not the same as bind when it comes to documentation. (issue #8626 reported...
Joshua Colp [Tue, 19 Dec 2006 22:00:57 +0000 (22:00 +0000)] 
find is not the same as bind when it comes to documentation. (issue #8626 reported by johann8384)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48592 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agosuppress compiler warnings in this module until it can be improved
Kevin P. Fleming [Tue, 19 Dec 2006 21:28:04 +0000 (21:28 +0000)] 
suppress compiler warnings in this module until it can be improved

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48586 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoMerged revisions 48584 via svnmerge from
Joshua Colp [Tue, 19 Dec 2006 21:12:07 +0000 (21:12 +0000)] 
Merged revisions 48584 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48584 | file | 2006-12-19 16:10:26 -0500 (Tue, 19 Dec 2006) | 2 lines

Free localuser structure when we fail to dial (issue #8612 reported by rizzo)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48585 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agofix a bogus datalen in the frames generated by app_sms
Luigi Rizzo [Tue, 19 Dec 2006 21:03:02 +0000 (21:03 +0000)] 
fix a bogus datalen in the frames generated by app_sms
(causing noisy output if you listen to the output!)

This affects trunk as well, whereas 1.2 is ok.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48583 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agouse the proper variable type for these unixODBC API calls, eliminating warnings on...
Kevin P. Fleming [Tue, 19 Dec 2006 14:57:09 +0000 (14:57 +0000)] 
use the proper variable type for these unixODBC API calls, eliminating warnings on 64-bit platforms that use the 'new' 64-bit types for ODBC API calls

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48577 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoUse env -i to start a fresh environment when going to build menuselect. This is more...
Joshua Colp [Tue, 19 Dec 2006 03:46:12 +0000 (03:46 +0000)] 
Use env -i to start a fresh environment when going to build menuselect. This is more portable then using unset. (issue #8543 reported by jtodd)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48571 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agounbreak the macro used for incrementing the frame counters.
Luigi Rizzo [Mon, 18 Dec 2006 17:23:29 +0000 (17:23 +0000)] 
unbreak the macro used for incrementing the frame counters.

I don't know when the bug was introduced, but with the typical usage

c->fin = FRAMECOUNT_INC(c->fin)

the frame counters stay to 0.

affects trunk as well (fix coming).

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48566 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoPut thread into proper list if we abort handling due to an error, and also hold the...
Joshua Colp [Mon, 18 Dec 2006 17:15:49 +0000 (17:15 +0000)] 
Put thread into proper list if we abort handling due to an error, and also hold the lock while putting it back into the proper idle list so we don't prematurely get a signal. (issue #8604 reported by arkadia)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48564 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoctrl-w != w (nano search)
Jason Parker [Mon, 18 Dec 2006 16:55:46 +0000 (16:55 +0000)] 
ctrl-w != w  (nano search)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48561 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoremove some now-unnecessary explicit includes of autoconfig.h
Kevin P. Fleming [Mon, 18 Dec 2006 11:59:24 +0000 (11:59 +0000)] 
remove some now-unnecessary explicit includes of autoconfig.h
clean up per-file dependencies during 'make clean'

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48554 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoneed an additional argument here to make the downloads actually occur
Kevin P. Fleming [Sun, 17 Dec 2006 18:33:24 +0000 (18:33 +0000)] 
need an additional argument here to make the downloads actually occur

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48548 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agouse m4 quoting for AC_MSG_NOTICE calls, to keep these calls from thinking they have...
Kevin P. Fleming [Sat, 16 Dec 2006 21:34:41 +0000 (21:34 +0000)] 
use m4 quoting for AC_MSG_NOTICE calls, to keep these calls from thinking they have multiple arguments

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48528 65c4cc65-6c06-0410-ace0-fbb531ad65f3