Commit Graph

3800 Commits (a66fa4db24553d6ec6c8978c528081a94b1715a1)

Author SHA1 Message Date
Richard Mudgett 13e715b30c chan_sip: Fix realtime locking inversion when poking a just built peer.
10 years ago
Matthew Jordan 34989bd9c8 channels/chan_sip: Don't send a BYE after final response when PBX thread fails
10 years ago
Matthew Jordan ddff640f94 channels/chan_sip: Clarify WARNING message in mismatched SRTP scenario
10 years ago
Matthew Jordan 978649a568 channels/chan_sip: Fix crash when transmitting packet after thread shutdown
10 years ago
Richard Mudgett feddab7944 HTTP: Stop accepting requests on final system shutdown.
10 years ago
Matthew Jordan 29f3ff0b61 channels/chan_sip: Fix RealTime error during SIP unregistration with MariaDB
10 years ago
Mark Michelson 22fc3359da Use SIPS URIs in Contact headers when appropriate.
10 years ago
Kevin Harwell e2b493b8f0 chan_sip: stale nonce causes failure
10 years ago
Walter Doekes e23f07beb8 Fix typo's (retrieve, specified, address).
10 years ago
Walter Doekes 9210648bbe chan_sip: Case insensitive comparison of "defaultuser" parameter.
10 years ago
Matthew Jordan 74a13629e2 channels/chan_sip: Fix registration leak during reload
10 years ago
Richard Mudgett 4b363688d4 AMI: Make AMI actions that generate event lists consistent.
11 years ago
Matthew Jordan 9735a13429 chan_sip: Send CANCEL via original INVITE destination even after UPDATE request
11 years ago
Walter Doekes 9ae57e0dd6 Fix printf problems with high ascii characters after r413586 (1.8).
11 years ago
Joshua Colp f26d4618eb chan_sip: Allow T.38 switch-over when SRTP is in use.
11 years ago
Joshua Colp fb768ec33a res_http_websocket: Fix crash due to double freeing memory when receiving a payload length of zero.
11 years ago
Kevin Harwell 525c823b4b Direct Media calls within private network sometimes get one way audio
11 years ago
Matthew Jordan d79c68d3fb main/stasis: Allow subscriptions to use a threadpool for message delivery
11 years ago
Richard Mudgett 524588c345 ast_str: Fix improper member access to struct ast_str members.
11 years ago
Corey Farrell e8286df19c chan_sip: Fix theoretical leak of p->refer.
11 years ago
Matthew Jordan 906c7f4b97 channels/chan_sip: Add improved support for 4xx error codes
11 years ago
Matthew Jordan ab07cf71f8 channels/chan_sip: Support mutltiple Supported and Required headers
11 years ago
Matthew Jordan 97b5c22f07 channels/chan_sip: Respect outboundproxy setting when sending qualify requests
11 years ago
Walter Doekes 0ebe3d78bc chan_sip: Fix so asterisk won't send reINVITE after a BYE.
11 years ago
Walter Doekes 4c2aef333c chan_sip: Fix dialog leak resulting from missing ACK to re-INVITE.
11 years ago
Richard Mudgett 6a844be566 chan_pjsip: Fix deadlock when masquerading PJSIP channels.
11 years ago
Walter Doekes 303547231e chan_sip: Simplify some unref code by removing unlink_peer_from_tables.
11 years ago
Walter Doekes 45e32e4b8c chan_sip: Remove excess ref of realtime peer before sip_poke_peer.
11 years ago
Walter Doekes 20f4ea0df7 chan_sip: Unref outbound proxy structure on dialog/pvt destruction.
11 years ago
Walter Doekes 0f3540553d chan_sip: On INVITE retransmission, don't add an extra 503 response.
11 years ago
Scott Griepentrog bd99a96b21 The assertion that peer was not found on final event
11 years ago
Kinsey Moore a4a58c2771 CallerID: Fix parsing of malformed callerid
11 years ago
Joshua Colp 6fa02d1bfd chan_sip: Use the server reflexive ICE candidate RTCP port as provided.
11 years ago
Matthew Jordan 47c37abb93 chan_sip: Don't use port derived from fromdomain if it isn't set
11 years ago
Richard Mudgett f0a65379f5 chan_sip: Fix type mismatch when the format is changed.
11 years ago
Matthew Jordan 02fc8e2449 chan_sip: Mark chan_sip and its files as extended support
11 years ago
Richard Mudgett a1424a2f1a chan_sip: Replace sip_tls_read() and resolve the large SDP poll issue.
11 years ago
Matthew Jordan 47bf7efc4d Multiple revisions 420089-420090,420097
11 years ago
Mark Michelson dcf1ad14da Add module support level to ast_module_info structure. Print it in CLI "module show" .
11 years ago
Corey Farrell 5bea6c1b1c chan_sip: complete upgrade to ao2
11 years ago
Matthew Jordan bb87796f67 ARI: Fix endpoint/channel subscription issues; allow for subscriptions to tech
11 years ago
Matthew Jordan a2c912e997 media formats: re-architect handling of media for performance improvements
11 years ago
Scott Griepentrog f91989d44e media formats: fix ref leak of peer for mwi subscription
11 years ago
Matthew Jordan 1ce23d4534 chan_sip: Make progressinband=never really mean 'never'
11 years ago
Matthew Jordan 97834718c2 Remove many deprecated modules
11 years ago
Joshua Colp 6e60f5d317 Recorded merge of revisions 417677 from http://svn.asterisk.org/svn/asterisk/branches/11
11 years ago
Matthew Jordan 44dba37bd1 chan_sip: be more tolerant of whitespace between attributes in SDP fmtp line
11 years ago
Matthew Jordan 365ae7523b res_http_websocket: Close websocket correctly and use careful fwrite
11 years ago
Corey Farrell d171e0b2e9 chan_sip: Fix handling of "From" headers longer than 256 characters
11 years ago
Matthew Jordan 8313964d72 channels/chan_sip: Forbid remote bridging if T.38 is negotiated
11 years ago
Richard Mudgett 13e697f8c0 AST-2014-007: Fix of fix to allow AMI and SIP TCP to send messages.
11 years ago
Richard Mudgett 4ca5745dbe AST-2014-007: Fix DOS by consuming the number of allowed HTTP connections.
11 years ago
Jonathan Rose 5ca495ed2f chan_sip: Fix order of variables specified in SIPNotify action
11 years ago
Walter Doekes d14983dbce chan_sip: Start session timer at 200, not at INVITE.
11 years ago
Jonathan Rose d00882108f res_pjsip_refer: Fix bugs involving Parking/PJSIP/transfers
11 years ago
Jonathan Rose e81b873fa2 chan_sip: Add TLS and SRTP status to CLI command 'sip show channel'
11 years ago
Kinsey Moore abd3e4040b Allow Asterisk to compile under GCC 4.10
11 years ago
Richard Mudgett 119599407b res_pjsip_refer: Add Referred-By header on INVITE for blind transfers.
11 years ago
Richard Mudgett 20750e261b chan_sip.c: Fixed off-nominal message iterator ref count and alloc fail issues.
11 years ago
Jonathan Rose ae21162a69 chan_sip: Add sendrpid trust options
11 years ago
Matthew Jordan 7d26eefce4 chan_sip: Add SIPURIPHONECONTEXT channel variable for Request TEL URIs
11 years ago
Richard Mudgett d28af99e65 chan_sip.c: Fix channel staging assertion failure.
11 years ago
Richard Mudgett c6a2a513c2 chan_sip.c: Moved some sip_pvt unrefs after their last use.
11 years ago
Jonathan Rose cc4a0a7fc9 Reverting r411189 so that it can be put up for public review
11 years ago
Matthew Jordan eed03fc01a chan_sip: Support RFC-3966 TEL URIs in inbound INVITE requests
11 years ago
Matthew Jordan 4f30c7e91f main/astobj2: Make REF_DEBUG a menuselect item; improve REF_DEBUG output
11 years ago
Richard Mudgett 03beadb6e9 internal_timing: Remove the option and always make it enabled if a timing module is loaded.
11 years ago
Corey Farrell fbe0dfaf44 Fix dialplan function NULL channel safety issues
11 years ago
Jonathan Rose fa3a2f8eca chan_sip: Send real CallerID information with P-Assserted-Identity (RFC-3325)
11 years ago
Kinsey Moore a4890eddfb chan_sip: Fix incorrect use of timers
11 years ago
Joshua Colp 6d81951f0d chan_sip: Always use fromdomain if set for domain, even if callerid is set to restricted.
11 years ago
Kinsey Moore c300f7e5a8 AST-2014-002: chan_sip: Exit early on bad session timers request
11 years ago
Corey Farrell 0291965f79 chan_sip: Fix deadlock of monlock between unload_module and do_monitor
11 years ago
Scott Griepentrog 80ef9a21b9 uniqueid: channel linkedid, ami, ari object creation with id's
11 years ago
Matthew Jordan d3ac8b8a0e chan_sip: Allow static realtime members to be qualified during module load.
11 years ago
Sean Bright f5b2f1333f Minor whitespace change to 'sip show peers' output.
11 years ago
Richard Mudgett d820685e83 chan_sip: Add precautionary p->owner checks.
11 years ago
Richard Mudgett 954a3cf26f chan_sip: Fix crash in ast_channel_hangupcause_set().
11 years ago
Corey Farrell 3cfa1c8826 chan_sip: prevent add_route from adding empty header.
11 years ago
Matthew Jordan f001981862 chnan_sip: Set SIP_DEFER_BYE_ON_TRANSFER prior to calling bridge blind transfer
11 years ago
Corey Farrell cb4e210773 chan_sip: Isolate code that manages struct sip_route.
11 years ago
Kinsey Moore 0fbffdb3b2 chan_sip: Decline image streams on unsupported transports
11 years ago
Sean Bright 778d74cacf Make sure the maxptime attribute is added to the correct offers.
12 years ago
Rusty Newton f6647d2362 Documentation: doc fixes across various parts of the code for ASTERISK issues 23061,23028,23046,23027
12 years ago
Scott Griepentrog 5516cda6af chan_sip: fix Local From tag on outbound register regression
12 years ago
Kinsey Moore 522593f901 Add the missing part of r400140
12 years ago
Richard Mudgett 3ccd5dee18 udptl: Dead code elimination. ast_udptl_bridge was not used.
12 years ago
Richard Mudgett e4803bbd9e Voicemail: Remove mailbox identifier format (box@context) assumptions in the system.
12 years ago
Joshua Colp e2630fcd51 channels: Return allocated channels locked.
12 years ago
Kevin Harwell 84e1790beb bridge_native_rtp: Deadlock during 4-way conference creation
12 years ago
Russell Bryant 90108b15a0 Reset peer outboundproxy on sip.conf reload
12 years ago
David M. Lee 1212906351 Reverting r403311. It's causing ARI tests to hang.
12 years ago
Mark Michelson 8e8b329e14 Add channel locking for channel snapshot creation.
12 years ago
Scott Griepentrog 094db82a73 chan_sip: keep same local (from) tag for outgoing register requests
12 years ago
Matthew Jordan 029ce1e962 chan_sip: Use AST_AF* defined constant when calling ast_get_ip
12 years ago
Kevin Harwell fe47684b43 chan_sip: notify dialog info ignores presentation indicator in callerid
12 years ago
Kinsey Moore 98dea21bc1 chan_sip: Fix RTCP port for SRFLX ICE candidates
12 years ago
Michael L. Young 230141d677 chan_sip: Clarify 'Forcerport' Setting Displayed When Running "sip show peers"
12 years ago
Kevin Harwell 9ba7742431 chan_sip: Allow a sip peer to accept both AVP and AVPF calls
12 years ago
Joshua Colp f4e028a765 chan_sip: Fix an issue where an incompatible audio format may be added to SDP.
12 years ago
Michael L. Young 32d758ed32 Remove Port Restriction When Checking For NAT
12 years ago
Michael L. Young 42f3cae1fd Fix Setting A chan_sip Dialog's SIP_NAT_FORCE_RPORT Flag
12 years ago
Mark Michelson 2c927b871f Prevent chan_sip from sending duplicate BYEs.
12 years ago
Mark Michelson 47e910bfe6 chan_sip: Do not increment the SDP version between 183 and 200 responses.
12 years ago
Jonathan Rose d35b5c9cb0 chan_sip: Don't ignore expires value in contact header if it lacks semicolon
12 years ago
Mark Michelson ee21eee7e0 Cache string values of formats on ast_format_cap() to save processing.
12 years ago
Joshua Colp c1235f2639 Reduce channel snapshot creation and publishing by up to 50%.
12 years ago
David M. Lee 2de42c2a25 Multiple revisions 399887,400138,400178,400180-400181
12 years ago
Kinsey Moore b44ce141e5 chan_sip: Allow Asterisk to retry after 403 on register
12 years ago
Richard Mudgett 9f19d096e3 chan_sip: Increase some scratch buffer sizes dealing with caller id.
12 years ago
Jonathan Rose 7e2a72771d chan_sip: Reject calls on 200 OKs if no SDP has been received
12 years ago
Michael L. Young 1468246e5c chan_sip: Fix Realtime Peer Update Problem When Un-registering And Expires Header In 200ok
12 years ago
Jonathan Rose e89e19c479 chan_sip: Make direct media reinvites for T38 put Asterisk in the media path
12 years ago
Richard Mudgett 2a371cd80b Restore Dial, Queue, and FollowMe 'I' option support.
12 years ago
Jonathan Rose 039030f245 chan_sip: Revert r398835 due to failing tests involving originate
12 years ago
Jonathan Rose 187802eeb2 chan_sip: Reject calls without prior SDP on 200 OK
12 years ago
Kevin Harwell 16b8d0cb5a Fix various memory leaks
12 years ago
David M. Lee 9bed50db41 optional_api: Fix linking problems between modules that export global symbols
12 years ago
Matthew Jordan c32f8a5ca9 AST-2013-005: Fix crash caused by invalid SDP
12 years ago
Matthew Jordan 0472e14dee AST-2013-004: Fix crash when handling ACK on dialog that has no channel
12 years ago
Richard Mudgett 868be02a2f Fix uninitialized value in struct ast_control_pvt_cause_code usage.
12 years ago
Matthew Jordan 4d348e853c Add pass through support for Opus and VP8; Opus format attribute negotiation
12 years ago
Mark Michelson 25e38dfc9b Prevent a crash on outbound SIP MESSAGE requests.
12 years ago
Matthew Jordan e85dd76945 Allow the SIP_CODEC family of variables to specify more than one codec
12 years ago
Michael L. Young c7c8eb5ea4 Fix Not Storing Current Incoming Recv Address
12 years ago
Mark Michelson b6faaf85e3 Remove REF_DEBUG definition.
12 years ago
Mark Michelson 7db2985186 Fix refcounting of sip_pvt in test_sip_rtpqos test and unlink it from the list of pvts.
12 years ago
Kinsey Moore 59753b1ea1 Strip down the old event system
12 years ago
Richard Mudgett e47d3db365 Doxygen comment tweaks.
12 years ago
Kinsey Moore 3f46d461bf Fix deadlocks in chan_sip in REFER and BYE handling
12 years ago
Walter Doekes 29945cf238 chan_sip: Convert 'just did sched_add waitid...' from warning to debug message.
12 years ago
Walter Doekes 235aa06b8d chan_sip: Fix IP-addr in warning when rejecting a contact ACL.
12 years ago
Jonathan Rose b3813c8bc5 pbx: Make originate threads indicate dial status when synchronous
12 years ago
Michael L. Young c0f302e1e1 Fix Registration Failure When A Peer And TLS Are Used
12 years ago
Mark Michelson f8622e7c5c Get rid of ast_bridged_channel() and the bridged_channel field on ast_channels.
12 years ago
Matthew Jordan 38236e54a8 Remove dead code from features.c; refactor pickup code into pickup.c
12 years ago
Kinsey Moore 03090a88ba Fix documentation replication issues
12 years ago
David M. Lee e1b959ccbb Split caching out from the stasis_caching_topic.
12 years ago
Matthew Jordan 0a29f85f87 Raise Registry AMI events on registration failures
12 years ago
Matthew Jordan cafc115896 A great big renaming patch
12 years ago
Kinsey Moore 98504fec8e Add DTLS-SRTP support to chan_pjsip
12 years ago
Kinsey Moore 684c83b29b Add transfer support to CEL
12 years ago
Kinsey Moore 0b83761f9a Fix crash when using temporary peers
12 years ago
Richard Mudgett 6ba25dd3f2 Remove some dead code dealing with old bridging method.
12 years ago
Matthew Jordan c3c0315693 Pretty up a debug message if the referred-by-uri isn't available
12 years ago
Jason Parker 7422581b6d Move channel driver Registry manager events to core.
12 years ago
Matthew Jordan d0a55fa52d Refactor RTCP events over to Stasis; associate with channels
12 years ago
Kinsey Moore 909ee4bfb9 Refactor extraneous channel events
12 years ago
Mark Michelson 6d624eb008 Add stasis publications for blind and attended transfers.
12 years ago
Richard Mudgett a022379107 Fix incorrect calls to ast_bridge_impart().
12 years ago
Joshua Colp 77002bc377 Merge in current pimp_my_sip work, including:
12 years ago
Joshua Colp 94ec267888 Migrate PeerStatus events to stasis, add stasis endpoints, and add chan_pjsip device state.
12 years ago
Matthew Jordan 6258bbe7bd Update Asterisk's CDRs for the new bridging framework
12 years ago
Mark Michelson 2dc8a06006 Refactor the features configuration scheme.
12 years ago
Mark Michelson cfe32ec1da Add attended transfer support for chan_sip.c
12 years ago
Mark Michelson fac3839e68 Adds support for a core attended transfer function plus adds some hiding of masquerades.
12 years ago
Jason Parker 154fbf8cae Split Hold event into Hold/Unhold, and move it into core.
12 years ago
Matthew Jordan 06be8463b6 Migrate a large number of AMI events over to Stasis-Core
12 years ago
Richard Mudgett 3d63833bd6 Merge in the bridge_construction branch to make the system use the Bridging API.
12 years ago
David M. Lee b97c71bb11 Fix shutdown assertions in stasis-core
12 years ago
Jonathan Rose b90bba7a30 Stasis: Update security events to use Stasis
12 years ago
Michael L. Young 4ff6e61808 Fix Crash Caused By One-way Audio With auto_* NAT Settings Fix
12 years ago
Sean Bright 2cfedc12ad Fix copy/paste error in one-touch-recording implementation.
12 years ago
David M. Lee e06e519a90 Initial support for endpoints.
12 years ago
Alec L Davis efd28c676a chan_sip: NOTIFYs for BLF start queuing up and fail to be sent out after retries fail
12 years ago
Jonathan Rose 1eac5a7988 Stasis: Convert network change events into network change stasis messages
12 years ago
Alec L Davis f7f58b7bc2 chan_sip: Session-Expires: Set timer to correctly expire at (~2/3) of the interval when not the refresher
12 years ago
Alec L Davis 7f0f53958b chan_sip: Honor Session-Expires in 200OK response when it's a RE-INVITE when asterisk is the refresher.
12 years ago
Matthew Jordan b693a72378 Prevent crash in 'sip show peers' when the number of peers on a system is large
12 years ago
Jonathan Rose 8e257fe819 Stasis Core: Refactor ACL Change events to go out over the stasis core msg bus
12 years ago
Michael L. Young b4c881c86e Fix Displaying Symmetric RTP Global Setting
12 years ago
Michael L. Young 735026ccf6 Change Case On Forcerport For Consistency
12 years ago
Michael L. Young fcbb9f0c8d Fix One-Way Audio With auto_* NAT Settings When SIP Calls Initiated By PBX
12 years ago
Matthew Jordan caf4a5f605 Fix crash in chan_sip when a core initiated op occurs at the same time as a BYE
12 years ago
Michael L. Young 03286cf23f Fix For Not Overriding The Default Settings In chan_sip
12 years ago
Kinsey Moore 1a2a4578d2 Convert MWI state message type to the new stasis naming convention
12 years ago
Kinsey Moore 72bccf69c3 Address uninitialized conditional that valgrind found
12 years ago
Matthew Jordan 0ffce56f1b AST-2013-003: Prevent username disclosure in SIP channel driver
12 years ago
Matthew Jordan 58ee2b7d11 Resolve deadlock between SIP registration and channel based functions
12 years ago
Kinsey Moore 99aa02d17f Transition MWI to Stasis-core
12 years ago
Kinsey Moore ad5f3a5759 tcptls: Prevent unsupported options from being set
12 years ago
Matthew Jordan cacc356bbe When a session timer expires during a T.38 call, re-invite with correct SDP
12 years ago
Matthew Jordan 00e9ffb907 Include the Username field in SIP Registry events when Status is registered
12 years ago
Kevin Harwell 09ecb25e08 Added an option to disallow music on hold
12 years ago
Jonathan Rose b4a010e958 chan_sip: Update the via header when relaying SMS MESSAGE
12 years ago
Matthew Jordan f6f6bc7b59 Remove unused function
12 years ago
Matthew Jordan 12748bc735 Don't reset the RTP address on a glare re-INVITE
12 years ago
Matthew Jordan 80b8c2349c Add a 'secret' probation strictrtp mode to handle delayed changes in RTP source
12 years ago
Matthew Jordan 8d5c36c9bb Add RFC 3327 Path header support to chan_sip
12 years ago
Michael L. Young a3ad8b28e6 Fix / Clean Up Some Items To Handle The New auto_* NAT Options
12 years ago
Joshua Colp e0b49e7331 Relax dialog checking in get_sip_pvt_byid_locked so it works when the dialog is forked.
12 years ago
Walter Doekes d33d9c1781 Correct RPID parsing for unquoted display-name.
12 years ago
Matthew Jordan 2ebb9863ea Don't send presencestate information if the state is invalid
12 years ago
Mark Michelson 8a7dd2f408 Fix a crash that occurred when a BYE was received on a replaced dialog.
12 years ago
Jonathan Rose f008baddac chan_sip: Use video and text crypto attributes to append RTP profiles to SDP
12 years ago
Kinsey Moore 81fa307af7 Fix some more REF_DEBUG-related build errors
12 years ago
Richard Mudgett 5b236ee647 Make ast_do_masquerade() a void function.
12 years ago
David M. Lee 345253a50e Fixed failing test from r380696.
12 years ago
David M. Lee 5899e13112 Process session timers, even if Session-Expires header is missing
12 years ago
Matthew Jordan 01309cf41e Unregister SIP provider API if module load is declined
12 years ago