Jason Parker
65565ac74d
Fix an issue with file name completion in "module load" and "load".
...
Issue 8846
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 18:42:00 +00:00
Joshua Colp
1e3557c636
Copy MOH settings when calling a peer so that if they put someone on hold or get put on hold themselves they get the right music class. (issue #8840 reported by mdu113)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 18:36:35 +00:00
Jason Parker
eab59cabdb
Fix an issue with deprecated commands
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 18:28:29 +00:00
Tilghman Lesher
80466ff3ed
Merged revisions 51235 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51235 | tilghman | 2007-01-18 11:42:17 -0600 (Thu, 18 Jan 2007) | 2 lines
Document all the fields, including the indication that "uniqueid" should not be renamed.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 17:49:41 +00:00
Russell Bryant
c5a3194042
Make the "hasmanager" option in users.conf actually have an effect.
...
(issue #8740 , LnxPrgr3)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51233 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 17:18:43 +00:00
Joshua Colp
d4398c0bb6
Build the IMAP remote directory string better and properly. Fix an issue with encoding the GSM voicemail when attaching to the voicemail. (issue #8808 reported by akohlsmith)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 00:48:55 +00:00
Joshua Colp
9461aa0027
Pass data as well for hold/unhold/vidupdate frames. (issue #8840 reported by mdu113)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51211 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 00:18:44 +00:00
Russell Bryant
8d0defa82b
Fix some instances where when loading func_odbc, a double-free could occur.
...
Also, remove an unneeded error message. If the failure condition is
actually a memory allocation failure, a log message will already be
generated automatically.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51205 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 23:31:11 +00:00
Russell Bryant
2b2f8d22f7
Instead of dividing the offset by 2 directly, make it more clear that the
...
offset is being scaled by the size of the elements in the buffer.
(Inspired by a discussing on the asterisk-dev list about this code)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 22:09:52 +00:00
Russell Bryant
4244459e31
Merged revisions 51197 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51197 | russell | 2007-01-17 15:17:21 -0600 (Wed, 17 Jan 2007) | 3 lines
Move the check for a failure of ast_channel_alloc() to before locking the
pvt structure again. Otherwise, on a failure, this will cause a deadlock.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 21:18:35 +00:00
Tilghman Lesher
0baf4aa941
Merged revisions 51194 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51194 | tilghman | 2007-01-17 14:52:21 -0600 (Wed, 17 Jan 2007) | 4 lines
When ast_strip_quoted was called with a zero-length string, it would treat a
NULL as if it were the quoting character (and would thus return the string
in memory immediately following the passed-in string).
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 20:56:15 +00:00
Jason Parker
d47da64f51
re-add "password" for realtime voicemail
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51186 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 17:36:53 +00:00
Joshua Colp
9f0ad6093e
Return the correct result when directly writing out a packet so that the core doesn't then decide to handle it the regular way again. (issue #8833 reported by rcourtna)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51182 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 06:36:41 +00:00
Kevin P. Fleming
439034e464
a few more coding style cleanups and one bug fix (from AnthonyL)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 01:29:12 +00:00
Joshua Colp
f986c4f2c3
Move rescheduling of lagrq/pings into the scheduler callback.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51172 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 00:46:29 +00:00
Jason Parker
1825fc3ee2
Fix issue with dtmf continuation packets when the dtmf digit is 0...
...
Issue 8831
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51170 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 00:20:56 +00:00
Jason Parker
c3f17ca3c1
Fix an issue with IMAP storage and realtime voicemail.
...
Also update the vmdb sql script for IMAP specific options.
Issue 8819, initial patches by bsmithurst (slightly modified by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 22:50:19 +00:00
Jason Parker
da01057b5e
change documentation to reflect new procedure in 1.4/trunk
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 22:07:53 +00:00
Tilghman Lesher
2d893725fc
Merged revisions 51161 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51161 | tilghman | 2007-01-16 15:50:04 -0600 (Tue, 16 Jan 2007) | 2 lines
Add documentation walkthrough on getting Postgres to work with voicemail (from Issue 8513)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51162 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 21:51:15 +00:00
Tilghman Lesher
87ea385650
Merged revisions 51158 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51158 | tilghman | 2007-01-16 15:26:06 -0600 (Tue, 16 Jan 2007) | 2 lines
Postgres driver doesn't like a NULL pointer when retrieving the length (Bug 8513)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 21:28:39 +00:00
Matt O'Gorman
ea3421ec27
minor things i missed before i get jumped on
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51150 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 17:46:12 +00:00
Joshua Colp
2db51f4608
Merged revisions 51145 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51145 | file | 2007-01-16 12:36:50 -0500 (Tue, 16 Jan 2007) | 2 lines
Return previous behavior. ParkedCalls will be able to do DTMF based transfers again. trunk however will get an option to allow this to be set on/off. (issue #8804 reported by nortex)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 17:39:50 +00:00
Jason Parker
897e4b5eaa
Display more useful output when streaming files.
...
Include the channel name to which the file is being played.
Issue 8828, patch by junky.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 17:36:53 +00:00
Joshua Colp
531d008066
Merged revisions 51085 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51085 | file | 2007-01-16 00:53:31 -0500 (Tue, 16 Jan 2007) | 2 lines
Add none as a valid callgroup/pickupgroup option. I consider it a bug that it would inherit it all the way down and not have any way to reset it to nothing - so that's why it is in 1.2. (issue #8296 reported by gkloepfer)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 05:55:23 +00:00
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