Jason Parker
b1d53e8fc3
Fix building with -Wdeclaration-after-statement
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Luigi Rizzo
ad42dfe1dd
move variable declarations to the beginning of a block.
...
Not applicable to previous branches.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
e3cf86f4b3
Simplify some code in res_jabber relating to SASL support.
...
Issue 9988, patch by phsultan.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
82e2033519
Merged revisions 71657 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r71657 | tilghman | 2007-06-25 13:14:59 -0500 (Mon, 25 Jun 2007) | 10 lines
Merged revisions 71656 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r71656 | tilghman | 2007-06-25 13:12:37 -0500 (Mon, 25 Jun 2007) | 2 lines
Issue 10035 - handle_exec returns a result inconsistent with all of the other AGI commands
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71658 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
9b23b9b3b2
Minor header inclusion tweak for new usage of stat()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
2e4b41841d
Merged revisions 71291 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r71291 | tilghman | 2007-06-24 12:50:24 -0500 (Sun, 24 Jun 2007) | 2 lines
Issue 10044 - chan->cdr is NULL here, so peer->cdr is what we really wanted to use
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71292 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Steve Murphy
d17beedd5a
Merged revisions 71230 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r71230 | murf | 2007-06-22 21:29:48 -0600 (Fri, 22 Jun 2007) | 1 line
This patch is meant to fix 8433; where clid and src are lost via bridging.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
c00428b0b0
Use stat to determine whether the file exists or not. (issue #10038 reported by Mike Anikienko)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71158 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
68ac7f7633
Merged revisions 71068 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r71068 | qwell | 2007-06-22 10:00:30 -0500 (Fri, 22 Jun 2007) | 12 lines
Merged revisions 71065 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r71065 | qwell | 2007-06-22 09:52:18 -0500 (Fri, 22 Jun 2007) | 4 lines
Fix a few silly usages of ast_playstream() - it only ever returns 0...
Issue 10035
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
a1bc823136
Issue 9990 - New API ast_mkdir, which creates parent directories as necessary (and is faster than an outcall to mkdir -p)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71040 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
fd9057423a
Expand AGISTATUS variable to include NOTFOUND which is set when the AGI file could not be found. (issue #9285 reported by srdjan)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70731 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
c6755754d1
Merged revisions 69847 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r69847 | file | 2007-06-19 09:00:57 -0400 (Tue, 19 Jun 2007) | 10 lines
Merged revisions 69846 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r69846 | file | 2007-06-19 08:57:55 -0400 (Tue, 19 Jun 2007) | 2 lines
Add parked call extension AFTER the parking slot has been announced, otherwise two threads will try to handle the same channel and it will go kaboom. (issue #9191 reported by japple)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
43658278ff
Merged revisions 69702 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r69702 | russell | 2007-06-18 11:35:02 -0500 (Mon, 18 Jun 2007) | 6 lines
To prevent 92138749238754 more reports of "I have unixodbc installed, but
still can't build *_odbc.so!", check for ltdl directly, instead of just listing
it as another library to include in the unixodbc check in the configure script.
This also makes ltdl show up as a dependency in menuselect so people know what
to go install. (related to issue #9989 , patch by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
b179e2155f
Convert uses of strdup() to ast_strdup()
...
(issue #9983 , eliel)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
055d82cbce
Add a massive set of changes for converting to use the ast_debug() macro.
...
(issue #9957 , patches from mvanbaak, caio1982, critch, and dimas)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
f25db8cc78
Continuation of issue 9968 (revision 69081). This should be the last one.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69108 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
f379df9773
Simplify some logic and convert spaces to tabs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
5d350e0f81
The variable used for the return value must be declared as static. I broke
...
this when applying the patch, sorry!
(issue #9637 , jeffg)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
3b9a36109f
Add support for retrieving the number of channels that are currently bridged
...
via SNMP.
(closes issue #9637 , initial patch from jeffg, modified by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
68492b239c
Add an option for ControlPlayback to be able to start at an offset from
...
the beginning of the file. Also, add a channel variable that indicates
the location in the file where the Playback was stopped.
(closes issue #7655 , patch from sharkey)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
77012734eb
Fix incorrect logic for param count.
...
Issue 9918.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
1d57ccb6f7
Fix a bunch of doxygen errors and document more things
...
(issue #9842 , snuffy)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68339 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
1cd610ddbe
Doxygenify a lot of the functions in res_jabber
...
(issue #9886 , snuffy)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68289 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
bc0702ba23
Minor formatting change ... testing mantis stuff to see if we're done
...
(issue #9790 )
(closes issue #9816 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68118 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Olle Johansson
9af51baee7
Merged revisions 68030 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r68030 | oej | 2007-06-07 12:00:17 +0200 (Thu, 07 Jun 2007) | 2 lines
Adding a few Todo's to res_jabber so we don't forget.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68040 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Olle Johansson
ddb10bf8c7
Merged revisions 68028 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r68028 | oej | 2007-06-07 11:55:13 +0200 (Thu, 07 Jun 2007) | 4 lines
Ok, we found out that this is not about if you have any *active* clients using TLS, but
if you have initialized TLS at all during the lifetime of the module. So if you reload
to disable TLS, it won't help.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68031 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Olle Johansson
18a9f4d805
Merged revisions 68027 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r68027 | oej | 2007-06-07 11:42:26 +0200 (Thu, 07 Jun 2007) | 8 lines
If you have a jabber client that uses TLS, refuse unload. Bad fix, but will prevent
crashes while we are trying to find a workaround.
Iksemel development seems to have stalled and we might have to stop using the
TCP/TLS connections in that library and use our own, which would scale better
from a poll/select perspective I guess. It would also make it easier to migrate
to OpenSSL and stop Asterisk from depending on both OpenSSL and GnuTLS.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68029 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Olle Johansson
bce7e353d6
Merged revisions 67993 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r67993 | oej | 2007-06-07 11:00:44 +0200 (Thu, 07 Jun 2007) | 6 lines
Issue #9738 - Make sure we can unload res_jabber. Patch by phsultan - thanks!
Due to a bug in the iksemel library, this will not work if you are using GTLS
in the connection. That's being investigated. If you figure out a way to handle
that without us having to patch iksemel, let us know in the bug report. Thanks.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Olle Johansson
6fc3a29660
Simplification of res_jabber code (done at Inria, Paris with Philippe)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
9c78e261d6
Merged revisions 67872 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r67872 | russell | 2007-06-06 17:08:02 -0500 (Wed, 06 Jun 2007) | 6 lines
Disable reload functionality in res_snmp. It is not possible to initialize the
snmp library more than once without completely unloading the module and loading
it again.
(issue #9571 , reported by hristo, additional helpful debug information from festr,
patch from me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
9d05ff8ed5
Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
65e8178c2b
Constify the return values of ast_parking_ext() and ast_pickup_ext()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
baf596a954
Another tiny formatting change for testing ...
...
(issue #9828 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67778 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
6ddcfff1c7
Change "show parkedcalls" to "parkedcalls show" and mark the previous command
...
as deprecated. Also, convert the CLI command to the new style.
(issue #9861 , patch from eliel)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
3f463b7668
Merged revisions 67597 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r67597 | file | 2007-06-06 08:34:06 -0400 (Wed, 06 Jun 2007) | 2 lines
Make the new "agi debug off" CLI command work. (issue #9890 reported by eliel)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
6e6d4be830
Merged revisions 67064 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r67064 | file | 2007-06-04 13:41:59 -0400 (Mon, 04 Jun 2007) | 2 lines
Returning a value that indicates the parking of a call was a success when it really wasn't (because the parking slot selected was in use) is the wrong thing to do. (issue #9723 reported by mdu113)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
4538cec96a
Merged revisions 67021 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r67021 | tilghman | 2007-06-04 10:50:16 -0500 (Mon, 04 Jun 2007) | 2 lines
Issue 9739 - Malformed jid causes a crash
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
545de7746c
Documentation fixes for res_config_sqlite.
...
Issue 9854, patch by tzafrir.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66878 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
ce4051a803
Merged revisions 66775 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r66775 | russell | 2007-05-31 13:41:58 -0500 (Thu, 31 May 2007) | 3 lines
Change a couple of header files to not use "new", which is a reserved keyword
in C++. (issue #9830 , reported by osk)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
8d0124aba3
Add support for configuring named groups of custom call features in
...
features.conf. This allows you to create a feature one time, and then map it
into groups for various different key mappings for the same feature, as well
as easy access control to groups of features.
(patch from bbryant)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66774 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
cc35dc8999
Revert changes that snuck in with revision 66724.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
8ea9dcc221
Fix a crash on reload by using calloc() instead of malloc() to ensure that
...
data is properly initialized.
(issue #9765 , reported by MatsK, patch from eliel)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Olle Johansson
0b2db74e5a
Issue #9842 - Doxygen updates by snuffy. Thanks!
...
(Committed from Media Plaza in Utrecht, Netherlands - Open Source VoIP conference)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
1236ed3214
Issue 9477 - Improve menuselect labels
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66585 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Kevin P. Fleming
c74518e3ff
Merged revisions 66157 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r66157 | kpfleming | 2007-05-25 10:28:46 -0400 (Fri, 25 May 2007) | 3 lines
handle the GNUTLS library properly in the configure script and build system
don't build in OSP support unless we have found and are allowed to use SSL support
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66158 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Olle Johansson
9b95428cce
Issue #8409 and accidentally a fix to chan_sip that wasn't supposed to be there
...
but is still ok... Sorry. Lack of Tea, really.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65838 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
998261f602
Fix compiling of res_musiconhold under dev mode.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65590 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
90d6885701
Add a new feature for Music on Hold. If you set the "digit" option for a
...
class in musiconhold.conf, a caller on hold may press this digit to switch
to listening to that music class.
This involved adding a new callback for generators, which allow generators
to get notified of DTMF from the channel they are running on. Then, a callback
was implemented for the music on hold generators.
(patch from bbryant)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
5b4de10a12
Don't overwrite a pointer to the first channel... that is bad. (issue #9770 reported by tfbu)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65376 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
cc3c91edc2
Merged revisions 65250 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r65250 | file | 2007-05-20 13:59:58 -0400 (Sun, 20 May 2007) | 2 lines
res_agi needs to export two symbols (ast_agi_register and ast_agi_unregister) for usage by others. (issue #9755 reported by mnicholson)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
b10fd38770
Music on hold and crypto no longer need their symbols globally exported. They register the function pointers upon loading with their respective stubs.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
42c63dd2ed
Add the adsistub file to the Asterisk makefile, fix a stub definition, and no longer make the symbols from res_adsi global since they don't need to be.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65233 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Olle Johansson
bdd2b74ced
Issue #5930 - Remove dependencies on res_adsi.so - clwade
...
A big THANK YOU to clwade for this patch.
Minor modifications by me.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
16a9f0844f
Merged revisions 64426 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r64426 | russell | 2007-05-15 14:52:18 -0500 (Tue, 15 May 2007) | 3 lines
Properly fix a problem that occurs when you set PARKINGEXTEN to an exten where
a call is already parked. (issue #9723 , patch by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64427 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
17ab54e52a
Merged revisions 64353 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r64353 | russell | 2007-05-14 16:16:39 -0500 (Mon, 14 May 2007) | 4 lines
When someone requests a specific parking space using the PARKINGEXTEN variable,
ensure that no other caller is already there.
(issue #9723 , reported by mdu113, patch by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64354 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
0664aa2a73
Add gender support for AGI SAY NUMBER.
...
(issue #9537 , patch by chappell)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
4765d4145e
Merged revisions 63872 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r63872 | file | 2007-05-11 11:43:14 -0400 (Fri, 11 May 2007) | 2 lines
Make the PARKINGEXTEN feature of parking actually work. (issue #9708 reported by mdu113)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63873 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
a9bd9e39d5
Merged revisions 63448 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r63448 | russell | 2007-05-08 11:53:09 -0500 (Tue, 08 May 2007) | 4 lines
I mixed up the use of the find_feature() function, so I renamed it
find_dynamic_feature, and changed the code to use the correct lock when
using it.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
314c874d7d
I noted this on the dev list but got no response, so I just did it myself.
...
Lock the call features when being used in chan_sip.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63447 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
42a62a3c21
Merged revisions 63445 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r63445 | russell | 2007-05-08 11:30:43 -0500 (Tue, 08 May 2007) | 2 lines
Use a read/write lock when accessing the built-in features.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Olle Johansson
a39f95b94f
Adding external referenses for doxygen
...
See http://www.asterisk.org/doxygen/trunk/extref.html
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
cddb061140
Merged revisions 63099 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r63099 | qwell | 2007-05-04 15:03:49 -0500 (Fri, 04 May 2007) | 4 lines
Fix a crash when checking version attribute in an incoming XML caps element.
Issue 9667, patch by phsultan.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Steve Murphy
7ec9a2fb57
According to my testing, it's better if the ast_find_call_feature func ran this way instead, as far as the snom record button is concerned
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Steve Murphy
02337303ef
a small upgrade to the coding standard, and an update to the code that triggered the upgrade.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Steve Murphy
3ee0077f04
Added a small bit of code to support the SNOM 360's Record button. Made the find_feature func in res_features.c public, so I could use it to find the automon dial sequence as configured by the user. When the INFO packet has a Record: header with on/off, the sequence is sent as consecutive DTMF frames on the phone's channel, triggering the automon functionality. The user has to configure the automon in features.conf, and set up his dialplan accordingly.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Kevin P. Fleming
f44a236d08
Merged revisions 62842 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r62842 | kpfleming | 2007-05-02 20:23:37 -0400 (Wed, 02 May 2007) | 10 lines
Merged revisions 62841 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r62841 | kpfleming | 2007-05-02 20:23:00 -0400 (Wed, 02 May 2007) | 2 lines
doh... initializing the pointer variable will work just a bit better
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Kevin P. Fleming
a2c8e8a4a7
Merged revisions 62797,62807 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r62797 | kpfleming | 2007-05-02 19:57:23 -0400 (Wed, 02 May 2007) | 7 lines
improve static Realtime config loading from PostgreSQL:
don't request sorting on fields that are pointless to sort on
use ast_build_string() instead of snprintf()
don't request the list of fieldnames that resulted from the query when we both knew what they were before we ran the query _AND_ we aren't going to do anything with them anyway
(patch by me, inspired by blitzrage's bug report about res_config_odbc)
................
r62807 | kpfleming | 2007-05-02 20:02:57 -0400 (Wed, 02 May 2007) | 15 lines
Merged revisions 62796 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r62796 | kpfleming | 2007-05-02 19:53:46 -0400 (Wed, 02 May 2007) | 7 lines
increase reliability and efficiency of static Realtime config loading via ODBC:
don't request fields we aren't going to use
don't request sorting on fields that are pointless to sort on
explicitly request the fields we want, because we can't expect the database to always return them in the order they were created
(reported by blitzrage in person (!), patch by me)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62824 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
7df63e233c
In addition to making it so attended transfers don't fail unnecessarily,
...
add some new options to control what happens when you hangup on an attended
transfer before the target extension answers the transferred channel. You
can now have it send the transferee back to the transferer.
(issue #8413 , patch from sergee with very minor modifications by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62593 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
37d94ceab9
Merged revisions 62548 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r62548 | russell | 2007-05-01 16:57:10 -0500 (Tue, 01 May 2007) | 12 lines
Merged revisions 62547 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r62547 | russell | 2007-05-01 16:55:19 -0500 (Tue, 01 May 2007) | 4 lines
Remove an unnecessary check that makes it so if you hang up after doing an
attended transfer before the target extension answers the channel, the transfer
is not successful. (issue #9338 , patch by svanlund)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
b6b1bf3213
Merge changes from team/russell/events
...
This set of changes introduces a new generic event API for use within Asterisk.
I am still working on a way for events to be shared between servers, but this
part is ready and can already be used inside of Asterisk.
This set of changes introduces the first use of the API, as well. I have
restructured the way that MWI (message waiting indication) is handled. It is
now event based instead of polling based. For example, if there are a bunch
of SIP phones subscribed to mailboxes, then chan_sip will not have to
constantly poll the mailboxes for changes. app_voicemail will generate events
when changes occur.
See UPGRADE.txt and CHANGES for some more information on the effects of these
changes from the user perspective. For developer information, see the text in
include/asterisk/event.h.
As always, additional feedback is welcome on the asterisk-dev mailing list.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62292 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
a212ff5a78
Merged revisions 61961 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r61961 | file | 2007-04-25 21:48:55 -0400 (Wed, 25 Apr 2007) | 2 lines
Don't always say that the channel is being paused if it is actually being unpaused in the Manager ack message. (reported by jsmith in #asterisk-bugs)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61962 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
9c8c9c5fa1
Merge changes from team/russell/issue_5841:
...
This patch adds a "Bridge" Manager action, as well as a "Bridge" dialplan
application. The manager action will allow you to steal two active channels
in the system and bridge them together. Then, the one that did not hang up
will continue in the dialplan. Using the application will bridge the calling
channel to an arbitrary channel in the system. Whichever channel does not
hang up here will continue in the dialplan, as well.
This patch has been touched by a bunch of people over the course of a couple
years. Please forgive me if I have missed your name in the history of things.
The most recent patch came from issue #5841 , but there is also a reference to
an earlier version of this patch from issue #4297 . The people involved in writing
and/or reviewing the code include at least: twisted, mflorrel, heath1444, davetroy,
tim_ringenbach, moy, tmancill, serge-v, and me. There are also positive test
reports from many people.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Steve Murphy
ecaf781933
Merged revisions 60989 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r60989 | murf | 2007-04-09 12:32:07 -0600 (Mon, 09 Apr 2007) | 1 line
This is a big improvement over the current CDR fixes. It may still need refinement, but this won't have as many folks bothered.
This also adds the mods from 1.4/r.61136;
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Olle Johansson
6ec9260e9f
Fix JabberEvents
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60986 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Olle Johansson
ae6587ac8f
Fix missing newline in JabberEvent
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60985 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
1c2e3e1ffc
Major res_speech cleanup. It looks much better now!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60363 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
4b618442a0
Merged revisions 60361 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r60361 | file | 2007-04-05 22:14:00 -0300 (Thu, 05 Apr 2007) | 2 lines
Add support for returning different types of results (ie: NBest).
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Steve Murphy
09c0d56c5c
Merged revisions 59522 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r59522 | murf | 2007-03-30 11:51:17 -0600 (Fri, 30 Mar 2007) | 1 line
several changes via kpflemings review
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Steve Murphy
0f11d3c8c3
Merged revisions 59486 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r59486 | murf | 2007-03-30 08:11:59 -0600 (Fri, 30 Mar 2007) | 1 line
These mods fix CDR issues from 8221, 8593, 8680, 8743, and perhaps others. Mainly with CDRs generated from transfer situations.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59500 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
921e975d5f
Merged revisions 59363 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r59363 | russell | 2007-03-29 12:43:52 -0500 (Thu, 29 Mar 2007) | 6 lines
When building a response to a subscription, the "from" must be the full Jabber
ID. This fixes some problems where jabber users are not able to add their
Asterisk account to their user list, since they are unable to get Asterisk
to approve their subscription. (issue #8210 , reported by caspy, and verified
by bradtem)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
fdb5e1107d
Merged revisions 59289 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r59289 | tilghman | 2007-03-27 22:38:09 -0500 (Tue, 27 Mar 2007) | 2 lines
Another crash that I thought we had fixed already - Issue 9396
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59290 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
606b1414f6
Merged revisions 59087 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r59087 | file | 2007-03-21 14:04:58 -0400 (Wed, 21 Mar 2007) | 10 lines
Merged revisions 59086 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59086 | file | 2007-03-21 14:03:20 -0400 (Wed, 21 Mar 2007) | 2 lines
Indicate the filename changed when it is changed. (issue #9311 reported by jsmith)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
5bea998a55
Merge changes from team/russell/sqlite:
...
* Add new module, cdr_sqlite3_custom which allows logging custom CDRs into a
SQLite3 database. (issue #7149 , alerios)
* Add new module, res_config_sqlite, which adds realtime database configuration
support for SQLite version 2. I decided that this was ok since we didn't have
any realtime support for version 3. If someone ports this to version 3, then
version 2 support can be removed or marked deprecated.
(issue #7790 , rbarun_proformatique)
* Mark cdr_sqlite as deprecated in favor of cdr_sqlite3_custom.
Also, note that there were other modules on the bug tracker that did not make
the cut because they provided some duplicated functionality. Those are:
* cdr_sqlite3 (issue #6754 , moy)
* cdr_sqlite3 (issue #8694 , bsd)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
207c34f2d6
Merged revisions 58479 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r58479 | tilghman | 2007-03-08 15:33:03 -0600 (Thu, 08 Mar 2007) | 2 lines
Fix segfault (Issue 9236)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58480 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
0fb8d82f18
Merged revisions 57770 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r57770 | file | 2007-03-04 22:35:03 -0500 (Sun, 04 Mar 2007) | 2 lines
Don't reference a potentially NULL pointer. (issue #9199 reported by klolik)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57771 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
75d387acbc
Doxygen additions, corrections
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
bc01e39174
Creating new doxygen macro "\extref" to create page that lists
...
external libraries and URLs to these. Please help me add these
references.
We might want to create a similar macro "\linuxpackage" to list
the needed Linux packages in popular distributions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
ae47fc4541
Merged revisions 55555 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r55555 | qwell | 2007-02-20 10:53:45 -0600 (Tue, 20 Feb 2007) | 4 lines
No need to cast nor free with strdupa (thanks file)
55555!
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
264733381a
I like it when trunk builds, so let's make res_jabber compile again!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55534 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
36c46f0d81
Merged revisions 55483 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r55483 | oej | 2007-02-19 22:12:55 +0100 (Mon, 19 Feb 2007) | 3 lines
- Not sending arguments to an application is not "out of memory"
- Making error messages a bit more clear
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
4561b7a83b
Being picky...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
7f0934b6f4
Simplify post_manager_event()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55323 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
b8ab0abb83
Allow the user to specify where to enable the respective features for when a parked call is picked up. (ie: transfers and parking)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
a8309d1a3c
Merged revisions 54888 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r54888 | russell | 2007-02-16 11:40:38 -0600 (Fri, 16 Feb 2007) | 3 lines
Clean up a few coding guidelines issues - spaces to tabs, use sizeof() to pass
the size of a static buffer, add spaces ...
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54890 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
ae6898cbe5
Add option to features.conf that enables parking via DTMF on picked up parked calls. (issue #9082 reported by francesco_r)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
33915a153a
Issue #9068 - make sure we quote HTML characters correctly too (seanbright)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54774 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
71c7f6e32f
Merged revisions 54772 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r54772 | oej | 2007-02-16 12:39:55 +0100 (Fri, 16 Feb 2007) | 10 lines
Merged revisions 54771 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r54771 | oej | 2007-02-16 12:38:03 +0100 (Fri, 16 Feb 2007) | 2 lines
Issue #9069 - If we open with TH we should not close with /TD. (seanbright)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
f60efe347a
This introduces a new dialplan function, DEVSTATE, which allows you to do some
...
pretty cool things.
First, you can get the device state of anything in the dialplan:
NoOp(SIP/mypeer has state ${DEVSTATE(SIP/mypeer)})
NoOp(The conference room 1234 has state ${DEVSTATE(MeetMe:1234)})
Most importantly, this allows you to create custom device states so you can
control phone lamps directly from the dialplan.
Set(DEVSTATE(Custom:mycustomlamp)=BUSY)
...
exten => mycustomlamp,hint,Custom:mycustomlamp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
e758ef09b3
Merged revisions 53779-53781 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r53779 | kpfleming | 2007-02-09 17:51:29 -0600 (Fri, 09 Feb 2007) | 2 lines
fix awk scripts to work when both MODULEINFO and MAKEOPTS are present in a source file
........
r53780 | kpfleming | 2007-02-09 17:51:41 -0600 (Fri, 09 Feb 2007) | 2 lines
add some inter-module dependencies
........
r53781 | kpfleming | 2007-02-09 17:52:44 -0600 (Fri, 09 Feb 2007) | 2 lines
another dependency
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
b3c0e124bd
I'm crazy so I think I'll change the musiconhold classes linked list to read/write as well!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
c1e37165c1
Merged revisions 53294 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r53294 | tilghman | 2007-02-06 23:24:31 -0600 (Tue, 06 Feb 2007) | 2 lines
Text fix for jabber reload command (reported by bkruse via IRC)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
c19b8803f3
Merged revisions 53088 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r53088 | file | 2007-02-01 15:11:28 -0600 (Thu, 01 Feb 2007) | 10 lines
Merged revisions 53084 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53084 | file | 2007-02-01 15:03:10 -0600 (Thu, 01 Feb 2007) | 2 lines
Return previous behavior of having MOH pick up where it was left off. (issue #8672 reported by sinistermidget)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
38341590a3
Formatting changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
b2aa1a68e6
Merged revisions 52808 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r52808 | pcadach | 2007-01-30 00:34:26 -0800 (Втр, 30 Янв 2007) | 1 line
Don't play with free()'d pointers
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
80435b54a5
Merged revisions 51716 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r51716 | murf | 2007-01-23 13:32:54 -0700 (Tue, 23 Jan 2007) | 1 line
this mod from 8593 (dstchannel in cdr is empty when transfer call).
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
fa6d3941df
Merged revisions 51513 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r51513 | file | 2007-01-22 20:45:04 -0500 (Mon, 22 Jan 2007) | 10 lines
Merged revisions 51512 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51512 | file | 2007-01-22 20:41:35 -0500 (Mon, 22 Jan 2007) | 2 lines
Yield before reading from zaptel timing source under Solaris so that other threads get a chance to do things. (issue #7875 reported by bob)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
dc31eaa025
include "asterisk/zapata.h" instead of looking
...
directly for the zaptel.h and tonezone.h
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51292 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
10e3cba61e
Add parkedcalltransfers option for res_features. This basically enables/disables DTMF based transfers. If you want to get former behavior you will have to make sure it is enabled.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
0f456a07e3
Merged revisions 51148 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r51148 | file | 2007-01-16 12:39:50 -0500 (Tue, 16 Jan 2007) | 10 lines
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/trunk@51149 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
2a5df21d5f
Merged revisions 50674 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r50674 | file | 2007-01-12 22:04:55 -0500 (Fri, 12 Jan 2007) | 2 lines
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/trunk@50675 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
c4c2c546da
When calling the Realtime app more than once, unset fields which were
...
previously set are erroneously still set (Bug 6701). After discussion,
it was determined this should only be changed in trunk.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
5abda34cd9
Merged revisions 49742 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49742 | qwell | 2007-01-05 18:24:38 -0600 (Fri, 05 Jan 2007) | 7 lines
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/trunk@49743 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
87b9abc892
Merged revisions 49676 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49676 | kpfleming | 2007-01-05 16:16:33 -0600 (Fri, 05 Jan 2007) | 2 lines
reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most cases
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
09f75aa6dc
rename the structs struct tone_zone_sound and struct tone_zone
...
defined in indications.h to ind_tone_zone_sound and ind_tone_zone,
to avoid conflicts with the structs with the same names
defined in tonezone.h
Hope i haven't missed any instance.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
7b338004bf
a quick fix to app_sms.c to get rid of cursed compiler warnings so I can compile under --enable-dev-mode
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
09de4d2b67
Update res_snmp to use new API declaration of pbx_builtin_serialize_variables (issue #8627 reported by johann8384)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
3830f08dc5
OpenBSD does not have RLIMIT_AS or RLIMIT_VMEM so until someone finds the right rlimit to use then let's not support the -v option on OpenBSD. (issue #8543 reported by jtodd)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48591 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
518f25f65c
Merged revisions 48577 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48577 | kpfleming | 2006-12-19 08:57:09 -0600 (Tue, 19 Dec 2006) | 2 lines
use the proper variable type for these unixODBC API calls, eliminating warnings on 64-bit platforms that use the 'new' 64-bit types for ODBC API calls
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
a61418e1df
prevent a compiler warning
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
4a0738a665
remove a duplicate include
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
d670858735
Merged revisions 48375 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48375 | tilghman | 2006-12-10 18:47:21 -0600 (Sun, 10 Dec 2006) | 13 lines
Merged revisions 48374 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48374 | tilghman | 2006-12-10 18:33:59 -0600 (Sun, 10 Dec 2006) | 5 lines
When doing a fork() and exec(), two problems existed (Issue 8086):
1) Ignored signals stayed ignored after the exec().
2) Signals could possibly fire between the fork() and exec(), causing Asterisk
signal handlers within the child to execute, which caused nasty race conditions.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48376 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
d24a78944d
Merged revisions 48357 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48357 | russell | 2006-12-07 13:17:28 -0500 (Thu, 07 Dec 2006) | 11 lines
Merged revisions 48356 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48356 | russell | 2006-12-07 13:14:13 -0500 (Thu, 07 Dec 2006) | 3 lines
Ensure that the file position is not incremented beyond the total number of
files available for playback. (issue #8539 , ulogic)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
af870057c1
Constify a bunch of usage strings for CLI commands.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d72171b6e4
Merged revisions 48155 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48155 | file | 2006-11-30 14:05:14 -0500 (Thu, 30 Nov 2006) | 10 lines
Merged revisions 48154 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48154 | file | 2006-11-30 14:04:11 -0500 (Thu, 30 Nov 2006) | 2 lines
Do not listen for DTMF on the bridge that comes into existence when ParkedCall is executed. This means native bridging can now occur for this. (issue #8406 reported by kebl0155)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48156 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
35b63c6b4c
Merged revisions 48049 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48049 | tilghman | 2006-11-27 11:20:37 -0600 (Mon, 27 Nov 2006) | 10 lines
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/trunk@48050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
49d03906b6
ESS-ification.
...
no need to bring this in 1.4, it is just code cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
6dcb17baaf
This update fulfils the request of bug 7109, which claimed the language arg to ast_stream_and_wait() was redundant. Almost all calls just used chan->language, and seeing how chan is the first argument, this certainly seems redundant. A change of language could just as easily be done by simply changing the channel language before calling.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
f2bc05d1d4
Feature: allow the sanity SQL to be customized per connection class (Issue 6453)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
70f6330157
Merged revisions 47526 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47526 | tilghman | 2006-11-12 23:46:18 -0600 (Sun, 12 Nov 2006) | 10 lines
Merged revisions 47525 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47525 | tilghman | 2006-11-12 23:45:11 -0600 (Sun, 12 Nov 2006) | 2 lines
If the execute fails a second time, make sure that we don't pass back a stale handle
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
908f176cf3
A fair number of changes for the sake of bug 7506
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47290 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
89d48b53a2
Merged revisions 47239 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47239 | russell | 2006-11-06 20:25:10 -0500 (Mon, 06 Nov 2006) | 13 lines
Merged revisions 47238 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47238 | russell | 2006-11-06 20:22:58 -0500 (Mon, 06 Nov 2006) | 5 lines
If random order is enabled for files mode music on hold, set a random initial
position, instead of always starting at the first file, and doing the random
operation only when switching to the next file.
(bug reported by John Lange on the asterisk-dev mailing list)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
ad2589bc01
useless cast removal...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
a0cc033b18
move variable declarations to the beginning of a block.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
79f75ec09a
Merged revisions 47053 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47053 | tilghman | 2006-11-02 17:49:13 -0600 (Thu, 02 Nov 2006) | 2 lines
More changes making the CLI more consistent with "category verb arguments" (continuation of issue 8236)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
10875731ec
Merged revisions 47051 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47051 | tilghman | 2006-11-02 17:00:20 -0600 (Thu, 02 Nov 2006) | 2 lines
Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
232e56f496
Merged revisions 46965 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r46965 | russell | 2006-11-02 12:49:54 -0500 (Thu, 02 Nov 2006) | 11 lines
Merged revisions 46964 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r46964 | russell | 2006-11-02 12:47:56 -0500 (Thu, 02 Nov 2006) | 3 lines
ignore files in a music on hold directory that begin with '.'
(issue #8249 , cboie)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46966 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
e52822b3bf
a fix for bug 8251; the var_val needs to accept longer strings or mass confusion and a lot of lost time is the result
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
63ff3c85da
Merged revisions 46778 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r46778 | russell | 2006-11-01 13:26:35 -0500 (Wed, 01 Nov 2006) | 17 lines
Merged revisions 46776 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r46776 | russell | 2006-11-01 13:24:17 -0500 (Wed, 01 Nov 2006) | 9 lines
soxmix and Asterisk expect different file extensions for certain formats. This
was already handled for the wav49 format. However, it was not handled for
ulaw and alaw. I fixed this in such a way that using the alternate extensions
for ulaw and alaw will only happen if we know we're calling soxmix, and not a
custom script defined using the MONITOR_EXEC variable. The wav49 processing
was left alone so that external scripts will see no behavior change.
(issue #7550 , reported by mnicholson, proposed patch by junky, committed fix
is a bit different)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
36a86a19dd
move variable declaration in the middle of a block
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
198521c94a
change default return extension after parking timeout.
...
6953 with minor changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46732 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
f012ccd4a3
Merged revisions 46558 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r46558 | russell | 2006-10-31 01:14:13 -0500 (Tue, 31 Oct 2006) | 11 lines
Merged revisions 46557 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r46557 | russell | 2006-10-31 01:13:09 -0500 (Tue, 31 Oct 2006) | 3 lines
fix some copy/paste bugs in the checking of arguments for the
"control stream file" AGI command (issue #8255 , mnicholson)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
4337a82563
Merged revisions 46363 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46363 | russell | 2006-10-27 12:39:31 -0500 (Fri, 27 Oct 2006) | 5 lines
We should always be using _exit() after a fork() or vfork() instead of exit().
This is because exit() does some extra cleanup which in some implementations
of vfork(), for example, can actually modify the state of the parent process,
causing very weird bugs or crashes. (issue #7971 , Nick Gavrikov)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
749029de38
Merged revisions 46200 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46200 | kpfleming | 2006-10-25 09:32:08 -0500 (Wed, 25 Oct 2006) | 2 lines
apparently developers are still not aware that they should be use ast_copy_string instead of strncpy... fix up many more users, and fix some bugs in the process
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Mark Spencer
9178e4223e
Fix FastAGI to not wait for the non-existant pid
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46141 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
6a58d83cc0
Merged revisions 45999 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r45999 | russell | 2006-10-23 13:07:45 -0400 (Mon, 23 Oct 2006) | 2 lines
don't crash when an incoming message has no "from" (issue #8205 , jmls)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46000 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
d60f37384e
Merged revisions 45818 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r45818 | russell | 2006-10-21 14:49:46 -0400 (Sat, 21 Oct 2006) | 3 lines
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/trunk@45819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
5e8e7e0d48
Merged revisions 45694 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r45694 | file | 2006-10-19 13:24:40 -0400 (Thu, 19 Oct 2006) | 2 lines
Let's remember to unregister JabberStatus too (issue #8184 reported by jmls)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
c474556659
As per bug 6779, this patch is now applied to trunk; while I was at it, I corrected a reference to a CLI command, to follow the new regime.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45426 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
3e6b9cacb4
Merged revisions 45106 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r45106 | file | 2006-10-13 17:06:09 -0400 (Fri, 13 Oct 2006) | 2 lines
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/trunk@45107 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
fd2bd9a87e
Merged revisions 45104 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r45104 | file | 2006-10-13 17:01:13 -0400 (Fri, 13 Oct 2006) | 2 lines
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/trunk@45105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago