asterisk/asterisk.git
13 years agobe a little more consistent with our variable usage
Jason Parker [Tue, 19 Sep 2006 14:16:12 +0000 (14:16 +0000)]
be a little more consistent with our variable usage

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

13 years agorestore ability for Makefiles to use 'generic' platform names when needed
Kevin P. Fleming [Tue, 19 Sep 2006 14:04:15 +0000 (14:04 +0000)]
restore ability for Makefiles to use 'generic' platform names when needed

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

13 years agoMerged revisions 43248 via svnmerge from
Tilghman Lesher [Tue, 19 Sep 2006 12:30:17 +0000 (12:30 +0000)]
Merged revisions 43248 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r43248 | tilghman | 2006-09-19 07:28:55 -0500 (Tue, 19 Sep 2006) | 2 lines

cid is passed to a destructive function; thus a copy is needed (issue 7961)

........

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

13 years agoThis totally worked when I tested it...
Jason Parker [Mon, 18 Sep 2006 23:59:23 +0000 (23:59 +0000)]
This totally worked when I tested it...

Reverting for now..

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

13 years agoThis was silly. Nowhere else do we use [ or [[
Jason Parker [Mon, 18 Sep 2006 23:37:25 +0000 (23:37 +0000)]
This was silly.  Nowhere else do we use [ or [[

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

13 years agoallow for packetization on rtp channel drivers, need to add
Matt O'Gorman [Mon, 18 Sep 2006 23:32:57 +0000 (23:32 +0000)]
allow for packetization on rtp channel drivers, need to add
option for setting our own packetization as apposed to just doing
what is asked.

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

13 years agoChange the includes to work on FreeBSD
Jason Parker [Mon, 18 Sep 2006 22:35:40 +0000 (22:35 +0000)]
Change the includes to work on FreeBSD
Linux has sys/soundcard.h, which does a #include <linux/soundcard.h>

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

13 years agodon't need two copies of this
Kevin P. Fleming [Mon, 18 Sep 2006 22:14:09 +0000 (22:14 +0000)]
don't need two copies of this

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

13 years agoa little cleanup and simplification, and remove ON_FIRST_USE mode since nobody uses it
Kevin P. Fleming [Mon, 18 Sep 2006 22:05:53 +0000 (22:05 +0000)]
a little cleanup and simplification, and remove ON_FIRST_USE mode since nobody uses it

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

13 years agou_intXX_t is silly
Jason Parker [Mon, 18 Sep 2006 22:02:04 +0000 (22:02 +0000)]
u_intXX_t is silly

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

13 years agoOnly use alloca.h on OSes that have it.
Jason Parker [Mon, 18 Sep 2006 21:24:50 +0000 (21:24 +0000)]
Only use alloca.h on OSes that have it.

Reported by jontow on IRC in #asterisk-dev

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

13 years agoMerging patch from 1.2 - Issue #7682
Olle Johansson [Mon, 18 Sep 2006 20:13:14 +0000 (20:13 +0000)]
Merging patch from 1.2 - Issue #7682

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

13 years agoalways use fork() when available
Kevin P. Fleming [Mon, 18 Sep 2006 19:58:27 +0000 (19:58 +0000)]
always use fork() when available

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

13 years agoWe have autoconf...let's actually use it.
Jason Parker [Mon, 18 Sep 2006 19:57:09 +0000 (19:57 +0000)]
We have autoconf...let's actually use it.

(note, M4 wasn't used, so...bye)

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

13 years agoIssue #7351 - sending CANCEL when the call at some point has been in UP state is...
Olle Johansson [Mon, 18 Sep 2006 19:56:44 +0000 (19:56 +0000)]
Issue #7351 - sending CANCEL when the call at some point has been in UP state is wrong.

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

13 years agorevert this since, since some unnamed platforms are silly about it :-)
Kevin P. Fleming [Mon, 18 Sep 2006 19:54:46 +0000 (19:54 +0000)]
revert this since, since some unnamed platforms are silly about it :-)

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

13 years agomerge qwell's CLI verbification work
Kevin P. Fleming [Mon, 18 Sep 2006 19:54:18 +0000 (19:54 +0000)]
merge qwell's CLI verbification work

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

13 years agohandle config.guess name for FreeBSD properly
Kevin P. Fleming [Mon, 18 Sep 2006 19:30:10 +0000 (19:30 +0000)]
handle config.guess name for FreeBSD properly

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

13 years agoit appears that current Mac OS/X does not need the poll compatibility module at all...
Kevin P. Fleming [Mon, 18 Sep 2006 19:20:24 +0000 (19:20 +0000)]
it appears that current Mac OS/X does not need the poll compatibility module at all, and platforms that do need it also need -DPOLLCOMPAT (or they wouldn't have compiled at all)

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

13 years agoescape some quotes
Jason Parker [Mon, 18 Sep 2006 19:08:40 +0000 (19:08 +0000)]
escape some quotes

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

13 years agoReference will be kept in the application component only right now. In the future...
Joshua Colp [Mon, 18 Sep 2006 17:37:44 +0000 (17:37 +0000)]
Reference will be kept in the application component only right now. In the future this should be expanded to the channel driver (just like all the other channel drivers) (issue #7975 reported by andrewt)

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

13 years agoseperate jingle and gtalk so it will be easier to track
Matt O'Gorman [Mon, 18 Sep 2006 16:36:14 +0000 (16:36 +0000)]
seperate jingle and gtalk so it will be easier to track
changes in both of the moving specs.  Currently chan_gtalk is
compatible with the latest gtalk/libjingle version, and chan_jingle
needs a lot of work.

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

13 years agominor performance improvement for platforms where -fPIC and -fpic are actually differ...
Kevin P. Fleming [Mon, 18 Sep 2006 15:54:57 +0000 (15:54 +0000)]
minor performance improvement for platforms where -fPIC and -fpic are actually different (has no effect on x86/x86-64)

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

13 years agoClarified the meaning of the callwaiting variable in the zapata.conf file.
Steve Murphy [Mon, 18 Sep 2006 15:44:18 +0000 (15:44 +0000)]
Clarified the meaning of the callwaiting variable in the zapata.conf file.

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

13 years agoBlocked revisions 43163 via svnmerge
Joshua Colp [Mon, 18 Sep 2006 15:32:08 +0000 (15:32 +0000)]
Blocked revisions 43163 via svnmerge

........
r43163 | file | 2006-09-18 11:30:26 -0400 (Mon, 18 Sep 2006) | 2 lines

Add deprecation notice about app_math (issue #7957 reported by k-egg)

........

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

13 years agoUse a better check to ensure database connection is up (pointer to connection must...
Joshua Colp [Mon, 18 Sep 2006 15:15:33 +0000 (15:15 +0000)]
Use a better check to ensure database connection is up (pointer to connection must exist, and connection must report status being ok) (issue #7955 reported by sorg)

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

13 years agoMerged revisions 43159 via svnmerge from
Joshua Colp [Mon, 18 Sep 2006 15:07:59 +0000 (15:07 +0000)]
Merged revisions 43159 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r43159 | file | 2006-09-18 11:05:39 -0400 (Mon, 18 Sep 2006) | 2 lines

Add number unobtainable tone for New Zealand (issue #7969 reported by nic_bellamy)

........

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

13 years agoRemove the suggestion of realtime hints, since that functionality will not be availab...
Tilghman Lesher [Mon, 18 Sep 2006 14:53:54 +0000 (14:53 +0000)]
Remove the suggestion of realtime hints, since that functionality will not be available until post-1.4

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

13 years agoImprove documentation of users.conf items.
Mark Spencer [Mon, 18 Sep 2006 05:40:17 +0000 (05:40 +0000)]
Improve documentation of users.conf items.

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

13 years agoremove a bit of redundant code
Jason Parker [Sun, 17 Sep 2006 23:04:48 +0000 (23:04 +0000)]
remove a bit of redundant code

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

13 years agoSkinny hold support.
Jason Parker [Sun, 17 Sep 2006 22:24:27 +0000 (22:24 +0000)]
Skinny hold support.

Original patch by wedhorn, with modifications by me.
Issue #7588

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

13 years agoGet rid of all the useless (and confusing) typedefs
Jason Parker [Sun, 17 Sep 2006 21:58:04 +0000 (21:58 +0000)]
Get rid of all the useless (and confusing) typedefs

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

13 years agoMerged revisions 43072 via svnmerge from
Tilghman Lesher [Sun, 17 Sep 2006 14:00:39 +0000 (14:00 +0000)]
Merged revisions 43072 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r43072 | tilghman | 2006-09-17 08:54:34 -0500 (Sun, 17 Sep 2006) | 3 lines

Directory used the wrong context for delivery of 0- and *- keypresses
(according to Directory's own documentation) - Issue 7965

........

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

13 years agomerge markster's usersconf branch with some slight changes
Kevin P. Fleming [Sat, 16 Sep 2006 23:53:58 +0000 (23:53 +0000)]
merge markster's usersconf branch with some slight changes

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

13 years agoFix the dtmf dialtone thing
Mark Spencer [Sat, 16 Sep 2006 21:45:35 +0000 (21:45 +0000)]
Fix the dtmf dialtone thing

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

13 years agoMerged revisions 43019 via svnmerge from
Tilghman Lesher [Sat, 16 Sep 2006 08:10:55 +0000 (08:10 +0000)]
Merged revisions 43019 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r43019 | tilghman | 2006-09-16 02:57:04 -0500 (Sat, 16 Sep 2006) | 2 lines

When a realtime peer expires, reset the ipaddress in the realtime database back to 0 (Issue 6656)

........

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

13 years agoMerged revisions 43003 via svnmerge from
Tilghman Lesher [Sat, 16 Sep 2006 05:43:54 +0000 (05:43 +0000)]
Merged revisions 43003 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r43003 | tilghman | 2006-09-15 23:44:02 -0500 (Fri, 15 Sep 2006) | 2 lines

When the marked user enters the conference, we should no longer timeout

........

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

13 years agoMany Solaris fixes - this moves some of the stuff from utils.c to strcompat.c
Jason Parker [Fri, 15 Sep 2006 17:16:00 +0000 (17:16 +0000)]
Many Solaris fixes - this moves some of the stuff from utils.c to strcompat.c
Every OS uses strcompat now - this was done on purpose.

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

13 years agoreveting modifaction to __ast_module_user_remove
Anthony LaMantia [Fri, 15 Sep 2006 05:00:27 +0000 (05:00 +0000)]
reveting modifaction to __ast_module_user_remove

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

13 years agoMerged revisions 42946 via svnmerge from
Tilghman Lesher [Thu, 14 Sep 2006 22:18:07 +0000 (22:18 +0000)]
Merged revisions 42946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r42946 | tilghman | 2006-09-14 17:16:31 -0500 (Thu, 14 Sep 2006) | 2 lines

Error message references wrong argument (Issue 7951)

........

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

13 years agoRevise documentation to state that mpg123 for music on hold is deprecated.
Tilghman Lesher [Thu, 14 Sep 2006 13:57:40 +0000 (13:57 +0000)]
Revise documentation to state that mpg123 for music on hold is deprecated.

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

13 years agoTweak changes that went in on revision 42891
Joshua Colp [Wed, 13 Sep 2006 22:45:44 +0000 (22:45 +0000)]
Tweak changes that went in on revision 42891

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

13 years agoBlocked revisions 42892 via svnmerge
Tilghman Lesher [Wed, 13 Sep 2006 19:52:20 +0000 (19:52 +0000)]
Blocked revisions 42892 via svnmerge

........
r42892 | tilghman | 2006-09-13 14:51:24 -0500 (Wed, 13 Sep 2006) | 2 lines

Backport bugfix patch from 7918 to 1.2 - msg_cfg destroyed before used

........

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

13 years agosmall fix for 7944
Anthony LaMantia [Wed, 13 Sep 2006 19:27:27 +0000 (19:27 +0000)]
small fix for 7944

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

13 years agouse strcpy instead of sprintf
Russell Bryant [Tue, 12 Sep 2006 20:33:09 +0000 (20:33 +0000)]
use strcpy instead of sprintf

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

13 years agoi dont know how msg_cfg got moved around but its all good again
Matt O'Gorman [Tue, 12 Sep 2006 17:45:42 +0000 (17:45 +0000)]
i dont know how msg_cfg got moved around but its all good again

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

13 years agoIssue #7924 - cmaj - Turn off silence suppression if no channel owner
Olle Johansson [Tue, 12 Sep 2006 14:22:55 +0000 (14:22 +0000)]
Issue #7924 - cmaj - Turn off silence suppression if no channel owner

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

13 years agoIssue #7928 - Don't send both 404 and 503. Fix by phsultan with a small fix by me...
Olle Johansson [Tue, 12 Sep 2006 14:17:33 +0000 (14:17 +0000)]
Issue #7928 - Don't send both 404 and 503. Fix by phsultan with a small fix by me, myself or I.
Thanks, Philippe!
(This was caused by my changes to the transaction handling)

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

13 years agoIf we've found a T38 SDP line, stop looking for more on the very same line
Olle Johansson [Tue, 12 Sep 2006 00:32:18 +0000 (00:32 +0000)]
If we've found a T38 SDP line, stop looking for more on the very same line

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

13 years agoMerged revisions 42783 via svnmerge from
Tilghman Lesher [Mon, 11 Sep 2006 22:17:46 +0000 (22:17 +0000)]
Merged revisions 42783 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r42783 | tilghman | 2006-09-11 16:47:23 -0500 (Mon, 11 Sep 2006) | 4 lines

When paging, only wait 5 seconds for the marked user to enter the conference.
After that, assume the paging already completed by the time the channel entered
the conference and drop back out.  (Issue 7275)

........

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

13 years agoMore formatting fixes and doxygen stuff
Olle Johansson [Mon, 11 Sep 2006 19:49:10 +0000 (19:49 +0000)]
More formatting fixes and doxygen stuff

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

13 years agoAdd comment
Olle Johansson [Mon, 11 Sep 2006 19:27:11 +0000 (19:27 +0000)]
Add comment

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

13 years ago- Use enum for send-request reliability flags
Olle Johansson [Mon, 11 Sep 2006 19:24:35 +0000 (19:24 +0000)]
- Use enum for send-request reliability flags
- Make re-invites CRITICAL

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

13 years agoMore formatting
Olle Johansson [Mon, 11 Sep 2006 19:14:58 +0000 (19:14 +0000)]
More formatting

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

13 years agoMore formatting/doxygen updates to keep me occupied
Olle Johansson [Mon, 11 Sep 2006 19:04:33 +0000 (19:04 +0000)]
More formatting/doxygen updates to keep me occupied

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

13 years agoIgnore this. Only whitespace fixes while being bored.
Olle Johansson [Mon, 11 Sep 2006 18:45:10 +0000 (18:45 +0000)]
Ignore this. Only whitespace fixes while being bored.

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

13 years agoChange from "r" as a variable name to "dialog". "r" is commonly used for registrations,
Olle Johansson [Mon, 11 Sep 2006 18:14:02 +0000 (18:14 +0000)]
Change from "r" as a variable name to "dialog". "r" is commonly used for registrations,
not dialogs, in other places of the code...

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

13 years agoUse Timer T1 for dialog timeouts/destruction
Olle Johansson [Mon, 11 Sep 2006 18:06:44 +0000 (18:06 +0000)]
Use Timer T1 for dialog timeouts/destruction
(If you have qualify=yes, we will use the actual roundtrip time)

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

13 years agoMore spelling fixes (issue 7930)
Tilghman Lesher [Mon, 11 Sep 2006 17:02:37 +0000 (17:02 +0000)]
More spelling fixes (issue 7930)

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

13 years agoMerged revisions 42716 via svnmerge from
Tilghman Lesher [Mon, 11 Sep 2006 16:41:49 +0000 (16:41 +0000)]
Merged revisions 42716 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r42716 | tilghman | 2006-09-11 11:39:06 -0500 (Mon, 11 Sep 2006) | 2 lines

Spelling/grammar fixes (Issue 7929)

........

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

13 years agosmall fix for issue 007926
Anthony LaMantia [Mon, 11 Sep 2006 16:00:53 +0000 (16:00 +0000)]
small fix for issue 007926

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

13 years agoMerged revisions 42697 via svnmerge from
Tilghman Lesher [Mon, 11 Sep 2006 14:41:35 +0000 (14:41 +0000)]
Merged revisions 42697 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r42697 | tilghman | 2006-09-11 09:40:13 -0500 (Mon, 11 Sep 2006) | 2 lines

Two grammar issues (bug 7927)

........

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

13 years agofix minor typo in coding guidelines
Russell Bryant [Mon, 11 Sep 2006 04:17:23 +0000 (04:17 +0000)]
fix minor typo in coding guidelines

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

13 years agoBoard numbers and channel numbers are now 0 based, since vpb driver
Voicetronix Support [Mon, 11 Sep 2006 03:29:08 +0000 (03:29 +0000)]
Board numbers and channel numbers are now 0 based, since vpb driver
version 3.0 (released December 2005)

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

13 years agoUhm, make Zap actually work again. Did anybody actually test that code?
Mark Spencer [Sun, 10 Sep 2006 20:28:03 +0000 (20:28 +0000)]
Uhm, make Zap actually work again.  Did anybody actually test that code?

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

13 years agoIf the leading underscore is not stripped before comparison,
Tilghman Lesher [Sun, 10 Sep 2006 17:35:08 +0000 (17:35 +0000)]
If the leading underscore is not stripped before comparison,
pbx_builtin_getvar_helper() will never find the associated variable.
(Bug 7892)

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

13 years agoIn trunk, ast_fileexists now returns 0 for failure, instead of -1, as it did
Tilghman Lesher [Sat, 9 Sep 2006 21:51:07 +0000 (21:51 +0000)]
In trunk, ast_fileexists now returns 0 for failure, instead of -1, as it did
in 1.2.  This corrected a longstanding confusion about the return value.
Unfortunately, it broke this app in the process.  (Issue 7906)

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

13 years agoMerged revisions 42600 via svnmerge from
Joshua Colp [Sat, 9 Sep 2006 20:25:45 +0000 (20:25 +0000)]
Merged revisions 42600 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r42600 | file | 2006-09-09 16:24:19 -0400 (Sat, 09 Sep 2006) | 2 lines

Only truly consider the channel in the same format if the format matches the raw format OR if a translation path already exists to translate between them. (issue #7887 reported by softins & issue #7803 reported by alvaro_palma_aste). Thanks goes to stubert for giving me access to a box and showing me a scenario where this occured.

........

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

13 years agoOptimize a bit
Joshua Colp [Sat, 9 Sep 2006 19:12:52 +0000 (19:12 +0000)]
Optimize a bit

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

13 years agoIt's another round of RTP updates!
Joshua Colp [Sat, 9 Sep 2006 18:07:59 +0000 (18:07 +0000)]
It's another round of RTP updates!

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

13 years agoAdd reference to the latest trademark policy on digium.com
Olle Johansson [Sat, 9 Sep 2006 15:09:16 +0000 (15:09 +0000)]
Add reference to the latest trademark policy on digium.com

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

13 years agoDon't destruct sessions prematurely. Especially not when we want reliable retransmiss...
Olle Johansson [Sat, 9 Sep 2006 12:44:36 +0000 (12:44 +0000)]
Don't destruct sessions prematurely. Especially not when we want reliable retransmissions...

If this works properly, we might have to check 1.2 to implement a backport.

The theory is that if you get a final reply in a session, it is ok to destroy the session.
If you send a final reply, you need to keep the session open for potential retransmits
from the other side. If you send a HANGUP/CANCEL, wait to the other side confirms
or until you have a timeout. If you send HANGUP/CANCEL/ACK reliably, don't destroy
the session so that you cancel the needed retransmits.

I will have to change the timer to 64*T1, but that will be a separate patch. That will
mean that if we know the roundtrip time, we can destroy sessions quicker.

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

13 years agoimporting rev 42535 from 1.2 (which by mistake was actually imported from svn trunk)
Olle Johansson [Sat, 9 Sep 2006 12:25:18 +0000 (12:25 +0000)]
importing rev 42535 from 1.2 (which by mistake was actually imported from svn trunk)
- Maybe the first circular commit?

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

13 years agoDon't destroy pvt prematurely. Wait for answer or timeout.
Olle Johansson [Sat, 9 Sep 2006 12:01:59 +0000 (12:01 +0000)]
Don't destroy pvt prematurely. Wait for answer or timeout.

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

13 years agoClear proper flag
Olle Johansson [Sat, 9 Sep 2006 12:00:19 +0000 (12:00 +0000)]
Clear proper flag

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

13 years agoAdd warning about res_adsi not being optional to menuselect
Olle Johansson [Sat, 9 Sep 2006 11:45:55 +0000 (11:45 +0000)]
Add warning about res_adsi not being optional to menuselect

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

13 years agomore makefile tweaks to keep targets from being run when they don't need to be
Kevin P. Fleming [Sat, 9 Sep 2006 03:27:21 +0000 (03:27 +0000)]
more makefile tweaks to keep targets from being run when they don't need to be

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

13 years agoGet rid of ugly tmp directory, although I really should
Matt O'Gorman [Fri, 8 Sep 2006 22:54:28 +0000 (22:54 +0000)]
Get rid of ugly tmp directory, although I really should
fix the way imap accesses its temporary voice files.

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

13 years agominor performance improvement
Kevin P. Fleming [Fri, 8 Sep 2006 21:33:32 +0000 (21:33 +0000)]
minor performance improvement

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

13 years agoMerged revisions 42452 via svnmerge from
Joshua Colp [Fri, 8 Sep 2006 18:53:41 +0000 (18:53 +0000)]
Merged revisions 42452 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r42452 | file | 2006-09-08 14:50:43 -0400 (Fri, 08 Sep 2006) | 2 lines

Swap spies during masquerading

........

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

13 years agoAs per discussion on bug 7862, the problem wasn't the fact that the documentation...
Steve Murphy [Fri, 8 Sep 2006 16:44:38 +0000 (16:44 +0000)]
As per discussion on bug 7862, the problem wasn't the fact that the documentation differed from behavior, but rather that users are used to REGEX having that space after the double quote in 1.2.x. So, in keeping with history, I investigated a little deeper, and discovered that the change in behavior was due to the modification of the function to use the AST_DECLARE_APP_ARGS and AST_NONSTANDARD_APP_ARGS() to parse the args. The code to skip the blank was left out. So, what I did was add code to throw out the first blank (space or tab) after the double quote, IF IT IS THERE. If not, nothing is done.Verbage is added to the function description saying that the space is optional, and skipped if it is there. If a space is desired, then the documentation advises putting two spaces there. This should make it compatible for 1.2 users, and not mess up new users who are used to using it with no space. It WILL mess up new users who WANT a space. Hopefully, they will double check the doc strings for this func and add the extra space. Hopefully, this class of new user is very small.

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

13 years agoMerged revisions 42421 via svnmerge from
Tilghman Lesher [Fri, 8 Sep 2006 16:08:36 +0000 (16:08 +0000)]
Merged revisions 42421 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r42421 | tilghman | 2006-09-08 11:06:17 -0500 (Fri, 08 Sep 2006) | 2 lines

Jump logic was backwards:  goto returns 0 if it succeeds, and we should jump if authentication fails.  (Bug #7907)

........

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

13 years agoBlocked revisions 42402 via svnmerge
Joshua Colp [Fri, 8 Sep 2006 04:38:43 +0000 (04:38 +0000)]
Blocked revisions 42402 via svnmerge

........
r42402 | file | 2006-09-08 00:37:07 -0400 (Fri, 08 Sep 2006) | 2 lines

Use ast_best_codec to set the read/write format

........

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

13 years agoFormatting fixes for chan_oss (issue #7808 reported by Mithraen)
Joshua Colp [Fri, 8 Sep 2006 03:51:26 +0000 (03:51 +0000)]
Formatting fixes for chan_oss (issue #7808 reported by Mithraen)

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

13 years agoFormatting fixes for chan_alsa (issue #7807 reported by Mithraen with more mods done...
Joshua Colp [Fri, 8 Sep 2006 03:46:33 +0000 (03:46 +0000)]
Formatting fixes for chan_alsa (issue #7807 reported by Mithraen with more mods done by myself)

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

13 years agowhentohangup is already in seconds, just need to convert to milliseconds
Joshua Colp [Fri, 8 Sep 2006 02:54:45 +0000 (02:54 +0000)]
whentohangup is already in seconds, just need to convert to milliseconds

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

13 years agoDestroy msg_cfg after it's used, not before (issue #7618 reported by wvolz with minor...
Joshua Colp [Fri, 8 Sep 2006 02:00:45 +0000 (02:00 +0000)]
Destroy msg_cfg after it's used, not before (issue #7618 reported by wvolz with minor mods)

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

13 years agoMerged revisions 42355 via svnmerge from
Tilghman Lesher [Thu, 7 Sep 2006 23:15:43 +0000 (23:15 +0000)]
Merged revisions 42355 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r42355 | tilghman | 2006-09-07 18:12:29 -0500 (Thu, 07 Sep 2006) | 2 lines

Format vulnerability fix - allowing the user to specify a format is not a good idea (Bug 7811)

........

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

13 years agoUse flags instead of variables on the private structure for things
Joshua Colp [Thu, 7 Sep 2006 21:11:07 +0000 (21:11 +0000)]
Use flags instead of variables on the private structure for things

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

13 years agoMake sure we give a little warning about the echotraining option
Matthew Fredrickson [Thu, 7 Sep 2006 20:05:37 +0000 (20:05 +0000)]
Make sure we give a little warning about the echotraining option

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

13 years agoCode cleaning/updates/potential bug fixes
Joshua Colp [Thu, 7 Sep 2006 19:50:59 +0000 (19:50 +0000)]
Code cleaning/updates/potential bug fixes

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

13 years agoMinor cleanup and make sure the tmp variable is clean
Joshua Colp [Thu, 7 Sep 2006 18:54:36 +0000 (18:54 +0000)]
Minor cleanup and make sure the tmp variable is clean

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

13 years agoUse lower case 'x' instead of a UTF-8 character (issue #7888 reported by flefoll)
Joshua Colp [Thu, 7 Sep 2006 17:09:55 +0000 (17:09 +0000)]
Use lower case 'x' instead of a UTF-8 character (issue #7888 reported by flefoll)

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

13 years agoprotect curhst and curusr
Matt O'Gorman [Thu, 7 Sep 2006 17:05:51 +0000 (17:05 +0000)]
protect curhst and curusr

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

13 years agoConvert some warnings into debug messages since they can exist under perfectly normal...
Joshua Colp [Thu, 7 Sep 2006 16:51:11 +0000 (16:51 +0000)]
Convert some warnings into debug messages since they can exist under perfectly normal circumstances that the user shouldn't care about (issue #7894 reported by stephen_dredge)

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

13 years agominor wording fix
Kevin P. Fleming [Thu, 7 Sep 2006 16:42:04 +0000 (16:42 +0000)]
minor wording fix

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

13 years agoSet the variable even if the caller disconnects (issue #7896 reported by jsmith)
Joshua Colp [Thu, 7 Sep 2006 16:40:15 +0000 (16:40 +0000)]
Set the variable even if the caller disconnects (issue #7896 reported by jsmith)

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

13 years agoMerged revisions 42260 via svnmerge from
Joshua Colp [Thu, 7 Sep 2006 16:33:02 +0000 (16:33 +0000)]
Merged revisions 42260 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r42260 | file | 2006-09-07 12:30:44 -0400 (Thu, 07 Sep 2006) | 2 lines

Let's use the same thing we use in other places to calculate our time for ast_cond_timedwait (issue #7697 reported by bn999)

........

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

13 years agopatch to fix several things wrong with voicemail
Matt O'Gorman [Thu, 7 Sep 2006 16:14:53 +0000 (16:14 +0000)]
patch to fix several things wrong with voicemail
imap storage.

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

13 years agoComment out default from extensions.ael
Mark Spencer [Thu, 7 Sep 2006 15:35:52 +0000 (15:35 +0000)]
Comment out default from extensions.ael

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