Commit Graph

2405 Commits (0101f564a4d1bcc8923e52dfbc0fc08c5f6397d5)

Author SHA1 Message Date
Russell Bryant 2bb1317783 Minor coding guidelines tweaks ...
17 years ago
Tilghman Lesher 1d64381314 Merged revisions 133488 via svnmerge from
17 years ago
Brett Bryant 3faa4aa4e0 Fix issue where tcp in sip is enabled by default, despite what it says in the config sample file. Also fix "sip show settings" for tcp connections.
17 years ago
Olle Johansson 8216722ed0 Well, the content of a channel variable may be longer than the size of a pointer...
17 years ago
Mark Michelson c1c75b0cbe Merged revisions 132777 via svnmerge from
17 years ago
Olle Johansson d231a9cf7d Merged revisions 132645 via svnmerge from
17 years ago
Brett Bryant 4ec0d5d762 Fix bug where ast_parse_arg would inadvertantly enable sip tcp when parsing a tcpbindaddr if it was disabled.
17 years ago
Tilghman Lesher 49715c05f1 Merged revisions 130959 via svnmerge from
17 years ago
Tilghman Lesher 5a1d90e1fb Additional option for videosupport (always) that disables the optimization to
17 years ago
Sean Bright 6a00263d9c Missed one. Formatting only.
17 years ago
Brett Bryant 5b7933fe5e Janitor patch to change uses of sizeof to ARRAY_LEN
17 years ago
Sean Bright f2ab15a506 A couple more minor text changes
17 years ago
Sean Bright 7711b33c81 Remove extraneous \n. Pointed out by eliel on #asterisk-dev.
17 years ago
Tilghman Lesher da03cdd174 Merged revisions 129149 via svnmerge from
17 years ago
Brett Bryant d185405755 Janitor project to convert sizeof to ARRAY_LEN macro.
17 years ago
Olle Johansson 01214ba763 Merged revisions 128950 via svnmerge from
17 years ago
Olle Johansson c969c0f24b Merged revisions 128912 via svnmerge from
17 years ago
Russell Bryant 69782233e4 As pointed out on the -dev list, actually use the result of find_peer() so that
17 years ago
Olle Johansson e18e813814 - Adding alias "udpbindaddr" for the UDP port to comply with "tcpbindaddr" and "tlsbindaddr".
17 years ago
Olle Johansson 638234f146 - Fixing issues with "sip show settings"
17 years ago
Olle Johansson 3586b6212d - Remove unused variable "expiry"
17 years ago
Olle Johansson 40c0e6ed47 More doxygen comments.
17 years ago
Olle Johansson fce9af0fa0 - Formatting changes
17 years ago
Olle Johansson e057380907 Adding note about incorrect manager registration...
17 years ago
Olle Johansson ccb718b560 Remove comments that doesn't make sense. The deprecation of type=user will come at a later stage,
17 years ago
Olle Johansson 25ce6ce19e Fix severe problem with my previous commit of "kill-the-user". Russell saw a problem with this
17 years ago
Olle Johansson bc99e067e6 Disabling code used by dumpdb with #ifdef, since I believe we might use it sometime in the
17 years ago
Olle Johansson 29770b1cd8 Removing the CLI dumpdb command (see asterisk-dev discussion and decision)
17 years ago
Olle Johansson cf9c4ce883 Adding a few reminders
17 years ago
Olle Johansson 9056540e35 Adding doxygen comments to missing parts, moving some #define
17 years ago
Olle Johansson d5525e3778 Adding TCP and TLS to "sip show settings".
17 years ago
Olle Johansson 6de5e8552b Add some comments...
17 years ago
Olle Johansson fc7517d76e Set tls setting to default in reload_config.
17 years ago
Michiel van Baak bf848cc694 fix compiling of chan_sip.c
17 years ago
Joshua Colp eff212635c I like it when the tree is not broken.
17 years ago
Olle Johansson 318fd4186b KILL THE USER!
17 years ago
Olle Johansson b04d101ee5 Stop cli command completion with tabs
17 years ago
Olle Johansson 0a52297cf0 Add new SIP cli command "sip show channelstats" that displays some QoS data (if we have RTCP reports
17 years ago
Tilghman Lesher 1d0637521a Fullcontact needs more than 20 characters, even for the simplest case
17 years ago
Olle Johansson 6f621e6205 - reorganize SIP extensions alphabetically, to make it easier to synch with the IANA list
17 years ago
Steve Murphy bc2cfb3e81 Merged revisions 127663 via svnmerge from
17 years ago
Olle Johansson f99a310219 Make sure we stop session timers as soon as we start hanging up an active call.
17 years ago
Olle Johansson 2491cc6e65 Revert some logic for session timers. We do send in-dialog requests that should not have session-timer
17 years ago
Olle Johansson b423a939b0 Fix bad formatting in a very confusing function. Who added the sipdb sql output?
17 years ago
Brett Bryant 6aa9419cfe Update transport= in sip so that the option is not broken from a recent commit.
17 years ago
Tilghman Lesher 885d17506b Keep ast_app_inboxcount API compatible with 1.6.0.
17 years ago
Brett Bryant b30ed551e0 Fix to sip_parse_host so that it passes the correct information to sip_registry.
17 years ago
Tilghman Lesher cce1ec5463 Change the global timer B to be dependent on the value of the T1 timer, as
17 years ago
Brett Bryant 1b07e87538 Add a configuration option so the global outboundproxy can use tcptls without it being defined by each sip user.
17 years ago
Olle Johansson b6b5525347 Merged revisions 126902 via svnmerge from
17 years ago
Olle Johansson f3170a4946 Merged revisions 126899 via svnmerge from
17 years ago
Olle Johansson 42bed356d1 Merged revisions 126789 via svnmerge from
17 years ago
Olle Johansson 983b851e3b Merged revisions 126735 via svnmerge from
17 years ago
Olle Johansson 33a54ee23b The following patch with some changes for trunk...
17 years ago
Tilghman Lesher 1503ea7128 Merged revisions 126056 via svnmerge from
17 years ago
Brett Bryant 4ebadd6d21 Small error in the function that converts peer transports to a string.
17 years ago
Brett Bryant 12d5cebea2 Change the way that the transport option works for sip users. transport will now take multiple arguments, the first one listed will be the one used
17 years ago
Olle Johansson 4f32bf72f9 Merged revisions 125384 via svnmerge from
17 years ago
Mark Michelson 0f62296eb6 Add a missing "ChannelType" header to one of the "PeerStatus" manager
17 years ago
Michiel van Baak 8e8359465b Older versions of GNU gcc do not allow 'NULL' as sentinel.
17 years ago
Brett Bryant 249ac33ab0 Fix bug in sip registration that sets the default port to 5060 for tls.
17 years ago
Brett Bryant 2aae0ba13d Updates all usages of ast_tcptls_session_instance to be managed by reference counts so that they only get destroyed when all threads are done using
17 years ago
Mark Michelson 67ca33e267 Merged revisions 123485 via svnmerge from
17 years ago
Steve Murphy bb20ef7017 Changes to list peers and users in alpha. order, as per a reasonable request in 12494. Due to changes in trunk to use the astobj2 i/f in the sip channel driver, the order of the entries in the config file was lost, thus the output was in a random order, but no longer.
17 years ago
Mark Michelson 8c6184f0da Merged revisions 123333 via svnmerge from
17 years ago
Tilghman Lesher 596f8b5186 Merged revisions 123113 via svnmerge from
17 years ago
Tilghman Lesher ba07bd38b7 Merged revisions 123110 via svnmerge from
17 years ago
Joshua Colp 523532204a Merged revisions 122919 via svnmerge from
17 years ago
Joshua Colp 1c8f33b0d6 Merged revisions 122869 via svnmerge from
17 years ago
Tilghman Lesher b2ef18dab4 Add some more IAX2-specific information about the channel to the CHANNEL()
17 years ago
Joshua Colp 7025da48e5 Fix issue where session timer headers were present when they should not have been.
17 years ago
Joshua Colp 51602928e3 Merged revisions 121495 via svnmerge from
17 years ago
Tilghman Lesher 53459f86b2 Expand RQ_INTEGER type out to multiple types, one for each precision
17 years ago
Tilghman Lesher ba622c3431 Add storage of the useragent in the realtime database.
17 years ago
Tilghman Lesher 07265a5033 Added a facility for sending arbitrary SIP notify commands from AMI.
17 years ago
Jeff Peeler c7da6df5e1 Merged revisions 120959 via svnmerge from
17 years ago
Jeff Peeler 0bc65f7465 Merged revisions 120908 via svnmerge from
17 years ago
Jeff Peeler 5934801d84 Merged revisions 120863,120885 via svnmerge from
17 years ago
Tilghman Lesher 9471b87d27 Merge the adaptive realtime branch, which will make adding new required fields
17 years ago
Brett Bryant c1451b5537 This patch adds more detailed statistics for RTP channels, and provides an API call to access it, including maximums, minimums, standard deviatinos,
17 years ago
Joshua Colp 16e401cc68 Merged revisions 119926 via svnmerge from
17 years ago
Joshua Colp e4d1b39bd8 Merged revisions 118646 via svnmerge from
17 years ago
Joshua Colp cfb40367f4 Merged revisions 118558 via svnmerge from
17 years ago
Tilghman Lesher f67e8ec980 Merged revisions 118251 via svnmerge from
17 years ago
Michiel van Baak f1e9371da8 - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause
17 years ago
Joshua Colp c126127fd5 Merged revisions 117574 via svnmerge from
17 years ago
Russell Bryant 29a9d477df Remove duplicate colon on Reason header
17 years ago
Joshua Colp 30aedbade7 Try to fix attended transfers.
17 years ago
Jeff Peeler f97d547aba Fixes a problem I was having with two SIP phones using Packet2Packet bridging dropping audio nearly immediately. The problem was that the lock on the SIP dialog was not being unlocked while the bridge was still active. (Related to issue #12566)
17 years ago
Joshua Colp 46423f6e09 Fix pedanticness.
17 years ago
Olle Johansson eecea3268e Don't add linefeed on received MESSAGE
17 years ago
Olle Johansson f07454f25d Properly declare charset for text messages.
17 years ago
Olle Johansson bb386c84e7 Adding spport for T.140 RED - Simple RTP redundancy to prevent packet loss in text stream
17 years ago
Olle Johansson 47bf217ee8 Merged revisions 116230 via svnmerge from
17 years ago
Olle Johansson 29b1d73567 Add support for codec settings in originate via call file and manager.
17 years ago
Olle Johansson 9c2956a3b0 Reformatting
17 years ago
Olle Johansson 615ed013d3 Adding comments
17 years ago
Mark Michelson 7daebcd610 Adding support for "urgent" voicemail messages. Messages which are
17 years ago
Russell Bryant c02cf176e1 Merged revisions 115561 via svnmerge from
17 years ago
Joshua Colp 4555f32184 Remove redundant header getting.
17 years ago
Russell Bryant e9f62e1d41 Change some NOTICE log messages to debug.
17 years ago
Russell Bryant 2a966cdb03 Merged revisions 115304 via svnmerge from
17 years ago
Tilghman Lesher b11854445b Add attributes to various API calls, to help track down bugs (and remove a deprecated function)
17 years ago
Joshua Colp f4237076bf Add support for specifying the registration expiry on a per registration basis in the register line. This comes from a Switchvox patch. (issue AST-24)
17 years ago
Olle Johansson 4c3aecfc55 Merged revisions 114890 via svnmerge from
17 years ago
Tilghman Lesher 72b5d8d982 Unleak reference
17 years ago
Tilghman Lesher c5f11a59d0 Add 'sip qualify peer <peer>' command (with AMI SIPqualifypeer)
17 years ago
Michiel van Baak 08e674bce0 Pass the hangup cause all the way to the calling app/channel.
17 years ago
Joshua Colp a50b48dacd Hey look, it builds.
17 years ago
Mark Michelson cb80defb68 Merged revisions 114632 via svnmerge from
17 years ago
Olle Johansson 9a4e9f5944 Merged revisions 114603 via svnmerge from
17 years ago
Russell Bryant 767fa7a909 Change a verbose message to debug.
17 years ago
Olle Johansson 2958831a97 Merged revisions 114584 via svnmerge from
17 years ago
Tilghman Lesher b170c36350 Merged revisions 114571 via svnmerge from
17 years ago
Joshua Colp 1e066813ac Add support for authenticating on a NOTIFY request. This is useful for phones that require it when sending them a special packet to get them to do something (such as reload their configuration).
17 years ago
Steve Murphy 161b4abd79 Hopefully, this will resolve the issues that russellb had with this log_show_lock().
17 years ago
Jeff Peeler 41fd7a6a21 (closes issue #6113)
17 years ago
Joshua Colp a79214b5b1 Merged revisions 114322 via svnmerge from
17 years ago
Sean Bright e4dce85331 Merged revisions 114245 via svnmerge from
17 years ago
Steve Murphy 5203c664de Thanks to snuff for finding these omissions
17 years ago
Steve Murphy 5fb4b1bbe5 This is the scariest commit I've done in a long time. This is the astobj2-ification of chan_sip. I've tested a number of scenarios like crazy. It used to have 4x the call setup/teardown performance of trunk, but now it's roughly at parity. I will attempt to find the bottlenecks and get it back to the 4x mark. The changes made were somewhat invasive, but the value to the community of these upgrades outweighs waiting further for more testing. Every change being made to chan_sip was lousing this code up when we tried to merge. Peers, Users, Dialogs, are all now astobj2 objects, indexed via hashtables. Refcounting is used to track objects and free them at the bitter end of their lives. Please file issues on bugs.digium.com, and PLEASE, please, please be patient. One natural advantage to all the hash-table work is that loading large sip.conf files full of thousands of peers now goes much faster. One more please: PLEASE help thrash this code and test it.
17 years ago
Olle Johansson 18866623dc Merged revisions 114148 via svnmerge from
17 years ago
Olle Johansson f239f24580 Adding chanvar to SIPPEER from 1.4 branch
17 years ago
Joshua Colp c5d0ca23f0 Merged revisions 114103 via svnmerge from
17 years ago
Mark Michelson d13b45564b Merged revisions 114045 via svnmerge from
17 years ago
Joshua Colp a4e73acaf8 Merged revisions 114021 via svnmerge from
17 years ago
Mark Michelson 88cc98ea94 Merged revisions 113927 via svnmerge from
17 years ago
Mark Michelson 925924386a Merged revisions 113681 via svnmerge from
17 years ago
Tilghman Lesher fa875c0578 Merged revisions 113348 via svnmerge from
17 years ago
Jeff Peeler bb13bf705e Merged revisions 113013 via svnmerge from
17 years ago
Jeff Peeler 566e073606 Merged revisions 113012 via svnmerge from
17 years ago
Steve Murphy f291c2af0a Found a little problem with the sip request handling that could lead to a quick crash of asterisk, and a road to a DOS attack if left unfixed.
17 years ago
Joshua Colp b5cccfe1a4 Since the SIP request structure gets reused multiple times with TCP handling we have to clear the debug state or else we will keep spitting out debug even after it has been turned off.
17 years ago
Jeff Peeler 6699761f80 Added dnsmgr status output for sip show registry.
17 years ago
Jeff Peeler a5cdd849e5 This adds DNS SRV record support to DNS manager. If there is a SRV record for a given domain, the hostname and port listed in the SRV record will be used. If no SRV record exists or a SRV lookup is not attempted, the DNS lookup on the specified domain will be performed as normal. Chan_sip has been modified to take advantage of the new SRV support.
17 years ago
Joshua Colp a8be22f9da Merged revisions 112204 via svnmerge from
17 years ago
Joshua Colp dcf4e46d8f Demote a log message down to a warning.
17 years ago
Russell Bryant 76baf34555 This fixes a high fence violation that MALLOC_DEBUG reported to me.
17 years ago
Mark Michelson bf4893fdce This time the fix is proper for issue 12284. I have tested it thoroughly and found
17 years ago
Mark Michelson 3a0f4cc933 Temporary revert of 111662. It's causing lots of trouble and appears to not be
17 years ago
Mark Michelson ca8e44c051 The copy_request function did not take into account the necessary null terminator
17 years ago
Joshua Colp 438361c0b8 Add expiry value to the sip show subscriptions CLI command.
17 years ago
Joshua Colp a3d7dc8903 Merged revisions 111020 via svnmerge from
17 years ago
Jeff Peeler 13787bc595 This one line change makes an if inside a for loop (in realtime_peer) check all the ast_variables the loop was intending to test rather than just the first one.
17 years ago
Mark Michelson a49b6591f5 Oops here too. I need to stop coding for a while...
17 years ago
Mark Michelson 67efba6e50 Merged revisions 110635 via svnmerge from
17 years ago
Joshua Colp 738e4ec94e Add a special dialplan variable to chan_sip which will cause an audio file to be played upon completion of an attended transfer.
17 years ago
Olle Johansson 676d9d3303 Use the "Server" header when responding to SIP requests.
17 years ago
Mark Michelson c05501d812 Remove the "Event: registration" header from Asterisk-generated
17 years ago
Mark Michelson 625f6bd203 Merged revisions 110618 via svnmerge from
17 years ago