Olle Johansson
c011aa8630
Only delete scheduled item if it exists
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35333 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-21 19:07:02 +00:00
Joshua Colp
0224dee876
Actually allow realtime queue members to be added (issue #7408 reported by tgrman)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-21 18:39:56 +00:00
Olle Johansson
58c243a6d4
Only formatting changes... (tabs to spaces)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-21 17:05:38 +00:00
Joshua Colp
5ff818f995
Fix timing issue (race) with poke/pong for very close peers that can cause a peer to be declared unreachable (issue #7396 reported by stevedavies)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-21 16:50:24 +00:00
Christian Richter
70a4c98a5a
* added support for PID export/import to identify bridging in misdn_call already
...
* fixed a few inband Alerting issues, sometimes we need to create alerting, some
times it's inband
* beautified the state debugging of misdn_hangup
* removed "real" bchannel activating/deactivating in chan_misdn.c
* fixed "round_robin" bug when there's only 1 port
* added more informative prints when channel could not be created
* changed some warnings to notices
* reworked the whole bchannel state machine stuff,
it is now like in the examples of mISDNuser and therefore a lot easier,
and it is now harder to create bugs
* bchannel_activate/deactivate is now only called in setup/cleanup bc,
they may merge sometime
* it is very important to setup/cleanup the bchannels under the correct
conditions, especially in the NT Side we can only setup the bchannels
when we send a Message!
In the TE side we can only setup the bchannel when we received the channel
of course
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-21 15:21:46 +00:00
Olle Johansson
7876a86e96
- Doxygen and some formatting fixes in res_features
...
- Get rid of compiler warnings in chan_sip
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35210 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-21 07:49:29 +00:00
Olle Johansson
a85fec94fd
Finally fix parking and go back to metermaids
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-21 07:13:20 +00:00
Tilghman Lesher
2c3e94f289
Bug 7399 - Sample config showed [general] as the context, so the app should look there, too.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35185 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 22:26:16 +00:00
Tilghman Lesher
2291834bd5
Bug 7372: Wrong size for the block alignment (should have been 4 bytes;
...
writing 4 from a 2-byte integer caused extra (wrong) bytes set in the header)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35184 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 22:22:47 +00:00
Olle Johansson
12164df2fd
How many times can we free allocated memory? Many, obviously... ;-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 21:12:58 +00:00
Olle Johansson
b27fff2a9d
Hunting crash when parking calls with SIP REFER
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 21:09:50 +00:00
Olle Johansson
0195279499
use correct test for checking if sip domains are enabled or not
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 15:46:49 +00:00
Russell Bryant
8686c659a6
$(INSTALL) is determined by configure and set in the makeopts file
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35123 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 15:08:44 +00:00
Tilghman Lesher
e704d616a5
Merged revisions 35121 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r35121 | tilghman | 2006-06-20 10:05:23 -0500 (Tue, 20 Jun 2006) | 2 lines
Bug 7398 - Solaris puts its zoneinfo files in a nonstandard place
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 15:06:38 +00:00
Olle Johansson
cb4221c7e9
Don't count unknown media streams as media streams in the offer... (Fenlander reported this on irc)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 13:31:42 +00:00
Olle Johansson
e04914b44a
parse SDP properly even when we are debugging. (Thanks fenlander!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 13:28:33 +00:00
Olle Johansson
3b910323f3
Issue #6820 - SIP channels hang in semi active state
...
- Block fix from 1.2
- Implement part of that fix that was not already implemented, but in a different way
basically, don't cancel destruction when we receive re-transmits.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35059 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 10:34:53 +00:00
North Antara
fb0bb9b195
fix an issue with dtmf not being sent sometimes
...
slightly modify handling of digits
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35032 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 08:09:30 +00:00
Russell Bryant
a3846a727c
ensure menuselect fails if the deps file isn't found
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 04:04:57 +00:00
Russell Bryant
c260301476
- use $(CC) instead of gcc when building testexpr2
...
- modify ast_expr2.fl and ast_expr2.y to not try to register the file version
in a STANDALONE build
- add config.status as a dependency on testexpr2 to ensure configure is
executed before building it
- add include/asterisk/buildopts.h as a dependency for testexpr2 as well
- add -Iinclude to the gcc commands for building the testexpr2 objects so that
it can find the local asterisk headers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34980 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 01:06:50 +00:00
Olle Johansson
bce5b8a146
- Formatting
...
- Create larger buffer for managing long auth headers from clients (adviced by SNOM)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34951 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-19 21:09:24 +00:00
Joshua Colp
e6958d9c5e
Merged revisions 34911 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r34911 | file | 2006-06-19 17:27:44 -0300 (Mon, 19 Jun 2006) | 2 lines
Call reset_user_pw upon changing the password using externpass (issue #7395 reported by Ryan Cumming)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34912 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-19 20:29:08 +00:00
Tilghman Lesher
ea05183652
Merged revisions 34875 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r34875 | tilghman | 2006-06-19 13:07:26 -0500 (Mon, 19 Jun 2006) | 2 lines
Issue 7357 - txt file left behind when going to operator. Also, fix a possible file descriptor leak.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34876 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-19 18:11:04 +00:00
Kevin P. Fleming
487adb43e2
various cleanups, remove support for CVS checkouts
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-19 15:17:32 +00:00
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
2006-06-19 14:24:35 +00:00
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
2006-06-19 09:44:04 +00:00
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
2006-06-19 07:36:18 +00:00
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
2006-06-19 00:14:16 +00:00
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
2006-06-18 23:18:34 +00:00
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
2006-06-18 22:36:39 +00:00
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
2006-06-18 21:45:48 +00:00
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
2006-06-18 21:36:24 +00:00
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
2006-06-18 21:26:48 +00:00
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
2006-06-18 21:24:35 +00:00
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
2006-06-18 21:05:40 +00:00
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
2006-06-18 20:51:14 +00:00
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
2006-06-18 20:41:32 +00:00
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
2006-06-18 20:33:53 +00:00
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
2006-06-18 20:18:41 +00:00
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
2006-06-18 19:09:32 +00:00
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
2006-06-18 12:52:08 +00:00
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
2006-06-17 10:37:35 +00:00
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
2006-06-16 17:53:26 +00:00
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
2006-06-16 16:58:51 +00:00
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
2006-06-16 16:54:00 +00:00
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
2006-06-16 16:45:52 +00:00
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
2006-06-16 16:30:42 +00:00
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
2006-06-16 16:23:13 +00:00
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
2006-06-16 16:17:43 +00:00
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
2006-06-16 16:16:21 +00:00