Commit Graph

10157 Commits

Author SHA1 Message Date
Jason Parker
1b872bbcfa Export several more variables in top level Makefile. Inspired by issue 8438.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-28 18:26:53 +00:00
Joshua Colp
68ad03e888 Merged revisions 48087 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48087 | file | 2006-11-28 11:56:01 -0500 (Tue, 28 Nov 2006) | 2 lines

According to the research I have done we never needed to include compiler.h in the first place so let's not! (issue #8430 reported by edguy3)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-28 16:57:16 +00:00
Joshua Colp
ec4cae4068 Merged revisions 48053 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48053 | file | 2006-11-27 13:03:57 -0500 (Mon, 27 Nov 2006) | 2 lines

Use the proper function to get the new message count instead of always using the filesystem. (issue #8421 reported by slimey)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-27 18:06:50 +00:00
Tilghman Lesher
76d002db24 Merged revisions 48045 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48045 | tilghman | 2006-11-27 11:15:54 -0600 (Mon, 27 Nov 2006) | 2 lines

Random MOH wasn't really random (bug 8381)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-27 17:20:37 +00:00
Russell Bryant
a569bfd1f2 Remove a couple of unused variables (issue #8380, casper)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-27 17:17:40 +00:00
Joshua Colp
fe50f34bab Merged revisions 48037 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48037 | file | 2006-11-27 10:30:37 -0500 (Mon, 27 Nov 2006) | 2 lines

Do not reference the freed outgoing structure in the debug message. (issue #8425 reported by arkadia)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-27 15:32:19 +00:00
Olle Johansson
9436ecaad7 Change logging message
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48031 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-27 06:41:33 +00:00
Steve Murphy
be037061e8 might as well also document the raw values of the flag vars
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-26 00:26:16 +00:00
Steve Murphy
f4b1302b95 A little bit of func_cdr documentation upgrade-- no bug# involved, although 8221 may have inspired it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-26 00:01:34 +00:00
Olle Johansson
5a3dcaff3c Not having a HINT is not an ERROR. In 1.4 and future releases, you can disable
subscription support totally or per peer in sip.conf with allowsubscribe = yes | no



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48002 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-25 09:28:28 +00:00
Steve Murphy
e6ce5ce979 bug 8189 posted this fix for main/translate.c for PLC
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-24 17:17:07 +00:00
Christian Richter
55229f98b9 Merged revisions 47968 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47968 | crichter | 2006-11-23 17:10:23 +0100 (Do, 23 Nov 2006) | 1 line

fixed a litle bug regarding HOLD/RETRIEVE. beatufied some logs, changed some loglevels. changed the default value of block_on_alarm
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-24 15:46:13 +00:00
Olle Johansson
c3a7e9d7c2 Don't allocate unused variable.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47959 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-23 11:01:47 +00:00
Joshua Colp
090c412c27 Video will never reach Packet2Packet bridging and can do more harm then good.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-22 21:47:43 +00:00
Steve Murphy
a248c7308d 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
2006-11-22 02:37:26 +00:00
Joshua Colp
8c0f4c8711 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
2006-11-21 17:32:27 +00:00
Olle Johansson
5c0be47e69 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
2006-11-21 15:20:03 +00:00
Tilghman Lesher
f4133080ca 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
2006-11-20 20:01:58 +00:00
Tilghman Lesher
04c4fbb3b3 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
2006-11-20 20:00:54 +00:00
Joshua Colp
0e684abd82 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
2006-11-20 19:51:36 +00:00
Joshua Colp
9d45f7420e 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
2006-11-20 16:17:47 +00:00
Joshua Colp
b42279c142 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
2006-11-20 15:58:50 +00:00
Joshua Colp
335630b10c 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
2006-11-20 15:51:37 +00:00
Olle Johansson
7da1a54fe6 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
2006-11-20 11:45:22 +00:00
Olle Johansson
a7c1ac60b7 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
2006-11-20 11:29:19 +00:00
Luigi Rizzo
d20e81d829 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
2006-11-18 17:59:35 +00:00
Kevin P. Fleming
46ff647119 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
2006-11-17 19:02:38 +00:00
Jason Parker
67546a068c 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
2006-11-16 23:19:46 +00:00
Jason Parker
64eabdcdea 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
2006-11-16 23:18:22 +00:00
Kevin P. Fleming
517e7297f1 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
2006-11-16 23:00:10 +00:00
Joshua Colp
f373cad528 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
2006-11-16 21:11:06 +00:00
Joshua Colp
3a1d01828b 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
2006-11-16 20:30:54 +00:00
Kevin P. Fleming
ee6bf62ac5 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
2006-11-16 20:09:10 +00:00
Olle Johansson
e1e6a1b2a8 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
2006-11-16 19:24:23 +00:00
Joshua Colp
88002f78fd 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
2006-11-16 18:29:12 +00:00
Joshua Colp
ee182a4b02 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
2006-11-16 17:52:48 +00:00
Olle Johansson
d1ee29fc20 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
2006-11-16 16:51:59 +00:00
Olle Johansson
8f5a7bcd8d Warn users about change in canreinvite
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47736 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-16 15:16:58 +00:00
Olle Johansson
5bd53e3588 - 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
2006-11-16 15:03:49 +00:00
Joshua Colp
e83e3123f7 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
2006-11-15 22:31:17 +00:00
Tilghman Lesher
07c309c8b1 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
2006-11-15 21:56:55 +00:00
Joshua Colp
cb11263607 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
2006-11-15 21:33:41 +00:00
Kevin P. Fleming
3302cbea3e 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
2006-11-15 20:50:06 +00:00
Olle Johansson
c78840b900 - 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
2006-11-15 20:31:11 +00:00
Kevin P. Fleming
5d59e5dd34 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
2006-11-15 20:31:02 +00:00
Kevin P. Fleming
17242b0602 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
2006-11-15 20:27:38 +00:00
Kevin P. Fleming
7a5771161e 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
2006-11-15 20:01:22 +00:00
Kevin P. Fleming
cb4ed839c3 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
2006-11-15 18:43:30 +00:00
Luigi Rizzo
a9057b2c65 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
2006-11-15 17:46:45 +00:00
Olle Johansson
63f87d112d 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
2006-11-15 15:25:50 +00:00