Luigi Rizzo
e6451274d2
merge 45152 don't leak descriptors in http.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46117 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
50fda8522d
merge 45966 refer_to_domain potentially containing options
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
d7b0db6530
merge 46026 improper checks on get_header() return values
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
fa4d6f23a6
merge 46045 prevent NULL args to ast_strdupa() in chan_sip.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
5cc4200696
Restore the ability to remove the firmware directory without causing the
...
installation to fail (issue #8111 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46093 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
471c0eebdc
ensure that the translation matrix is properly lock-protected every place it is used
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
d2b10d5f4f
add an API call to allow channel drivers to determine which media formats are compatible (passthrough or transcode) with the format an existing channel is already using
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
eee62843d5
simplify and correct voicemail IMAP storage build instructions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
de9c3aaa8d
Pass through a frame if we don't know what it is, rather than trying to pass a
...
NULL, which will segfault a channel driver (Bug 8149)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
5a2f8ea4b7
In muted.c, check the return value of strdup. In ael_main.c, check the return
...
value of calloc. (issue #8157 )
In passing fix a few minor bugs in ael_main.c. The last argument to strncpy()
was a hard-coded 100, where it should have been 99. I changed this to use
sizeof() - 1.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
6a74bc409c
Fix the descriptions of some of the MeetMeAdmin options (issue #8098 , mflorell)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
edb73def8e
don't crash when an incoming message has no "from" (issue #8205 , jmls)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45999 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
7a0a5b1480
Merged revisions 45927 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45927 | file | 2006-10-22 20:25:28 -0400 (Sun, 22 Oct 2006) | 2 lines
Don't leak memory mmmk?
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45928 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
c01e86f14e
Merged revisions 45808 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45808 | crichter | 2006-10-21 14:35:13 +0200 (Sat, 21 Oct 2006) | 1 line
fixed issue, that if chan_misdn is loaded and couldn't be initialized it would cause a segfault after 'reload'. Reported by Drew/Matt thx.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
4ebacc1d00
Add a couple missing unregistrations of manager actions and remove duplicate
...
unregistrations of applications. (issue #8194 , jmls)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
bd40b393ec
Don't use promotion on Darwin because it doesn't seem to work quite right in all cases, this should solve the unresolved symbol issue people have been seeing.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
8deedb83fa
Pass DESTDIR and ASTSBINDIR so that the utilities get installed in the proper location (reported on asterisk-dev mailing list)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
2681aea6b2
Let's understand SIP:
...
- REFER can create dialog, Asterisk does not support it yet
- NOTIFY can create dialog in Asterisk's implementation (voicemail) even though
we don't support the server side of it. In this case, the standard is a side issue ;-)
- Added extened functionality for unsupported methods (PING, PUBLISH) so we don't
create PVT's for those either.
Russellb needs to judge what to do with this in 1.2, but I think the current implementation
n 1.2 is a bug since we're sending bad replies to NOTIFY and REFER outside of dialogs
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
9ab793dcf8
Let's remember to unregister JabberStatus too (issue #8184 reported by jmls)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45694 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d7329034ea
Merged revisions 45691 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45691 | file | 2006-10-19 13:16:37 -0400 (Thu, 19 Oct 2006) | 2 lines
Respect language selection when seeing if the file exists (issue #8178 reported by mnicholson)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45692 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
67c180956c
If the jitterbuffer is forced on then we can't partially bridge (reported by wangster on #asterisk-dev)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
a37a95c0d8
Cleaning up
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45646 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
87cb020143
Don't leak the actual thread-specific sip_pvt struct
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45622 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
2f6a555fbd
don't leak memory when a chan_sip thread is destroyed that has a thread-local temp_pvt allocated
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45621 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
54790d5ceb
Don't modify things if we are using vfork as this is very bad and may cause unexpected behavior (issue #7970 reported by Nick Gavrikov)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
9bd68dd32c
remove duplicate declarations
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
4280d28549
merge from trunk: move ast_variables_destroy() to a better
...
place in handle_uri() to avoid leaking memory on non existing files.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
64a875951a
Don't segfault if you're using a channel driver that doesn't turn RTCP on
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
0a78fea2ac
Don't attempt to access private data members of the pthread_mutex_t object,
...
because this does not work on all linux systems. Instead, just access
the reentrancy field in the ast_mutex_info struct when DEBUG_THREADS is
enabled. If DEBUG_CHANNEL_LOCKS is enabled, the developer probably has
DEBUG_THREADS on as well.
(issue #8139 , me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45441 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
8273d95be3
update entry to reboot a snom phone (issue #7850 , pnlarsson)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45439 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
5b9106eeb5
add a project-specific script to be used during release preparation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
227d415709
optimize the 'quick response' code a bit more... no more malloc() or memset() for each response
...
expand stringfields API a bit to allow reusing the stringfield pool on a structure when needed, and remove some unnecessary code when the structure was being freed
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
5658b611e5
Blocked revisions 45380 via svnmerge
...
........
r45380 | file | 2006-10-17 16:37:17 -0400 (Tue, 17 Oct 2006) | 2 lines
Don't create a "real" pvt structure for requests that shouldn't be able to create one. Instead use a temporary pvt and fill it with enough information so we can send a reply.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45381 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
0c4dfe3aed
Don't create a "real" pvt structure for requests that shouldn't be able to create one. Instead use a temporary pvt and fill it with enough information so we can send a reply.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
590698e583
Adding information about Marks direct-RTP hack to the docs...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ba658e6825
Merged revisions 45326 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45326 | kpfleming | 2006-10-17 12:22:01 -0500 (Tue, 17 Oct 2006) | 2 lines
provide licensing language for IAXy firmware file
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
45fc0eaba4
Now, remove all traces of the option that we did not need :-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
1e2935d447
remove the option that was not needed, really.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d28fd24747
Merged revisions 45265 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45265 | file | 2006-10-16 15:59:54 -0400 (Mon, 16 Oct 2006) | 2 lines
Use responses rather then replies even though they mean the same thing.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
3f24dceeca
Merged revisions 45260 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45260 | file | 2006-10-16 15:28:18 -0400 (Mon, 16 Oct 2006) | 2 lines
Add 'ignoreoodreplies' option which will not create a pvt structure on a SIP response but instead basically drop it.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
552ca7e926
Backport of new directed pickup (BE-85).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45246 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
46b25b4d8a
Adding Inotel to credits for SIP transfers. Thanks for your support!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
eaaddb90bf
Don't destroy dialog for unexpected REFER response...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
2ba44e6b10
update the doc string for both AEL and extensions.conf users.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
60a11a7568
------------------------------------------------------------------------
...
r45119 | kpfleming | 2006-10-13 17:57:42 -0500 (Fri, 13 Oct 2006) | 2 lines
don't drop the entire permit/deny list when an attempt is made to add an invalid entry (BE-92)
------------------------------------------------------------------------
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
cda9238a47
Clear the quiet flag too since we are restarting a recognition again (reported on -dev by Stephan Edelman)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
8c09239585
Check return value from engine in case of failure (ie: out of licenses) (reported on -dev mailing list)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
dc04209898
Bug 8128 fixed in this release via these changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45103 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
a05d2ebb96
avoiding warning, fixing potential bug
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
8a9517ba9a
And file said... let the compiler warnings STOP!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago