Russell Bryant
425c51cfd5
fix a crash when MALLOC_DEBUG is enabled and the regexten is enabled. The crash
...
would occur when the extension got removed. (fixes issue #7484 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38288 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-27 01:58:41 +00:00
Joshua Colp
46012df0b6
Put default callerid into contact when the one specified is either NULL or has a zero string length. (issue #7590 reported by key2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-26 15:26:06 +00:00
Russell Bryant
96048caf41
This resolves a deadlock that a tech support customer was getting frequently
...
when his users would answer call waiting. If another thread is currently
holding the zt_pvt lock for the first channel, unlock both channels and let
asterisk retry the native bridge, just like what is done for the second channel
directly below these changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-25 19:43:38 +00:00
Steve Murphy
f46ab63b6c
This fixes a compile problem for s390 as reported in bug 7253.
...
Tested on both an s390 and non-s390 machine.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-24 17:05:56 +00:00
Kevin P. Fleming
1cd1b27779
ensure that global 'maxauthreq' is reset to zero during 'reload'
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-19 17:10:10 +00:00
Russell Bryant
b97c12b80b
don't crash if the frame has no data, but has a src
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-18 00:41:47 +00:00
Russell Bryant
09a334573e
if asked to duplicate a frame that has no data, don't set the frame's data
...
pointer past the end of the allocatted buffer for the new frame
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37828 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-17 23:25:33 +00:00
Tilghman Lesher
dfe118c2fd
Backport buffer increase to 1.2
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37808 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-17 22:36:56 +00:00
Tilghman Lesher
f23368365a
Overflow bad
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37765 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-17 15:52:15 +00:00
Tilghman Lesher
c5623e2acd
Bug 7513 - ensure that each time we do a query, the results are returned in the
...
same logical order, so that when we iterate over the list, we get all results,
not some results repeated, due to insufficient sorting.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-15 23:29:28 +00:00
Tilghman Lesher
ce37a590e5
Bug 7526 - previous commit broke app_sms
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37612 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-14 13:31:11 +00:00
Kevin P. Fleming
6ea65400a0
don't fail/abort if the message category sound file cannot be played, just generate a warning message and continue message playback
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37571 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-13 21:22:11 +00:00
Russell Bryant
1d8f732f3f
yeah, ummm... This frame pointer should not be static. This situation only
...
exists in 1.2 (pointed out by Constantine Filin on the asterisk-dev mailing list)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-13 18:44:17 +00:00
Kevin P. Fleming
88ccb628f9
report address of peer trying to subscribe to unknown hint
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-13 16:44:23 +00:00
Tilghman Lesher
fcf0d79afa
Bug 7532 - Typo in enum example
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37516 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-13 15:45:33 +00:00
Tilghman Lesher
39882ad2f7
Merge fixup for asterisk startup script to zaptel startup script
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-12 18:29:01 +00:00
Kevin P. Fleming
ff3890a952
fix a weird case where a lock file could be left (but would happen almost never)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37442 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-12 15:53:53 +00:00
Kevin P. Fleming
0c754a13a8
fix a case where ast_lock_path() could leave a randomly-named lock file hanging around
...
make ast_unlock_path actually report when unlocking fails
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37441 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-12 15:46:56 +00:00
Joshua Colp
ff29ba6296
Add support to have maxauthreq as a global option
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37439 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-12 15:23:59 +00:00
Kevin P. Fleming
648bc1828d
remove some more bad examples of using printf
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37419 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-12 13:54:10 +00:00
Kevin P. Fleming
fe1708f190
get rid of some more printf's (although most of these were ifdef-ed out)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-12 13:18:21 +00:00
Matt O'Gorman
f009c13db7
GRRR no fprintf!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37402 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-12 03:55:36 +00:00
Joshua Colp
3d8ef8de96
Add configuration option for IAX2 users that will limit the amount of outstanding AUTHREQs we are waiting for replies on.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-11 19:00:50 +00:00
Kevin P. Fleming
152df40d57
do masquerade-behind-proxy checking with better control over locks
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-10 21:01:35 +00:00
Joshua Colp
f1b2416353
Change message regarding marker bit forcing when SSRC changes to be shown only during debug so it doesn't overload high capacity systems
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-07 23:57:53 +00:00
Matt O'Gorman
84881a0662
patch resolves issue with when to decide if its right time
...
to native bridge, feature redirect was not being checked.
patch from bug #7296
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-06 21:41:23 +00:00
BJ Weschke
b617860594
Don't do wierd things on a callback agent that has attempted logoff while still on the phone.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-06 20:38:45 +00:00
Joshua Colp
5a86fcf1f8
Instead of giving the scheduled item ID on a peer expiration, give the time until they expire (issue #7455 reported by slavon)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37173 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-06 15:48:07 +00:00
Tilghman Lesher
1a1ae6b104
Fix spelling/grammar (issue 7493)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-06 13:47:23 +00:00
Joshua Colp
f452a64598
Spell extension correctly in documentation for chan_oss dial (issue #7487 reported by flefoll)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36998 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 15:31:01 +00:00
Olle Johansson
2211a552d3
Tell clients based on old SIP standard that we only support MD5 digest authentication...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36911 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-04 14:45:44 +00:00
Olle Johansson
b8e4f60589
issue #7470 - Need larger buffer for record-route headers...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36838 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-03 15:00:50 +00:00
Russell Bryant
1cf6171b0c
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/branches/1.2@36751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-03 05:12:03 +00:00
Russell Bryant
99b3637d6a
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/branches/1.2@36725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-03 04:19:09 +00:00
Russell Bryant
d89517f348
fix the build with BUSYDETECT_TONEONLY defined (issue #7414 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-03 03:23:36 +00:00
Tilghman Lesher
4bee2f3210
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/branches/1.2@36377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-30 14:05:53 +00:00
Tilghman Lesher
2f0b62b8d3
Bug 7388 - compatibility changes for Solaris
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36290 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-29 19:23:18 +00:00
Kevin P. Fleming
55247bea10
clarify documentation for 'persistentmembers' setting
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-29 07:19:54 +00:00
Kevin P. Fleming
ab4bdf1e3f
add documentation for peer-specific 'outboundproxy' setting
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-29 07:19:27 +00:00
Olle Johansson
27aa56e14e
Don't delete scheduled item twice in sip_destroy (already fixed in svn trunk)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-28 14:12:43 +00:00
Kevin P. Fleming
3d09ddb98e
ensure that two SIP channels that exist at the same moment will not have the same channel names (issue #7245 , different fix)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 17:10:12 +00:00
Olle Johansson
bbcb713b68
Issue 6997 maybe, but anyway - don't retransmit responses to NON-invite requests.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36043 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 15:27:58 +00:00
Tilghman Lesher
f6b683b302
Bug 7425 - Size of buffer is passed in by len
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@35915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-25 15:10:06 +00:00
BJ Weschke
64def5d791
We should lock the queue before we go making changes to member interface statuses.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@35669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 11:30:17 +00:00
Joshua Colp
4564907b41
Add Venezuelan indications (issue #7402 reported by palillo)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@35334 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-21 19:25:34 +00:00
Tilghman Lesher
6d2cff5290
Bug 7398 - Solaris puts its zoneinfo files in a nonstandard place
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@35121 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 15:05:23 +00:00
Olle Johansson
e5505d1baf
Issue #6820 - Possible fix (already implemented in trunk)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@35058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 10:27:44 +00:00
Joshua Colp
43ad959914
Call reset_user_pw upon changing the password using externpass (issue #7395 reported by Ryan Cumming)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34911 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-19 20:27:44 +00:00
Tilghman Lesher
4c688bb3b3
Issue 7357 - txt file left behind when going to operator. Also, fix a possible file descriptor leak.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-19 18:07:26 +00:00
Russell Bryant
1eb2822b3b
don't set state to BUSY if the channel is already in the UP state
...
(issue #7376 , backported from trunk)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34655 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-18 21:03:58 +00:00