asterisk/asterisk.git
16 years agoreduce indentation a couple of levels
Russell Bryant [Mon, 3 Jul 2006 05:32:08 +0000 (05:32 +0000)]
reduce indentation a couple of levels

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36753 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlocked revisions 36751 via svnmerge
Russell Bryant [Mon, 3 Jul 2006 05:14:06 +0000 (05:14 +0000)]
Blocked revisions 36751 via svnmerge

........
r36751 | russell | 2006-07-03 01:12:03 -0400 (Mon, 03 Jul 2006) | 3 lines

fix a race condition that caused asterisk to log a *ton* of warnings on mac
osx about poll returning an error because the polled file descriptor was bad.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36752 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlocked revisions 36725 via svnmerge
Russell Bryant [Mon, 3 Jul 2006 04:25:21 +0000 (04:25 +0000)]
Blocked revisions 36725 via svnmerge

........
r36725 | russell | 2006-07-03 00:19:09 -0400 (Mon, 03 Jul 2006) | 4 lines

use ast_set_callerid to be more consistent and to make sure that the
"callerid" option in the conf files is always handled the same way and sets ANI
(issue #7285, gkloepfer)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36726 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago- remove an unused variable
Russell Bryant [Mon, 3 Jul 2006 03:39:37 +0000 (03:39 +0000)]
- remove an unused variable
- use ast_calloc instead of malloc + memset
- return immediately on ast_calloc failure instead of indenting the whole func
- remove a duplicate ast_strdupa

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36700 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoadd RDNIS to the DumpChan application (issue #7432, junky)
Russell Bryant [Mon, 3 Jul 2006 03:34:47 +0000 (03:34 +0000)]
add RDNIS to the DumpChan application (issue #7432, junky)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36699 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 36697 via svnmerge from
Russell Bryant [Mon, 3 Jul 2006 03:24:58 +0000 (03:24 +0000)]
Merged revisions 36697 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r36697 | russell | 2006-07-02 23:23:36 -0400 (Sun, 02 Jul 2006) | 2 lines

fix the build with BUSYDETECT_TONEONLY defined (issue #7414)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36698 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoIssue #7421 - Hold status not working fully. Thanks jmls for a good job debugging!
Olle Johansson [Sun, 2 Jul 2006 19:53:54 +0000 (19:53 +0000)]
Issue #7421 - Hold status not working fully. Thanks jmls for a good job debugging!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36679 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agousers want code to compile, really.
Olle Johansson [Sun, 2 Jul 2006 17:14:32 +0000 (17:14 +0000)]
users want code to compile, really.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36661 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoFormatting and debug output fixes
Olle Johansson [Sun, 2 Jul 2006 16:42:53 +0000 (16:42 +0000)]
Formatting and debug output fixes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36642 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agotell the other side that we're using 20 ms packetization for iLBC
Olle Johansson [Sun, 2 Jul 2006 14:18:00 +0000 (14:18 +0000)]
tell the other side that we're using 20 ms packetization for iLBC
- we need to investigate support for refusing offers of 30 ms (like the Nokia
  e-series) or supporting it.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36623 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago- Make use of system name in realtime SIP peers optional
Olle Johansson [Sun, 2 Jul 2006 12:00:36 +0000 (12:00 +0000)]
- Make use of system name in realtime SIP peers optional
- Fix small issue with SIP history

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36602 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoFirst pass at SLA support
Mark Spencer [Sat, 1 Jul 2006 23:54:43 +0000 (23:54 +0000)]
First pass at SLA support

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36582 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoIt might help if this had the right stimulus name
North Antara [Sat, 1 Jul 2006 17:59:37 +0000 (17:59 +0000)]
It might help if this had the right stimulus name

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36562 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoRevert the previous change to FILTER and fix the embedded documentation instead.
Tilghman Lesher [Sat, 1 Jul 2006 16:03:51 +0000 (16:03 +0000)]
Revert the previous change to FILTER and fix the embedded documentation instead.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36543 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agofix up res_snmp so it builds and loads correctly
Russell Bryant [Sat, 1 Jul 2006 15:13:56 +0000 (15:13 +0000)]
fix up res_snmp so it builds and loads correctly
- update to current loader
- update to latest build system changes to ensure snmp/agent.o is built
  and linked

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36524 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoFix chan_nbs to build...
Mark Spencer [Sat, 1 Jul 2006 14:55:29 +0000 (14:55 +0000)]
Fix chan_nbs to build...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36505 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agofix the parsing of options in the FILTER function to match the documentation.
Russell Bryant [Sat, 1 Jul 2006 14:42:42 +0000 (14:42 +0000)]
fix the parsing of options in the FILTER function to match the documentation.
(issue #7465)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36504 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agofix removing autoconfig.h on distclean (issue #7439, casper)
Russell Bryant [Sat, 1 Jul 2006 14:29:06 +0000 (14:29 +0000)]
fix removing autoconfig.h on distclean (issue #7439, casper)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36503 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoswap distclean and dist-clean, since distclean is more commonly used ...
Russell Bryant [Sat, 1 Jul 2006 14:25:43 +0000 (14:25 +0000)]
swap distclean and dist-clean, since distclean is more commonly used ...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36502 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoremove build_tools/menuselelct-deps on distclean
Russell Bryant [Sat, 1 Jul 2006 04:37:52 +0000 (04:37 +0000)]
remove build_tools/menuselelct-deps on distclean

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36483 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agodon't specify this include in the menuselect Makefile, because asterisk-addons
Russell Bryant [Sat, 1 Jul 2006 03:27:37 +0000 (03:27 +0000)]
don't specify this include in the menuselect Makefile, because asterisk-addons
doesn't have an include dir

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36464 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agomore pickyness
Russell Bryant [Sat, 1 Jul 2006 03:23:18 +0000 (03:23 +0000)]
more pickyness

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36463 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agochange bracket style because i'm picky
Russell Bryant [Sat, 1 Jul 2006 03:21:56 +0000 (03:21 +0000)]
change bracket style because i'm picky

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36462 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agomenuselect doesn't pull strcompat.o from asterisk anymore
Russell Bryant [Sat, 1 Jul 2006 03:21:06 +0000 (03:21 +0000)]
menuselect doesn't pull strcompat.o from asterisk anymore

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36461 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agomore reasons why solaris sucks
Russell Bryant [Fri, 30 Jun 2006 17:52:49 +0000 (17:52 +0000)]
more reasons why solaris sucks

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36440 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agofix the condition for including the header for osx atomics
Russell Bryant [Fri, 30 Jun 2006 16:02:05 +0000 (16:02 +0000)]
fix the condition for including the header for osx atomics

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36421 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoupdate configure
Russell Bryant [Fri, 30 Jun 2006 15:55:38 +0000 (15:55 +0000)]
update configure

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36410 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoadd support for atomic operations provided by mac osx
Russell Bryant [Fri, 30 Jun 2006 15:54:13 +0000 (15:54 +0000)]
add support for atomic operations provided by mac osx

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36409 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoFix up a few log messages in chan_sip (issue #7449 reported by tgrman)
Joshua Colp [Fri, 30 Jun 2006 15:29:15 +0000 (15:29 +0000)]
Fix up a few log messages in chan_sip (issue #7449 reported by tgrman)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36408 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMake sure that we build chan_misdn with the object files in the right order
Matthew Fredrickson [Fri, 30 Jun 2006 15:23:20 +0000 (15:23 +0000)]
Make sure that we build chan_misdn with the object files in the right order

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36407 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoUpdates from transnexus to osplookup, removes res_osp
Matt O'Gorman [Fri, 30 Jun 2006 15:12:35 +0000 (15:12 +0000)]
Updates from transnexus to osplookup, removes res_osp
and puts all logic into the app, documentation provided now
in osp.txt.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36406 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 36377 via svnmerge from
Tilghman Lesher [Fri, 30 Jun 2006 14:10:53 +0000 (14:10 +0000)]
Merged revisions 36377 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r36377 | tilghman | 2006-06-30 09:05:53 -0500 (Fri, 30 Jun 2006) | 5 lines

Bug 7349 - Directory did not work correctly when USE_ODBC_STORAGE was defined.

Note: Russell agreed that this should have worked, which is why this is
classified as a bugfix.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36380 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoadded a bit logging, when we split the bridge
Christian Richter [Fri, 30 Jun 2006 14:09:52 +0000 (14:09 +0000)]
added a bit logging, when we split the bridge

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36379 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoadded fix, that if the L2 goes down on ptp-NT that we reinitialize the NT Library...
Christian Richter [Fri, 30 Jun 2006 14:05:42 +0000 (14:05 +0000)]
added fix, that if the L2 goes down on ptp-NT that we reinitialize the NT Library. Also if we have no ntflags, we don't pass the filename to the debug routines of mISDNuser.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36376 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoStore sysname even if we do not store fullcontact (thanks tholo)
Olle Johansson [Fri, 30 Jun 2006 07:22:47 +0000 (07:22 +0000)]
Store sysname even if we do not store fullcontact (thanks tholo)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36356 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoRemoving configuration options that does not do anything yet. No need to
Olle Johansson [Fri, 30 Jun 2006 07:18:30 +0000 (07:18 +0000)]
Removing configuration options that does not do anything yet. No need to
add "promises" to the sip.conf.sample...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36355 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agomake this script work on solaris
Russell Bryant [Fri, 30 Jun 2006 04:33:18 +0000 (04:33 +0000)]
make this script work on solaris

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36336 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 36290 via svnmerge from
Tilghman Lesher [Thu, 29 Jun 2006 22:01:41 +0000 (22:01 +0000)]
Merged revisions 36290 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r36290 | tilghman | 2006-06-29 14:23:18 -0500 (Thu, 29 Jun 2006) | 2 lines

Bug 7388 - compatibility changes for Solaris

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36317 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoadded better L2 handling for ptp, if it's down we don't try to call on that port...
Christian Richter [Thu, 29 Jun 2006 20:12:19 +0000 (20:12 +0000)]
added better L2 handling for ptp, if it's down we don't try to call on that port in groupdial anymore, also we try to get it up then. Additionally added the configoptions  ntdebugflags and ntdebugfile to debug the mISDNuser NT Stack (should have done that ages before..). isdn_lib.c compiles again.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36298 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 36253-36254 via svnmerge from
Kevin P. Fleming [Thu, 29 Jun 2006 08:01:08 +0000 (08:01 +0000)]
Merged revisions 36253-36254 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r36253 | kpfleming | 2006-06-29 02:19:27 -0500 (Thu, 29 Jun 2006) | 2 lines

add documentation for peer-specific 'outboundproxy' setting

........
r36254 | kpfleming | 2006-06-29 02:19:54 -0500 (Thu, 29 Jun 2006) | 2 lines

clarify documentation for 'persistentmembers' setting

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36262 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago...too early in the morning for commits in Bergen, Norway...
Olle Johansson [Thu, 29 Jun 2006 07:59:10 +0000 (07:59 +0000)]
...too early in the morning for commits in Bergen, Norway...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36256 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agomove FreeTDS version check into configure script
Kevin P. Fleming [Thu, 29 Jun 2006 07:50:01 +0000 (07:50 +0000)]
move FreeTDS version check into configure script

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36255 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoAdd support for a=inactive in SDP for holding. This is not very well documented
Olle Johansson [Thu, 29 Jun 2006 07:15:12 +0000 (07:15 +0000)]
Add support for a=inactive in SDP for holding. This is not very well documented
in RFCs, as they keep referring to each other in a circular pattern in regards
to this item, but since the Nokia SIP/GSM phones use this, we might as well
start supporting it.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36252 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoreformatting sip.conf.sample a bit, adding dumphistory that was not documented
Olle Johansson [Thu, 29 Jun 2006 07:04:43 +0000 (07:04 +0000)]
reformatting sip.conf.sample a bit, adding dumphistory that was not documented

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36251 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago?= just checks to see if a variable is not yet defined. If MENUSELECT_CFLAGS
Russell Bryant [Wed, 28 Jun 2006 21:33:39 +0000 (21:33 +0000)]
?= just checks to see if a variable is not yet defined.  If MENUSELECT_CFLAGS
was not found in the user level makeopts file, the variable is defined, but
empty.

I wish we could just require GNU make 3.81  :)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36229 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoslight change to pulling out the MENUSELECT_CFLAGS from the user and global
Russell Bryant [Wed, 28 Jun 2006 21:26:31 +0000 (21:26 +0000)]
slight change to pulling out the MENUSELECT_CFLAGS from the user and global
level makeopts files - if MENUSELECT_CFLAGS is set to nothing in the user level
makeotps file, then the Makefile should not look in the global file at all.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36228 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoremove an extra comma
Russell Bryant [Wed, 28 Jun 2006 21:20:15 +0000 (21:20 +0000)]
remove an extra comma

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36227 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoremove the two uses of the $(or ...) function since it is only supported by
Russell Bryant [Wed, 28 Jun 2006 21:09:02 +0000 (21:09 +0000)]
remove the two uses of the $(or ...) function since it is only supported by
GNU make 3.81 which is less than 3 months old (issue #7442, patch by Corydon76)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36226 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoallow menuselect to be a symlink to a checkout
Russell Bryant [Wed, 28 Jun 2006 19:55:05 +0000 (19:55 +0000)]
allow menuselect to be a symlink to a checkout
(second part of issue #7436, Corydon76)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36197 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agofix the case where menuselect.makeopts is getting generated in the same run of
Russell Bryant [Wed, 28 Jun 2006 15:10:57 +0000 (15:10 +0000)]
fix the case where menuselect.makeopts is getting generated in the same run of
"make" as the current build and some of the MENUELSELECT_CFLAGS are set in the
user or global level asterisk.makeopts file

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36192 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlock patch to 1.2 that was by mistake committed to trunk first...
Olle Johansson [Wed, 28 Jun 2006 15:05:06 +0000 (15:05 +0000)]
Block patch to 1.2 that was by mistake committed to trunk first...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36191 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agomoved a notice into a log
Christian Richter [Wed, 28 Jun 2006 14:24:18 +0000 (14:24 +0000)]
moved a notice into a log

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36190 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agofixed a few state problems when hanging up the call. also changed a few debug message...
Christian Richter [Wed, 28 Jun 2006 14:15:29 +0000 (14:15 +0000)]
fixed a few state problems when hanging up the call. also changed a few debug messages to higher log level

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36188 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoDon't delete initid scheduled item twice... Thanks, vecher, for bugging me about...
Olle Johansson [Tue, 27 Jun 2006 20:54:06 +0000 (20:54 +0000)]
Don't delete initid scheduled item twice... Thanks, vecher, for bugging me about this.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36182 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoCode cleanup while trying to understand this channel...
Olle Johansson [Tue, 27 Jun 2006 20:52:52 +0000 (20:52 +0000)]
Code cleanup while trying to understand this channel...
- please check

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36181 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoFormatting and doxygen fixes
Olle Johansson [Tue, 27 Jun 2006 19:28:04 +0000 (19:28 +0000)]
Formatting and doxygen fixes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36180 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agomenuselect writes both menuselect.makeopts and menuselect.makedeps at once, make...
Jeffrey C. Ollie [Tue, 27 Jun 2006 18:49:04 +0000 (18:49 +0000)]
menuselect writes both menuselect.makeopts and menuselect.makedeps at once, make sure that the Makefile knows about that.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36179 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoissue #7033 - Don't burst pokes to peers at load or reload.
Olle Johansson [Tue, 27 Jun 2006 18:00:09 +0000 (18:00 +0000)]
issue #7033 - Don't burst pokes to peers at load or reload.
Open for a cool algorithm to space them out...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36178 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoInspired by issue 6742, but solved in a different way.
Olle Johansson [Tue, 27 Jun 2006 17:30:14 +0000 (17:30 +0000)]
Inspired by issue 6742, but solved in a different way.
(Yes, I like the system name setting)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36177 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMissing parenthesis
Tilghman Lesher [Tue, 27 Jun 2006 15:53:27 +0000 (15:53 +0000)]
Missing parenthesis

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36176 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agodont copy an id or a message if they dont exist.
Matt O'Gorman [Tue, 27 Jun 2006 14:07:24 +0000 (14:07 +0000)]
dont copy an id or a message if they dont exist.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36175 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agofixes segfault on incoming call which is disconnected in Alerting state
Christian Richter [Tue, 27 Jun 2006 11:28:48 +0000 (11:28 +0000)]
fixes segfault on incoming call which is disconnected in Alerting state

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36173 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoDon't change direction of the dialogue when we send a re-invite
Olle Johansson [Tue, 27 Jun 2006 10:54:57 +0000 (10:54 +0000)]
Don't change direction of the dialogue when we send a re-invite
(will confuse to/from headers and to/from tags)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36171 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoFound a missing "l" on the left side of the sofa, close to the TV.
Olle Johansson [Mon, 26 Jun 2006 20:43:49 +0000 (20:43 +0000)]
Found a missing "l" on the left side of the sofa, close to the TV.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36148 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoIssue #7421 - Stop generator on both call legs (patch by tgrman)
Olle Johansson [Mon, 26 Jun 2006 20:41:54 +0000 (20:41 +0000)]
Issue #7421 - Stop generator on both call legs (patch by tgrman)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36147 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoIssue #7429 - accessing a not allocated structure causes segfault... (tgrman, fix...
Olle Johansson [Mon, 26 Jun 2006 19:07:32 +0000 (19:07 +0000)]
Issue #7429 - accessing a not allocated structure causes segfault... (tgrman, fix by myself
inspired by suggested fix).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36128 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoSpeling error. Avoid swenglish :-) (thanks, jtodd!)
Olle Johansson [Mon, 26 Jun 2006 18:34:29 +0000 (18:34 +0000)]
Speling error. Avoid swenglish :-) (thanks, jtodd!)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36109 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago* fixed the busy state
Christian Richter [Mon, 26 Jun 2006 17:37:11 +0000 (17:37 +0000)]
* fixed the busy state
* fixed tone handling after ast_hangup was called
* optimized the tone_indication function
* removed warnings in favour of log debugs
* improved the round_robin method
* added logs for channel setting/emptying
* fixed channel forgot to set bug

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36082 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoAdd explanation and warning about the "s" extension. (Hi Mike :-)
Olle Johansson [Mon, 26 Jun 2006 17:31:51 +0000 (17:31 +0000)]
Add explanation and warning about the "s" extension. (Hi Mike :-)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36080 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agofix for issue #7245
Kevin P. Fleming [Mon, 26 Jun 2006 17:24:14 +0000 (17:24 +0000)]
fix for issue #7245

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36079 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMETERMAIDS:
Olle Johansson [Mon, 26 Jun 2006 16:43:21 +0000 (16:43 +0000)]
METERMAIDS:
-----------
- Adding devicestate providers, a new architecture to add non-channel related
  device state information, like parking lots, queues, meetmes, vending machines
  and Windows 98 reboots (lots of blinking on those lights)
- Adding provider for parking lots, so you can subscribe to the status of a
  parking lot
- Adding provider for meetme, so you can have a blinking lamp for a meetme
  ( Example: exten => edvina,hint,meetme:1234 )
- Adding support for directed parking - set the PARKINGEXTEN before you manually
  call Park() and you will be parked on that space. If it's occupied, dialplan
  execution will continue.

This work was sponsored by Voop A/S - www.voop.com

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36055 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoAdd example of permit/deny to sip.conf.sample
Olle Johansson [Mon, 26 Jun 2006 16:24:43 +0000 (16:24 +0000)]
Add example of permit/deny to sip.conf.sample

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36054 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlock patch that does not apply to trunk.
Olle Johansson [Mon, 26 Jun 2006 16:15:58 +0000 (16:15 +0000)]
Block patch that does not apply to trunk.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36053 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agodon't let the Makefile blow up in menuselect.makeopts is present but
Russell Bryant [Mon, 26 Jun 2006 14:38:55 +0000 (14:38 +0000)]
don't let the Makefile blow up in menuselect.makeopts is present but
menuselect.makedeps is not.  This would probably only be the case in existing
checkouts ...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36020 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago- Formatting
Olle Johansson [Mon, 26 Jun 2006 08:40:30 +0000 (08:40 +0000)]
- Formatting
- Don't name internal static functions ast_
- Expand the buffer for variables, since I almost always hit the limit on my channels

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35989 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoSeparate private options so we don't request bug report on those...
Olle Johansson [Mon, 26 Jun 2006 08:25:33 +0000 (08:25 +0000)]
Separate private options so we don't request bug report on those...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35988 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoUpdate the SIP options list from IANA repository
Olle Johansson [Mon, 26 Jun 2006 07:45:03 +0000 (07:45 +0000)]
Update the SIP options list from IANA repository

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35965 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agosimplify special rule for channel.o
Kevin P. Fleming [Mon, 26 Jun 2006 06:27:25 +0000 (06:27 +0000)]
simplify special rule for channel.o

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35944 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 35915 via svnmerge from
Tilghman Lesher [Sun, 25 Jun 2006 15:12:02 +0000 (15:12 +0000)]
Merged revisions 35915 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r35915 | tilghman | 2006-06-25 10:10:06 -0500 (Sun, 25 Jun 2006) | 2 lines

Bug 7425 - Size of buffer is passed in by len

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35916 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agouse new (separate) dependencies file from menuselect
Kevin P. Fleming [Sun, 25 Jun 2006 08:50:14 +0000 (08:50 +0000)]
use new (separate) dependencies file from menuselect

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35895 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agofix pbx_dundi build (issue #7424, jstrom)
Russell Bryant [Sun, 25 Jun 2006 01:25:52 +0000 (01:25 +0000)]
fix pbx_dundi build (issue #7424, jstrom)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35875 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agocommit missing file
Kevin P. Fleming [Sat, 24 Jun 2006 23:26:19 +0000 (23:26 +0000)]
commit missing file

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35854 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoclean up some damage from today's commit
Kevin P. Fleming [Sat, 24 Jun 2006 23:12:22 +0000 (23:12 +0000)]
clean up some damage from today's commit
convert codecs Makefile to new style

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35852 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoThe Eurostar Commit! (it's amazing how much work you can get done on a 150 minute...
Kevin P. Fleming [Sat, 24 Jun 2006 19:43:31 +0000 (19:43 +0000)]
The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)

support the new location for zaptel.h and tonezone.h
use the dependency information output by menuselect to build Makefile rules for each module for header files and libraries
combine the common rules into a top-level Makefile.rules file
remove all (now) unnecessary stuff from subdir Makefiles
change translator API so that the newpvt() callback returns an int instead of a pointer (it no longer allocates memory)
alphabetize --with-<foo> options in configure script
enhance Net-SNMP support in configure script to provide a --with-netsnmp option
fix support for --with-pq so that if pg-config is not found when --with-pq is specified, an error will be generated
add 'optional package' usage to modules now that menuselect can output it
allow res_snmp to build by default, since the new loader changes coming soon will solve the function naming problem (and users can disable it via menuselect anyway)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35832 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agosearch for Zaptel and libtonezone separately in the configure script
Kevin P. Fleming [Sat, 24 Jun 2006 08:45:49 +0000 (08:45 +0000)]
search for Zaptel and libtonezone separately in the configure script
various other minor fixes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35812 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agofix dist-clean and add menuselect to the clean target, too
Russell Bryant [Sat, 24 Jun 2006 04:42:35 +0000 (04:42 +0000)]
fix dist-clean and add menuselect to the clean target, too

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35791 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoadd dependency on menuselect's version of linkedlists.h, list menuselect as
Russell Bryant [Sat, 24 Jun 2006 04:34:55 +0000 (04:34 +0000)]
add dependency on menuselect's version of linkedlists.h, list menuselect as
a PHONY target

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35790 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoset the menu name when building makeopts.xml
Russell Bryant [Sat, 24 Jun 2006 04:10:41 +0000 (04:10 +0000)]
set the menu name when building makeopts.xml

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35789 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoast_calloc, instead of malloc and memset
Russell Bryant [Sat, 24 Jun 2006 04:03:52 +0000 (04:03 +0000)]
ast_calloc, instead of malloc and memset

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35788 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agofix some little issues on big endian platforms to resolve compiler warnings
Russell Bryant [Fri, 23 Jun 2006 23:22:57 +0000 (23:22 +0000)]
fix some little issues on big endian platforms to resolve compiler warnings
 - don't call the byte swapping macros on single byte numbers
 - don't do a ++ increment in the argument in the argument to the byte swapping
   macros. This gets expanded to incrementing the variable 4 times in a single
   operation, which results in undefined (and obviously undesired) behavior. :)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35766 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agorevert my changes that converted the jb on the channel to be dynamically
Russell Bryant [Fri, 23 Jun 2006 16:49:12 +0000 (16:49 +0000)]
revert my changes that converted the jb on the channel to be dynamically
allocated. These changes caused crashes when using a channel type that did
not support the jitterbuffer. Instead of fixing why it's crashing, I'm going
to implement this in a better way next week. The way I did it caused a
jitterbuffer to be allocated on every channel where the channel type supported
jitterbuffers, even if they were disabled.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35746 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoadd support for Zaptel transcoders
Kevin P. Fleming [Fri, 23 Jun 2006 16:33:17 +0000 (16:33 +0000)]
add support for Zaptel transcoders

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35745 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoignore doxygen output directory
Kevin P. Fleming [Fri, 23 Jun 2006 15:15:58 +0000 (15:15 +0000)]
ignore doxygen output directory

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35725 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agomerge changes to get menuselect using svn:externals
Russell Bryant [Fri, 23 Jun 2006 14:19:35 +0000 (14:19 +0000)]
merge changes to get menuselect using svn:externals

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35704 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 35669 via svnmerge from
BJ Weschke [Fri, 23 Jun 2006 11:33:02 +0000 (11:33 +0000)]
Merged revisions 35669 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r35669 | bweschke | 2006-06-23 06:30:17 -0500 (Fri, 23 Jun 2006) | 3 lines

 We should lock the queue before we go making changes to member interface statuses.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35670 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoremove any generated doxygen docs during distclean
Kevin P. Fleming [Fri, 23 Jun 2006 08:32:19 +0000 (08:32 +0000)]
remove any generated doxygen docs during distclean

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35650 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agovery minor improvement
Kevin P. Fleming [Fri, 23 Jun 2006 08:15:48 +0000 (08:15 +0000)]
very minor improvement

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35649 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoremove the autom4te.cache dir on a "make distclean" and add distclean to the
Russell Bryant [Fri, 23 Jun 2006 02:15:35 +0000 (02:15 +0000)]
remove the autom4te.cache dir on a "make distclean" and add distclean to the
.PHONY list

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35630 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoreduce indentation
Russell Bryant [Fri, 23 Jun 2006 02:08:10 +0000 (02:08 +0000)]
reduce indentation

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35629 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoreduce indentation
Russell Bryant [Fri, 23 Jun 2006 02:03:21 +0000 (02:03 +0000)]
reduce indentation

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35628 65c4cc65-6c06-0410-ace0-fbb531ad65f3