Commit Graph

10142 Commits

Author SHA1 Message Date
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
Olle Johansson
91631c8a20 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
2006-11-15 13:21:33 +00:00
Joshua Colp
bc6cff37bc 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
2006-11-15 04:45:24 +00:00
Kevin P. Fleming
8dc804fafe 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
2006-11-15 00:19:05 +00:00
Joshua Colp
708b84da2f 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
2006-11-15 00:14:07 +00:00
Kevin P. Fleming
8dd76cc19a 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
2006-11-15 00:05:44 +00:00
Joshua Colp
0742fe1d7e 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
2006-11-14 22:17:16 +00:00
Joshua Colp
25b5cf18b7 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
2006-11-14 22:05:03 +00:00
Joshua Colp
039c552a47 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
2006-11-14 21:30:44 +00:00
Tilghman Lesher
cd06244951 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
2006-11-14 18:54:40 +00:00
Joshua Colp
159c54a5e9 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
2006-11-14 16:45:57 +00:00
Olle Johansson
4ecb09f6e8 Update documentation to fit the implementation...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-14 16:22:35 +00:00
Olle Johansson
cb82979700 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
2006-11-14 11:14:01 +00:00
Joshua Colp
595f01984f 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
2006-11-13 21:28:57 +00:00
Tilghman Lesher
e944561518 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
2006-11-13 20:20:01 +00:00
Steve Murphy
2a0ac6ad9a 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
2006-11-13 19:15:12 +00:00