Commit Graph

2524 Commits (0242a69b3f6f7bc9fa884d51f89988e3e3ef550d)

Author SHA1 Message Date
Kevin P. Fleming 051ddb97f3 clean update devicestate function, ensure that it can return AST_DEVICE_UNKNOWN when call limits are not turned on (issue #5281)
20 years ago
Mark Spencer da7c542e29 Handle authenticating *to* realtime peers (bug #5269)
20 years ago
Mark Spencer cfabcabae8 Null out call number on release complete when number is unallocated (bug #4633)
20 years ago
Mark Spencer a21c9058e0 Fix cut/paste error (bug #5282)
20 years ago
Mark Spencer 8087701923 iax2 parser cleanups
20 years ago
Russell Bryant bcaaea9ce6 add missing newline (issue #5243)
20 years ago
Jeremy McNamara 9ce1402c8b ok wtf, no compiler error here
20 years ago
Jeremy McNamara 59e784c96a I swore this compiled. Honest, officer
20 years ago
Kevin P. Fleming b8f23573fa more license/copyright header updates (thanks Ian!)
20 years ago
Kevin P. Fleming d6ef44afe0 revert an optimization that didn't work (issue #5222)
20 years ago
Jeremy McNamara 3cba705808 Lets try this - an attempt to properly deal with DTMF
20 years ago
Jeremy McNamara 777e97ab26 clean up debug
20 years ago
Jeremy McNamara c1517d081a castrate the logic in oh323_digit to pass DTMF no matter what. (issue #4989)
20 years ago
Kevin P. Fleming 4fb8ce1fd9 allow minimum/maximum registration intervals to be set on server side (issue #51111)
20 years ago
Kevin P. Fleming c4d824cf71 error message generated using backwards logic (issue #5224)
20 years ago
Kevin P. Fleming fadae17355 don't leave a buffer not filled in when getting a REGACK (issue #5226)
20 years ago
Kevin P. Fleming ff41d6ab6c correct 'progressinband' parsing (issue #5209, different fix)
20 years ago
Kevin P. Fleming eb332490ff put items in RFC-specified order (issue #5217)
20 years ago
Kevin P. Fleming 02e5af9cf5 proper header name and attribution (issue #5218)
20 years ago
Kevin P. Fleming e30adc051f various niteroperability fixes (issue #5221)
20 years ago
Kevin P. Fleming 5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
20 years ago
Kevin P. Fleming f2e6ac45ca don't abort Asterisk load if configuration not found (issue #5115)
20 years ago
Kevin P. Fleming ee696945de support all OSP authentication models (issue #5159)
20 years ago
Kevin P. Fleming 77ed1394b6 ensure that exten field is cleared when incoming number is not matched to an extension (issue #5203)
20 years ago
Kevin P. Fleming 16cd2019b1 ensure that Manager hold/unhold events are generated even for non-bridged channels (issue #4594)
20 years ago
Kevin P. Fleming e60671d5bf make RTP handling errors less likely to crash Asterisk (issue #5172)
20 years ago
Kevin P. Fleming 811ec06cfd more documentation (issue #5174)
20 years ago
Kevin P. Fleming 07a06d83a4 handle rport/received in Via headers properly (issue #5037)
20 years ago
Kevin P. Fleming 72437b1dba more BSD portability fixes (issue #5155)
20 years ago
Kevin P. Fleming 67584e21c8 ensure that agent channels don't get seized during login (issue #5020)
20 years ago
Mark Spencer 5600956db8 Handle dialog updates to to tag properly (bug #5166)
20 years ago
Kevin P. Fleming f16f81db05 ensure that the AGENTBYCALLERID_* variable is cleared when an agent logs in to a different device (issue #5213)
20 years ago
Kevin P. Fleming 6f49ab2dfa partial formatting cleanup
20 years ago
Kevin P. Fleming a1bdc4836a output 'our tag' in proper format
20 years ago
Mark Spencer 41bf6b42fd Try a more generally correct solution, for NFAS (bug #5179)
20 years ago
Mark Spencer 04e4a54ae8 Restart PRI when we come out of alarm if we're not already up...
20 years ago
Josh Roberson 8ac8621f40 don't send a 200 ACK before a 404 on invalid subscriptions (Bug #5198)
20 years ago
Mark Spencer 961cd50bba Don't allow callwait to happen during initial ringdown (bug #5188)
20 years ago
Kevin P. Fleming 60ffafcc39 allow users of RTP to know when the peer endpoint is (apparently) behind a NAT
20 years ago
Mark Spencer a2b177fcbb Increase PRI buffers just in case
20 years ago
Matthew Fredrickson f49370c82f Fix 'w' to correctly send sending complete on PRI
20 years ago
Russell Bryant 943e527d0a don't use a signed buffer for data that the protocol specifies as unsigned.
20 years ago
Jim Dixon 4794638c99 Fixed signalling problem with pciradio
20 years ago
Russell Bryant d0ff6c46f8 add missing break (issue #5154)
20 years ago
Russell Bryant 720272254b initialize these variables because they could be used uninitialized in the
20 years ago
Kevin P. Fleming a51556ff3e don't reject REGREL requests (issue #5152)
20 years ago
Kevin P. Fleming 1e854ea773 remove useless buffer initializations (issue #5134)
20 years ago
Kevin P. Fleming 04a954ae16 ensure debug messages are only output if debug is enabled (issue #5142)
20 years ago
Matthew Fredrickson 6f78afbe00 Revert change that removed q931_call structure too soon
20 years ago
Kevin P. Fleming c70e1d1674 handle no-peer-specified-in-dial-string gracefully (issue #5132)
20 years ago
Kevin P. Fleming 836916dab4 add doxygen documentation (issue #5133)
20 years ago
Kevin P. Fleming 1bd1a35a9a factor out INVITE response handling in its own function (issue #5127)
20 years ago
Kevin P. Fleming 7d37750831 remove unneeded variables (issue #5117)
20 years ago
Josh Roberson 8f21e3659b Fix spelling of Accountcode. *wink*
20 years ago
Kevin P. Fleming 5fdc070109 add new channel option (via ast_channel_setoption()) to let channel drivers adjust txgain/rxgain if they are able (only Zap channels at this time)
20 years ago
Mark Spencer 2f67f66577 Allow "auto" dtmf mode to select between RFC2833 and inband based on peer's offer or answer.
20 years ago
Mark Spencer bcd06b8582 Don't recreate stuff on authentication (so it works on reinvites)
20 years ago
Matthew Fredrickson 7348cba9c7 Fixed possible hangup race condition that would lead to segfualt with hangups.
20 years ago
Kevin P. Fleming aa6883aba6 revert unnecessary change
20 years ago
Kevin P. Fleming 3bad83e0f2 ensure that notify message sent out have the correct state (issue #5088 with minor mods)
20 years ago
Kevin P. Fleming 6a260b78fe use unsigned char for data elements and native-signed char for strings (issue #5104)
20 years ago
Mark Spencer 0602837f4e Fix vidupdate for chan_zap to eliminate sillyl warning
20 years ago
Kevin P. Fleming 5f6431a75a factor calling-plan-apply logic into a separate function
20 years ago
Kevin P. Fleming a2be145193 make chan_iax2 rtupdate behave the same as chan_sip
20 years ago
Kevin P. Fleming 6b76015469 allow for custom URI options to be set (issue #4927 with mods)
20 years ago
Kevin P. Fleming d3a76999d0 various devicestate fixes (issue #5081, take two)
20 years ago
Kevin P. Fleming 3a31b6ff2d don't try to reference through pvt if it is NULL (issue #5089)
20 years ago
Kevin P. Fleming 8fc8505607 don't send warnings for unhandled indications, let ast_indicate() deal with them (issue #5097)
20 years ago
Kevin P. Fleming 4f493d1126 don't add a colon to the header name (thanks bkw!)
20 years ago
Matthew Fredrickson c88ab78d47 New, more robust way of doing e&m digit collection. Bug #3805
20 years ago
Matthew Fredrickson 25d9051633 Make sure we enable echo cancellation on incoming overlapdial calls
20 years ago
Kevin P. Fleming e86bb70642 stop adding 'username@' to incoming IAX2 channel names, so that they can be properly matched in the device-state system (issue #5081)
20 years ago
Kevin P. Fleming 050d6c7d34 ensure revents fields are initialized before calling poll()
20 years ago
Kevin P. Fleming 5b819fc101 stop retransmitting INVITE after we have sent CANCEL for the same call
20 years ago
Mark Spencer ac0eaaf1f2 Add support for ring begin event and configurable ringtimeout.
20 years ago
Kevin P. Fleming f3c46f8f20 deprecate chan_modem and its subdrivers
20 years ago
Kevin P. Fleming bef3341975 remove unused define
20 years ago
Kevin P. Fleming 102ff2d56e preserve user-added headers when outbound INVITE must be authenticated (issue #5070)
20 years ago
Kevin P. Fleming 085ad00ee0 don't terminate subscriptions before they should be (issue #5063)
20 years ago
Kevin P. Fleming 5f07eec58a remove unused 'outgoinglimit' code, rename 'incominglimit' to 'call-limit' (old syntax is still supported) (issue #5068)
20 years ago
Kevin P. Fleming 6d19c704b7 make chan_sip and chan_iax2 less chatty when not in debug mode (issue #5067)
20 years ago
Matthew Fredrickson 98047ff61d Add support for override of the default pri exclusive/preferred channel
20 years ago
Kevin P. Fleming 9519f6c5f4 clean up, use make functions instead of subshells, remove unused stuff
20 years ago
Mark Spencer 5d4d2fdfd4 Add SIP video fixes
20 years ago
Kevin P. Fleming 538e160956 fix error I introduced into oej's patch :-(
20 years ago
Kevin P. Fleming 388e8bd9a8 massive upgrade to SUBSCRIBE, device state and messaging support (issue #3644)
20 years ago
Kevin P. Fleming ae1e51c857 use proper next hop in strict routing mode (issue #3609)
20 years ago
Kevin P. Fleming 1824c2f630 encode/decode URIs in 'pedantic' mode (issue #3923)
20 years ago
Kevin P. Fleming 3ac4417753 eliminate warning when !ZAPATA_PRI
20 years ago
Russell Bryant 14fa6770e4 fix build when NEWJB is not defined (issue #5046)
20 years ago
Kevin P. Fleming 99929b21e4 preserve hint watchers and laststate across 'extensions reload' (issue #2522)
20 years ago
Kevin P. Fleming ffe23eb007 add AgentCallbackLogin and AgentLogoff manager actions (issue #4766)
20 years ago
Kevin P. Fleming da627fc643 use case-insensitive comparisons for headears (issue #5023)
20 years ago
Kevin P. Fleming 529fcab374 add T1 timer support for NOTIFY dialogs (issue #5017)
20 years ago
Kevin P. Fleming 1cb8d00523 ensure Asterisk won't segfault during re-registration (issue #5011)
20 years ago
Kevin P. Fleming bf6bc6d4fd clean up rtcaching config options (issue #4075)
20 years ago
Kevin P. Fleming 60718ec80b handle INVITEs that are asking for authentication that we cannot supply more intelligently (issue #4995)
20 years ago
Kevin P. Fleming 20e887d708 make some messages show up only under debugging and other minor cleanups (issue #5018)
20 years ago
Kevin P. Fleming fa4b3f8416 fix 'sip debug' vs. reload properly
20 years ago
Kevin P. Fleming 87f2acf15d don't reset sipdebug to zero during reload (issue #5000)
20 years ago
Kevin P. Fleming 81c127758b ensure buffer is adequately sized for frames with lots of elements (issue #4974)
20 years ago
Kevin P. Fleming d86ce557ef allow more adjustability in peer qualification system (issue #4192 with mods)
20 years ago
Kevin P. Fleming 9a6618e8d8 show global vmexten in 'sip show settings' (issue #5005)
20 years ago
Kevin P. Fleming 0a3502b592 handle on-/off-hold properly with RTP reinvited streams (issue #3974)
20 years ago
Kevin P. Fleming a5b640cb40 add 'sip show settings' CLI command (issue #4806)
20 years ago
Kevin P. Fleming 0bf1d48e40 support configurable Message-Account value in NOTIFY messages (issue #4801)
20 years ago
Kevin P. Fleming 3480297607 add preliminary support for SIP timers (issue #4359)
20 years ago
Kevin P. Fleming 09bd4cfb95 add SIPCHANINFO function to retrieve information about the current connected SIP endpoint (issue #4698)
20 years ago
Kevin P. Fleming 97b45d5d6d handle BYE instead of CANCEL from callers (issue #4994)
20 years ago
Mark Spencer f76171a643 Fix IAX2 Provisioning
20 years ago
Mark Spencer 47334c3193 Fix language in d-channel (bug #4979)
20 years ago
Kevin P. Fleming 8a2b540f0a protect PRI-specific code with ifdefs
21 years ago
Matthew Fredrickson d39d277ada Don't catch digits from zaptel during overlap dialing
21 years ago
Mark Spencer 3b12e18473 Fix PRI against masquerade
21 years ago
Ben Kramer 5cd67220f4 / fixed bug introduced during bridge code cleanups
21 years ago
Mark Spencer f2c72aca7b Fix potential deadlock in asterisk
21 years ago
Russell Bryant f3c9715947 fix a little oopsie
21 years ago
Mark Spencer 97e1ede292 Centralize and fix tos for IAX (bug #4850 inspired)
21 years ago
Mark Spencer 95cf08ee92 Allow ToS to be set in hex (bug #4923)
21 years ago
Kevin P. Fleming ce7a1e4768 bridging code cleanups:
21 years ago
Mark Spencer 6dde38ed52 Be consistent with User/Username (bug #4916)
21 years ago
Mark Spencer 13a0bec612 Merge steve's busy detect stuff (bug #4830)
21 years ago
Mark Spencer f4a1a05205 Revert improperly applied patch from bug #4771
21 years ago
Russell Bryant 149168f4a5 remove some sillyness
21 years ago
Mark Spencer 51c390db61 Fix timestamp + trunking (bug #4891)
21 years ago
Russell Bryant 7564500552 formatting fixes
21 years ago
Mark Spencer f08acd7b45 Fix newline issue (bug #4632)
21 years ago
Russell Bryant 52594b6b12 fix a bunch of gcc4 warnings realted to pointer signedness
21 years ago
Russell Bryant d0cec3dd99 fix seg fault
21 years ago
Russell Bryant c65f1a04ab there is no reason to check the channeltype of the channel calling SIPAddHeader
21 years ago
Russell Bryant c3c496512f 'outgress' should be 'egress'
21 years ago
Mark Spencer d8a7545a82 Fix documentation of overridecontext (bug #4379)
21 years ago
Mark Spencer 73e21b0ccc Add extra aliases from RFC4028 and RFC3841 (bug #4889)
21 years ago
Mark Spencer 6e825f933d Revert a portion of oej's patch...
21 years ago
Mark Spencer c57bfc55cf Don't ignore ACk packets (bug #4861)
21 years ago
Mark Spencer 033d64ba42 Move to rizzo's new chan_oss, but leave the old one just in case... (bug #4379 with changes)
21 years ago
Mark Spencer 3a362c7839 Reduce number of calls to get method (bug #4863)
21 years ago
Mark Spencer 50087d3467 Fix qop syntax (bug #4822)
21 years ago
Jeremy McNamara 65f426169d Fix newsignal/newcontrol compile issue. Bug #4867
21 years ago
Russell Bryant 6f312133ac make sure that iaxs gets initialized (bug #4856)
21 years ago
Russell Bryant a5f0c99bb3 fix netbsd compilation issue
21 years ago
Mark Spencer 9f136f57fe Don't delete RTP if there is a channel, even if we get REGISTER/SUBSCRIBE (bug #4534)
21 years ago
Jeremy McNamara adae4181f0 Stomp on deadlock. Bug #4555
21 years ago
Jeremy McNamara 2fc8abd8ae one-way-audio problem on multihomed host with bind to secondary address. Bug #4505
21 years ago
Kevin P. Fleming 11891d28da and now we know why #define-ing constants and trying to keep them in sequence is a bad idea...
21 years ago
Kevin P. Fleming 9080884688 fix breakage that was causing PUBLISH to be sent instead of CANCEL
21 years ago
Kevin P. Fleming f99dcb7586 add a few const's
21 years ago
Kevin P. Fleming b774d41660 enhance SIP_PEER function to return additional items (bug #4816)
21 years ago
Russell Bryant a657d3a7fa fix build issue for FreeBSD (bug #4802)
21 years ago
Kevin P. Fleming 4df19fa1c2 clean up SIP response and pedantic REGISTER matching (bug #3663)
21 years ago
Kevin P. Fleming 8703628608 add explanatory comment about timestamp compensation (bug #4763)
21 years ago
Kevin P. Fleming 9b8ee1f3e4 set the 'number complete' bit properly (bug #4771)
21 years ago
Kevin P. Fleming 1a5aa9c836 add dedicated function for adding Content-Length header (bug #4795)
21 years ago
Kevin P. Fleming 6596f8496e _really_ rewrite get_in_brackets to do the right thing (including skipping escaped double-quote characters)
21 years ago
Russell Bryant 8223580a4a formatting and callingpres support (bug #4787)
21 years ago
Kevin P. Fleming 1aa875b656 combine bracket-removing functions (bug #4794, with compiler warning mod)
21 years ago
Kevin P. Fleming 1e9beaa1d2 ensure that port number in URI is presented when needed (bug #4784)
21 years ago
Kevin P. Fleming a953eb06c3 formatting cleanups (bug #4786, with minor mods)
21 years ago
Kevin P. Fleming 1153f74259 add plain-text hangup cause private header to outbound BYE/CANCEL (bug #4783 with minor mods)
21 years ago
Kevin P. Fleming 5238d544e9 ensure socket address family is copied (bug #4789)
21 years ago
Kevin P. Fleming dd1cd37f11 ensure SIP_HEADER does not segfault when called on hung-up channels (bug #4756, different fix than posted patch)
21 years ago
Russell Bryant cd17218e59 add line break after show agents output (bug #4768)
21 years ago
Matthew Fredrickson 6eb0ec533e More minor cleanups
21 years ago
Matthew Fredrickson 0577cdd35f Fixed little oops with DTMF tone duration
21 years ago
Matthew Fredrickson 23d05a2ebb Get rid of DSP after we don't need it anymore in MF mode
21 years ago
Kevin P. Fleming 3f5035dce4 _really_ fix IAX2 crazy timestamp problem (bug #4747)
21 years ago
Russell Bryant bd18858411 more formatting fixes from oej :-) (bug #4757)
21 years ago
Kevin P. Fleming 91e8442629 add SIPPEER dialplan function (bug #4728)
21 years ago
Kevin P. Fleming 0be59a11de simple fix for bug #3638
21 years ago
Kevin P. Fleming 4dd4428204 split acl and netsock code into separate files, in preparation for new netsock implementation
21 years ago
Matthew Fredrickson 0a4dd9a6b3 Fix for DSP code on 411/406. (Bug 4712). Also a settable tone length
21 years ago
Ben Kramer c3f1c4da4f / fixed typo bug introduced in fix for bug #4504
21 years ago
Kevin P. Fleming 22b0f5d306 add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504)
21 years ago
Kevin P. Fleming 9d8d86e19d phase two of string portability stuff:
21 years ago
Kevin P. Fleming 38598f57b4 make 'Agents' manager action conform to protocol (bug #4723)
21 years ago
Kevin P. Fleming 904beec507 ensure that format string macros are undef'd after use (bug #4716)
21 years ago
Kevin P. Fleming 17fee8dc68 various code formatting changes and cleanups related to bug #4706
21 years ago
Kevin P. Fleming f50c27c355 don't ignore hardcoded CLID from zapata.conf when usecallerid=no
21 years ago
Russell Bryant f62a613d24 fix big endian compilation issue
21 years ago
Kevin P. Fleming aaa057778c add create_addr_from_peer, to use an existing peer reference
21 years ago
Matthew Fredrickson 91f84f9098 Update variable name to match docs
21 years ago
Mark Spencer 3916b7e41b Fix IAX2 encryption (really, bug #4500 for reference)
21 years ago
Kevin P. Fleming a803ef7af0 pick up calling ANI information from libpri (bug #4571)
21 years ago
Kevin P. Fleming d7e09f233f allow explicit source address/port selection for peers (bug #4257, with minor mods)
21 years ago
Russell Bryant e24821e1cf fix off by one errors in calls to ast_copy_string (bug #4600)
21 years ago
Matthew Fredrickson e67bc60c40 Make PRI debug easier to read if you're not using NFAS
21 years ago
Russell Bryant 4c531ca8c0 define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
21 years ago
Mark Spencer 80f67ad1fa Pass along proceeding and progress even when overlap mode is not on
21 years ago
Kevin P. Fleming c13d601fb4 queue device state changes and handle them serially in a background thread
21 years ago
Kevin P. Fleming f64717b556 clean up compiler warnings during build on 64-bit systems
21 years ago
Kevin P. Fleming f268ea2b3c make CLI output use singular/plural when appropriate (bug #4654)
21 years ago
Malcolm Davenport f1a18b8066 Hardcode urgent messages option in Voice-Message to 0
21 years ago
Kevin P. Fleming 6b72557890 ensure that AGENTBYCALLERID is set for agents being reloaded from persistent storage
21 years ago
Kevin P. Fleming 1bd88c387e don't segfault when peer doesn't send Referred-By (bug #4588)
21 years ago
Kevin P. Fleming 9403a6e027 remember CallerID in AgentCallbackLogin, so it can be used at logoff time
21 years ago
Russell Bryant 52ef5c7d30 add function to convert a cause code to a string
21 years ago
Kevin P. Fleming 3c91556d2d reset regattempts counter after successful registration (bug #4634)
21 years ago
Matthew Fredrickson cb8ba75284 Fix for bug 4347. Also breaking redirectingreason interpretation routine into function
21 years ago
Kevin P. Fleming 3ddc33f674 un-break three-way calling
21 years ago
Russell Bryant f3e538205b no need to call srand() when it is already called in asterisk.c
21 years ago