Commit Graph

2790 Commits (1cb1bbbe8dcbb744f26d81c879b4480ac52ea66a)

Author SHA1 Message Date
Joshua Colp c38c7a1f46 Remove an unneeded double lock (issue #7310 reported by arkadia)
20 years ago
Olle Johansson 4de28aa7cc Do not require a context on a domain= setting
20 years ago
Russell Bryant 8daadb91c1 fix some broken code with BRIDGE_OPTIMIZATION defined (issue #7292)
20 years ago
Kevin P. Fleming f0d3be1740 clean up yesterday's security fix to not cause breakage when video mini frames are received
20 years ago
Kevin P. Fleming c515ef705c ensure that the received number of bytes is included in all IAX2 incoming frame analysis checks (fixes a known vulnerability)
20 years ago
Russell Bryant eeb613ea3d fix misplaced manager event (issue #6866, flefoll)
20 years ago
Kevin P. Fleming 547a070805 allow SIPCHANINFO(peername) to work for calls from users as well (issue #7215)
20 years ago
Kevin P. Fleming 6b101367b8 oops... make sure to stop processing a request once we have sent an authentication challenge (issue #7220)
20 years ago
Kevin P. Fleming 5ecca96df5 don't send CANCEL on a pending INVITE if we haven't received a provisional response yet... mark it pending until the first response is received (issue #7079)
20 years ago
Kevin P. Fleming 84790a577b respect 'usecallingpres' in zapata.conf even if CLID has not been set for the channel (issue #7123)
20 years ago
Kevin P. Fleming 76066c2b74 fix for non-OSP builds (issue #7217)
20 years ago
Kevin P. Fleming 9739139287 add an option to allow the admin to 'hide' SIP user/peer names from systems trying to 'fish' names
20 years ago
Russell Bryant 6d3d5e1649 fix the sourceaddress option (issue #7213, alphaque)
20 years ago
Kevin P. Fleming d6873875cc simplify/fix lock retry, and fix comment
20 years ago
BJ Weschke f84891dfbb Sanity check code for an extended failure in trying to obtain a channel lock that may have been obtained elsewhere. Prevents the monitor thread of the SIP module from going into an infinite loop, effectively, breaking SIP until you restart Asterisk or the mutex is unlocked, whichever comes first.
20 years ago
Joshua Colp f0e022bbad Preserve presentation bit when going through chan_local (issue #7002 reported by acunningham)
20 years ago
Russell Bryant ee808b6187 fix the possibility of writing one byte past the end of a buffer.
20 years ago
Kevin P. Fleming 4eef3ef785 don't try to predict where the compiler will place things on the stack... put them in the right place explicitly (issues #7029 and #7100, maybe others)
20 years ago
Kevin P. Fleming 0c4cc3b0ce use the specified 'subscribecontext' for a peer rather than the context found via the target domain (domain contexts are for calls, not for subscriptions) (issue #7122, reported by raarts)
20 years ago
Joshua Colp dda49ce86b Make the minidle option actually exist as documented (issue #7159 reported by imran)
20 years ago
Kevin P. Fleming 89da276678 fix up a few more places to find the SDP properly (fallout from fix for #7124)
20 years ago
Kevin P. Fleming 53a0b36973 handle incoming multipart/mixed message bodies in SIP and find the SDP, if presnet (issue #7124 reported and patched by eborgstrom, but very different fix)
20 years ago
Kevin P. Fleming 2ef43a770b support 'inactive' tag for SDP media streams (simple fix, proper fix will appear in 1.4 release) (issue #7130)
20 years ago
Joshua Colp 3361be7b6e Fix codec priority stuff during authentication (issue #6194 reported by jkoopmann)
20 years ago
Olle Johansson 8b96daf53e Issue #7176 - Crash in expire_register
20 years ago
Olle Johansson d5d56f98c3 chan_sip did not use the TRANSFER_CONTEXT for transfers, like res_features. Now fixed.
20 years ago
Kevin P. Fleming 78986fe938 ensure that we send a response to REGISTER requests that are successfully authenticated but contain invalid Contact URIs
20 years ago
BJ Weschke adbfc9d3c7 Add the appropriate jumping behavior that is the standard for 1.2.X to SIPGetHeader that is now deprecated in /trunk. #7111 (blitzrage!!!)
20 years ago
Olle Johansson 6b93396fb9 Issue 7103 - mikma
20 years ago
BJ Weschke 6af35712ef Don't show agents as available when they are in wrap-up time. #6726 (ZX81)
20 years ago
Russell Bryant eb19888db5 ensure that the appropriate manager events are sent in all of the places where
20 years ago
Russell Bryant 0f643c18be update chan_h323 to reflect the new prototype for rtp_set_peer (issue #6560, casper)
20 years ago
Olle Johansson 87d78ee383 Issue #7074 - Problem with long contact lines
20 years ago
Kevin P. Fleming 37e9f9a15c remove a pointless comparison, since the buffer is smaller than the length being checked for
20 years ago
Kevin P. Fleming a7961494bd allow top-level OPTIMIZE setting to affect builds in these subdirectories too
20 years ago
Matthew Fredrickson cecda9a947 Fix buglet in channel reassignment on SETUP_ACK
20 years ago
Olle Johansson 7b12d67e50 - Fix cause codes
20 years ago
Olle Johansson d98317c7ad - Fix possible minor memory leak in chan_sip
20 years ago
Olle Johansson d5a3b59ccf Issue #6878 - Unhide DNDstate manager events (thanks casper)
20 years ago
Olle Johansson 65f95fee51 Issue #6848 take two - Use the tag provided by the SUBSCRIBE request when sending NOTIFY
20 years ago
Olle Johansson bca4868578 Ugly patch to avoid hangup causes in non-final responses
20 years ago
Russell Bryant 9a729f7aff move a NULL check to before the first time the pointer is dereferenced (issue #6832)
20 years ago
Russell Bryant d125a1a278 fix the situation where bindport is specified but bindaddr is not (issue #6616)
20 years ago
Tilghman Lesher 65acfca5af Bug 6853 - Manager fixes: 1) extra ActionID, 2) missing colon
20 years ago
Olle Johansson 8d417967ce Issue #6823
20 years ago
Russell Bryant 8c63eaec22 fix Bus Error on sparc (issue #6354)
20 years ago
Olle Johansson 35ea822831 Fix breakage of NAT support for peers with qualify=yes.
20 years ago
Olle Johansson 09bf0c3032 Issue #6736 - Use flags for OPTION messages. Thanks Casper!
20 years ago
Olle Johansson 3db3883d3d Issue #6597 - sip show registry shows incorrect port
20 years ago
Olle Johansson b85f9ea8fb Issue #6409 - Use "s" extension when there's no username in the URI
20 years ago
Matthew Fredrickson b89b296584 Fix SETUP_ACK handling so that we change channels if so requested
20 years ago
Olle Johansson 674425a343 Issue #6766 - fix ;user=phone functionality. (Reported by alein, fix by russell - thanks!)
20 years ago
Olle Johansson 108275cf6c Do not overwrite ANI if it's set by IE (sendany=yes in the peer)
20 years ago
Olle Johansson 6b8f2a96f1 Reset global_rtautoclear at sip reload
20 years ago
Russell Bryant 3b776cdfdc always use the callerid signalling method set in the zt_pvt strucutre as
20 years ago
Olle Johansson 9593aa0aa1 To quote giant developers: "Oops". Thanks, Tony!
20 years ago
Olle Johansson 38ca23948d Issue #6728: Remove parameters to Event: header on SUBSCRIBE requests
20 years ago
Olle Johansson 023a312f65 Set properties on two files that lacked properties for eol etc
20 years ago
Olle Johansson fbe6931218 Issue #5937 - Make sure SIP CANCEL's are re-transmitted
20 years ago
Olle Johansson 8545a6d4c0 Issue #6576 - SIP_CODEC not used for early media (reported by gpapadop73)
20 years ago
Olle Johansson 3388661f38 Issue #6657 - Ignore 183 session progress without SDP
20 years ago
Tilghman Lesher 1d58eff4a7 Bug 6020 - Race condition where packet could be lost if first packet on list is acked
20 years ago
Olle Johansson 782eb432ab Clear page2 flags at reload too
20 years ago
Russell Bryant b26f150b75 fix the output that indicates whether qualify smoothing is on or not (issue #6608)
20 years ago
Russell Bryant 39139b2802 fix finding realtime peers that are not dynamic by ip address (issue #6093)
20 years ago
Mark Spencer 1ef0003131 Handle ACKing properly (remove gratuitous -1)
20 years ago
Mark Spencer 4e884dbd28 Fix numerous places in jitter buffer where freed memory is referenced
20 years ago
Kevin P. Fleming f522e07cbd ensure that agents logged in via the manager interface are stored in the persistence database (related to issue #6301)
20 years ago
Kevin P. Fleming 8d66f50877 when answering INVITE, don't send codecs the peer didn't offer (issue #6052)
20 years ago
Russell Bryant 0ea76a52a9 fix memory leak from not destroying the scheduler context on module unload
20 years ago
Kevin P. Fleming 3b0edd5cfe clean up my mess from thread-starting change
20 years ago
BJ Weschke 74eef60486 kpfleming's fix from r9472 backported to 1.2
20 years ago
Kevin P. Fleming b3a8fbf495 don't create monitor threads in detached mode, when we need to be able to pthread_join() them later if the module is unloaded (solve crash-on-unload problem for these channel modules)
20 years ago
Russell Bryant a96ecb64a6 reload peercontext on iax2 reload (issue #6442)
20 years ago
Matt O'Gorman 917259bcd3 Make logger report error,warning,notice if logger.conf
20 years ago
Kevin P. Fleming 48fb967c05 disable buggy PRI user-user code until it can be fixed
20 years ago
Olle Johansson e74a7116e5 Issue 6182 - Don't remove scheduled event until it's really done.
20 years ago
Olle Johansson fd25b81993 Issue 6362 - Register without Contact: and Expires: fails (reporter: op)
20 years ago
Russell Bryant 1d9b2a9df1 fix problem with dtmf on e&m (issue #6364)
20 years ago
Olle Johansson 659da47b95 Issue 5898: Registrations does not get deleted if there's an active SIP dialog
20 years ago
Russell Bryant e83bfee678 don't call ast_update_realtime with uninitialized variables if we get a
20 years ago
Russell Bryant ab209c7d92 fix memory leak (inspired by issue #6351)
20 years ago
Matthew Fredrickson 2f43722570 Backport fix for #6229, hangup on polarity reversal
20 years ago
Olle Johansson 7ea315539c Issue 6114: Don't hangup on BYE/ALSO with no channel.
20 years ago
Olle Johansson 10d527906a Issue #6308 - never send response to ACK. (Reported by whiskerp)
20 years ago
BJ Weschke cea50c9247 Bug fix: Correct some scenarios where CALL_LIMIT could not be getting adjusted properly allowing chan_sip to send calls when it really shouldn't. Bug #6111
20 years ago
Tilghman Lesher 636f956bf0 Bug 6281 - Cannot set more than a single header with SIPAddHeader
20 years ago
Matt O'Gorman 962cffffc7 solved problem with delayreject and iax trunking
20 years ago
Olle Johansson f196484187 Enable "musicclass" setting for sip peers as per the config sample.
20 years ago
Russell Bryant 74c149e891 fix Message-Account header to use the ip address if the fromdomain
20 years ago
Russell Bryant e22510658b fix spelling errors (issue #6227)
20 years ago
Russell Bryant dee03d2b80 move variable to correct scope (issue #6197)
20 years ago
Russell Bryant ffb11fb950 fix mem leak on module unload (issue #6190)
20 years ago
Kevin P. Fleming d8c5d338cb re-initialize _all_ sequence numbers when transfer completes
20 years ago
Kevin P. Fleming 2fd6520a7e update agent persistence when an agent gets logged off by autologoff
20 years ago
Kevin P. Fleming 224c6e3f7c send device state updates for auto-logoff of agents as well
20 years ago
Olle Johansson ed523e248a Fixing typo in XML for video updates.
20 years ago
Kevin P. Fleming b59a63c8cd backport rport scanning fix from trunk (bug #6071)
20 years ago
BJ Weschke ea4c262482 Fix compiler warnings.
20 years ago
Russell Bryant 4578bc3b0c fix memory leak in build_rpid (issue #6070)
20 years ago
Kevin P. Fleming 9f92220a9c backport fix to ensure that DSP is never enabled on pseudo channels
20 years ago
Russell Bryant a434f8877a cast time_t to an int in printf/scanf (issue #5635)
20 years ago
Russell Bryant a5e9fe97c8 revert changes to videosupport to allow per-peer setting, since it isn't quite
20 years ago
Russell Bryant 2293cfaf84 remove stray unlock (issue #5955)
20 years ago
Josh Roberson d252dde933 Actually put in the per-peer settings for sip video, as they didn't make it in at astricon somehow, and I've been too busy up until now to redo it.
20 years ago
Tilghman Lesher 37a49a5992 Allow a chan_alsa that failed to open sound devices to be unloaded.
20 years ago
BJ Weschke 2783801610 Bug #6040 - Documentation correction
20 years ago
Russell Bryant 3bbeaefa57 backport fix for reloading peer context (issue #6007)
20 years ago
Russell Bryant 50079144e3 I messed up and accidently committed this to the trunk first ...
20 years ago
Kevin P. Fleming 8ef66261f1 Max-Forwards headers must only be present on requests, not responses
20 years ago
Kevin P. Fleming 90812b536c forcibly expire previous subscriptions from a peer when they resubscribe (keeps them from building up and waiting for expiration, and stops us sending unwanted NOTIFY messages to devices)
20 years ago
Christian Richter 8b352fcb94 * Added mISDN/mISDNuser Echo cancel Patch
20 years ago
Kevin P. Fleming 8452f6b494 ensure that hangups while incoming calls are in early state are handled properly (issue #5919)
20 years ago
Kevin P. Fleming f9bc6f8afc only report AGENT_IDLE for callback mode agents when they are actually idle (issue #5902)
20 years ago
BJ Weschke d38fff38f9 Bug #5877
20 years ago
Russell Bryant 03a8791440 fix the order of arguments to an error message (issue #5927)
20 years ago
Olle Johansson 8c701a0861 Bug #5907. Improve SIP INFO DTMF debugging output. (1.2 & Trunk)
20 years ago
Kevin P. Fleming 41023ecb9c protect agent_bridgedchannel() from segfaulting when there is no bridged channel (issue #5879)
20 years ago
Kevin P. Fleming fb8d0a544d allow variables to exist on both 'halves' of the Local channel (issue #5810)
20 years ago
Kevin P. Fleming a563eab49a remove extraneous svn:executable properties
20 years ago
Kevin P. Fleming 5ec3844077 remove CVS ignore lists, set SVN ignore lists
20 years ago
Kevin P. Fleming 3b50570c9b backport fix from HEAD branch
20 years ago
Kevin P. Fleming 00d7e962a7 backport fix from HEAD branch
20 years ago
Russell Bryant 4612b4ccca issue #5815
20 years ago
Russell Bryant ca9633ca9b issue #5794
20 years ago
Russell Bryant c14c078405 issue #5792
20 years ago
Russell Bryant f2af073588 issue #5799
20 years ago
Russell Bryant d8f74ecb94 Add missing carriage return and line feed to the SDP line indicating that we don't support VAD (issue #5780)
20 years ago
Kevin P. Fleming f7f2b1b033 fix remaining breakage related to chan_modem modules
20 years ago
Jeremy McNamara af4301802d don't register channel type until we are ready, coding format updates
20 years ago
Kevin P. Fleming c86be56b3b don't build chan_modem by default
20 years ago
Kevin P. Fleming 639104bbb2 fix previous commit to actually do it properly...
20 years ago
Kevin P. Fleming 2b656be753 issue #5764
20 years ago
Kevin P. Fleming 4331958422 issue #5539
20 years ago
Kevin P. Fleming c7c3fa1d53 issue #5672
20 years ago
Kevin P. Fleming 3d599e6501 issue #5739 (plus ast_copy_string() usage conversion)
20 years ago
Kevin P. Fleming e88e390bb8 issue #5751
20 years ago
Mark Spencer b05ff7c343 Fix i4l breakage (bug #5729)
20 years ago
Russell Bryant c9ceb15e1e fix a lil' typo
20 years ago
Mark Spencer 2b547e1f9e Fix build on FreeBSD 4.11
20 years ago
Kevin P. Fleming 766d1a73b1 issue #5712
20 years ago
Kevin P. Fleming 38c665bd67 fix typo
20 years ago
Kevin P. Fleming 8605bf0104 minor fixes
20 years ago
Mark Spencer a7d794a0ac Fix DTMF issue with 3-way native zap
20 years ago
Kevin P. Fleming 36315b865b issue #5713
20 years ago
Kevin P. Fleming f603eb0135 issue #5671
20 years ago
Kevin P. Fleming 1740d40182 issue #5693
20 years ago
Kevin P. Fleming 8c9a32bd4b issue #5685
20 years ago
Kevin P. Fleming 8fddeef1ac issue #5700
20 years ago
Kevin P. Fleming 6dabdbc7cd eliminate useless warnings generated by IAXy registrations
20 years ago
Kevin P. Fleming bdda6254f4 correct logic for group-match CONGESTION checking
20 years ago
Kevin P. Fleming cdf4031963 issue #3360 plus related fix
20 years ago
Kevin P. Fleming 15b01f246c issue #5604
20 years ago
Mark Spencer c5f0a6db6f Fix three-way issue
20 years ago
Kevin P. Fleming ebf04fc570 more header include simplification
20 years ago
Kevin P. Fleming a0a9769616 issue #5648
20 years ago
Kevin P. Fleming 145daf44d8 issue #5634 and a little ChangeLog cleanup
20 years ago
Kevin P. Fleming 5e0149d7cf issue #5639
20 years ago
Russell Bryant bb3e125ed4 don't loop forever on an invalid options string (issue #5629)
20 years ago
Russell Bryant 31a804b97c issue #5605
20 years ago
Russell Bryant 1781e73435 use enum's for iax user/peer flags, and for pvt state
20 years ago
Mark Spencer 7c3efb156c chan_misdn updates (bug #5597)
20 years ago
Mark Spencer a67c2702c5 Fix chan_oss buglets (bug #5618)
20 years ago
Mark Spencer 3d473eebbc Fix chan_zap build on non-PRI (bug #5620)
20 years ago
Mark Spencer 994b9db081 Handle DTMF properly when combined with other events
20 years ago
Russell Bryant 5039ee0965 allow the IAXPEER function to check a peer's status
20 years ago
Ben Kramer 3e2507a07a i/ got the loop drop the wrong way around
20 years ago
Kevin P. Fleming 426360e389 major update to arg/option parsing APIs and documentation
20 years ago
Jeremy McNamara fa46248f9d Request a sane amount of bandwdith from GK, and fix one-way auido problems with broken H.323 stacks *cough* CCM.
20 years ago
Jeremy McNamara 27041dbda8 document UserByAlias usage
20 years ago
Ben Kramer e9f5bd158b / added dropping of loop when hanging up a station port from another chan
20 years ago
Ben Kramer 9693d05882 / fix to for compiling with both 2.4.x and 3.x vpb-drivers
20 years ago
Ben Kramer b2c2b5cd49 working on delay issue when bridging via ast_bridge
20 years ago
Ben Kramer 610f5614e3 added patched to support collecting caller ID before first ring using
20 years ago
Kevin P. Fleming 986a8ca089 issue #5566
20 years ago
Kevin P. Fleming 7ffb604a2f issue #4678
20 years ago
Mark Spencer 4468de1bd7 Only consider timeouts on realtimers (bug #5554)
20 years ago
Kevin P. Fleming 6eaca0ad8f finish chan_misdn commit
20 years ago
Kevin P. Fleming 033cd4d58f revert strncpy->ast_copy_string changes where the semantics are subtly different
20 years ago
Kevin P. Fleming e86e9a9fe3 allow netsock objects to be unref'd so they can disappear when needed (issue #5454)
20 years ago
Kevin P. Fleming d8672874ef properly handle '100 Trying' that arrives after a dialog has been dropped (issue #5475)
20 years ago
Kevin P. Fleming 9c25f9d1d5 handle improperly formatted initial requests properly (issue #5483)
20 years ago
Kevin P. Fleming 0ac988acaa add experimental mISDN channel driver (issue #4077)
20 years ago
Kevin P. Fleming 3da6bf02c9 add some warning message for when chan_sip gets overloaded (issue #5530)
20 years ago
Kevin P. Fleming a15a52208d don't increment 'inuse' counter when call is being failed because of limit (issue #5545)
20 years ago
Kevin P. Fleming 0a314b2454 add some additional log output and comment cleanup in the registration process (issue #5534)
20 years ago
Kevin P. Fleming b175ff39ef properly support 'musicclass' setting for peers/users (issue #5521)
20 years ago
Mark Spencer 39d27dbab8 Fix ability to do lots of outbound registrations (bug #5529)
20 years ago
Mark Spencer 6b26826bab Remove ancient copy/paste error (bug #5541)
20 years ago
Mark Spencer 6be92affa2 Fix minor iax2 device state issue (bug #5540)
20 years ago
Kevin P. Fleming c24ba6ac5e fix remaining breakage from yesterday's changes
20 years ago
Kevin P. Fleming fff6a2c159 use new app-argument macros, and try to fix yesterday's breakage
20 years ago
Mark Spencer de47e29d09 Merge highly modified fullcontact in realtime sip patch (bug #4832, heavy mods)
20 years ago
Russell Bryant 395f81d734 strncpy to ast_copy_string
20 years ago
Russell Bryant 9ddf0e4dce Remove unnecessary checks before calls to ast_strlen_zero. Also, change
20 years ago
Russell Bryant d57fb0b655 doxygenify the comments for data structures and defines in chan_iax2
21 years ago
Russell Bryant f1b14773dd use an enum instead of #define'd integers in a couple of places
21 years ago
Russell Bryant 052db5af42 fix up arguments to AgentCallbackLogin so that the options string and the
21 years ago
Russell Bryant 6324072247 more doxygenification (issue #5513)
21 years ago
Russell Bryant 3453e3efa5 Doxygen documentation update from oej (issue #5505)
21 years ago