Commit graph

1046 commits

Author SHA1 Message Date
Olle Johansson
3009e4004c Change booleans to TRUE/FALSE.
(At some point we should implement these as enums to simplify debugging)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-28 17:00:05 +00:00
Olle Johansson
0c687996ad Doxygen updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8826 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-28 15:34:27 +00:00
Olle Johansson
4a63775523 - Moving forward declarations to one block
- Moving global variables to one block
- Moving global networking variables to one block
- Small whitespace changes
- Renaming a few more global channel settings to global_ for clarity
(No functional changes)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8825 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-28 15:28:58 +00:00
Olle Johansson
7ac422562e Simplify code for building Call ID's, create generic random string function
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-28 15:02:29 +00:00
Olle Johansson
6fafc9d4f0 Merged revisions 8785 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8785 | oej | 2006-01-27 09:02:16 +0100 (Fri, 27 Jan 2006) | 2 lines

Issue 6362 - Register without Contact: and Expires: fails (reporter: op)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8786 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-27 08:07:43 +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
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
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
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
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
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
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
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
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
b90a5b0ebd - Adding doxygen comments
- Changing default values set in reload_config to DEFAULT_ #defines to make it more clear what defaults are
- Cleaning up global_ and default_ variable naming. 
- Moving variable and #defines together in the source, adding comments to explain sections

Global_ is used for channel settings that does not apply to peers or users as defaults for their settings
default_ is used both as a channel setting for unknown callers, as well as defaults for peers and users



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 10:19:13 +00:00
Olle Johansson
9cda86f4b2 Remove redundant default default/global settings from declaration, settings are done in reload_config()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8500 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-23 17:51:15 +00:00
Olle Johansson
4c8b2c62de Remove more unused defines.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8493 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-23 17:19:03 +00:00
Olle Johansson
c3fcb9eaea Doxygen updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-23 17:17:56 +00:00
Olle Johansson
8b42063108 Finally removing SIPDUMPER that hasn't been used for ages. If anyone needs this for some reason,
please tell me and I'll put it back :-)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-23 17:12:44 +00:00
Olle Johansson
57f0c81518 - Change "call" to "dialog" where use of "call" is confusing, since it may be a register transaction or a subscription.
The word dialog is defined as "a peer-to-peer SIP relationship between two UAs that persist for some time" in RFC 3261.

- Whitespace fixes
- Debugging fixes (adding check of option_debug)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-23 17:08:19 +00:00
Olle Johansson
814800008d - Debug output fixes
- Whitespace fixes


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-23 16:41:48 +00:00
Olle Johansson
e2f477175f Doxygen update
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8482 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-23 16:27:01 +00:00
Olle Johansson
e0fe84d1b2 Re-instate sip_addheader() while waiting for a dialplan function. (Issue 6317)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-23 16:21:51 +00:00
Olle Johansson
50797d7c05 - Adding some white space from my white space reservoir
- Fixing some comment formatting (doxygen fix)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-23 13:11:04 +00:00
Russell Bryant
7df4257dbb eliminate some compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8443 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-22 18:42:06 +00:00
BJ Weschke
0034a39f29 Correct some scenarios where CALL_LIMIT could not be getting adjusted properly allowing chan_sip to send calls when it really shouldn't. Bug #6111
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-22 15:08:51 +00:00
Russell Bryant
4414f45393 on this pass, only remove duplicate log messages
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 20:57:06 +00:00
Russell Bryant
9fa6eb5e07 revert my pass through the tree to remove checks of the result of ast_strdupa
(revisions 8378 through 8381)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8387 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 17:50:04 +00:00
Russell Bryant
847260bb77 remove some useless checks of the result of ast_strdupa
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 08:01:24 +00:00
Olle Johansson
de72ee118b Enable "musicclass" setting for sip peers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8282 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-19 19:41:06 +00:00
Russell Bryant
6b46e27bb4 Merged revisions 8242 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8242 | russell | 2006-01-18 23:56:48 -0500 (Wed, 18 Jan 2006) | 3 lines

fix Message-Account header to use the ip address if the fromdomain 
isn't set (issue #6278)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-19 04:58:43 +00:00
Russell Bryant
6f71e1178e constify arguments in more places where strings should not be modified (issue #6286)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-18 22:17:31 +00:00
Kevin P. Fleming
065a368463 remove some more deprecated (pre-1.2) stuff
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8157 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-17 23:45:05 +00:00
BJ Weschke
46b6488927 Address the condition where X-ClientCode could be NULL or an empty string - from a -dev posting.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 17:28:22 +00:00
Matt O'Gorman
d6638d5262 Oops... need to keep my trunk folder clean...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 19:15:20 +00:00
Matt O'Gorman
1dc0312d01 Added option for limiting a user from logging in
as multiple agents at same time. bug 6046 thanks
ppyy


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8021 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 19:07:18 +00:00
Russell Bryant
69c4cefcd4 fix incorrect return value (issue #6202)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11 19:23:16 +00:00
Russell Bryant
d7f70ca1c2 Merged revisions 7972 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7972 | russell | 2006-01-11 00:46:39 -0500 (Wed, 11 Jan 2006) | 2 lines

fix mem leak on module unload (issue #6190)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11 05:47:21 +00:00
Russell Bryant
466a062b09 convert some channels to use the memory allocation wrappers.
(This is being added to the janitor projects list.)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11 01:20:29 +00:00
Olle Johansson
8e344385a2 -Move declaration of callevents variable out of the block of function declarations.
-Do not set it to a default value, it's set later on before loading configuration.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7887 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-09 15:20:53 +00:00
Tilghman Lesher
69653d9807 Bug 6150 - do not modify strings after they have been submitted into a string pool
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7872 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-09 06:42:28 +00:00
Mark Spencer
8f00194254 Fix RPID with new string fields (bug #6145)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7862 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-07 21:35:40 +00:00
Mark Spencer
9c3db147ea Handle swapout of "fromdomain" in callid properly (bug #6154)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-07 21:30:19 +00:00
Mark Spencer
e2ef61814f Add support for H.264 with SIP and recording
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-07 17:54:22 +00:00
Kevin P. Fleming
80fa9689b7 add memory-pool based string field management for structures
convert chan_sip sip_pvt and sip_registry structures to use string fields
add 'const' qualifiers to a few API calls that don't modify their input strings
add an asprintf() wrapper to astmm


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7797 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-04 21:54:09 +00:00
Olle Johansson
72779cd6a0 Issue #5824: Adding more SIP to ISDN Cause code conversions. Thanks mguesdon!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-04 13:07:34 +00:00
Olle Johansson
b6bd455a7b Missing ">" in XML. Thanks, fenlander, for reporting this on IRC.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-04 10:16:53 +00:00
Olle Johansson
5462ec082c - Remove "incominglimit" as a configuration option in sip.conf
- Add documentation on call-limit, explaining that there's two counters
  for a type="friend". 
- Document the removval of "incominglimit" in UPGRADE.txt



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-04 09:10:56 +00:00
Kevin P. Fleming
a4f8d466e8 update copyright headers for files changed this year
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03 22:16:23 +00:00
Olle Johansson
38cc562008 Don't check user call limits for outbound calls.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03 19:12:50 +00:00
Olle Johansson
1e6ada5f68 Issue #5954: Implement printf-like append_history and implement AST_LIST for SIP history (rizzo)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03 12:25:32 +00:00
Olle Johansson
4ef2139916 Bug #6071: Broken rport match in check_via(). (rizzo)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7733 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03 11:58:10 +00:00
Olle Johansson
3b4f660a85 Bug 5345; Add configuration option for minimum registration time. (folsson)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7731 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03 11:21:48 +00:00
Russell Bryant
9b8b2c79c6 initialize sip_auth list
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-02 23:52:33 +00:00
BJ Weschke
7aad650606 Fix compiler warnings.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-02 01:53:26 +00:00
Russell Bryant
a725468381 update doxygen docs to specify authors
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-30 21:18:06 +00:00
Russell Bryant
a6d13ff79f Merged revisions 7665 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7665 | russell | 2005-12-28 12:35:56 -0500 (Wed, 28 Dec 2005) | 2 lines

fix memory leak in build_rpid (issue #6070)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7666 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-28 17:37:35 +00:00
Russell Bryant
e4e5b423a4 avoid repeated calls to strlen in command completion functions and normalize
some loops


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7657 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-27 18:18:41 +00:00
Russell Bryant
ef1ce7aec9 Merged revisions 7634 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7634 | russell | 2005-12-26 13:19:12 -0500 (Mon, 26 Dec 2005) | 2 lines

cast time_t to an int in printf/scanf (issue #5635)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-26 18:35:28 +00:00
Russell Bryant
b60daeb58f Merged revisions 7599 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7599 | russell | 2005-12-22 15:36:47 -0500 (Thu, 22 Dec 2005) | 3 lines

revert changes to videosupport to allow per-peer setting, since it isn't quite
complete and there is not an obvious fix at this point

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-22 20:38:43 +00:00
Russell Bryant
80322c1bdb remove stray unlock (issue #5955)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7594 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-22 16:14:38 +00:00
Kevin P. Fleming
9adc59ca3a forward-port per-peer videosupport changes from branches/1.2
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7590 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-22 03:50:44 +00:00
Russell Bryant
1d498c35cd - construct the difference and have only one call to snprintf in build_via
- convert some while loops to for loops
- localize some variables and remove unneeded initializations
- store result of get_header locally so it only has to be called once
- remove some duplicate calls to strcasecmp by storing result
(issue #5955)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-22 02:20:44 +00:00
Mark Spencer
0d32a85be1 Major RTP fixes for using inbound SDP on outbound connection, get rid of
old local rtp stuff...


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-20 17:52:31 +00:00
Russell Bryant
dca08fd878 - add note on required values of sip_methods struct
- remove duplicate function prototype
- remove duplicate ast_mutex_lock (issue #6025)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-19 23:41:53 +00:00
Kevin P. Fleming
2a3dacfc3d Merged revisions 7515 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7515 | kpfleming | 2005-12-16 21:59:05 -0600 (Fri, 16 Dec 2005) | 2 lines

Max-Forwards headers must only be present on requests, not responses

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7516 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-17 03:59:27 +00:00
Kevin P. Fleming
caa2e580da Merged revisions 7513 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7513 | kpfleming | 2005-12-16 21:44:30 -0600 (Fri, 16 Dec 2005) | 2 lines

forcibly expire previous subscriptions from a peer when they resubscribe (keeps them from building up and waiting for expiration, and stops us sending unwanted NOTIFY messages to devices)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-17 03:45:25 +00:00
Kevin P. Fleming
b7b2317d81 Merged revisions 7448-7449,7451,7453 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7448 | kpfleming | 2005-12-12 22:25:14 -0600 (Mon, 12 Dec 2005) | 2 lines

use the stream's current point when pausing/unpausing, instead of elapsed time (which doesn't work when the stream has been skipped forward or backward) (issue #5897)

........
r7449 | kpfleming | 2005-12-12 22:43:38 -0600 (Mon, 12 Dec 2005) | 2 lines

only report AGENT_IDLE for callback mode agents when they are actually idle (issue #5902)

........
r7451 | kpfleming | 2005-12-12 23:14:27 -0600 (Mon, 12 Dec 2005) | 2 lines

ensure that hangups while incoming calls are in early state are handled properly (issue #5919)

........
r7453 | kpfleming | 2005-12-12 23:53:00 -0600 (Mon, 12 Dec 2005) | 2 lines

restore ability of caller to hangup calls that are still ringing (issue #5839)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-13 06:00:17 +00:00
Russell Bryant
bdb525c420 Merged revisions 7335 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7335 | russell | 2005-12-04 19:01:17 -0500 (Sun, 04 Dec 2005) | 2 lines

fix the order of arguments to an error message (issue #5927)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7336 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-05 00:06:09 +00:00
Russell Bryant
82a4d5dd8f add some missing prototypes and don't use caps for the sip debug defines since
they are not constants


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-04 17:28:02 +00:00
Russell Bryant
8af65a8a25 add the 'sip debug' options to the set of global flags and fix some compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-03 23:35:15 +00:00
Tilghman Lesher
870f98f02d Bug 5858 - Make the chanvars.c functions return a 'const char *'
This should prevent us from unintentionally changing variable
values when they're returned from pbx_builtin_getvar_helper.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-03 19:25:33 +00:00
Kevin P. Fleming
0242a69b3f Merged revisions 7265-7266,7268-7275 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7265 | oej | 2005-12-01 17:18:14 -0600 (Thu, 01 Dec 2005) | 2 lines

Changing bug report address to the Asterisk issue tracker

........
r7266 | kpfleming | 2005-12-01 17:18:29 -0600 (Thu, 01 Dec 2005) | 3 lines

Makefile 'update' target now supports updating from Subversion repositories (issue #5875)
remove support for 'patches' subdirectory, it's no longer useful

........
r7268 | kpfleming | 2005-12-01 17:34:58 -0600 (Thu, 01 Dec 2005) | 2 lines

ensure channel's scheduling context is freed (issue #5788)

........
r7269 | kpfleming | 2005-12-01 17:49:44 -0600 (Thu, 01 Dec 2005) | 2 lines

don't block waiting for the Festival server forever when it goes away (issue #5882)

........
r7270 | kpfleming | 2005-12-01 18:26:12 -0600 (Thu, 01 Dec 2005) | 2 lines

allow variables to exist on both 'halves' of the Local channel (issue #5810)

........
r7271 | kpfleming | 2005-12-01 18:28:48 -0600 (Thu, 01 Dec 2005) | 2 lines

protect agent_bridgedchannel() from segfaulting when there is no bridged channel (issue #5879)

........
r7272 | kpfleming | 2005-12-01 18:39:00 -0600 (Thu, 01 Dec 2005) | 3 lines

properly handle password changes when mailbox is last line of config file and not followed by a newline (issue #5870)
reformat password changing code to conform to coding guidelines (issue #5870)

........
r7273 | kpfleming | 2005-12-01 18:42:40 -0600 (Thu, 01 Dec 2005) | 2 lines

allow previous context-searching behavior to be used if desired (issue #5899)

........
r7274 | kpfleming | 2005-12-01 18:51:15 -0600 (Thu, 01 Dec 2005) | 2 lines

inherit channel variables into channels created by Page() application (issue #5888)

........
r7275 | oej | 2005-12-01 18:52:13 -0600 (Thu, 01 Dec 2005) | 2 lines

Bug #5907. Improve SIP INFO DTMF debugging output. (1.2 & Trunk)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-02 01:01:11 +00:00
Kevin P. Fleming
2c65582b66 remove extraneous svn:executable properties
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Kevin P. Fleming
e9cde1fbdb fix port number handling in peer building functions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7182 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-21 19:27:26 +00:00
Kevin P. Fleming
354b7f1a81 fix a bug found during a recent upgrade
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7180 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-21 19:20:26 +00:00
Russell Bryant
913232e82e issue #5794
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7156 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-21 00:57:35 +00:00
Russell Bryant
35fcf0a8aa Add missing carriage return and line feed to the SDP line indicating that we don't support VAD (issue #5780)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-17 20:25:40 +00:00
Kevin P. Fleming
639104bbb2 fix previous commit to actually do it properly...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-16 17:46:59 +00:00
Kevin P. Fleming
2b656be753 issue #5764
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-16 17:26:11 +00:00
Kevin P. Fleming
4331958422 issue #5539
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7107 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-15 22:50:43 +00:00
Kevin P. Fleming
e88e390bb8 issue #5751
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-15 19:52:25 +00:00
Kevin P. Fleming
766d1a73b1 issue #5712
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-12 02:57:43 +00:00
Kevin P. Fleming
8605bf0104 minor fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-11 21:41:54 +00:00
Kevin P. Fleming
a0a9769616 issue #5648
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 01:55:31 +00:00
Mark Spencer
4468de1bd7 Only consider timeouts on realtimers (bug #5554)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 23:38:40 +00:00
Kevin P. Fleming
d8672874ef properly handle '100 Trying' that arrives after a dialog has been dropped (issue #5475)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6912 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 23:03:44 +00:00
Kevin P. Fleming
9c25f9d1d5 handle improperly formatted initial requests properly (issue #5483)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6911 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 22:58:54 +00:00
Kevin P. Fleming
3da6bf02c9 add some warning message for when chan_sip gets overloaded (issue #5530)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6908 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 22:18:36 +00:00
Kevin P. Fleming
a15a52208d don't increment 'inuse' counter when call is being failed because of limit (issue #5545)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 22:08:41 +00:00
Kevin P. Fleming
b175ff39ef properly support 'musicclass' setting for peers/users (issue #5521)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 21:43:53 +00:00
Mark Spencer
39d27dbab8 Fix ability to do lots of outbound registrations (bug #5529)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-30 21:36:27 +00:00
Mark Spencer
de47e29d09 Merge highly modified fullcontact in realtime sip patch (bug #4832, heavy mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6870 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 13:37:31 +00:00
Russell Bryant
9ddf0e4dce Remove unnecessary checks before calls to ast_strlen_zero. Also, change
some places where strlen is used instead of ast_strlen_zero


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-27 02:19:37 +00:00
Russell Bryant
6324072247 more doxygenification (issue #5513)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 13:03:17 +00:00