Commit Graph

3526 Commits (1644cd874ded77f4b9145a39e0224e7046ff39c5)

Author SHA1 Message Date
Kinsey Moore 3292e66ca1 Ensure Min-SE is included in outbound INVITEs
13 years ago
Mark Michelson b6d36124cd Fix a potential deadlock in chan_sip during transfers.
13 years ago
Kinsey Moore 62a4ae8782 Handle Session-Expires less than local Min-SE in 200 OK
13 years ago
Joshua Colp eb3a88351a Fix a SIP request memory leak with TLS connections.
13 years ago
Mark Michelson da951d0855 Fix potential crashes during SIP attended transfers.
13 years ago
Richard Mudgett 903a942b85 Fix compile error.
13 years ago
Michael L. Young bb38f97269 Improve Code Readability And Fix Setting natdetected Flag
13 years ago
Pedro Kiefer ed6c432874 Fix chan_sip websocket payload handling
13 years ago
Mark Michelson 0cc3b6cd9b Add "Require: timer" to 200 OK responses when appropriate.
13 years ago
Alec L Davis 4e76aa4920 Reduce CLI spam of "Extension Changed" device state messages.
13 years ago
Walter Doekes 65c8d16d79 Fix most leftover non-opaque ast_str uses.
13 years ago
Joshua Colp fb74294b92 Remove a fixed size limitation for producing SDP and change how ICE support is disabled by default.
13 years ago
Michael L. Young 2fce31c09a Fix Wrong Result In Debug Message For SDP Origin Processing
13 years ago
Jonathan Rose 509f348639 chan_sip: Fix a bug causing SIP reloads to remove all entries from the registry
13 years ago
Mark Michelson d51cc27812 Prevent resetting of NATted realtime peer address on reload.
13 years ago
Walter Doekes 0ee22cfd14 Fixes to the fd-oriented SIP TCP reads.
13 years ago
Walter Doekes 5fc8671fb7 Update sip_request_call SIP dial string documentation.
13 years ago
Mark Michelson ccf01fbfdc Do not use a FILE handle when doing SIP TCP reads.
13 years ago
Mark Michelson b5f231501b Don't make chan_sip export global symbols.
13 years ago
Joshua Colp 332407b5f8 Improve logging for DTLS-SRTP failure situations.
13 years ago
Joshua Colp 749bd15c6f Add a log message for when DTLS-SRTP is requested and the underlying engine does not support it.
13 years ago
Matthew Jordan 30d590a970 Fix ref leak when adding ICE candidates to an SDP
13 years ago
Joshua Colp f8e894e031 Make res_http_websocket an optional dependency on supported platforms for chan_sip.
13 years ago
Mark Michelson 70cb09cd56 Move handling of 408 response so there is no misleading warning message.
13 years ago
Terry Wilson ba4e0c1591 Properly handle UAC/UAS roles for SIP session timers
13 years ago
Jonathan Rose 57771ffe11 chan_sip: Set Quality of Service for video rtp instance
13 years ago
Richard Mudgett fcd5d7f458 Be consistent, send From: "Anonymous" <sip:anonymous@anonymous.invalid>
13 years ago
Richard Mudgett 26e45bbfca Fix potential reentrancy problems in chan_sip.
13 years ago
Joshua Colp f3e09ab823 Fix a deadlock caused by a race condition between removing a hint and reloading the dialplan and subscribing to the removed hint.
13 years ago
Joshua Colp b40fecd9ab Fix an issue with H.264 format attribute comparison and fix an issue with improper SDP being produced.
13 years ago
Joshua Colp 42ebea2f2f Add support for DTLS-SRTP to res_rtp_asterisk and chan_sip.
13 years ago
Kinsey Moore 19fcfcb280 Correct handling of unknown SDP stream types
13 years ago
Matthew Jordan 9e396da730 Resolve memory leaks in TLS initialization and TLS client connections
13 years ago
Mark Michelson cc8afceba5 Add channel name to a warning to make debugging easier.
13 years ago
Darren Sessions 909248b763 LDAP Realtime Peers Cannot Register
13 years ago
Mark Michelson d649550d23 Fix issue where SIP devices were not notified when custom devices changed to "ringing".
13 years ago
Jonathan Rose 862adf23cf chan_sip: Send 408 on retransmit timeout instead of 603
13 years ago
Mark Michelson ff4674440d Fix misuses of asprintf throughout the code.
13 years ago
Joshua Colp ef1f1b16a8 When a peer registers using WebSocket do not resolve the Contact provided.
13 years ago
Jonathan Rose cf9265008d chan_sip: Use pvt outgoing_call variable to set Remote-Party-ID Header
13 years ago
Jonathan Rose 80ee807c13 chan_sip: Trigger reinvite if the SDP answer is included in the SIP ACK
13 years ago
Michael L. Young 75f68294fc Fix Segfault When Registering SIP Over WebSockets
13 years ago
Kinsey Moore 5add0570b5 Avoid unconditional NULLing of mwipvt on relatedpeer on SIP dialog destruction
13 years ago
Kinsey Moore d7fbceb55b Add HANGUPCAUSE information to callee channels
13 years ago
Mark Michelson 85a6ab78ce Fix problem where incorrect pointer was checked for nullity.
13 years ago
Richard Mudgett fb6238899b Add private representation of caller, connected and redirecting party ids.
13 years ago
Mark Michelson 5ff199d99a Fix a comparison that was causing presence tests to fail.
13 years ago
Mark Michelson 9ee8b3c0f6 Extend extension state callbacks to have more information.
13 years ago
Joshua Colp 15e41c7542 Reduce memory consumption significantly for users of the RTP engine API by storing only the payloads present and in use instead of every possible one.
13 years ago
Matthew Jordan 5c4578f4ad Add named callgroups/pickupgroups
13 years ago
Mark Michelson e46db5d943 Improve debug message for temporary outbound proxies.
13 years ago
Mark Michelson 9f0127f087 Multiple revisions 370769-370771
13 years ago
Kinsey Moore e108a5777a Fix regression from r370636
13 years ago
Mark Michelson 4377d511ae Add headers from SIPAddHeader to outbound REFER requests.
13 years ago
Matthew Jordan d5d41741cc Schedule pokes of registered SIP peers within a given timespan after SIP reload
13 years ago
Kinsey Moore 9b16c8b0f6 Clean up and ensure proper usage of alloca()
13 years ago
Kinsey Moore e5210366e4 Clean up chan_sip
13 years ago
Jonathan Rose 3da07b3ec0 chan_sip: Add SIPpeerstatus command to AMI
13 years ago
Mark Michelson a28e6fc7bd Add separate configuration options for subscription and registration minexpiry and maxexpiry.
13 years ago
Joshua Colp 4d6b524b61 Prevent multiple local candidates from being added with the same information and add support for disabling ICE on a per-peer basis.
13 years ago
Kinsey Moore cb9756daa2 Add hangupcause translation support
13 years ago
Matthew Jordan 86ff5585fd Add the ability to specify technology specific documentation
13 years ago
Joshua Colp cbdb2dbb0e Fix a crash occurring as a result of excess stack usage.
13 years ago
Walter Doekes 6027b26fa7 Code cleanup and bugfix in chan_sip outboundproxy parsing.
13 years ago
Joshua Colp f234eae9ee Fix a bug exposed by the testsuite where text streams would no longer be parsed correctly.
13 years ago
Joshua Colp e938737570 Add support for SIP over WebSocket.
13 years ago
Joshua Colp a693fd1d87 Add support for parsing SDP attributes, generating SDP attributes, and passing it through.
13 years ago
Kinsey Moore c1354af599 Include Expires header for SIP PUBLISH requests
13 years ago
Kinsey Moore 65fe6976ae Prevent double uri_escaping in chan_sip when pedantic is enabled
13 years ago
Jonathan Rose 10afdf3a2a Named ACLs: Introduces a system for creating and sharing ACLs
13 years ago
Kinsey Moore 3805e2ae4d Fix failing SDP_offer_answer test
13 years ago
Joshua Colp 7baa8bf43d Add support for exposing the received contact URI and also for setting the request URI in messages.
13 years ago
Jonathan Rose 60bc927579 chan_sip: Fix small behavioral change accidentally introduced in r369750
13 years ago
Jonathan Rose 49aa47171b chan_sip: Add case for FLASH control frames so that we don't display a warning.
13 years ago
Matthew Jordan 4b3476d016 Do not send a BYE when a provisional response arrives during a re-INVITE
13 years ago
Terry Wilson 474b023ad4 More improvements to re-INVITEs timing out after a provisional response
13 years ago
Terry Wilson d97e6c1401 Better handle re-INVITEs with provisional but no final repsonses
13 years ago
Joshua Colp 37256ea45d Add support for ICE/STUN/TURN in res_rtp_asterisk and chan_sip.
13 years ago
Joshua Colp 35c533156c With some configurations a transport is not actually specified so assume UDP in these cases.
13 years ago
Joshua Colp 2e23dbb4b6 Make the address family filter specific to the transport.
13 years ago
Terry Wilson 7d9e0158c3 AST-2012-010: Clean up after a reinvite that never gets a final response
13 years ago
Mark Michelson e0883154cf Re-fix how local tag is generated when sending a 481 to an INVITE.
13 years ago
Mark Michelson 87810af23d Be more consistent with the return code for requests received from invalid domain.
13 years ago
Richard Mudgett e07ba960f9 Change incorrect chan_sip zombie hangup debug message. They are all zombies now.
13 years ago
Terry Wilson 9cdc5468e7 Don't crash on a guest directmedia call
13 years ago
Kinsey Moore 35c7b65475 Don't parse media stream state for SIP video streams
13 years ago
Mark Michelson 91157d5c2b Fix request routing issue when outboundproxy is used.
13 years ago
Kinsey Moore bf6ef69702 Allow chan_sip to decline unwanted media streams
13 years ago
Mark Michelson 6bd3eb4995 Set the Caller ID "tag" on peers even if remote party information is present.
13 years ago
Matthew Jordan 8bc3c1e20f Fix deadlock in SIP transfers that involve a REFER request
13 years ago
Kinsey Moore afa03bd310 Parse ANI2 information from SIP From header parameters
13 years ago
Richard Mudgett 72eb8eb1e7 Fix deadlock potential with ast_set_hangupsource() calls.
13 years ago
Kinsey Moore c6142cf2cc Fix coverity UNUSED_VALUE findings in core support level files
13 years ago
Mark Michelson ea8cf8b5f3 Fix a specific scenario where ACKs are not matched.
13 years ago
Kinsey Moore 1492177b7b Ensure overlapping hold flags do not conflict
13 years ago
Kinsey Moore 571445ab9c Convert AST_FLAG_ANSWERED_ELSEWHERE usage to AST_CAUSE_ANSWERED_ELSEWHERE
13 years ago
Mark Michelson d210685a20 Relay proper SIP responses on calling side.
13 years ago
Mark Michelson 14a985560e Merge changes dealing with support for Digium phones.
13 years ago
Kevin P. Fleming dd02d976f5 Improve SDP offer/answer RFC compliance
13 years ago
Kevin P. Fleming 66e5c30716 Improve SDP parsing warning messages
13 years ago
Mark Michelson 463f9d729a Help mitigate potential reinvite glare scenarios.
13 years ago
Richard Mudgett dd2427c141 Coverity Report: Fix issues for error type REVERSE_INULL (core modules)
13 years ago
Michael L. Young 2eff35bafa Fix pvt_sip for inbound call to use peer's allowtransfer setting
13 years ago
Jonathan Rose bdaecbb66b chan_sip: fix problem directmediapermit/deny uses the wrong address
13 years ago
Matthew Jordan f454dceaf3 Re-add LastMsgsSent value for SIP peers
13 years ago
Terry Wilson 1ffb200c0e Resolve crash in subscribing for MWI notifications
13 years ago
Mark Michelson 8b1193087e Revert revision 367163.
13 years ago
Mark Michelson e5f1f0496a Add "send to voicemail" Digium phone functionality to Asterisk.
13 years ago
Mark Michelson 5c576aa3c2 Fix memory leak of SSL_CTX structures in TLS core.
13 years ago
Matthew Jordan 6eb4e81033 Fix more memory leaks
13 years ago
Matthew Jordan 7b51320642 Fix a variety of memory leaks
13 years ago
Jonathan Rose cd37bec058 logger: Adds additional support for call id logging and chan_sip specific stuff
13 years ago
Mark Michelson 5629d66257 Correct misuse of ast_strip_quoted() when getting a Diversion header's reason parameter.
13 years ago
Kinsey Moore b5a6de76fc Commit framework for HANGUPCAUSE (replacement for SIP_CAUSE)
13 years ago
Mark Michelson fef9a32fb4 Fix broken reinvite glare scenario.
13 years ago
Kinsey Moore dd81b047db Resolve FORWARD_NULL static analysis warnings
13 years ago
Jonathan Rose 8227f70cd7 Coverity Report: Fix issues for error type CHECKED_RETURN for core
13 years ago
Mark Michelson 3430da58e9 Close the proper tcptls_session when session creation fails.
13 years ago
Mark Michelson 6125190ca1 Prevent sip_pvt refleak when an ast_channel outlasts its corresponding sip_pvt.
13 years ago
Mark Michelson abfe67b01e Send more accurate identification information in dialog-info SIP NOTIFYs.
13 years ago
Kinsey Moore 781f4657b9 Fix many issues from the NULL_RETURNS Coverity report
13 years ago
Jason Parker 067064bd65 Save the address on which a MESSAGE was received, so it can be used in MESSAGE()
13 years ago
Mark Michelson 355a6d6f37 Remove a function that has been marked unused since Asterisk 1.6.0.
13 years ago
Mark Michelson 6eb1ea3b79 Revert revision 360862.
13 years ago
Joshua Colp ae1502be33 Add support for lightweight NAT keepalive.
13 years ago
Mark Michelson 1a58b3b775 Don't attempt to make use of the dynamic_exclude_static ACL if DNS lookup fails.
13 years ago
Kinsey Moore 83cf78deda Allow SIP pvts involved in Replaces transfers to fall out of reference sooner
13 years ago
Matthew Jordan 103031330a Allow for reloading SRTP crypto keys within the same SIP dialog
13 years ago
Kinsey Moore 7bf6a01cfa Fix reference leaks involving SIP Replaces transfers
13 years ago
Alec L Davis 5746e0d2ac chan_sip: [general] maxforwards, not checked for a value greater than 255
13 years ago
Matthew Jordan e8e12afc6a AST-2012-006: Fix crash in UPDATE handling when no channel owner exists
13 years ago
Walter Doekes fc63e07135 Avoid cppcheck warnings; removing unused vars and a bit of cleanup.
13 years ago
Michael L. Young 8337ecd38d Turn off warning message when bind address is set to any.
13 years ago
Kinsey Moore a485f44022 Add missing newlines to CLI logging
13 years ago
Matthew Jordan a2e127a651 Fix a typo in the warning messages for an ignored media stream
13 years ago
Jonathan Rose e96a59acfd Replace GNU old-style field designator extensions to fix clang warnings
13 years ago
Kinsey Moore 9cc6f2c59e Stop sending out RTCP if RTP is inactive
13 years ago
Mark Michelson cc2366bca0 Improve accuracy of identifying information sent in dialog-info SIP NOTIFY requests.
13 years ago
Mark Michelson 01cc64585e Make a debug message regarding subscription changes more accurate.
13 years ago
Richard Mudgett df16bd973e Add missing initialization of update_redirecting in chan_sip.c
13 years ago
Matthew Jordan c88d1c8337 Ensure Asterisk sends a BYE when pending on the final response to a re-INVITE
13 years ago
Paul Belanger 31462e7bd6 Remove unused variable ‘srch’
13 years ago
Paul Belanger 831af9fbc7 Remove some dead code found in _sip_show_peers()
13 years ago
Terry Wilson 699d2bd705 Make hints for invalid SIP devices return Unavail, not idle
13 years ago
Terry Wilson 786f5898d1 Finalize ast_channel opaquification
13 years ago
Jonathan Rose 587cb230b2 Make transfer not ignore port information with SIP.
13 years ago
Joshua Colp 2736fe9917 Defer sending the connected line reinvite if a reinvite is already in progress.
13 years ago
Kinsey Moore dec0d4f9e3 Ensure Asterisk acknowledges ACKs to 4xx on Replaces errors
13 years ago
Terry Wilson 0e5c761c28 Opaquify ast_channel typedefs, fd arrays, and softhangup flag
13 years ago
Terry Wilson a9d607a357 Opaquify ast_channel structs and lists
13 years ago