Commit Graph

9837 Commits

Author SHA1 Message Date
Jason Parker 9177d1143b 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
2006-09-18 22:35:40 +00:00
Kevin P. Fleming 734a3d356e don't need two copies of this
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 22:14:09 +00:00
Kevin P. Fleming 7b43316cbc 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
2006-09-18 22:05:53 +00:00
Jason Parker 31d25ac6f3 u_intXX_t is silly
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 22:02:04 +00:00
Jason Parker 998ac5cab1 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
2006-09-18 21:24:50 +00:00
Olle Johansson 42a56b7a5a Merging patch from 1.2 - Issue #7682
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 20:13:14 +00:00
Kevin P. Fleming c97841dbf7 always use fork() when available
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43216 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 19:58:27 +00:00
Jason Parker 23def858f7 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
2006-09-18 19:57:09 +00:00
Olle Johansson b93280947a 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
2006-09-18 19:56:44 +00:00
Kevin P. Fleming 58ca54e68a 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
2006-09-18 19:54:46 +00:00
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 19:54:18 +00:00
Kevin P. Fleming fb23c753d3 handle config.guess name for FreeBSD properly
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 19:30:10 +00:00
Kevin P. Fleming 5cf1c12796 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
2006-09-18 19:20:24 +00:00
Jason Parker 2498ba75ae escape some quotes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43205 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 19:08:40 +00:00
Joshua Colp 57ad1de60b 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
2006-09-18 17:37:44 +00:00
Matt O'Gorman ec4bf7a849 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
2006-09-18 16:36:14 +00:00
Kevin P. Fleming c80d09559f 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
2006-09-18 15:54:57 +00:00
Steve Murphy 4ed1578104 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
2006-09-18 15:44:18 +00:00
Joshua Colp 6c98f2cf2d 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
2006-09-18 15:32:08 +00:00
Joshua Colp 93e161256d 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
2006-09-18 15:15:33 +00:00
Joshua Colp 956b837a41 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
2006-09-18 15:07:59 +00:00
Tilghman Lesher ee27f9efee 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
2006-09-18 14:53:54 +00:00
Mark Spencer c2d959c2f9 Improve documentation of users.conf items.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 05:40:17 +00:00
Jason Parker df0963a738 remove a bit of redundant code
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43123 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-17 23:04:48 +00:00
Jason Parker 6d5809297b 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
2006-09-17 22:24:27 +00:00
Jason Parker 86fcf5a887 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
2006-09-17 21:58:04 +00:00
Tilghman Lesher e39c9d7619 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
2006-09-17 14:00:39 +00:00
Kevin P. Fleming c2c4f86c72 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
2006-09-16 23:53:58 +00:00
Mark Spencer e887127bf3 Fix the dtmf dialtone thing
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-16 21:45:35 +00:00
Tilghman Lesher 72265ea79d 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
2006-09-16 08:10:55 +00:00
Tilghman Lesher e16104185a 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
2006-09-16 05:43:54 +00:00
Jason Parker f18cbf77df 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
2006-09-15 17:16:00 +00:00
Anthony LaMantia e421b69ce6 reveting modifaction to __ast_module_user_remove
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42965 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-15 05:00:27 +00:00
Tilghman Lesher c35b1df605 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
2006-09-14 22:18:07 +00:00
Tilghman Lesher beae56266c 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
2006-09-14 13:57:40 +00:00
Joshua Colp 10e6fbc3bc Tweak changes that went in on revision 42891
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-13 22:45:44 +00:00
Tilghman Lesher 5a77011673 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
2006-09-13 19:52:20 +00:00
Anthony LaMantia 09d8972be6 small fix for 7944
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-13 19:27:27 +00:00
Russell Bryant 25b0e3a148 use strcpy instead of sprintf
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42858 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-12 20:33:09 +00:00
Matt O'Gorman a3a8442e5c 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
2006-09-12 17:45:42 +00:00
Olle Johansson 948533a791 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
2006-09-12 14:22:55 +00:00
Olle Johansson 50b6a222ef 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
2006-09-12 14:17:33 +00:00
Olle Johansson d970a07b1c 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
2006-09-12 00:32:18 +00:00
Tilghman Lesher 979ef8d2ed 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
2006-09-11 22:17:46 +00:00
Olle Johansson da55c166dc More formatting fixes and doxygen stuff
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11 19:49:10 +00:00
Olle Johansson d37002287b Add comment
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11 19:27:11 +00:00
Olle Johansson 8868c4e1ca - 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
2006-09-11 19:24:35 +00:00
Olle Johansson 31fa147b76 More formatting
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11 19:14:58 +00:00
Olle Johansson 4c081033b6 More formatting/doxygen updates to keep me occupied
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11 19:04:33 +00:00
Olle Johansson 421f2b076d Ignore this. Only whitespace fixes while being bored.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42753 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11 18:45:10 +00:00