Commit Graph

7184 Commits

Author SHA1 Message Date
Tilghman Lesher 19558d8647 Merged revisions 8758 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8758 | tilghman | 2006-01-26 18:52:12 -0600 (Thu, 26 Jan 2006) | 2 lines

Bug 6072 - Revisions to the source bison and flex files don't auto-regenerate these files

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8768 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-27 01:04:03 +00:00
Russell Bryant 8578862401 don't re-define the localuser struct for custom use inside the module (issue #6216)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-27 00:31:05 +00:00
Olle Johansson 1a484607a3 - Move two functions to static that wasn't for some reason
- Add doxygen comments
- Remove un-needed assignment at declaration of variable
- Formatting fixes (whitespace)
- Add optin_debug in front of complex debugging output
- Move forward declarations of functions to top of file
- Fix error message for bad allocation in sip registry 
(Note: Review to line 6050 in this too large file)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8750 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-26 21:36:41 +00:00
Russell Bryant 32026d6f49 don't redefine the localuser struct for additional use specific to the module (issue #6216)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8742 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-26 20:28:52 +00:00
Olle Johansson 09e357e013 Formatting fixes, speling eror fiksd ;-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-26 20:08:53 +00:00
Olle Johansson 25ad6f6ec3 Issue #5954 revisited. Thanks rizzo.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8731 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-26 19:47:40 +00:00
Russell Bryant 99abd45d01 Merged revisions 8729 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8729 | russell | 2006-01-26 14:42:35 -0500 (Thu, 26 Jan 2006) | 2 lines

fix problem with dtmf on e&m (issue #6364)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-26 19:44:16 +00:00
Olle Johansson db97a8d9ce Code clean up, inspired by rizzo's comments in issue 5978.
- Don't check for ignore if ignore is always negative
- Add comments to explain what's going on


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8728 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-26 19:38:11 +00:00
Russell Bryant 7707b953e1 store conference list using linked list macros (issue #6327)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8727 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-26 19:33:27 +00:00
Olle Johansson 0f4b7a78f6 Add some debugging output when reloading, to be able to follow progress at high debug levels
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-26 14:59:33 +00:00
Olle Johansson ca81ac1a02 Merged revisions 8710 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8710 | oej | 2006-01-26 15:39:36 +0100 (Thu, 26 Jan 2006) | 2 lines

Issue 5898: Registrations does not get deleted if there's an active SIP dialog

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-26 14:44:23 +00:00
Kevin P. Fleming 4467ab62c8 string field manager improvements:
use multiple memory blocks, instead of realloc(), ensuring that field pointers will never become invalid or change
don't run vs(n)printf twice when doing a field build unless required


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-26 04:00:05 +00:00
Russell Bryant 99872975bf use arg parsing macros for WaitExten and Background (issue #6185)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8687 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-25 20:02:12 +00:00
Russell Bryant c1a2631101 Merged revisions 8677 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8677 | russell | 2006-01-25 14:14:43 -0500 (Wed, 25 Jan 2006) | 3 lines

don't call ast_update_realtime with uninitialized variables if we get a
registration with an expirey of 0 seconds (issue #6173)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-25 19:16:14 +00:00
Russell Bryant 19f99bee0f use arg parsing macros in the AGENT dialplan function (issue #6236, with small mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8676 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-25 19:06:37 +00:00
Russell Bryant 778acbff12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8667 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2006-01-25 18:41:12 +00:00
Russell Bryant 5370520804 store feature_pvt list using linked list macros
(issue #6351, with additional changes to prevent a memory leak in unload_module)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-25 18:24:32 +00:00
Russell Bryant b7ab0d1840 store agent_pvt list using linked list macros (issue #6342)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-25 18:12:55 +00:00
Kevin P. Fleming c767a66da5 don't queue a congestion frame on a channel that will be immediately hung up anyway
clean up/organize code block


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-25 14:52:43 +00:00
Olle Johansson 82f8c9d64d - Remove unused option to transmit_state_notify
- Allow for expiry=0 in subscription requests that only wants *one* update and that's it.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8643 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-25 12:11:30 +00:00
Olle Johansson b64404e039 From now on, apply maxexpiry and minexpiry to all subscriptions. Thanks to fourcheeze in the IRC channel
for pointing this out.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8642 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-25 12:01:07 +00:00
Olle Johansson 1d99282f9f Issue #6349 - patch by markster, imported from 1.2
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-25 09:50:28 +00:00
Russell Bryant 4a8afe697c git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8620 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2006-01-25 05:39:25 +00:00
Russell Bryant 3d93e85ade don't leak almost 200 bytes for each new channel and store the active
channel list using the linked list macros (issue #6330)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8618 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-25 05:37:29 +00:00
Kevin P. Fleming cd52b5d676 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8610 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2006-01-25 01:53:15 +00:00
Kevin P. Fleming 210d4679ee Merged revisions 8608 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8608 | kpfleming | 2006-01-24 19:50:52 -0600 (Tue, 24 Jan 2006) | 2 lines

ensure hangup cause code is handled properly when channel does not return a frame (issue #6346)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8609 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-25 01:52:58 +00:00
Kevin P. Fleming ca5b46cd94 remove extraneous characters from property
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8599 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 22:45:41 +00:00
Kevin P. Fleming a4271aee65 clean up remaining already-merged revisions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 22:43:57 +00:00
Kevin P. Fleming 6c21d975b0 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8596 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2006-01-24 22:43:30 +00:00
Kevin P. Fleming 7be26feea8 Merged revisions 8173 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8173 | russell | 2006-01-17 20:49:21 -0600 (Tue, 17 Jan 2006) | 2 lines

remove ChangeLog from the 1.2 branch.  It will only be present in the tags.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 22:42:43 +00:00
Kevin P. Fleming 4f363f4bee git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8594 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2006-01-24 22:41:45 +00:00
Kevin P. Fleming ea4d05be8e git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8593 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2006-01-24 22:40:57 +00:00
Kevin P. Fleming 5ecf9d4ec9 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8592 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2006-01-24 22:40:20 +00:00
Kevin P. Fleming 49f69c3f94 Merged revisions 8588 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8588 | kpfleming | 2006-01-24 16:32:09 -0600 (Tue, 24 Jan 2006) | 2 lines

ensure that channel cannot become zombie after we check but before we try to start indications

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8591 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 22:38:17 +00:00
Kevin P. Fleming 1317b4bb6d git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8590 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2006-01-24 22:34:06 +00:00
Kevin P. Fleming 9f19499e74 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8589 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2006-01-24 22:33:58 +00:00
Matthew Fredrickson 3e73dcfa2c Make sure safe_asterisk retains previous script defaults
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 22:06:37 +00:00
Matthew Fredrickson 1bb29aa0cd Updates from royk to safe_asterisk (#5207) Thanks!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 21:45:42 +00:00
Olle Johansson 3fbad3f5d3 Don't reset scheduled ID until we actually end the scheduled event.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 20:41:08 +00:00
Russell Bryant 6334e3b543 store the list of 'atexit' functions using linked list macros (issue #6329)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 20:27:09 +00:00
Russell Bryant a7b05ea51c convert ast_channel list to use linked list macros (issue #6338)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8571 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 20:20:05 +00:00
Olle Johansson 1a2b5c7822 Blocking fix from 1.2 from being applied again.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 19:29:32 +00:00
Olle Johansson 50280803be Issue 6114: Don't hangup on bye/also if there's no channel. (gst)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 19:19:20 +00:00
Olle Johansson ab04b28196 Issue #6093: Match realtime non-dynamic peers by IP. (siacali).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8560 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 19:08:44 +00:00
Olle Johansson 0ba27e0a6b Make it clear that caller ID in sip.conf is used only on incoming calls (inspired by bug #6183)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 18:15:20 +00:00
Olle Johansson 293d88108f Reverting change in revision 8539 - fixed wrong problem. Sorry.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 17:47:41 +00:00
Olle Johansson 543cc7e2a4 Issue #6323, FreeBSD compatibility with compilation of func_odbc.c (reported by nulbyte)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 13:53:45 +00:00
Olle Johansson be28dc1be8 Importing rev #8537 from 1.2, never send response to ACK (issue #6308)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 13:21:13 +00:00
Olle Johansson 9434a05dc1 - Report SIP reload in manager (issue 5742 with small changes)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 12:48:44 +00:00
Olle Johansson aad2331375 - Adding whitespace that I found unused outside
- Adding "if (option_debug)" before outputting to DEBUG channel


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 11:46:29 +00:00