Commit Graph

3896 Commits (37ece75677bff5655f0a3fb4dbda2b7c4847bc50)

Author SHA1 Message Date
Richard Mudgett db4979fa79 chan_sip.c: Fix deadlock potential in fax redirection.
9 years ago
Corey Farrell f73ddde7d4 chan_sip: Fix reference leak in mwi_event_cb
9 years ago
Corey Farrell ad30d60c69 chan_sip: Fix reference leaks in error paths.
9 years ago
Joshua Colp 302be4809a chan_sip/res_pjsip_t38: Handle a request to negotiate T.38 after it is enabled.
9 years ago
Joshua Colp 75818b4084 siren: Add format attribute modules for Siren7 and Siren14.
9 years ago
zuul 947f76a971 Merge "chan_sip: bigger buffers for headers, better failure mode"
9 years ago
zuul 88dfcd21b2 Merge "chan_sip: Support auth username for callbackextension feature"
9 years ago
George Joseph d21a77b325 build: Fix ast_sockaddr initialization to be more portable
9 years ago
Joshua Colp 2525563438 Merge "chan_sip: No rtpmap for static RTP payload IDs in SDP."
9 years ago
Timo Teräs 39b69ab537 Fixes to include signal.h
9 years ago
Alexander Traud 784c18128b chan_sip: No rtpmap for static RTP payload IDs in SDP.
9 years ago
Vasil Kolev 80ff7912a1 chan_sip: bigger buffers for headers, better failure mode
9 years ago
Timo Teräs 538c6415c6 chan_sip: Support auth username for callbackextension feature
9 years ago
George Joseph 5bd1bf2816 chan_sip: Prevent extra Session-Expires headers from being added
10 years ago
Joshua Colp 1e41d14822 Merge "chan_sip: Make autocreated peers send PeerStatus events"
10 years ago
Joshua Colp c480159045 chan_sip: Give more time for TCP/TLS threads to stop.
10 years ago
kkm 41ecf22587 chan_sip: Make autocreated peers send PeerStatus events
10 years ago
Jaco Kroon f06ce7f90a chan_sip: Don't verify table if rtupdate=no
10 years ago
Richard Mudgett 6138a75e8e pbx.h: Make ast_state_cb_type take more const.
10 years ago
Alexander Traud 3f720155b7 chan_sip: Do not send all codecs on INVITE. Do not break on Session-Timers.
10 years ago
Francesco Castellano ac66999971 chan_sip.c: Space after port causes unnecessary resolution attempt
10 years ago
Joshua Colp 7d63b4499e Merge "chan_sip.c: Made sip_reinvite_retry() call sip_pvt_lock_full()."
10 years ago
Richard Mudgett 810f92c9dc chan_sip.c: Fix mwi resub deadlock potential.
10 years ago
Richard Mudgett 72c444ba37 chan_sip.c: Fix registration timeout and expire deadlock potential.
10 years ago
Richard Mudgett fbf8e04aed chan_sip.c: Fix t38id deadlock potential.
10 years ago
Richard Mudgett c7fdff2e37 chan_sip.c: Fix reinviteid deadlock potential.
10 years ago
Richard Mudgett f484ddbdfe chan_sip.c: Fix packet retransid deadlock potential.
10 years ago
Richard Mudgett 7ea1e181dc chan_sip.c: Fix waitid deadlock potential.
10 years ago
Richard Mudgett 02458cc6fd chan_sip.c: Fix session timers deadlock potential.
10 years ago
Richard Mudgett 69810b306d chan_sip.c: Fix autokillid deadlock potential.
10 years ago
Richard Mudgett 67c79c326d chan_sip.c: Fix provisional_keepalive_sched_id deadlock.
10 years ago
Richard Mudgett 76be7093cd chan_sip.c: Adjust how dialog_unlink_all() stops scheduled events.
10 years ago
Richard Mudgett 52f0932e4c chan_sip.c: Clear scheduled immediate events on unload.
10 years ago
Richard Mudgett cb97198ca6 chan_sip.c: Simplify sip_pvt destructor call levels.
10 years ago
Richard Mudgett 8be01398d9 chan_sip.c: Made sip_reinvite_retry() call sip_pvt_lock_full().
10 years ago
Richard Mudgett 25de01f301 SIP diversion: Fix REDIRECTING(reason) value inconsistencies.
10 years ago
Richard Mudgett 2dae4a1ccf chan_sip.c: Fix T.38 issues caused by leaving a bridge.
10 years ago
zuul 170941990b Merge "chan_sip: Optionally supply fromuser/fromdomain in SIP dial string."
10 years ago
Richard Mudgett 886ee09471 chan_sip.c: Suppress T.38 SDP c= line if addr is the same.
10 years ago
Walter Doekes c00082329e chan_sip: Optionally supply fromuser/fromdomain in SIP dial string.
10 years ago
Richard Mudgett a877e0d94b AST-2016-002 chan_sip.c: Fix retransmission timeout integer overflow.
10 years ago
StefanEng86 55a7367ad4 chan_sip.c: AMI & CLI notify methods get different values of asterisk's own ip.
10 years ago
Corey Farrell 830f8933c2 chan_sip: Fix buffer overrun in sip_sipredirect.
10 years ago
Mark Michelson 53570e2c6f Merge "chan_sip: option 'notifyringing' change and doc fix"
10 years ago
Ward van Wanrooij d4b10cfb3e chan_sip: option 'notifyringing' change and doc fix
10 years ago
Dade Brandon 6dc21bbf00 chan_sip.c: fix websocket_write_timeout default value
10 years ago
Joshua Colp d2c8614122 chan_sip: Enable WebSocket support by default.
10 years ago
Jonathan Rose ceebdfce40 chan_sip: Add TCP/TLS keepalive to TCP/TLS server
10 years ago
Matt Jordan 259fa9c901 Merge "chan_sip: Check sip_pvt pointer in ast_channel_get_t38_state(c)"
10 years ago
Eugene Voityuk be693539c3 chan_sip.c: Start ICE negotiation when response is sent or received.
10 years ago
Filip Jenicek 59a91c350a chan_sip: Check sip_pvt pointer in ast_channel_get_t38_state(c)
10 years ago
Richard Mudgett 65c8147952 chan_sip: Fix crash involving the bogus peer during sip reload.
10 years ago
Christof Lauber 48c065e46d chan_sip: Support parsing of Q.850 reason header in SIP BYE and CANCEL requests.
10 years ago
Richard Mudgett 145d10a5d0 Audit improper usage of scheduler exposed by 5c713fdf18. (v13 additions)
10 years ago
Richard Mudgett fa20729032 Audit improper usage of scheduler exposed by 5c713fdf18.
10 years ago
Steve Davies d982b99e71 Further fixes to improper usage of scheduler
10 years ago
Alexander Traud cf79b62778 ast_format_cap_get_names: To display all formats, the buffer was increased.
10 years ago
Corey Farrell 40574a2ea3 chan_sip: Allow websockets to be disabled.
10 years ago
Alexander Traud d343a25173 chan_sip: Do not send all codecs on INVITE.
10 years ago
Alexander Traud f3b2b3d1b3 chan_sip: Fix autoframing=yes.
10 years ago
Matt Jordan 13229037d1 channels/chan_sip: Set cause code to 44 on RTP timeout
10 years ago
Matt Jordan 8cb614fe20 Fix improper usage of scheduler exposed by 5c713fdf18
10 years ago
Walter Doekes e4df271a3e chan_sip: Fix From header truncation for extremely long CALLERID(name).
10 years ago
Matt Jordan b1f9c998ed Merge "chan_sip.c: Validation on module reload"
10 years ago
Rodrigo Ramírez Norambuena 34aa96bef4 chan_sip.c: Validation on module reload
10 years ago
Joshua Colp d03d09aad3 chan_sip: Allow call pickup to set the hangup cause.
10 years ago
Richard Mudgett 857923d9c7 chan_sip.c: Set preferred rx payload type mapping on incoming offers.
10 years ago
Kevin Harwell 43bdddfc26 chan_sip.c: wrong peer searched in sip_report_security_event
10 years ago
Alexander Traud 991d4da1eb chan_sip: Fix negotiation of iLBC 30.
10 years ago
Mark Michelson 35a98161df res_http_websocket: Avoid passing strlen() to ast_websocket_write().
10 years ago
Richard Mudgett d122c1e50b chan_sip.c: Tweak glue->update_peer() parameter nil value.
10 years ago
Walter Doekes 34323f9f95 chan_sip: Fix early call pickup channel leak.
10 years ago
Alexander Traud 1ad9a6b6b6 chan_sip: Reload peer without its old capabilities.
10 years ago
Joshua Colp 5caefc98a1 chan_sip: Destroy peers without holding peers container lock.
10 years ago
Damian Ivereigh 19f60d9412 chan_sip.c: Update dialog fromtag after request with auth
10 years ago
Corey Farrell 80621ce3c5 Fix unsafe uses of ast_context pointers.
11 years ago
Corey Farrell 50044fdc15 Stasis: Fix unsafe use of stasis_unsubscribe in modules.
11 years ago
Rodrigo Ramírez Norambuena eec010829a AST_MODULE_INFO: Format corrections to the usages of AST_MODULE_INFO macro.
11 years ago
Joshua Colp f45833c9ad Merge "Restrict functionality when ACLs are misconfigured."
11 years ago
Corey Farrell c3ec5da156 Remove unneeded uses of optional_api providers.
11 years ago
Mark Michelson 11ffcf662f Restrict functionality when ACLs are misconfigured.
11 years ago
Corey Farrell 5c1d07baf0 Astobj2: Allow reference debugging to be enabled/disabled by config.
11 years ago
Matt Jordan 4a58261694 git migration: Refactor the ASTERISK_FILE_VERSION macro
11 years ago
Kevin Harwell 66f3fd0028 chan_sip: make progressinband default to no
11 years ago
Matthew Jordan 477536ef25 chan_sip: Handle IPv4 mapped IPv6 clients when NAT is enabled
11 years ago
Matthew Jordan c1cfe3fae2 clang compiler warnings: Fix non-literal-null-conversion warnings
11 years ago
George Joseph e48f2e7897 build: Fixes for gcc 5 compilation
11 years ago
Matthew Jordan ce59fabd5c clang compiler warnings: Fix invalid enum conversion
11 years ago
Corey Farrell d486659502 chan_sip: Simplify dialog/peer references, improve REF_DEBUG output.
11 years ago
Corey Farrell 2c83ac4364 chan_sip: Fix dialog reference leaked to scheduler for reinvite_timeout.
11 years ago
Corey Farrell c08fd275bf Logger: Convert 'struct ast_callid' to unsigned int.
11 years ago
Richard Mudgett f1ab2c5e8b chan_sip: Fix realtime locking inversion when poking a just built peer.
11 years ago
Matthew Jordan 3725173b9e channels/chan_sip: Don't send a BYE after final response when PBX thread fails
11 years ago
Matthew Jordan 4b63da7f7d channels/chan_sip: Clarify WARNING message in mismatched SRTP scenario
11 years ago
Matthew Jordan 8574c4d197 channels/chan_sip: Fix crash when transmitting packet after thread shutdown
11 years ago
Richard Mudgett e2d3215b83 HTTP: Stop accepting requests on final system shutdown.
11 years ago
Matthew Jordan 5a17ed7a38 channels/chan_sip: Fix RealTime error during SIP unregistration with MariaDB
11 years ago
Mark Michelson fe76d4829f Use SIPS URIs in Contact headers when appropriate.
11 years ago
Kevin Harwell 3b0f03ef7b chan_sip: stale nonce causes failure
11 years ago
Walter Doekes 49cbfa7de6 Fix typo's (retrieve, specified, address).
11 years ago
Walter Doekes 874cb5615d chan_sip: Case insensitive comparison of "defaultuser" parameter.
11 years ago
Matthew Jordan 5835bf7a7f channels/chan_sip: Fix registration leak during reload
11 years ago
Richard Mudgett c7ea108e02 Revert -r430452 It needs to be redone for the next major AMI version change instead.
11 years ago
Richard Mudgett ef34a05f21 AMI: Remove no longer used parameter from astman_send_listack().
11 years ago
Richard Mudgett 52a7cdb101 AMI: Make AMI actions that generate event lists consistent.
11 years ago
Matthew Jordan 264a50c52a chan_sip: Send CANCEL via original INVITE destination even after UPDATE request
11 years ago
Walter Doekes 8b6ecc449c Fix printf problems with high ascii characters after r413586 (1.8).
11 years ago
Joshua Colp 58095d2486 chan_sip: Allow T.38 switch-over when SRTP is in use.
11 years ago
Joshua Colp 03c94ef761 res_http_websocket: Fix crash due to double freeing memory when receiving a payload length of zero.
11 years ago
Kevin Harwell c17cef1c38 Direct Media calls within private network sometimes get one way audio
11 years ago
Matthew Jordan 1106e8fd0f main/stasis: Allow subscriptions to use a threadpool for message delivery
11 years ago
Richard Mudgett a7c9f4c668 ast_str: Fix improper member access to struct ast_str members.
11 years ago
Corey Farrell 4cea5fd4ba chan_sip: Fix theoretical leak of p->refer.
11 years ago
Joshua Colp bc02cbabd9 chan_sip: Fix bug where DTLS configuration from general would copy dtlsenable.
11 years ago
Joshua Colp d0523b4b3c chan_sip: Add support for setting DTLS configuration in the general section.
11 years ago
Matthew Jordan 0ddc3bde24 channels/chan_sip: Add improved support for 4xx error codes
11 years ago
Matthew Jordan ff83ff564c channels/chan_sip: Support mutltiple Supported and Required headers
11 years ago
Matthew Jordan 86eea19c8f channels/chan_sip: Respect outboundproxy setting when sending qualify requests
11 years ago
Walter Doekes 9e72c74db5 chan_sip: Fix so asterisk won't send reINVITE after a BYE.
11 years ago
Walter Doekes d3f525fd8f chan_sip: Fix dialog leak resulting from missing ACK to re-INVITE.
11 years ago
Richard Mudgett 0165c5f95a chan_pjsip: Fix deadlock when masquerading PJSIP channels.
11 years ago
Walter Doekes c3a7524457 chan_sip: Simplify some unref code by removing unlink_peer_from_tables.
11 years ago
Walter Doekes 841d978a30 chan_sip: Remove excess ref of realtime peer before sip_poke_peer.
11 years ago
Walter Doekes 39fada4dc9 chan_sip: Unref outbound proxy structure on dialog/pvt destruction.
11 years ago
Walter Doekes 593455621b chan_sip: On INVITE retransmission, don't add an extra 503 response.
11 years ago
Scott Griepentrog 2df2d785b7 The assertion that peer was not found on final event
11 years ago
Paul Belanger ef28cc0d43 chan_sip.c: Add 'rtpbindaddr' setting
11 years ago
Kinsey Moore bf85018107 CallerID: Fix parsing of malformed callerid
11 years ago
Joshua Colp cee660dadf chan_sip: Use the server reflexive ICE candidate RTCP port as provided.
11 years ago
Matthew Jordan 77ddc5b713 chan_sip: Don't use port derived from fromdomain if it isn't set
11 years ago
Richard Mudgett 969982b878 chan_sip: Fix type mismatch when the format is changed.
11 years ago
Matthew Jordan 91f7b66183 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.
12 years ago
Richard Mudgett 4ca5745dbe AST-2014-007: Fix DOS by consuming the number of allowed HTTP connections.
12 years ago
Jonathan Rose 5ca495ed2f chan_sip: Fix order of variables specified in SIPNotify action
12 years ago
Walter Doekes d14983dbce chan_sip: Start session timer at 200, not at INVITE.
12 years ago
Jonathan Rose d00882108f res_pjsip_refer: Fix bugs involving Parking/PJSIP/transfers
12 years ago
Jonathan Rose e81b873fa2 chan_sip: Add TLS and SRTP status to CLI command 'sip show channel'
12 years ago
Kinsey Moore abd3e4040b Allow Asterisk to compile under GCC 4.10
12 years ago
Richard Mudgett 119599407b res_pjsip_refer: Add Referred-By header on INVITE for blind transfers.
12 years ago
Richard Mudgett 20750e261b chan_sip.c: Fixed off-nominal message iterator ref count and alloc fail issues.
12 years ago
Jonathan Rose ae21162a69 chan_sip: Add sendrpid trust options
12 years ago
Matthew Jordan 7d26eefce4 chan_sip: Add SIPURIPHONECONTEXT channel variable for Request TEL URIs
12 years ago
Richard Mudgett d28af99e65 chan_sip.c: Fix channel staging assertion failure.
12 years ago
Richard Mudgett c6a2a513c2 chan_sip.c: Moved some sip_pvt unrefs after their last use.
12 years ago
Jonathan Rose cc4a0a7fc9 Reverting r411189 so that it can be put up for public review
12 years ago
Matthew Jordan eed03fc01a chan_sip: Support RFC-3966 TEL URIs in inbound INVITE requests
12 years ago
Matthew Jordan 4f30c7e91f main/astobj2: Make REF_DEBUG a menuselect item; improve REF_DEBUG output
12 years ago
Richard Mudgett 03beadb6e9 internal_timing: Remove the option and always make it enabled if a timing module is loaded.
12 years ago
Corey Farrell fbe0dfaf44 Fix dialplan function NULL channel safety issues
12 years ago
Jonathan Rose fa3a2f8eca chan_sip: Send real CallerID information with P-Assserted-Identity (RFC-3325)
12 years ago
Kinsey Moore a4890eddfb chan_sip: Fix incorrect use of timers
12 years ago
Joshua Colp 6d81951f0d chan_sip: Always use fromdomain if set for domain, even if callerid is set to restricted.
12 years ago
Kinsey Moore c300f7e5a8 AST-2014-002: chan_sip: Exit early on bad session timers request
12 years ago
Corey Farrell 0291965f79 chan_sip: Fix deadlock of monlock between unload_module and do_monitor
12 years ago
Scott Griepentrog 80ef9a21b9 uniqueid: channel linkedid, ami, ari object creation with id's
12 years ago
Matthew Jordan d3ac8b8a0e chan_sip: Allow static realtime members to be qualified during module load.
12 years ago
Sean Bright f5b2f1333f Minor whitespace change to 'sip show peers' output.
12 years ago
Richard Mudgett d820685e83 chan_sip: Add precautionary p->owner checks.
12 years ago
Richard Mudgett 954a3cf26f chan_sip: Fix crash in ast_channel_hangupcause_set().
12 years ago
Corey Farrell 3cfa1c8826 chan_sip: prevent add_route from adding empty header.
12 years ago
Matthew Jordan f001981862 chnan_sip: Set SIP_DEFER_BYE_ON_TRANSFER prior to calling bridge blind transfer
12 years ago
Corey Farrell cb4e210773 chan_sip: Isolate code that manages struct sip_route.
12 years ago
Kinsey Moore 0fbffdb3b2 chan_sip: Decline image streams on unsupported transports
12 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