Russell Bryant
aa8efe1783
copy the definition of ast_strdupa and use it instead of strdupa to fix the
...
build on systems that don't have it, such as mac
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
2302fa58d7
when we get a disconnect, we should stop the tones on te side..
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34788 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
cdbddf5892
we need to send DISCONNECT on Timeout in the ALERTING/PROCEEDING cases too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34762 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
9f2a6516cf
don't blow up in the sub Makefiles if menuselect.makeopts is not present. This
...
is valid in some cases, such as "make clean".
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
North Antara
e832ae320f
No need to have debug enabled by default anymore..
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
North Antara
a5d6979fac
Finally merge chan_skinny fixes into trunk.
...
ready...set...GO!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
5288621ed4
handle ast_calloc failure and tweak some formatting to comply with coding
...
guidelines (issue #7341 , casper)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34667 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
73ae55698f
merge changes from team/murf/AEL-trunk-fixesonly
...
- fix callerid matching for extensions
- fix nested switch statements
- fix compilation with bison 2.1a or higher
(issue #7309 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
c229baa0cf
fix a polish voicemail bug with saying dates (issue #7389 , supczinskib)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
f75ad9736a
bail if ast_calloc fails, this was done before but i accidently removed it when
...
moving these allocations so duplicate error messages were not produced
(issue #7345 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34663 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
a7863b4345
Blocked revisions 34655 via svnmerge
...
........
r34655 | russell | 2006-06-18 17:03:58 -0400 (Sun, 18 Jun 2006) | 3 lines
don't set state to BUSY if the channel is already in the UP state
(issue #7376 , backported from trunk)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
7ec13047bc
fix various coding guidelines issues (issue #7345 , with additional changes)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34631 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
c18da28251
use the CFLAGS from the main Makefile when building libdb1
...
(issue #7324 , with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
9843e16df2
there is no reason to build and link stdtime/libtime.a because we already
...
directly include stdtime/localtime.o in the OBJS for asterisk, which is the
only object file for libtime
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
035a8b4278
Merged revisions 34627 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r34627 | russell | 2006-06-18 16:15:15 -0400 (Sun, 18 Jun 2006) | 5 lines
don't store multiple secrets delimited with semicolons for peers because this
is only valid for users. Instead, only keep the last specified secret for a
peer entry. Also, document how multiple secrets are handled in the sample
config. (Reported by PCadach on #asterisk-bugs)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
829583a3dc
added TONE_HANGUP, also added Tone generation by mISDN_dsp for post hangup tones, therefore the TONE_X defines are in the isdn_lib.h now. changed a REALEASE to a DISCONNECT in NT Stack, to make tones available in that state.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
e49a367ecf
commit russell's menuselect/buildoptions work with some changes:
...
reverted per-directory .cleancount support
added ability for 'remove_on_change' to support multiple filenames
add 'remove_on_change' support to members, not just categories
only do 'remove_on_change' removals if the config is actually saved
add a 'remove_on_change' entry for each module found by prep_moduledeps so that if it gets turned off any existing .o/.so files will disappear
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34577 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
d86993b90b
* fixed bchannel cleaning race condition with new bchannel state (CLEAN_REQUEST)
...
* added early bridge-hook, so we know if we need to generate ringing or
can take it from the far end chan_misdn channel (if available)
* fixed the issue, that we may not activate the bchannel on PTMP,
when we receive ALERTING/PROCEEDING/PROGRESS, only on CONNECT. There might
be other PTMP devices and we might disturb their bchannel.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
4691e6a29e
remove IMAP_STORAGE from the build options list for app_voicemail since it's
...
not in trunk yet
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
2517087aee
remove prototypes for static functions and fix some potential memory leaks
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
b6147a21b9
remove "depend" from the "all" targets in sub Makefiles. The main Makefile
...
already calls "make depend" for each of the subdirectories
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
eb5af4b1f3
Fix adsi target in main Makefile and check a variable properly (issue #7369 reported by casper)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34496 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
0073f0de9e
Handle failure of ast_calloc when allocating interfaces in res_smdi (issue #7344 reported by casper)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
0e5e744fb2
Add bulgarian indications (issue #7314 reported by KNK)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
287fce05d0
add support for setting the CFLAGS for voicemail storage options in menuselect
...
Thanks to kpfleming for the Makefile magic :)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
65c5d5882c
Update the RADIUS CDR module documentation (issue #7377 reported by phsultan)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
ecabadf2cd
Fixed per kpfleming's suggestion to asterisk-dev.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
35a2f14d96
Quit early and print a LOG_WARNING if we are trying to check devicestate on a Local channel that's been improperly defined.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
9cbcf110e1
Make sure agent_tech is unregistered within unload_module(). It's in 1.2, but was lost at some point in /trunk. #7374 (jstorm)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34461 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
2e8a142c85
Don't ast_request a channel structure twice when a call is being forwarded. ( #7362 - twlison / vechers confirming fix)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
4c07cb1c60
Don't force a busy state that will break channel signalling if the channel
...
already is up. (Reported by Steve Davies in e-mail, waiting for 1.2 approval)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
9ebb7c35a2
Merged revisions 34400 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r34400 | file | 2006-06-16 00:37:05 -0300 (Fri, 16 Jun 2006) | 2 lines
Zero out a declared structure so as to not crash if it contains invalid data (reported by Qwell on #asterisk-dev)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34401 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
96bbc5e741
build menuselect objects with -Wall and remove an unused variable
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34374 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
aee308b8c3
remove prototypes for private functions and make functions and variables not
...
used outside of this file static
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
6f0f14af55
Block patch for 1.2 already fixed in trunk, but in another way
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
b5a13cbef8
Merged revisions 34274 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r34274 | kpfleming | 2006-06-15 08:30:22 -0500 (Thu, 15 Jun 2006) | 3 lines
don't use prefixed structure names for internal structures
don't use a plural structure name for a singular object
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34275 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
2813d15f52
Hoppsan!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34247 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
2ee2b192e3
Merged revisions 34242 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r34242 | tilghman | 2006-06-15 07:40:10 -0500 (Thu, 15 Jun 2006) | 3 lines
VoicemailMain exits on any key, when the language is set to Italian, instead of
properly handling the key (issue 7353).
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
14ebe471c5
ast_calloc() already reports OOM conditions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
f5d54051fe
ast_calloc already reports out of memory conditions (issue 7343)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
83e64c7c94
- Do not require a space at the end of the m= string in a T38 re-invite
...
Bug reported in the t38 issue report, but by mistake ignored before commit.
Thanks to everyone informing me about this, and Corydon for helping me sort
out sscanf :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34217 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
aba00b66fc
use the proper named constants for checking device state, and don't treat UNKNOWN as not available in autofill mode
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
7518a91032
various coding style cleanup and minor fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
794d0e4d1f
make Local channel return sensible device state values
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34162 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
11dac47877
Merged revisions 34159-34160 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r34159 | kpfleming | 2006-06-14 17:17:37 -0500 (Wed, 14 Jun 2006) | 2 lines
use existing dial string parser for strings supplied to iax2_devicestate, because they can be complete dial strings, not just device names
........
r34160 | kpfleming | 2006-06-14 17:22:21 -0500 (Wed, 14 Jun 2006) | 2 lines
coding style cleanups on queue interface handling code that was committed for the last release
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
8fd35365f5
Add some debug logging
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
fb8483c430
- Use our standard of doxygen comments, not javadoc style
...
- small reformatting changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34093 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
39b9a1c945
Merged revisions 34087 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r34087 | kpfleming | 2006-06-14 09:07:53 -0500 (Wed, 14 Jun 2006) | 2 lines
clarify file headers that mention disclaimer usage
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
4b6d6a1a0b
Formatting fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
3aa0f7897f
add Grandstream to credits too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34043 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago