Russell Bryant
de14e3d549
It is possible for the config pointer to be NULL here, so it needs to be
...
checked before dereferencing it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 01:15:44 +00:00
Matt O'Gorman
cc003179d4
Patch allows for changing voicemail password in users.conf from voicemail main, written by AnthonyL bug #8436
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51030 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 00:22:09 +00:00
Russell Bryant
91b5561669
Filter out a few CFLAGS that are not valid CXXFLAGS.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-15 23:49:48 +00:00
Tilghman Lesher
a935012721
Blocked revisions 50987 via svnmerge
...
........
r50987 | tilghman | 2007-01-15 17:09:02 -0600 (Mon, 15 Jan 2007) | 2 lines
Check return value before dereferencing (Bug 8822)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-15 23:10:08 +00:00
Matt O'Gorman
d95432aad3
Merged revisions 50946 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.2
........
r50946 | mogorman | 2007-01-15 14:44:53 -0600 (Mon, 15 Jan 2007) | 4 lines
Solves issue with forwarding voicemails from folders other than inbox.
patch by anthonyl.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-15 21:08:07 +00:00
Jason Parker
9d49164921
re-add deprecated "show version" CLI command.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-15 18:23:21 +00:00
Joshua Colp
caa099357b
Move event processing into do_message so that it gets executed again when events are tripped.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-15 16:36:07 +00:00
Kevin P. Fleming
dd357a71a7
use the ACX_PTHREAD macro from the Autoconf macro archive for setting up compiler pthreads support... should improve portability to platforms with unusual pthreads requirements
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-15 15:03:06 +00:00
Joshua Colp
50f951764f
Add missing newlines for two memory CLI commands.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-14 21:59:05 +00:00
Tilghman Lesher
3fb08d4e9d
Merged revisions 50781 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r50781 | tilghman | 2007-01-13 23:01:16 -0600 (Sat, 13 Jan 2007) | 2 lines
Bug 8814 - db should look for its header using a relative path, instead of the system path (Fixes FreeWRT)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-14 05:13:47 +00:00
Kevin P. Fleming
30e4f113a4
when building the sample greetings for maibox 1234@default during 'make samples', build a greeting for each language and file format the user selected to install with menuselect (reported by Brian Capouch on asterisk-dev)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50754 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-13 16:45:37 +00:00
Joshua Colp
e4de85c4f5
Only write a frame out to the channel if one exists. There are cases where one may not and would therefore cause the channel driver to segfault. (issue #8434 reported by slimey)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50727 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-13 06:00:24 +00:00
Joshua Colp
cc242206c6
Only join the snmp thread on an unload if the thread is actually running. (issue #8810 reported by junky)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-13 03:04:55 +00:00
Jason Parker
6de5768987
Update documentation to state that you shouldn't use realtime static with voicemail.conf
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-12 19:24:40 +00:00
Joshua Colp
5fe88c5f88
We need to check for res being 0 in do_message itself, otherwise our headers will get lost.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-12 16:42:33 +00:00
Kevin P. Fleming
34b5a7c8ae
Merged revisions 50561 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r50561 | kpfleming | 2007-01-12 08:34:15 -0600 (Fri, 12 Jan 2007) | 2 lines
minor documentation clarification
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-12 14:42:24 +00:00
Joshua Colp
915f9315e1
Remove check for channel state as it can definitely be something other then ring, and also clean up the code a bit. This should solve the parking issues and maybe some attended transfer issues people have been seeing.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50468 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-11 05:53:09 +00:00
Joshua Colp
240ca25bea
Add support to see whether NAT was detected (yay symmetric RTP) and also add a check in chan_sip so that if NAT has been detected and the reinvite behind nat option has been turned off, then just do partial bridge. (issue #8655 reported by mnicholson)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-11 05:19:39 +00:00
Joshua Colp
4ec0f8cbd6
Merge speech-multi branch which adds support for joining multiple sound files together to be played one after another in SpeechBackground.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-10 20:25:44 +00:00
Joshua Colp
c4d1757329
Fix parsing when using something like ldap settings. (done by anthonyl)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-10 19:46:29 +00:00
Joshua Colp
9aca2b2a54
Fix chan_sip not working issue. Let's not prematurely return 0. (issue #8783 reported by st41ker)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-10 18:32:29 +00:00
Jason Parker
4ed22c8198
Reverse some logic in cdr_manager, which made it fail to load if the config file existed.
...
Issue 8777
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-10 16:45:36 +00:00
Joshua Colp
2c4359d9b3
Merged revisions 50295 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r50295 | file | 2007-01-09 23:51:06 -0500 (Tue, 09 Jan 2007) | 2 lines
Add another return value to dial_exec_full that indicates execution is going to continuing at a new extension/context/priority and to just let it slide. (issue #8598 reported by jon)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-10 04:55:13 +00:00
Joshua Colp
59432b9e21
Ensure data's existence before trying to access it. (issue #8774 reported by rcourtna)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-10 03:51:29 +00:00
Russell Bryant
8fb6be645e
Merged revisions 50227 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r50227 | russell | 2007-01-09 21:16:45 -0500 (Tue, 09 Jan 2007) | 6 lines
Make the number that represents the major version number a single digit instead
of 2. Using two digits makes it an octal number when put into version.h, which
breaks the compilation of any out of tree module that checks the version for
any version after 1.2.7 (reported by Matteo Brancaleoni on the asterisk-dev
mailing list, who gave credit to vihai for pointing it out)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50228 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-10 02:17:46 +00:00
Jason Parker
281b1a890c
Re-add CLI command that should have only been deprecated in 1.4.
...
Thanks kshumard! (reported in person, so no associated issue #)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50186 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-09 17:11:53 +00:00
Tilghman Lesher
8597c8f7b4
Merged revisions 50150 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r50150 | tilghman | 2007-01-09 07:30:04 -0600 (Tue, 09 Jan 2007) | 4 lines
The advent of realtime has enabled people to use commas in the fullname field.
This could cause an issue with sending voicemails, when the field is unquoted.
(Issue 8595)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-09 13:40:45 +00:00
Olle Johansson
1a33c38a15
- handle re-invites properly in sip_hangup()
...
- Add some invitestate status changes just to be sure
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-09 11:25:20 +00:00
Jason Parker
5cd6177995
Fix an issue with voicemail and users.conf, where it wouldn't ever parse a password, since it was using "secret" instead of "password"
...
Issue 8761, reported by and patch suggestion from ssokol.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50098 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-08 23:39:12 +00:00
Matt O'Gorman
f7767f2e23
we can't unlock a channel if we cant find it. - AnthonyL bug #8741
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-08 21:11:16 +00:00
Joshua Colp
46700b62af
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
2007-01-08 18:21:31 +00:00
Olle Johansson
3394598f93
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
2007-01-08 14:26:14 +00:00
Olle Johansson
0f96f73768
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
2007-01-08 13:28:18 +00:00
Olle Johansson
be32fad9b8
We only need one forward declaration
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-08 09:08:10 +00:00
Olle Johansson
484add6554
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
2007-01-08 08:55:03 +00:00
Joshua Colp
0a51642588
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
2007-01-08 05:11:54 +00:00
Kevin P. Fleming
708276e718
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
2007-01-08 03:53:53 +00:00
Tilghman Lesher
5d9b3e845f
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
2007-01-07 21:44:52 +00:00
Tilghman Lesher
dcbf36432e
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
2007-01-07 21:24:04 +00:00
Jason Parker
9e621e99a5
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
2007-01-06 00:24:38 +00:00
Kevin P. Fleming
fb05d85ac2
one more time...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 23:51:31 +00:00
Kevin P. Fleming
7023f1cf8f
proper fix for r49712
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 23:49:52 +00:00
Kevin P. Fleming
c63f9a3fe8
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
2007-01-05 23:40:29 +00:00
Kevin P. Fleming
d2d50d7a8e
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
2007-01-05 23:31:38 +00:00
Jason Parker
9803b9a357
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
2007-01-05 23:16:16 +00:00
Kevin P. Fleming
c56f17425c
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
2007-01-05 22:52:37 +00:00
Kevin P. Fleming
444adcb477
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
2007-01-05 22:16:33 +00:00
Joshua Colp
ac75028a50
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
2007-01-05 22:14:47 +00:00
Kevin P. Fleming
fb010e49aa
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
2007-01-05 17:09:00 +00:00
Kevin P. Fleming
ab4da71374
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
2007-01-05 00:01:40 +00:00