aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
AgeCommit message (Collapse)AuthorFilesLines
2006-02-11Merged revisions 9609 via svnmerge from russell1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r9609 | russell | 2006-02-11 14:23:20 -0500 (Sat, 11 Feb 2006) | 2 lines fix memory leak from not destroying the scheduler context on module unload ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9610 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11doh!kpfleming1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9472 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-10Merged revisions 9404 via svnmerge from kpfleming1-2/+0
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r9404 | kpfleming | 2006-02-10 14:38:59 -0600 (Fri, 10 Feb 2006) | 2 lines don't create monitor threads in detached mode, when we need to be able to pthread_join() them later if the module is unloaded (solve crash-on-unload problem for these channel modules) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9405 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-10restore 'rfc2833' naming for DTMF mode in chan_sipkpfleming1-6/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9391 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-09- Change "rfc2833" to "rtp" in sip.conf. Keeping backwards compatibility.oej1-6/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9294 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-02- Remove "frame relay" from chan_sip !oej1-7/+10
- Add some comments for the monitoring thread git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9107 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-02- Add doxygen docs on return values on check_user_full()oej1-5/+4
- Simplify code in handle_request_subscribe (mailbox subscription) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9105 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-02- Make debug logging for each authentication (twice per call) optionaloej1-3/+5
- Small update to doxygen comment git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9104 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01use string fields for some stuff in ast_channelkpfleming1-23/+23
const-ify some more APIs remove 'type' field from ast_channel, in favor of the one in the channel's tech structure allow string field module users to specify the 'chunk size' for pool allocations update chan_alsa to be compatible with recent const-ification patches git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9060 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-31Optimize settings of defaults for a new peer object and make sureoej1-38/+39
we set the same defaults for autocreated peers and other peers. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9013 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-31remove some more local declarations of null framesrussell1-7/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9004 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-31define a global null_frame object so when queueing a null frame, you don'trussell1-4/+3
have to allocate one on the stack git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9001 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-31- Moving two session (PVT) flags to peer PAGE2 (DYNAMIC and SELFDESTRUCT) to ↵oej1-27/+35
make room for more session-related flags This is needed for integrating patches in the bug tracker - Adding doxygen comments git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8991 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-31- Change "prefs" to "default_prefs" and move declaration to "default" groupoej1-11/+12
- Add doxygen comments git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8976 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-30- Doxygen and comments updatesoej1-71/+81
- Moving structure declarations to top of file with the rest - Adding some forward declarations for RTP interface functions (All these changes to position in file are in preparation for splitting chan_sip up into several files at some point in the future) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8932 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-30Issue 5892: Set a minimum T1 timer for calls. Reporter: twistedoej1-1/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8926 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-30Issue #6035 - Don't send 403 on bad auth (correcting one of my old ↵oej1-2/+7
mistakes...) Reported by maik. Patch inspired by, but not the patch in the bug tracker. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8925 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-30Issue #5793 oej1-141/+108
- simplification of check_auth - constifications - whitespace changes Rizzo's patch with some changes git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8919 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-28- Remove unused "resetinvite" variableoej1-5/+3
- Use TRUE/FALSE for fastrestart git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8835 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-28Change booleans to TRUE/FALSE. oej1-47/+47
(At some point we should implement these as enums to simplify debugging) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8834 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-28Doxygen updatesoej1-16/+19
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8826 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-28- Moving forward declarations to one blockoej1-36/+33
- 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: http://svn.digium.com/svn/asterisk/trunk@8825 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-28Simplify code for building Call ID's, create generic random string functionoej1-25/+20
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8823 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-27Merged revisions 8785 via svnmerge from oej1-5/+3
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: http://svn.digium.com/svn/asterisk/trunk@8786 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-26- Move two functions to static that wasn't for some reasonoej1-202/+211
- 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: http://svn.digium.com/svn/asterisk/trunk@8750 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-26Formatting fixes, speling eror fiksd ;-)oej1-13/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8741 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-26Issue #5954 revisited. Thanks rizzo.oej1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8731 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-26Code clean up, inspired by rizzo's comments in issue 5978. oej1-38/+39
- Don't check for ignore if ignore is always negative - Add comments to explain what's going on git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8728 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-26Add some debugging output when reloading, to be able to follow progress at ↵oej1-2/+32
high debug levels git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8712 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-26Merged revisions 8710 via svnmerge from oej1-0/+13
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: http://svn.digium.com/svn/asterisk/trunk@8711 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-25Merged revisions 8677 via svnmerge from russell1-9/+8
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: http://svn.digium.com/svn/asterisk/trunk@8678 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-25- Remove unused option to transmit_state_notifyoej1-7/+8
- Allow for expiry=0 in subscription requests that only wants *one* update and that's it. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8643 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-25From now on, apply maxexpiry and minexpiry to all subscriptions. Thanks to ↵oej1-7/+6
fourcheeze in the IRC channel for pointing this out. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8642 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24Don't reset scheduled ID until we actually end the scheduled event.oej1-2/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8574 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24Issue 6114: Don't hangup on bye/also if there's no channel. (gst)oej1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8561 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24Issue #6093: Match realtime non-dynamic peers by IP. (siacali).oej1-5/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8560 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24Importing rev #8537 from 1.2, never send response to ACK (issue #6308)oej1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8538 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24- Report SIP reload in manager (issue 5742 with small changes)oej1-11/+27
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8531 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24- Adding doxygen commentsoej1-140/+153
- 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: http://svn.digium.com/svn/asterisk/trunk@8514 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-23Remove redundant default default/global settings from declaration, settings ↵oej1-34/+35
are done in reload_config() git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8500 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-23Remove more unused defines.oej1-3/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8493 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-23Doxygen updatesoej1-17/+16
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8492 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-23Finally removing SIPDUMPER that hasn't been used for ages. If anyone needs ↵oej1-1/+0
this for some reason, please tell me and I'll put it back :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8490 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-23- Change "call" to "dialog" where use of "call" is confusing, since it may ↵oej1-23/+25
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: http://svn.digium.com/svn/asterisk/trunk@8489 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-23- Debug output fixesoej1-5/+9
- Whitespace fixes git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8483 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-23Doxygen updateoej1-4/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8482 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-23Re-instate sip_addheader() while waiting for a dialplan function. (Issue 6317)oej1-0/+47
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8481 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-23- Adding some white space from my white space reservoir oej1-183/+182
- Fixing some comment formatting (doxygen fix) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8471 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-22eliminate some compiler warningsrussell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8443 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-22 Correct some scenarios where CALL_LIMIT could not be getting adjusted ↵bweschke1-1/+5
properly allowing chan_sip to send calls when it really shouldn't. Bug #6111 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8432 f38db490-d61c-443f-a65b-d21fe96a405b