Commit Graph

1621 Commits

Author SHA1 Message Date
Russell Bryant
f717cd2719 fix mem leak with MYSQL_USERS (bug #4287)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 17:54:55 +00:00
Russell Bryant
a6cea6892b only initialize random number generators in one place (bug #4017)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5694 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 03:04:59 +00:00
Russell Bryant
43e32456ca ensure that calls to gethostbyname are null terminated,
also use MAXHOSTNAMELEN where appropriate (bug #4198) (bug #4212)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5675 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 15:55:31 +00:00
Russell Bryant
794d0b2c68 use ast_strlen_zero, also fix a codec config parsing error (bug #4169)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-12 02:22:56 +00:00
Russell Bryant
34f9e85a11 add fixup routine (bug #3825)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5616 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-10 03:58:26 +00:00
Russell Bryant
56cf655835 fix queue URL passing (bug #3543)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-10 03:28:01 +00:00
Russell Bryant
4d1e5adfdc allow ALERTING even after PROCEEDING (bug #3963)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5614 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-10 01:39:50 +00:00
Russell Bryant
e0aaf08b3b fix unloading problems (bug #4019)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-15 07:59:59 +00:00
Russell Bryant
e16718bb2e create useful output for time left to expire (bug #4022)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-15 07:24:34 +00:00
Russell Bryant
1e70fa09cd add some newlines and fix some misspellings (bug #4027)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-15 07:15:39 +00:00
Russell Bryant
a2f752ec6c fix bogus output from 'show agents' with no name (bug #4030)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-15 07:06:40 +00:00
Russell Bryant
17045b502f space out initial registrations (bug #3104)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5428 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-06 17:09:03 +00:00
Russell Bryant
e56c7ba459 correctly set amaflags (bug #3962)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5425 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-06 16:39:45 +00:00
Russell Bryant
8b6aa2741c Clear out received tag in 407/401's (bug #3885)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5404 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-05 10:08:53 +00:00
Russell Bryant
6bee09440d don't pass audio until the call has been acked if configured to do so (bug #3677)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-05 08:32:04 +00:00
Russell Bryant
d54b330a2e handle AST_FORMAT_SLINEAR endianness properly on big-endian systems (bug #3865)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5399 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-05 07:10:06 +00:00
Russell Bryant
621b5be6cd fix *67 (bug #3940)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-05 06:58:02 +00:00
Russell Bryant
4b165caef4 check for result *after* starting the network thread (bug #3952)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-05 05:56:44 +00:00
Russell Bryant
4a14b7c071 fix accountcode (bug #3951)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-05 05:33:13 +00:00
Russell Bryant
98d05f22ac correctly respond to an INVITE with T.38 (bug #3818)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-04 07:05:55 +00:00
Russell Bryant
8aaa9e194e find endian.h on non-linux (bug #3846)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-02 07:59:45 +00:00
Russell Bryant
60a9627192 *** empty log message ***
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5336 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 04:38:40 +00:00
Russell Bryant
f066af663f fix endianness (bug #3839)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5333 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 04:09:45 +00:00
Russell Bryant
42b84afa40 change ',' to '.' (bug #3799)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5288 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-28 06:42:14 +00:00
Russell Bryant
be446083ab don't send a "to" on a "100 Trying", also be case insensitive when parsing the "to" tag (bug #3801)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-28 06:35:09 +00:00
Russell Bryant
4ead78e851 look for the fax extension in the main context, as well (bug #3634)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-28 04:48:25 +00:00
Russell Bryant
a281bef2b3 don't explode if a box running CVS head sends trunk frames with timestamps (bug #3790)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-18 17:30:05 +00:00
Russell Bryant
fd7f18421d add a check to prevent a seg fault from an unknown cause ... (bug #3496)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-02 22:32:57 +00:00
Russell Bryant
d565dc3225 Be sure to process SDP if we already have an owner (bug #3701)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-02 17:38:27 +00:00
Russell Bryant
83e1402d8a release RTP ports early on SUBSCRIBE (bug #3655 / #3673)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5101 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-28 00:30:35 +00:00
Russell Bryant
f1c93a8ff3 move the processing of SDP data to after determining the user (bug #3660)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-27 02:37:23 +00:00
Russell Bryant
687b01f298 move function prototypes outside of functions to compile under gcc4 (bug #3662)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-25 18:11:41 +00:00
Russell Bryant
292059c9cb handle DNS failures on startup more gracefully (bug #3086)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-21 03:57:27 +00:00
Russell Bryant
ece9341019 typo (bug #3557)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5030 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-14 22:47:57 +00:00
Russell Bryant
b2ab9ffaec fix potential seg fault (bug #3519)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-07 17:10:25 +00:00
Russell Bryant
528d2dcff5 Make sure we always transmit the same from line (bug #3492)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4977 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-07 04:13:53 +00:00
Russell Bryant
40969e6b29 fix div by zero (bug #3467)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4976 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-07 04:05:29 +00:00
Russell Bryant
37a80ea3bc typo (bug #3483)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-07 03:28:11 +00:00
Russell Bryant
a46350e315 only use default cid if specified (bug #3486)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4972 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-07 03:25:22 +00:00
Russell Bryant
e1a6d33ed0 Fix interation of # transfer and flash hook transfer (bug #3011)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-29 07:19:10 +00:00
Russell Bryant
4979d7fbb1 handle INFO A through D (bug #3445)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-29 07:16:08 +00:00
Russell Bryant
bdcbd76e13 fix restrictcid with mysql users (bug #3442)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-29 07:06:57 +00:00
Russell Bryant
b90f6b40d9 fix reloading secret options (bug #3432)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4912 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-29 06:40:09 +00:00
Russell Bryant
3696407c67 don't fail register on dns error (bug #3424)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4902 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-28 00:58:09 +00:00
Russell Bryant
3035547927 fix broken callerid (bug #3395)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4874 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-22 01:27:08 +00:00
Russell Bryant
61d87e19f1 Fix "send text" crash (bug #3378)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-20 03:38:23 +00:00
Admin Commit
fa023ceccf This commit was manufactured by cvs2svn to create branch 'v1-0'.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-19 02:29:08 +00:00
Russell Bryant
58b1b7f825 prevent duplicate 200 ... and some formatting
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4824 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-17 19:29:10 +00:00
Russell Bryant
fb3de07e39 Don't even attempt to masquerade a channel into itself (bug #3040)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-17 00:43:46 +00:00
Russell Bryant
02bb7498b0 Fix ringback on outbound skinny calls (bug #3295)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4816 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-17 00:37:22 +00:00