Commit Graph

6326 Commits (f59fe83c56f6539c09eb068a94d2db60bfb18f17)

Author SHA1 Message Date
David Vossel 7476991786 caller id number empty
16 years ago
Olle Johansson 730715337e Moving another function declared in the middle of forward declarations.
16 years ago
Olle Johansson dce193357f Move "deprecated_username" to a flag like the others - unsigned int blah:1
16 years ago
Olle Johansson 8e37e119f8 - Doxygen additions
16 years ago
Olle Johansson c55469da80 Clean up the "offered_media" code
16 years ago
Olle Johansson 42a4b05811 Make sure we reset global_exclude_static at channel reload
16 years ago
Olle Johansson b890815521 Move capability into sip_cfg. While at it, make sure we reset it at channel reload.
16 years ago
Olle Johansson 3b8cec9d32 Move global_regcontext into the sip_cfg structure
16 years ago
Olle Johansson 320b514b18 Move contact_ha to sip_cfg structure
16 years ago
Olle Johansson c20324021d Doxygen updates
16 years ago
Olle Johansson 11574bcfcf Since it's possible to have more than 999 calls, I'm changing the call counter roof to something higher.
16 years ago
Olle Johansson 246e0852a7 add doxygen and remove duplicate declaration of variable
16 years ago
Olle Johansson 2e1d7378be After many years, remove VOCAL_DATA_HACK definition
16 years ago
Olle Johansson 9c63a09344 Remove unneeded header files (tested on Linux and OS/X)
16 years ago
Olle Johansson 5afc513ae3 Don't send MESSAGE with sendtext() if recepient doesn't allow MESSAGE requests
16 years ago
Olle Johansson 008b7a4ab8 Add some doxygen
16 years ago
Olle Johansson e242e1b2ad Fix typo
16 years ago
Olle Johansson e1c711b7de If there is no session timer in the INVITE, set it to default value (not unset minimum = -1)
16 years ago
Olle Johansson 109cab6862 Simplify the code in this function
16 years ago
David Vossel 4596fdb788 sip peer matching by address only with TCP/TLS
16 years ago
Olle Johansson 98f18d56b8 Merged revisions 216430 via svnmerge from
16 years ago
Russell Bryant ca23afaf2d Do not treat every SIP peer as if they were configured with insecure=port.
16 years ago
Richard Mudgett c2930434f6 Lets try not to use C++ keywords for variable names.
16 years ago
Doug Bailey 8430c87faa Added detection DTMF CID without polarity change alert.
16 years ago
David Vossel d09f9fd00a Merge code associated with AST-2009-006
16 years ago
Olle Johansson 6d6ce303cb Add known internal IP address when autodomain=yes
16 years ago
Tilghman Lesher a6ba2b64b1 Default the callback extension to "s". This is a regression.
16 years ago
Terry Wilson f9816a6265 Merged revisions 215682 via svnmerge from
16 years ago
Richard Mudgett 595ab444af Made chan_dahdi able to ignore incoming calls that are not in a MSN list for ISDN PTMP CPE spans.
16 years ago
David Vossel a83cf36204 port string to int conversion using sscanf
16 years ago
Michiel van Baak 0a67bc6610 add Parkinglot info to sip show peer <foo> and skinny show line <foo>
16 years ago
Doug Bailey eff8dd9a2f Fix issue where DTMF CID detect was placing channels into signed linear mode
16 years ago
David Vossel 5537a4babe SIP uri parsing cleanup
16 years ago
Michiel van Baak d7f27e6705 like in chan_sip's sip_new skinny should copy the configured parkinglot from a line to the newly created channel.
16 years ago
David Vossel b5dc4efb58 SIP support for keep-alive event
16 years ago
Michiel van Baak 7e7081439a Honor configured parkinglot when parking and retrieving parked calls
16 years ago
Tilghman Lesher 2cfddf8cb6 Add MASTER_CHANNEL() dialplan function, as well as a useful usage.
16 years ago
Tilghman Lesher 4af7d0c949 Fix register such that lines with a transport string, but without an authuser, parse correctly.
16 years ago
Olle Johansson 8c56b871de Removing whitespace that causes red dots in reviewboard
16 years ago
Tilghman Lesher afe7034e19 Merged revisions 214940 via svnmerge from
16 years ago
Richard Mudgett f199054c88 Move discardremoteholdretrieval test so it applies only to the specific notification indicator values.
16 years ago
Tilghman Lesher 552b1aa17d Typo fix ("SIP/2.0 XXX" is 11 chars, not 10)
16 years ago
Moises Silva 3b1682bfe5 improve handling of openr2_chan_disconnect_call API failure, unlikely, but happened on openr2 library bug
16 years ago
Richard Mudgett 4ae5535d8f Update configure script for libpri COLP feature dependency requirements.
16 years ago
Tilghman Lesher c28fb2bf19 Clarifying comments in sip_register, and removing a dead section
16 years ago
David Vossel 06ff8023f5 Register request line contains wrong address when user domain and register host differ
16 years ago
David Vossel 1f81e544c0 fixes sip register parsing when user@domain is used
16 years ago
Moises Silva 1c14bd4bfd increment the mfcr2 monitor count when clearing the call request
16 years ago
Moises Silva 8a2302e118 fixed bug caused by calling ast_request without calling ast_call on an R2 channel, ie, CHANISAVAIL
16 years ago
Tilghman Lesher 3028e257bb Better parsing for the "register" line
16 years ago
Tilghman Lesher 68b255eedc If we have realtime caching enabled, 'sip reload' must purge users/peers, even if the config files haven't changed.
16 years ago
Richard Mudgett 39c9838d77 Add COLP support to chan_dahdi/sig_pri.
16 years ago
Richard Mudgett 66f146e8cf Merged revisions 212727 via svnmerge from
16 years ago
Sean Bright 4c47fce62e Correct spelling of AGENTACCEPTDTMF in chan_agent.
16 years ago
Jeff Peeler 36b38525a1 Merged revisions 212498 via svnmerge from
16 years ago
Richard Mudgett 0d2ef8ac5c Merged revisions 212430 via svnmerge from
16 years ago
Jeff Peeler e60773a298 Add braces where missing and a few whitespace fixes in sig_analog
16 years ago
Jeff Peeler 132204459c More code that somehow got left out of sig_analog
16 years ago
Richard Mudgett a305b52fc8 Send a generic return result when we receive a CallDeflection facility message in chan_misdn.
16 years ago
Kevin P. Fleming c3bc5cf567 Ensure that T38FaxVersion is put into outgoing SDP in the proper case.
16 years ago
Joshua Colp 47220d3506 Check an actual populated variable when seeing if we need to do video or not.
16 years ago
Matthew Nicholson 5583a4e955 This patch adds support for choosing a realm based on the domain in the From or To header in the incoming request. Eligible domains are taken from the domains list in the config file. This functionality is enabled when domainsasrealm is enabled in the config file.
16 years ago
Jeff Peeler b65c0edd52 Fix chan_dahdi option ringtimeout
16 years ago
Matthew Nicholson 56110dd4f1 Make asterisk handle 423 Interval Too Short messages better.
16 years ago
Russell Bryant 0ff53eddef Always specify which RTP engine is desired for a new RTP instance.
16 years ago
Richard Mudgett 148d49e362 Encapsulate testing for which signaling styles are used by sig_pri.
16 years ago
Tilghman Lesher 642bec4d6f AST-2009-005
16 years ago
Michiel van Baak 41894bea92 add manager events when a skinny device registers/unregisters
16 years ago
Jeff Peeler 93b6a46fde Fix PRI/BRI channels when in alarm condition to only be marked for hangup if
16 years ago
Richard Mudgett bc0a3453cd Restoring some code to sig_pri. Not sure if it is really needed.
16 years ago
Joshua Colp 6391976270 Fix retrieval of the port used for the video stream when adding SDP to a SIP message.
16 years ago
Richard Mudgett 4f80468245 Fixed some unsafe down cast pointer operations for sig_pri.
16 years ago
Richard Mudgett ed5940b306 Fix static on line when PRI does overlap dialing.
16 years ago
Richard Mudgett d669ba24d7 Miscellaneous minor fixes to sig_analog.
16 years ago
Richard Mudgett d7fa19a999 Sanity adjustments to pri_ss_thread for sig_pri environment.
16 years ago
Joshua Colp 3bf326b898 Accept additional T.38 reinvites after an initial one has been handled.
16 years ago
Richard Mudgett 0eab85b39e Fix potential deadlock issue with USERUSERINFO channel variable.
16 years ago
Richard Mudgett 53ea9a0576 More changes from chan_dahdi that did not make it into sig_pri.
16 years ago
Richard Mudgett 59c62be7f5 Merged revisions 210575 via svnmerge from
16 years ago
Richard Mudgett ff91b378e0 Fix CALLERID() values for sig_pri on incoming calls.
16 years ago
Richard Mudgett e5b19910ed Removed some dead code.
16 years ago
Kevin P. Fleming e9d22f802e Rename 'canreinvite' option to 'directmedia', with backwards compatibility.
16 years ago
Richard Mudgett 070de85e56 Changes from chan_dahdi that did not make it into sig_pri.
16 years ago
Richard Mudgett 95d037edad Trim trailing whitespace.
16 years ago
Kevin P. Fleming ed2a3cedd1 Merged revisions 209759 via svnmerge from
16 years ago
Mark Michelson 2df5b70b16 Improve chan_sip's ability to determine what methods should and should not be used in a dialog.
16 years ago
Jeff Peeler bab2f57316 Add missing ifdef-s for service maintenance message functionality
16 years ago
David Brooks 48363c16e1 Fixes numerous spelling errors. Patch submitted by alecdavis.
16 years ago
Mark Michelson 192e2be596 Fix a crash that can result if text codecs are allowed but textsupport is disabled.
16 years ago
Kevin P. Fleming ba020fc390 Define side-effect-safe MIN and MAX macros and remove duplicate definitions from various files.
16 years ago
David Brooks d81d6d3415 Fixing typos. Replaces "recieved" with "received" and "initilize" with "initialize"
16 years ago
Jeff Peeler 0f31e6c26c Merged revisions 208923 via svnmerge from
16 years ago
Jeff Peeler b7cfe90404 Merged revisions 208746 via svnmerge from
16 years ago
Mark Michelson 554c5e62d0 Merged revisions 208587 via svnmerge from
16 years ago
Kevin P. Fleming 17e2d9fdbc Resolve a T.38 negotiation issue left over from the udptl-updates merge.
16 years ago
Kevin P. Fleming 0a6e06c7ff Rework of T.38 negotiation and UDPTL API to address interoperability problems
16 years ago
Mark Michelson 88f1d14766 Merged revisions 208386 via svnmerge from
16 years ago
Jeff Peeler dcd6227f6c Merged revisions 208380 via svnmerge from
16 years ago
Mark Michelson bacf6ab51e Merged revisions 208312 via svnmerge from
16 years ago
Jeff Peeler 980db1601a Fix sending of interface identifier unconditionally in sig_pri
16 years ago
Mark Michelson 98b4bdc1b9 Merged revisions 208262 via svnmerge from
16 years ago
Mark Michelson 3843480b8f Fix potential crash if p->owner is NULL.
16 years ago
Jeff Peeler 58699809a5 Reset the fax buffers back to default settings regardless of signaling in use -
16 years ago
Jeff Peeler 16328efb78 Do not dial digits when none were specified for sig_pri based calls
16 years ago
Jeff Peeler 56c59985de whitespace fix only
16 years ago
Jeff Peeler 7466e00663 Fix my_is_off_hook to check rxbits only for FXS signaling
16 years ago
Jeff Peeler 6ac23c3eca Merged revisions 207827 via svnmerge from
16 years ago
Kevin P. Fleming 96e4e31eeb Merged revisions 207647 via svnmerge from
16 years ago
David Vossel 3f8059f87d reg->username is parsed only once on sip reload
16 years ago
Mark Michelson bec894cbe5 Merged revisions 207423 via svnmerge from
16 years ago
Richard Mudgett bcff592839 Merged 207316 from
16 years ago
David Vossel 090066be3b fixes an error in r203638 CEL commit
16 years ago
Jeff Peeler 74de8256bd Merged revisions 207155 via svnmerge from
16 years ago
David Vossel 65388d4e21 sip option flags handled incorrectly
16 years ago
Jeff Peeler 8270339965 Fix segfault in sig_analog when using callwaiting, respect callwaiting options
16 years ago
David Vossel 0ce3fa1c22 Merged revisions 206938 via svnmerge from
16 years ago
David Vossel f91bc197cd Session timer were not activated if Supported header field in INVITE had both "timer" and other options.
16 years ago
Jeff Peeler 646cd02c09 The dialing flag was mistakingly removed from sig_pri.
16 years ago
Richard Mudgett e9e753d6f3 Merged revisions 206706 via svnmerge from
16 years ago
David Vossel 3402f34e9b callerid(num) is wrong when username is missing
16 years ago
Jeff Peeler b9e898017e Restore some missing functionality to sig_analog.
16 years ago
Richard Mudgett 58b440bc29 Merged revisions 206487 via svnmerge from
16 years ago
Russell Bryant e55d1b11b9 Merged revisions 206385 via svnmerge from
16 years ago
Richard Mudgett c90a8c0921 Merged revisions 206284 via svnmerge from
16 years ago
David Vossel 6891ccad28 dns lookup of peername rather than peer's host in transmit_register()
16 years ago
David Vossel c01286976a SIP register not using peer's outbound proxy
16 years ago
Mark Michelson 5aab96f0b7 Merged revisions 205877 via svnmerge from
16 years ago
David Vossel fe493cf85e Merged revisions 205804 via svnmerge from
16 years ago
Mark Michelson aafa57cf4b Merged revisions 205775 via svnmerge from
16 years ago
Kevin P. Fleming 67d1957e60 Repair ability of SendFAX/ReceiveFAX to respond to T.38 switchover.
16 years ago
David Vossel ba2a8457b8 Merged revisions 205471 via svnmerge from
16 years ago
Tilghman Lesher e76a0e92d2 Permit setting custom headers from the peer definition.
16 years ago
Matthew Nicholson cf8395002d Fix a deadlock in sig_analog
16 years ago
Matthew Nicholson 5e2a5d16b6 Add CEL transfer events to analog (chan_dahdi) transfers.
16 years ago
Sean Bright ee0cd5a32c Add a configure check for Reverse Charging Indication support in LibPRI.
16 years ago
Richard Mudgett a894c33cb3 Merged revisions 204834 via svnmerge from
16 years ago
Sean Bright 719917fe59 Support setting and receiving Reverse Charging Indication over ISDN PRI.
16 years ago
Mark Michelson 320c8d27b9 Move the masquerade in local_attended_transfer to a point where we hold the channel lock.
16 years ago
Mark Michelson ab2b9bd16d Remove some bogus deadlock avoidance code from local_attended_transfer.
16 years ago
Mark Michelson a4dc276ed9 Merged revisions 204300 via svnmerge from
16 years ago
Mark Michelson 200f1dc19e Merged revisions 204243,204246 via svnmerge from
16 years ago
Richard Mudgett f45133674d Merged revisions 203908 via svnmerge from
16 years ago
Jeff Peeler 5606db2224 Merged revisions 203848 via svnmerge from
16 years ago
Russell Bryant 92f0cdfce7 Ensure the TCP read buffer is fully initialized before handling each packet.
16 years ago
Joshua Colp 48f7381af0 Fix the 'nat' option to actually do RFC3581 as expected and extend the configurable values for finer control.
16 years ago
David Vossel 519f1dd7d6 moving debug message from level 0 to 1.
16 years ago
Joshua Colp 59c1998d67 Improve T.38 negotiation by exchanging session parameters between application and channel.
16 years ago
Jeff Peeler 5ebf0f3c50 Check if polarityonanswerdelay has elapsed before setting a channel as answered
16 years ago
Russell Bryant 0264eef115 Merge the new Channel Event Logging (CEL) subsystem.
16 years ago
Jeff Peeler 6fad61406c make sure chan_dahdi compiles with only libss7 and not libpri installed
16 years ago
Richard Mudgett 3930f83be6 Picking nits
16 years ago
Jeff Peeler bbfe6967ab Remove some unnecessary code and update sample config file with respect to GR-303.
16 years ago
Jeff Peeler 5c7da226e4 New signaling module to handle PRI/BRI operations in chan_dahdi
16 years ago
Jason Parker afa8db54a0 Unmute when we get a dtmfup (we muted on dtmfdown) event.
16 years ago
Joshua Colp ae87ba45b5 Add support for multicast RTP paging.
16 years ago
Doug Bailey ce70b28f38 Insure ring cadence is set for fxs ports
16 years ago
Russell Bryant c6a986222e Merged revisions 203115 via svnmerge from
16 years ago
Richard Mudgett 80822297d4 Merged revisions 203036 via svnmerge from
16 years ago
Mark Michelson 0a915a84e6 Merged revisions 202966 via svnmerge from
16 years ago
Joshua Colp 4c07c7a6b2 Ensure the default settings are applied for T.38 when we set it up for a peer.
16 years ago
Matthew Fredrickson 2a68d05b96 I could have sworn I committed this patch ages ago, but... bug fix with setting NAI properly on linksets in certain situations.
16 years ago
Richard Mudgett 2ce62b35cf Make outgoing_colp=2 misdn.conf port parameter not send redirecting or transfer messages.
16 years ago
David Vossel 5f73ab9f4e Merged revisions 202671 via svnmerge from
16 years ago
Russell Bryant e2bfdbac0a Merged revisions 202414 via svnmerge from
16 years ago
Mark Michelson f142cbe10c Merged revisions 202341-202342 via svnmerge from
16 years ago
Mark Michelson e68e6f9d75 Merged revisions 202336 via svnmerge from
16 years ago
Matthew Nicholson 55c6789f74 Use sched_yield() instead of usleep(1)
16 years ago
David Vossel 05da5f14d9 Merged revisions 201993 via svnmerge from
16 years ago
Joshua Colp e85296e244 Add support for allowing an RTP engine to decide on whether it is possible for specific formats to be transcoded for an RTP instance.
16 years ago
Matthew Nicholson 21ad428d0d Added deadlock protection to try_suggested_sip_codec in chan_sip.c.
16 years ago
David Vossel dcfe69ec64 fixes some memory leaks and redundant conditions
16 years ago
Mark Michelson dce6a54a4a Trunk implementation of setting an alternate RTP source.
16 years ago
David Vossel a11ac5ae2f parsing extension correctly from sip register lines
16 years ago
David Vossel 68ba81dfe6 Add rtsavesysname to chan_iax
16 years ago
Mark Michelson 99b98d8f9a Fix problem with no audio due to ignoring the SDP.
16 years ago
David Brooks ecfbab0782 Merged revisions 201380 via svnmerge from
16 years ago
David Vossel 9bf67151c9 SIP registry ref count error
16 years ago
David Vossel 940accbd99 update chan_iax to use 64bit feature flags.
16 years ago
David Vossel 9a66b1dcdf fix issue with build_contact introduced by the "SIP trasnport type issues" commit
16 years ago
Kevin P. Fleming f1dc620467 Enable applications to enable/disable digit and tone detection.
16 years ago
David Vossel ee8cdd555f SIP transport type issues
16 years ago
Moises Silva 2c8cd1db92 keep backwards compatible chan_dahdi with older openr2 versions by not using the new skip category feature unless supported
16 years ago
Kevin P. Fleming 85e57521ab Accept T.38 re-INVITE responses with invalid SDP versions.
16 years ago
Kevin P. Fleming 4379249674 Convert a number of global module variables to 'static'.
16 years ago
Kevin P. Fleming 78ee46f13f Some minor structure size improvements in sip_pvt and sip_peer.
16 years ago
Mark Michelson d224f78dd5 Merged revisions 200513 via svnmerge from
16 years ago
Moises Silva b52abf3d21 added openr2 to menuselect-deps.in, recent commit in menuselect made me realize this was never done but was working anyways
16 years ago
Mark Michelson e1c03cbf1a Fix some bad locking stemming from trying to forward a call to a non-existent
16 years ago
Mark Michelson 616e85c95f Fix a crash due to a potentially NULL p->options.
16 years ago
Mark Michelson 28fe3938b7 Only try to use the invite_branch on outgoing INVITEs with auth credentials.
16 years ago
David Vossel 59d93c1e2d CLI NOTIFY sending wrong transport type.
16 years ago
Mark Michelson 5965e276a7 Fix a deadlock that could occur when setting rtp stats on SIP calls.
16 years ago
Mark Michelson d068c2f5e6 Correct "dahdi show channels" output when specifying a group.
16 years ago
David Vossel e018606c7e Merged revisions 199138 via svnmerge from
16 years ago
David Vossel 61bc1854d5 fixes issue with channels not going down after transfer
16 years ago
Joshua Colp 5fcf193d7b Correct documentation for the register line, specifically where the domain should be specified.
16 years ago
Russell Bryant a13d62aa49 Tell the IAX2 parser about more control frame types.
16 years ago
Mark Michelson 298d745fb4 Add the ability to execute connected line interception macros.
16 years ago
Mark Michelson 0bde0b9ed2 Remove extra lock from local_indicate in connected line case.
16 years ago
Mark Michelson 3166b6dac9 Add missing unlock of local pvt.
16 years ago