]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
19 years agoblocking 47910 from 1.4; the time-limits on Dial are working OK
Steve Murphy [Wed, 22 Nov 2006 02:37:26 +0000 (02:37 +0000)] 
blocking 47910 from 1.4; the time-limits on Dial are working OK

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

19 years agoIf we have the non standard G726-32 setting turned on we want to return G726-32 to...
Joshua Colp [Tue, 21 Nov 2006 17:32:27 +0000 (17:32 +0000)] 
If we have the non standard G726-32 setting turned on we want to return G726-32 to the SDP, not our AAL2 string. (issue #8330 reported by voipgate)

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

19 years agoApparently Exosip sends a 101 after a 100 provisional response. Let's not treat that as
Olle Johansson [Tue, 21 Nov 2006 15:20:03 +0000 (15:20 +0000)] 
Apparently Exosip sends a 101 after a 100 provisional response. Let's not treat that as
early media. (discovered at the AVTF meeting in Paris).

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

19 years agoOops, merge missed release of odbc object
Tilghman Lesher [Mon, 20 Nov 2006 20:01:58 +0000 (20:01 +0000)] 
Oops, merge missed release of odbc object

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

19 years agoMerged revisions 47862 via svnmerge from
Tilghman Lesher [Mon, 20 Nov 2006 20:00:54 +0000 (20:00 +0000)] 
Merged revisions 47862 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47862 | tilghman | 2006-11-20 13:59:07 -0600 (Mon, 20 Nov 2006) | 2 lines

Failing to trap -1 error from mmap causes segfault (Issue 8385)

........

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

19 years agoMerged revisions 47859 via svnmerge from
Joshua Colp [Mon, 20 Nov 2006 19:51:36 +0000 (19:51 +0000)] 
Merged revisions 47859 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47859 | file | 2006-11-20 14:50:21 -0500 (Mon, 20 Nov 2006) | 2 lines

Don't forget to byte swap if we are exiting the smoother feed early. (issue #8287 reported by arturs)

........

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

19 years agoBlocked revisions 47855 via svnmerge
Joshua Colp [Mon, 20 Nov 2006 16:17:47 +0000 (16:17 +0000)] 
Blocked revisions 47855 via svnmerge

........
r47855 | file | 2006-11-20 11:16:22 -0500 (Mon, 20 Nov 2006) | 2 lines

Free history items at the end of use of the temporary SIP pvt structure. (issue #8383 reported by benh)

........

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

19 years agoOnly remove/destroy the RTCP I/O item if it exists.
Joshua Colp [Mon, 20 Nov 2006 15:58:50 +0000 (15:58 +0000)] 
Only remove/destroy the RTCP I/O item if it exists.

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

19 years agoUse a separate variable in the channel structure to store the context that the channe...
Joshua Colp [Mon, 20 Nov 2006 15:51:37 +0000 (15:51 +0000)] 
Use a separate variable in the channel structure to store the context that the channel was dialed from. (issue #8382 reported by jiddings)

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

19 years agoExplain properly how videosupport works.
Olle Johansson [Mon, 20 Nov 2006 11:45:22 +0000 (11:45 +0000)] 
Explain properly how videosupport works.

Committ from Asterisk Video Task Force meeting in Paris!

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

19 years agoMake sure we destroy scheduled items and not use them ever again after destruction...
Olle Johansson [Mon, 20 Nov 2006 11:29:19 +0000 (11:29 +0000)] 
Make sure we destroy scheduled items and not use them ever again after destruction (rizzo)

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

19 years agofix bug 7450 - Parsing fails if From header contains angle brackets
Luigi Rizzo [Sat, 18 Nov 2006 17:59:35 +0000 (17:59 +0000)] 
fix bug 7450 - Parsing fails if From header contains angle brackets
(the bug was only in a corner case where the < was right after the
opening quote, and the fix is trivial).

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

19 years agoblock patch that was already present here
Kevin P. Fleming [Fri, 17 Nov 2006 19:02:38 +0000 (19:02 +0000)] 
block patch that was already present here

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

19 years agoFix a couple of typos. Initially pointed out by mrobinson.
Jason Parker [Thu, 16 Nov 2006 23:19:46 +0000 (23:19 +0000)] 
Fix a couple of typos.  Initially pointed out by mrobinson.

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

19 years agoBlocked revisions 47780 via svnmerge
Jason Parker [Thu, 16 Nov 2006 23:18:22 +0000 (23:18 +0000)] 
Blocked revisions 47780 via svnmerge

........
r47780 | qwell | 2006-11-16 17:16:35 -0600 (Thu, 16 Nov 2006) | 2 lines

Fix a couple of typos in applications..  Initially spotted by mrobinson.

........

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

19 years agoupdate documentation regarding IAX2 transfers and CDRs
Kevin P. Fleming [Thu, 16 Nov 2006 23:00:10 +0000 (23:00 +0000)] 
update documentation regarding IAX2 transfers and CDRs

Merged revisions 47776 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47776 | kpfleming | 2006-11-16 16:57:31 -0600 (Thu, 16 Nov 2006) | 2 lines

update clearly wrong documentation regarding cdr_custom

........

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

19 years agoCompare technology using the pointers instead of a straight comparison based on name...
Joshua Colp [Thu, 16 Nov 2006 21:11:06 +0000 (21:11 +0000)] 
Compare technology using the pointers instead of a straight comparison based on name. (issue #8228 reported by dean bath)

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

19 years agoBlocked revisions 47761 via svnmerge
Joshua Colp [Thu, 16 Nov 2006 20:30:54 +0000 (20:30 +0000)] 
Blocked revisions 47761 via svnmerge

........
r47761 | file | 2006-11-16 15:29:28 -0500 (Thu, 16 Nov 2006) | 2 lines

Look for the header file specifically in all cases, not just the existence of the directory. (issue #8358 reported by mrness)

........

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

19 years agocheck for pre-1.4 versions of Zaptel and abort the configure script if found with...
Kevin P. Fleming [Thu, 16 Nov 2006 20:09:10 +0000 (20:09 +0000)] 
check for pre-1.4 versions of Zaptel and abort the configure script if found with an appropriate error message

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

19 years agoMake the HOLD notification optional, in order to avoid a lot of extra database lookups
Olle Johansson [Thu, 16 Nov 2006 19:24:23 +0000 (19:24 +0000)] 
Make the HOLD notification optional, in order to avoid a lot of extra database lookups
for all those realtime users out there.

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

19 years agoMerged revisions 47750 via svnmerge from
Joshua Colp [Thu, 16 Nov 2006 18:29:12 +0000 (18:29 +0000)] 
Merged revisions 47750 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47750 | file | 2006-11-16 13:26:50 -0500 (Thu, 16 Nov 2006) | 2 lines

Because of the way chan_local is written we should be extra careful and make sure our callback functions have a tech_pvt. (issue #8275 reported by mflorell)

........

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

19 years agoDon't unreference the SLA object if there is no SLA object in the devicestate callbac...
Joshua Colp [Thu, 16 Nov 2006 17:52:48 +0000 (17:52 +0000)] 
Don't unreference the SLA object if there is no SLA object in the devicestate callback. (issue #8354 reported by loloski)

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

19 years agoDon't fixup if there's nothing to fixup
Olle Johansson [Thu, 16 Nov 2006 16:51:59 +0000 (16:51 +0000)] 
Don't fixup if there's nothing to fixup

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

19 years agoWarn users about change in canreinvite
Olle Johansson [Thu, 16 Nov 2006 15:16:58 +0000 (15:16 +0000)] 
Warn users about change in canreinvite

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

19 years ago- CANCEL is never authenticated (according to the RFC)
Olle Johansson [Thu, 16 Nov 2006 15:03:49 +0000 (15:03 +0000)] 
- CANCEL is never authenticated (according to the RFC)
- Update docs on canreinvite. "nonat" is the recommended setting for most users with
  phones behind a NAT.

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

19 years agoMerged revisions 47711 via svnmerge from
Joshua Colp [Wed, 15 Nov 2006 22:31:17 +0000 (22:31 +0000)] 
Merged revisions 47711 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47711 | file | 2006-11-15 17:29:30 -0500 (Wed, 15 Nov 2006) | 2 lines

Make sure that the pvt structure exists before trying to do fixup on Local channels. (issue #7937 reported by mada123, fix by alamantia with mods by me)

........

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

19 years agoFix ODBC_STORAGE for when context is NULL
Tilghman Lesher [Wed, 15 Nov 2006 21:56:55 +0000 (21:56 +0000)] 
Fix ODBC_STORAGE for when context is NULL

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

19 years agoWe need to ensure timelimit stuff is included as well so warnings get played. (issue...
Joshua Colp [Wed, 15 Nov 2006 21:33:41 +0000 (21:33 +0000)] 
We need to ensure timelimit stuff is included as well so warnings get played. (issue #8050 reported by KNK)

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

19 years agodon't try to call fclose() if fopen() failed
Kevin P. Fleming [Wed, 15 Nov 2006 20:50:06 +0000 (20:50 +0000)] 
don't try to call fclose() if fopen() failed

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

19 years ago- Improve SIP history
Olle Johansson [Wed, 15 Nov 2006 20:31:11 +0000 (20:31 +0000)] 
- Improve SIP history
- Never send reply to ACK (again...)

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

19 years agoblock fix that was found in this branch and backported to 1.2
Kevin P. Fleming [Wed, 15 Nov 2006 20:31:02 +0000 (20:31 +0000)] 
block fix that was found in this branch and backported to 1.2

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

19 years agoMerged revisions 47677 via svnmerge from
Kevin P. Fleming [Wed, 15 Nov 2006 20:27:38 +0000 (20:27 +0000)] 
Merged revisions 47677 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47677 | kpfleming | 2006-11-15 11:56:42 -0600 (Wed, 15 Nov 2006) | 4 lines

ensure that message duration is included in email notifications for forwarded messages (BE-96, fix by me after corydon used his clue-bat on me)
ensure that duration in the message metadata is updated if prepending is done during forwarding (related to BE-96)
remove prototype for API call that does not exist

........

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

19 years agoMerged revisions 47686,47688-47689 via svnmerge from
Kevin P. Fleming [Wed, 15 Nov 2006 20:01:22 +0000 (20:01 +0000)] 
Merged revisions 47686,47688-47689 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47686 | kpfleming | 2006-11-15 13:42:05 -0600 (Wed, 15 Nov 2006) | 2 lines

clear the category's variable tail pointer as well when variables are detached from it

........
r47688 | kpfleming | 2006-11-15 13:47:43 -0600 (Wed, 15 Nov 2006) | 2 lines

when appending a list of variable to a category, ensure the tail pointer points to the last variable in the list

........
r47689 | kpfleming | 2006-11-15 13:58:46 -0600 (Wed, 15 Nov 2006) | 2 lines

when re-writing the config file, don't repeat the path if it hasn't changed

........

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

19 years agoMerged revisions 47682 via svnmerge from
Kevin P. Fleming [Wed, 15 Nov 2006 18:43:30 +0000 (18:43 +0000)] 
Merged revisions 47682 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47682 | kpfleming | 2006-11-15 12:39:47 -0600 (Wed, 15 Nov 2006) | 2 lines

ouch... don't use printf, use ast_log/ast_verbose

........

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

19 years agofix longest match search in find_cli.
Luigi Rizzo [Wed, 15 Nov 2006 17:46:45 +0000 (17:46 +0000)] 
fix longest match search in find_cli.
Trunk already fixed.

1.2 not affected (well, i have no idea, the code is totally
different there).

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

19 years agoSend error message when we can't allocate SIP dialog, possibly due to limitation...
Olle Johansson [Wed, 15 Nov 2006 15:25:50 +0000 (15:25 +0000)] 
Send error message when we can't allocate SIP dialog, possibly due to limitation of file descriptors.
(imported from 1.2)

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

19 years agoBlock patch to 1.2 that already was fixed in 1.4.
Olle Johansson [Wed, 15 Nov 2006 13:21:33 +0000 (13:21 +0000)] 
Block patch to 1.2 that already was fixed in 1.4.

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

19 years agoIf NAT detection is turned on or already detected then say NAT is active when setting...
Joshua Colp [Wed, 15 Nov 2006 04:45:24 +0000 (04:45 +0000)] 
If NAT detection is turned on or already detected then say NAT is active when setting the remote RTP peer when doing early bridging. (issue #8365 reported by marcelbarbulescu)

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

19 years agomore formatting cleanup, and avoid running off the end of the string
Kevin P. Fleming [Wed, 15 Nov 2006 00:19:05 +0000 (00:19 +0000)] 
more formatting cleanup, and avoid running off the end of the string

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

19 years agoTurn notice about unknown RTCP packet type into a debug message instead.
Joshua Colp [Wed, 15 Nov 2006 00:14:07 +0000 (00:14 +0000)] 
Turn notice about unknown RTCP packet type into a debug message instead.

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

19 years agosilence compiler warning on 64-bit platforms (this variable is an 'int' anyway, compa...
Kevin P. Fleming [Wed, 15 Nov 2006 00:05:44 +0000 (00:05 +0000)] 
silence compiler warning on 64-bit platforms (this variable is an 'int' anyway, comparing it to 'signed long' is not useful)

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

19 years agoMerged revisions 47631 via svnmerge from
Joshua Colp [Tue, 14 Nov 2006 22:17:16 +0000 (22:17 +0000)] 
Merged revisions 47631 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47631 | file | 2006-11-14 17:15:10 -0500 (Tue, 14 Nov 2006) | 2 lines

Update copyright information in the ADSI logo blob.

........

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

19 years agoOnly keep the video RTP structure around if 1. Video support is enabled and 2. A...
Joshua Colp [Tue, 14 Nov 2006 22:05:03 +0000 (22:05 +0000)] 
Only keep the video RTP structure around if 1. Video support is enabled and 2. A video codec is enabled on the dialog

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

19 years agoSmall documentation clarification for URIENCODE. (issue #8294 reported by salaud)
Joshua Colp [Tue, 14 Nov 2006 21:30:44 +0000 (21:30 +0000)] 
Small documentation clarification for URIENCODE. (issue #8294 reported by salaud)

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

19 years agoConversion of res_odbc API to include ast_ prefix did not completely transition app_v...
Tilghman Lesher [Tue, 14 Nov 2006 18:54:40 +0000 (18:54 +0000)] 
Conversion of res_odbc API to include ast_ prefix did not completely transition app_voicemail
when ODBC_STORAGE is used (reported on IRC by caio1982, not in bugtracker)

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

19 years agoUse LOG_DEBUG to print out the indication that app_amd is using default settings...
Joshua Colp [Tue, 14 Nov 2006 16:45:57 +0000 (16:45 +0000)] 
Use LOG_DEBUG to print out the indication that app_amd is using default settings instead of using LOG_NOTICE. This stops needless logging of this information under normal circumstances. (issue #8361 reported by Seb7)

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

19 years agoUpdate documentation to fit the implementation...
Olle Johansson [Tue, 14 Nov 2006 16:22:35 +0000 (16:22 +0000)] 
Update documentation to fit the implementation...

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

19 years agoIssue #8272 - Don't destroy dialog in retransmission system if it's an OPTION packet...
Olle Johansson [Tue, 14 Nov 2006 11:14:01 +0000 (11:14 +0000)] 
Issue #8272 - Don't destroy dialog in retransmission system if it's an OPTION packet from peerpoke

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

19 years agoMerged revisions 47583 via svnmerge from
Joshua Colp [Mon, 13 Nov 2006 21:28:57 +0000 (21:28 +0000)] 
Merged revisions 47583 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47583 | file | 2006-11-13 16:26:36 -0500 (Mon, 13 Nov 2006) | 2 lines

Initialize global pointers for connection and result to NULL. (issue #8356 reported by james)

........

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

19 years agoMerged revisions 47580 via svnmerge from
Tilghman Lesher [Mon, 13 Nov 2006 20:20:01 +0000 (20:20 +0000)] 
Merged revisions 47580 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47580 | tilghman | 2006-11-13 14:18:30 -0600 (Mon, 13 Nov 2006) | 2 lines

Having more than 255 old messages caused corruption in the new/old count

........

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

19 years agoThis solves bug 8342, whereby a crash occurs under certain circumstances while readin...
Steve Murphy [Mon, 13 Nov 2006 19:15:12 +0000 (19:15 +0000)] 
This solves bug 8342, whereby a crash occurs under certain circumstances while reading a config file with comments-- a call to CB_ADD shouldn't happen if withcomments is zero

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

19 years agoRe-enable old deprecated commands
Tilghman Lesher [Mon, 13 Nov 2006 19:11:15 +0000 (19:11 +0000)] 
Re-enable old deprecated commands

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

19 years ago- Don't reply to INVITE already replied to when we get BYE
Olle Johansson [Mon, 13 Nov 2006 19:10:39 +0000 (19:10 +0000)] 
- Don't reply to INVITE already replied to when we get BYE
- Declare errmsg as int. Oops.

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

19 years agoEager people beat me to fixing the messed if, but we all forgot to update the regress...
Steve Murphy [Mon, 13 Nov 2006 18:18:06 +0000 (18:18 +0000)] 
Eager people beat me to fixing the messed if, but we all forgot to update the regressions. Until now.

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

19 years agoClean up last commit to better conform to standards.
Joshua Colp [Mon, 13 Nov 2006 17:38:44 +0000 (17:38 +0000)] 
Clean up last commit to better conform to standards.

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

19 years agoAEL need not complain about parkedcalls not being found... just confuses users
Steve Murphy [Mon, 13 Nov 2006 17:13:20 +0000 (17:13 +0000)] 
AEL need not complain about parkedcalls not being found... just confuses users

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

19 years agoMerged revisions 47549 via svnmerge from
Joshua Colp [Mon, 13 Nov 2006 17:08:07 +0000 (17:08 +0000)] 
Merged revisions 47549 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47549 | file | 2006-11-13 12:05:32 -0500 (Mon, 13 Nov 2006) | 2 lines

When sending an SMS with a user data header properly set the UDH flag in the first byte. (issue #8347 reported by hoffmeis)

........

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

19 years agoFree full command string upon unregistering of CLI command. Backported from revision...
Joshua Colp [Mon, 13 Nov 2006 16:30:38 +0000 (16:30 +0000)] 
Free full command string upon unregistering of CLI command. Backported from revision 47536 from rizzo.

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

19 years agoOnly produce error message about sip history once
Olle Johansson [Mon, 13 Nov 2006 16:00:57 +0000 (16:00 +0000)] 
Only produce error message about sip history once

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

19 years agoAC_PROG_SED is included in autoconf 2.60, but apparently it is not included
Russell Bryant [Mon, 13 Nov 2006 05:48:18 +0000 (05:48 +0000)] 
AC_PROG_SED is included in autoconf 2.60, but apparently it is not included
in 2.59.  So, to maintain compatability with 2.59 since it is a small change,
copy this macro into acinclude.m4 and rename it to AST_PROG_SED.
(issue #8345)

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

19 years agoMerged revisions 47525 via svnmerge from
Tilghman Lesher [Mon, 13 Nov 2006 05:46:18 +0000 (05:46 +0000)] 
Merged revisions 47525 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47525 | tilghman | 2006-11-12 23:45:11 -0600 (Sun, 12 Nov 2006) | 2 lines

If the execute fails a second time, make sure that we don't pass back a stale handle

........

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

19 years agoMerged revisions 47522 via svnmerge from
Tilghman Lesher [Mon, 13 Nov 2006 01:12:01 +0000 (01:12 +0000)] 
Merged revisions 47522 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47522 | tilghman | 2006-11-12 18:34:44 -0600 (Sun, 12 Nov 2006) | 2 lines

Don't play dialtone if the seizing the channel fails (Bug 7754)

........

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

19 years agoIssue 8314 - Restore auto-framing (Thanks DEA!!!)
Olle Johansson [Sun, 12 Nov 2006 16:12:12 +0000 (16:12 +0000)] 
Issue 8314 - Restore auto-framing (Thanks DEA!!!)

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

19 years agoPart of issue 8078 - parse even if udptl is UDPTL in sdp...
Olle Johansson [Sun, 12 Nov 2006 15:35:19 +0000 (15:35 +0000)] 
Part of issue 8078 - parse even if udptl is UDPTL in sdp...

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

19 years ago- Don't destroy SIP dialog because of a failed T.38 re-invite. Wait for a bye.
Olle Johansson [Sun, 12 Nov 2006 15:27:00 +0000 (15:27 +0000)] 
- Don't destroy SIP dialog because of a failed T.38 re-invite. Wait for a bye.
  Final response to a re-invite does not mean that the session dies, only that
  the re-invite fails.
- Keep RTP active during processing of T.38 re-invite. If the re-invite fails,
  RTP needs to remain as before the re-invite.

Issue 8338 - darren1713. Please test.

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

19 years ago-Remove blocking of ptime: parsing in sdp
Olle Johansson [Sun, 12 Nov 2006 15:10:53 +0000 (15:10 +0000)] 
-Remove blocking of ptime: parsing in sdp
-Add some comments to t.38 code

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

19 years agoMerged revisions 47496 via svnmerge from
Russell Bryant [Sun, 12 Nov 2006 06:23:23 +0000 (06:23 +0000)] 
Merged revisions 47496 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47496 | russell | 2006-11-12 01:09:03 -0500 (Sun, 12 Nov 2006) | 4 lines

Only do the check to determine whether the channel calling this function is an
IAX2 channel when getting the IP address using the special argument,
CURRENTCHANNEL.  (issue #8341, jcovert)

........

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

19 years agoAdd the target "menuconfig" as an alias for the "menuselect" target. This is
Russell Bryant [Sat, 11 Nov 2006 15:31:08 +0000 (15:31 +0000)] 
Add the target "menuconfig" as an alias for the "menuselect" target.  This is
just a favor to users so that if you accidentally type "make menuconfig"
instead of "make menuselect", it still works.
(inspired by a comment on IRC from wangster calling me an "especially devious
asterisk developer" for having it be menuselect instead of menuconfig. :) )

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

19 years agoTweak the formatting of this new function to better conform to coding guidelines.
Russell Bryant [Sat, 11 Nov 2006 15:18:02 +0000 (15:18 +0000)] 
Tweak the formatting of this new function to better conform to coding guidelines.

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

19 years agowoohoo safe out put!
Matt O'Gorman [Sat, 11 Nov 2006 02:04:28 +0000 (02:04 +0000)] 
woohoo safe out put!

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

19 years agoMake sure we don't use 32bits when we only need one bit.
Matthew Fredrickson [Fri, 10 Nov 2006 22:23:58 +0000 (22:23 +0000)] 
Make sure we don't use 32bits when we only need one bit.

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

19 years ago...and make sure that the dialog is destroyed, even if we don't get any answer on...
Olle Johansson [Fri, 10 Nov 2006 21:42:27 +0000 (21:42 +0000)] 
...and make sure that the dialog is destroyed, even if we don't get any answer on the bye...
This is the channel that remains dead after the SIP transfer

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

19 years agoAdd debug output while trying to trace bug in bug report
Olle Johansson [Fri, 10 Nov 2006 21:36:49 +0000 (21:36 +0000)] 
Add debug output while trying to trace bug in bug report

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

19 years agoBlock backport to 1.2 from 1.4 so it's not coming back to 1.4
Olle Johansson [Fri, 10 Nov 2006 20:49:09 +0000 (20:49 +0000)] 
Block backport to 1.2 from 1.4 so it's not coming back to 1.4

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

19 years agoMake sure we destroy dialog...
Olle Johansson [Fri, 10 Nov 2006 20:23:56 +0000 (20:23 +0000)] 
Make sure we destroy dialog...

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

19 years agoSmall cleanup of handle_request_invite() - imported from 1.2 with changes
Olle Johansson [Fri, 10 Nov 2006 19:49:48 +0000 (19:49 +0000)] 
Small cleanup of handle_request_invite() - imported from 1.2 with changes

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

19 years agoFix for #7321. Be able to explicitly hide callerid name for switches that bork
Matthew Fredrickson [Fri, 10 Nov 2006 19:47:16 +0000 (19:47 +0000)] 
Fix for #7321.  Be able to explicitly hide callerid name for switches that bork
on it.

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

19 years agoLet's give this a go...
Joshua Colp [Fri, 10 Nov 2006 19:36:25 +0000 (19:36 +0000)] 
Let's give this a go...

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

19 years agoIssue 8010 - Fix support for multipart SDP (alphaque)
Olle Johansson [Fri, 10 Nov 2006 18:56:15 +0000 (18:56 +0000)] 
Issue 8010 - Fix support for multipart SDP (alphaque)

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

19 years agogrep -m is not available on BSD, so use head -1 instead
Luigi Rizzo [Fri, 10 Nov 2006 17:13:34 +0000 (17:13 +0000)] 
grep -m is not available on BSD, so use head -1 instead

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

19 years agoOnly split up extension and context if a value exists. (issue #8332 reported by loloski)
Joshua Colp [Fri, 10 Nov 2006 16:53:16 +0000 (16:53 +0000)] 
Only split up extension and context if a value exists. (issue #8332 reported by loloski)

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

19 years agoDiscussion of these CLI changes resulted in more consistency (Bug 8236)
Tilghman Lesher [Fri, 10 Nov 2006 16:51:55 +0000 (16:51 +0000)] 
Discussion of these CLI changes resulted in more consistency (Bug 8236)

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

19 years agoif adding a queue member is LOG_NOTICE, then removing them should be LOG_NOTICE,...
Kevin P. Fleming [Fri, 10 Nov 2006 16:36:49 +0000 (16:36 +0000)] 
if adding a queue member is LOG_NOTICE, then removing them should be LOG_NOTICE, not LOG_DEBUG

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

19 years agoreflect addition/removal of dynamic queue members in queue_log, so that people using...
Kevin P. Fleming [Fri, 10 Nov 2006 16:34:04 +0000 (16:34 +0000)] 
reflect addition/removal of dynamic queue members in queue_log, so that people using dialplan replacement for AgentCallbackLogin can still track login/logout (issue #7736, reported/patched by whoiswes but this commit was written by me and covers all three paths for AQM/RQM)

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

19 years agoRip out half implementation of 491 response support, since it wasn't implemented
Olle Johansson [Fri, 10 Nov 2006 13:04:42 +0000 (13:04 +0000)] 
Rip out half implementation of 491 response support, since it wasn't implemented
properly and caused memory leaks in the case of us getting 491's, which Asterisk
actually sends...

Since it is a bit too complicated to fix this, I'll rip it out of 1.4 and put
it on the to-do-list for future releases. Now, we handle this as congestion,
which it really is.

Issue #8331

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

19 years agoFix bit definition for SIP_PAG2_CALL_ONHOLD. Thanks fenlander!
Olle Johansson [Fri, 10 Nov 2006 12:05:53 +0000 (12:05 +0000)] 
Fix bit definition for SIP_PAG2_CALL_ONHOLD. Thanks fenlander!

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

19 years agoFix building of chan_h323 by completeing some structure definitions. (issue #8327...
Joshua Colp [Fri, 10 Nov 2006 03:44:36 +0000 (03:44 +0000)] 
Fix building of chan_h323 by completeing some structure definitions. (issue #8327 reported by Mithraen)

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

19 years agoDo conversion in a more easier to read and working way for \r, \n, and \t. (issue...
Joshua Colp [Thu, 9 Nov 2006 22:32:30 +0000 (22:32 +0000)] 
Do conversion in a more easier to read and working way for \r, \n, and \t. (issue #8324 reported by johnlange)

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

19 years agoWork around an issue that caused menuselect to display a bogus description for
Russell Bryant [Thu, 9 Nov 2006 21:26:27 +0000 (21:26 +0000)] 
Work around an issue that caused menuselect to display a bogus description for
app_voicemail and chan_zap.  These modules use some preprocessor directives to
determine what it will report to Asterisk as its description.  However, the way
we extract this information from the source files for menuselect is not smart
enough to figure this out.
(issue #8326, #8328)

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

19 years agoMerged revisions 47379 via svnmerge from
Joshua Colp [Thu, 9 Nov 2006 16:53:25 +0000 (16:53 +0000)] 
Merged revisions 47379 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47379 | file | 2006-11-09 11:48:05 -0500 (Thu, 09 Nov 2006) | 2 lines

Don't include compiler.h on kernels 2.6.18 and higher as, well, it's apparently going to be removed. This should make all you FC6 fans happy as your Asterisk will now build without any mods.

........

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

19 years agofix tab completion for "core debug channel" and "core no debug channel"
Russell Bryant [Thu, 9 Nov 2006 16:28:15 +0000 (16:28 +0000)] 
fix tab completion for "core debug channel" and "core no debug channel"

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

19 years agoFix "core show channel". Also, fix tab completion for both "core show channel"
Russell Bryant [Thu, 9 Nov 2006 16:24:02 +0000 (16:24 +0000)] 
Fix "core show channel".  Also, fix tab completion for both "core show channel"
and "core show channels".

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

19 years agoFix "core debug channel <whatever>". I guess someone needs to go through and
Russell Bryant [Thu, 9 Nov 2006 16:18:33 +0000 (16:18 +0000)] 
Fix "core debug channel <whatever>".  I guess someone needs to go through and
audit every CLI command that changed number of arguments ...

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

19 years agorevert the previous change, which actually modified the deprecated command,
Russell Bryant [Thu, 9 Nov 2006 16:14:23 +0000 (16:14 +0000)] 
revert the previous change, which actually modified the deprecated command,
"show profile".  Now, actually apply the change to "core show profile".

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

19 years agoFix argument parsing for the "core show profile" CLI command
Russell Bryant [Thu, 9 Nov 2006 16:04:38 +0000 (16:04 +0000)] 
Fix argument parsing for the "core show profile" CLI command
(fixed by rizzo in his branch, team/rizzo/astobj2)

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

19 years agoFix another CLI command, "core show uptime" ...
Russell Bryant [Thu, 9 Nov 2006 15:49:39 +0000 (15:49 +0000)] 
Fix another CLI command, "core show uptime" ...
(issue #8323, reported by johnlange, fixed by myself)

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

19 years agofix "core show version" to reflect the new number of arguments for this
Russell Bryant [Thu, 9 Nov 2006 06:31:37 +0000 (06:31 +0000)] 
fix "core show version" to reflect the new number of arguments for this
CLI command (issue #8316, kshumard)

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

19 years agoThis update fixes 7531
Steve Murphy [Wed, 8 Nov 2006 23:14:18 +0000 (23:14 +0000)] 
This update fixes 7531

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

19 years agoCommitted in behalf of 8190.
Steve Murphy [Wed, 8 Nov 2006 22:54:56 +0000 (22:54 +0000)] 
Committed in behalf of 8190.

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

19 years agothe battle over CLI command formats has broken stuff...
Kevin P. Fleming [Wed, 8 Nov 2006 21:46:20 +0000 (21:46 +0000)] 
the battle over CLI command formats has broken stuff...

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