Commit Graph

3585 Commits (15c473908be7c58cfa85a45d53a7446bc0b71822)

Author SHA1 Message Date
Nadi Sarrar 162e37b2d6 fixing compile warnings, renaming config option "overlap_dial" to "overlapdial"
19 years ago
Russell Bryant 1de65767f2 This bug existed in one extra place that is not also in 1.2 ... So, fix it!
19 years ago
Nadi Sarrar 958f3726f1 * first bits of decoding facility information elements
19 years ago
Matt O'Gorman 1ef09ebfed some code clean up and catch for a act_hook being called
19 years ago
Joshua Colp a0bd41f79b Add support for Sigma Designs cards. These basically allow you to offload dialtone generation to the board. If you're using a quicknet board where this might work, give it a try as well. (issue #6092 reported by ywalther - minor mods by moi)
19 years ago
Christian Richter 52e1395690 * added possibility to change echocancel settings during calls
19 years ago
Russell Bryant 92bd7f19f7 Merge team/russell/ast_verbose_threadstorage
19 years ago
Matt O'Gorman 3f115f8c31 Many many code cleanup changes given to me by Oej
19 years ago
Steve Murphy 3042d0e046 This commit folds in changes to both stringfields (some enhancements to the ...field_set() macro, to optimize setting strings to empty, resetting strings to shorter contents, etc.) and to chan_iax2.c, to use stringfields in the user, peer, and pvt structs. Has been running stably on iaxtel, but while iaxtel has a large registration volume, it doesn't seem to have a high call volume. So far, it seems to reduce heap usage by over half. YMMV\! Please report any IAX bugs that might involve stringfields\!
19 years ago
Olle Johansson a42c164879 Fix accidental removal of if() in commit 38905
19 years ago
Olle Johansson b57c238260 Issue #7651 - always send subscription-state (AuPix)
19 years ago
Christian Richter f2178d336b changed naming of mISDN channels, so that hinting works proper
19 years ago
Russell Bryant 12b3d4a49e Merged revisions 39081 via svnmerge from
19 years ago
Russell Bryant 954ed66a0a minor cleanups
19 years ago
Russell Bryant 9892054414 Merged revisions 38950 via svnmerge from
19 years ago
Russell Bryant 663adb2b0e Merged revisions 38903-38904 via svnmerge from
19 years ago
Joshua Colp f41f7f8c93 It is better to hold a lock then not hold a lock when you are supposed to.
19 years ago
Joshua Colp b64b636f7e Minor optimization but use a linkedlists.h macro that pops the head off the list instead of getting the first entry and then removing it.
19 years ago
Joshua Colp e306f812df Don't assume that a referred by URI will always exist (issue #7641 reported and fixed by AuPix)
19 years ago
Christian Richter fc3d27cf6f * removed pp_l2_check (fixed L2 bug in mISDNuser)
19 years ago
Kevin P. Fleming 1b784cd1f7 Merged revisions 38731 via svnmerge from
19 years ago
Matt O'Gorman a8d7d9123a dtmf support. not everything else, trying to clear out those other bugs
19 years ago
Kevin P. Fleming ec2e7aee56 Merged revisions 38611 via svnmerge from
19 years ago
Russell Bryant 93682ec72e make the counting of ingress, outgress, and total frames thread-safe
19 years ago
Russell Bryant 450db95711 add macros for the pure and const attributes to compiler.h, in case they ever
19 years ago
Russell Bryant d6246e579f Add the function attribute "pure" or "const" to various functions that perform
19 years ago
Joshua Colp 48c09ef517 Merged revisions 38420 via svnmerge from
19 years ago
Russell Bryant 2842015aca Merged revisions 38328 via svnmerge from
19 years ago
Russell Bryant 1df50be628 Merged revisions 38288 via svnmerge from
19 years ago
Joshua Colp 6d52c0b559 Merged revisions 38234 via svnmerge from
19 years ago
Russell Bryant d86d8ebdff This exact deadlock situation that I observed can't happen in trunk due to the
19 years ago
Joshua Colp cbf79ca489 Start out with cleared RTP payload structures instead of defaults. This should prevent issues where if a stream (audio/stream) is not present and it's RTP payload structure is combined with the overall capability then the capability would be every codec that Asterisk supports.
19 years ago
Luigi Rizzo 2c3bc8b1b3 move middle-of-the-block declaration at the top.
19 years ago
Luigi Rizzo d0ef036696 fix uninitialized variable
19 years ago
Joshua Colp 6810884f60 Only deal with getting the supported payloads on audio if an audio RTP stream exists
19 years ago
Russell Bryant d897bd41c2 use ast_atomic_fetchadd_int in chan_zap, sip, and iax2 for usecount handling
19 years ago
BJ Weschke f2611e36c3 This corrects the crash condition present in #7575, but I'm not really sure if it's the "right" fix. Please review and make any adjustments you see necessary.
19 years ago
Russell Bryant ca9ba719b6 Merge a new implementation of ast_inet_ntoa, our thread safe replacement for
19 years ago
Joshua Colp 1861dcdff5 Only bitmaskify the RTP payload structure for video if an RTP structure exists for it... otherwise the default values will cause codec combination madness
19 years ago
North Antara 1edb21b423 Fix a few doxygen warnings.
19 years ago
Kevin P. Fleming 6d0742fc16 merge Russell's 'hold_handling' branch, finally implementing music-on-hold handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be)
19 years ago
Kevin P. Fleming 5aad4439e9 Merged revisions 37949 via svnmerge from
19 years ago
Kevin P. Fleming e8d711723a revert this morning's incorrect indentation change
19 years ago
Mark Spencer 837910062b First pass at in-place file manipulation via manager
19 years ago
Luigi Rizzo 31d0db0e29 move variable declarations to the beginning of a block.
19 years ago
Kevin P. Fleming 000ba592b2 more Makefile cleanup and consistency stuff
19 years ago
Kevin P. Fleming 396ef6f9e7 use LDFLAGS and LIBS properly, and allow dependencies to provide LDFLAGS if needed (although none do today)
19 years ago
North Antara 5df4228851 There was an issue with ADSI and iax2, where on an iaxy with a normal phone connected,
19 years ago
Russell Bryant ee4840acdf add missing unregistration of a manager action on module unload
19 years ago
North Antara 7bb38d5ee2 Rename a couple variables, to be consistent with the rest of the functions
19 years ago
Kevin P. Fleming 4376af0080 actually make the non-standard G726-32 behavior available for SIP clients
19 years ago
Kevin P. Fleming ead48c38cb Merged revisions 37531 via svnmerge from
19 years ago
Christian Richter 54ce0f0a22 added even more statefulness for sending out disconnect/release/release_complete messages. added support for incoming presentation/screening. fixed a bug that we generate TONE_EVENTS on hanguptone_indicatem, which caused asterisk to write blocking thread messages. added nodialtone option to prevent dialtone for always_immediate
19 years ago
Kevin P. Fleming fd9c9ec28f allow users of RTP to use G726-32 AAL2 packing even when RFC3551 packing has been requested (Sipura/Grandstream ATAs and others will need this)
19 years ago
Kevin P. Fleming ea1d0c4b33 G726-32 changes:
19 years ago
Russell Bryant 4316a871ac repeat after me ...
19 years ago
Olle Johansson 8cd5ad1755 Re-enable RTCP quality reports
19 years ago
Joshua Colp 5d9419304c Merged revisions 37439 via svnmerge from
19 years ago
Kevin P. Fleming 5b639e6135 Merged revisions 37419 via svnmerge from
19 years ago
Kevin P. Fleming acfa035afe Merged revisions 37417 via svnmerge from
19 years ago
Christian Richter 94274cc26b * Introducing a new way for the l1watcher thread using the ast_sched way. Now l1watcher timeouts can be configured separately for every portgroup.
19 years ago
Joshua Colp ba092c1244 And now the trunk version! Add an option for IAX2 users that allows you to set how many outstanding AUTHREQs chan_iax2 will wait for replies on.
19 years ago
Joshua Colp 022957ce03 Remove BRIDGE_OPTIMIZATION since it is deprecated or obsolete (take your pick)
19 years ago
Christian Richter 46d200f14d removed unnecessary locking, which might have created deadlocks. removed find_chan_by_l3id, since the l3id is not unique over all ports. removed automatic nt_stack reinitialization, since this creates segfaults.
19 years ago
Mark Spencer 4c90cf59b7 Support hold/unhold in Zap, update IAX2 parser to know about modern commands, forward hold/unhold in dial, add hold device state
19 years ago
BJ Weschke 4149f37efa Merged revisions 37212 via svnmerge from
19 years ago
Russell Bryant 41bfcf3c57 pointer signedness warnings cleanup
19 years ago
Russell Bryant 7828780bb7 eliminate some pointer signedness warnings
19 years ago
Russell Bryant 23a4d0be28 eliminate some pointer signedness warnings
19 years ago
Kevin P. Fleming 4f826452cf make the build output less noisy (optional, can be controlled by the NOISY_BUILD variable in the top-level Makefile)
19 years ago
Matthew Fredrickson de03118578 Asterisk portion of the T309 patch. (#7271)
19 years ago
Kevin P. Fleming 748431f7b6 move rules file to prepare for generic rules file
19 years ago
Joshua Colp 1fb6111c18 Merged revisions 37173 via svnmerge from
19 years ago
Christian Richter bd0b801a0d * removed tone_indicate, we genrate only the dialtone by ourself (and the hanguptone of course)
19 years ago
Kevin P. Fleming dae3eedb34 make chan_zap use proper test for libpri support
19 years ago
Kevin P. Fleming dbf099cdb8 update dependency information to match new names for dependencies
19 years ago
Kevin P. Fleming f761d2f6f0 prepare Asterisk for new zaptel.h/tonezone.h installation locations
19 years ago
Olle Johansson c5660895a8 Draft became RFC...
19 years ago
Joshua Colp c56acadf7f Merged revisions 36998 via svnmerge from
19 years ago
Christian Richter 130ce69987 removed the reloading of the ntdebug stuff, since this is a bit buggy, we only set it when loading chan_misdn for now. fixed a litle state problem when receiving RELEASE_COMPLETE. also we may only play tones to a NT when the extension does not match and such cases.
19 years ago
Olle Johansson f9df5318ce Specify digest algorithm for picky clients
19 years ago
Christian Richter 5da2848158 removed our own tone creation from misdn_indicate, we just return -1. Now we get a lot fewer blocked in thread blah warnings..
19 years ago
Christian Richter f629ae1872 added misdn show config description[s] to show all the possible misdn.conf settings with a description in the CLI
19 years ago
Olle Johansson c6ab7e7164 Increase buffer size for routing headers. When routing with enc.keys within
19 years ago
Olle Johansson 2f6f0b19c5 Raise debugging level for message
19 years ago
Russell Bryant 73e8e2ab1f Blocked revisions 36725 via svnmerge
19 years ago
Olle Johansson 8affb4c1f8 Issue #7421 - Hold status not working fully. Thanks jmls for a good job debugging!
19 years ago
Olle Johansson 4c8e3bcdca users want code to compile, really.
19 years ago
Olle Johansson e995afbd10 Formatting and debug output fixes
19 years ago
Olle Johansson 765e420458 tell the other side that we're using 20 ms packetization for iLBC
19 years ago
Olle Johansson b971f65978 - Make use of system name in realtime SIP peers optional
19 years ago
North Antara 79f45173fb It might help if this had the right stimulus name
19 years ago
Mark Spencer d9e8e304b9 Fix chan_nbs to build...
19 years ago
Joshua Colp 59be0b03b7 Fix up a few log messages in chan_sip (issue #7449 reported by tgrman)
19 years ago
Matthew Fredrickson b39cb899d6 Make sure that we build chan_misdn with the object files in the right order
19 years ago
Christian Richter 6027721510 added a bit logging, when we split the bridge
19 years ago
Christian Richter 4bdeb383e7 added fix, that if the L2 goes down on ptp-NT that we reinitialize the NT Library. Also if we have no ntflags, we don't pass the filename to the debug routines of mISDNuser.
19 years ago
Olle Johansson 8d4ace1a0a Store sysname even if we do not store fullcontact (thanks tholo)
19 years ago
Christian Richter f5c0cd2ddc added better L2 handling for ptp, if it's down we don't try to call on that port in groupdial anymore, also we try to get it up then. Additionally added the configoptions ntdebugflags and ntdebugfile to debug the mISDNuser NT Stack (should have done that ages before..). isdn_lib.c compiles again.
19 years ago
Olle Johansson a38e7f01a9 ...too early in the morning for commits in Bergen, Norway...
19 years ago
Olle Johansson d92de40c2f Add support for a=inactive in SDP for holding. This is not very well documented
19 years ago
Christian Richter fc8d55ab15 moved a notice into a log
19 years ago
Christian Richter 727488c81b fixed a few state problems when hanging up the call. also changed a few debug messages to higher log level
19 years ago
Olle Johansson dd94255a69 Don't delete initid scheduled item twice... Thanks, vecher, for bugging me about this.
19 years ago
Olle Johansson f48a573439 Code cleanup while trying to understand this channel...
19 years ago
Olle Johansson f12f5b7c6c Formatting and doxygen fixes
19 years ago
Olle Johansson 6d86697867 issue #7033 - Don't burst pokes to peers at load or reload.
19 years ago
Olle Johansson 6895f108bd Inspired by issue 6742, but solved in a different way.
19 years ago
Christian Richter 5d18356b24 fixes segfault on incoming call which is disconnected in Alerting state
19 years ago
Olle Johansson 6ca399c459 Don't change direction of the dialogue when we send a re-invite
19 years ago
Olle Johansson 0dbb924cb5 Found a missing "l" on the left side of the sofa, close to the TV.
19 years ago
Olle Johansson 66786a7d53 Issue #7421 - Stop generator on both call legs (patch by tgrman)
19 years ago
Olle Johansson 1cbd4effca Issue #7429 - accessing a not allocated structure causes segfault... (tgrman, fix by myself
19 years ago
Christian Richter baad1c266c * fixed the busy state
19 years ago
Kevin P. Fleming 93385c0fab fix for issue #7245
19 years ago
Olle Johansson 9863bb982c Separate private options so we don't request bug report on those...
19 years ago
Olle Johansson 8ee441b649 Update the SIP options list from IANA repository
19 years ago
Tilghman Lesher b3c6e18a5e Merged revisions 35915 via svnmerge from
19 years ago
Kevin P. Fleming a579371f43 use new (separate) dependencies file from menuselect
19 years ago
Kevin P. Fleming e61d3d91f3 The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)
19 years ago
Kevin P. Fleming df0ba5ff8b search for Zaptel and libtonezone separately in the configure script
19 years ago
Russell Bryant 1c17258f4e fix some little issues on big endian platforms to resolve compiler warnings
19 years ago
Russell Bryant c8ceb92a4f revert my changes that converted the jb on the channel to be dynamically
19 years ago
Russell Bryant 84c37e0c58 reduce indentation
19 years ago
Russell Bryant 5e282fef07 reduce indentation
19 years ago
Russell Bryant 5941d4d819 - move the increase of the use count to be after the possible failures
19 years ago
Russell Bryant 46018d5032 - dynamically allocate the ast_jb structure that is on the channel structure
19 years ago
Russell Bryant 3daaf2163f use .PHONY instead of FORCE
19 years ago
Russell Bryant 48ae9f0d4f - convert the 'uninstall' target to use separate targets to process each
19 years ago
Russell Bryant 55e8a60363 - specify that 'depend' is a .PHONY target
19 years ago
Russell Bryant 9db0520ff9 - specify that 'all' is a .PHONY target
19 years ago
Russell Bryant c399a06450 add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targets
19 years ago
Olle Johansson d29e2a58da Add video support to chan_agent.
19 years ago
Olle Johansson a256bcb080 Issue #7380 - Cannot put a one-legged call on hold/off hold
19 years ago
Olle Johansson 58c243a6d4 Only formatting changes... (tabs to spaces)
19 years ago
Joshua Colp 5ff818f995 Fix timing issue (race) with poke/pong for very close peers that can cause a peer to be declared unreachable (issue #7396 reported by stevedavies)
19 years ago
Christian Richter 70a4c98a5a * added support for PID export/import to identify bridging in misdn_call already
19 years ago
Olle Johansson 7876a86e96 - Doxygen and some formatting fixes in res_features
19 years ago
Olle Johansson a85fec94fd Finally fix parking and go back to metermaids
19 years ago
Olle Johansson 12164df2fd How many times can we free allocated memory? Many, obviously... ;-)
19 years ago
Olle Johansson b27fff2a9d Hunting crash when parking calls with SIP REFER
19 years ago
Olle Johansson 0195279499 use correct test for checking if sip domains are enabled or not
19 years ago
Olle Johansson cb4221c7e9 Don't count unknown media streams as media streams in the offer... (Fenlander reported this on irc)
19 years ago
Olle Johansson e04914b44a parse SDP properly even when we are debugging. (Thanks fenlander!)
19 years ago
Olle Johansson 3b910323f3 Issue #6820 - SIP channels hang in semi active state
19 years ago
North Antara fb0bb9b195 fix an issue with dtmf not being sent sometimes
19 years ago
Olle Johansson bce5b8a146 - Formatting
19 years ago
Christian Richter 2302fa58d7 when we get a disconnect, we should stop the tones on te side..
19 years ago
Christian Richter cdbddf5892 we need to send DISCONNECT on Timeout in the ALERTING/PROCEEDING cases too
19 years ago
Russell Bryant 9f2a6516cf don't blow up in the sub Makefiles if menuselect.makeopts is not present. This
19 years ago
North Antara e832ae320f No need to have debug enabled by default anymore..
19 years ago
North Antara a5d6979fac Finally merge chan_skinny fixes into trunk.
19 years ago
Russell Bryant f75ad9736a bail if ast_calloc fails, this was done before but i accidently removed it when
19 years ago
Russell Bryant 7ec13047bc fix various coding guidelines issues (issue #7345, with additional changes)
19 years ago
Russell Bryant 035a8b4278 Merged revisions 34627 via svnmerge from
19 years ago
Christian Richter 829583a3dc added TONE_HANGUP, also added Tone generation by mISDN_dsp for post hangup tones, therefore the TONE_X defines are in the isdn_lib.h now. changed a REALEASE to a DISCONNECT in NT Stack, to make tones available in that state.
19 years ago
Christian Richter d86993b90b * fixed bchannel cleaning race condition with new bchannel state (CLEAN_REQUEST)
19 years ago
Russell Bryant b6147a21b9 remove "depend" from the "all" targets in sub Makefiles. The main Makefile
19 years ago
BJ Weschke ecabadf2cd Fixed per kpfleming's suggestion to asterisk-dev.
19 years ago
BJ Weschke 35a2f14d96 Quit early and print a LOG_WARNING if we are trying to check devicestate on a Local channel that's been improperly defined.
19 years ago
BJ Weschke 9cbcf110e1 Make sure agent_tech is unregistered within unload_module(). It's in 1.2, but was lost at some point in /trunk. #7374 (jstorm)
19 years ago
Joshua Colp 9ebb7c35a2 Merged revisions 34400 via svnmerge from
19 years ago
Olle Johansson 2813d15f52 Hoppsan!
19 years ago
Olle Johansson 83e64c7c94 - Do not require a space at the end of the m= string in a T38 re-invite
19 years ago
Kevin P. Fleming 794d0e4d1f make Local channel return sensible device state values
19 years ago
Kevin P. Fleming 11dac47877 Merged revisions 34159-34160 via svnmerge from
19 years ago
Olle Johansson 8fd35365f5 Add some debug logging
19 years ago
Olle Johansson fb8483c430 - Use our standard of doxygen comments, not javadoc style
19 years ago
Olle Johansson 4b6d6a1a0b Formatting fixes
19 years ago
Kevin P. Fleming fca19e7635 use a compiler builtin (which uses processor instructions) for this operation
19 years ago
Matt O'Gorman b22e7bf558 adds support for t38 pass through patch brought up to trunk from
19 years ago
Russell Bryant 55ffe394a5 only set the QOS variables if the pvt has an owner so that they are not
19 years ago
Olle Johansson 1ec28daa30 Formatting fix and doxygen update
19 years ago
Olle Johansson 2ab4e12549 Fix typo (Thanks Vechers!)
19 years ago
Kevin P. Fleming 79f5f61474 Merged revisions 33638 via svnmerge from
19 years ago
Olle Johansson 5d3d87900e - Remove redundant forward declaration
19 years ago
Joshua Colp ce311227ac Change a bit of logic in peer expiry back to the way it used to be
19 years ago
Olle Johansson e41fcca65a - Complete addition of forward declarations and grouping of functions
19 years ago
Olle Johansson 8ef5092031 Issue #7325 - Parse string after URI decoding (casper)
19 years ago
Olle Johansson d2fa9efdad Store RTCP reports in channel variables and SIP history
19 years ago
Olle Johansson 6d4ab87321 - RTP debug message formatting
19 years ago
Olle Johansson 8bee8de932 Another try at hanging up the transferer channel after the masq
19 years ago
Joshua Colp 6723184a62 Merged revisions 33297 via svnmerge from
19 years ago
Joshua Colp 5349ae6f46 Wait until we have the lock before getting the pvt structure pointer (issue #7313 reported by arkadia)
19 years ago
Olle Johansson bcf82f32d5 Don't force context for domain= setting (imported from 1.2)
19 years ago
Olle Johansson 2366793c63 Remove the return value from functions that return something that is never checked anywhere.
19 years ago
Christian Richter fcb7d3df26 when we don't want the call we need to release_complete it.. ignoring it breaks the ETSI rules ..
19 years ago
Olle Johansson ce10b34ca6 Enabling and disabling debug messages...
19 years ago
Kevin P. Fleming 09778b268e move 'struct ast_rtp' back to rtp.c where it belongs
19 years ago
Olle Johansson 36506dad2d Debug logging fixes
19 years ago
Olle Johansson fee02a9b7d At least reply if we get a fatal error in handling a packet.
19 years ago
Olle Johansson 91732256db Don't crash if chan2 does not exist (one-legged call situations, like echo)
19 years ago
Olle Johansson b796bf414b Improve SIP history
19 years ago
Olle Johansson 89081c3d06 Issue #7294 - Asterisk sends INVITE instead of BYE. Fix by Philippe Sultan. Thanks!
19 years ago
Christian Richter 05eed16044 Fixed detection of dtmfs with bridged channels.
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
19 years ago
Russell Bryant 739385e761 remove the WITH_SMDI define
19 years ago
Russell Bryant 66dca5e378 Merged revisions 32818 via svnmerge from
19 years ago
Russell Bryant 39bcaa0773 add an updated patch that adds dnsmgr support for outgoing iax2 registrations
19 years ago
Russell Bryant 503f99e2e8 remove the need to have to re-run make after a default menuselect.makeopts
19 years ago
Christian Richter 7924c21e33 changed the clean_up_bc function to work proper again. fixed the print with the conference nr. when bridged
19 years ago
Russell Bryant efd1fd9829 revert my changes to convert fields of zt_pvt to use stringfields. When I did
19 years ago
Matthew Fredrickson f809fde426 Add q.921 state information. (#7260)
19 years ago
Olle Johansson 479181951a Merge of the "sdpcleanup" branch. Thanks to John Martin for a lot of tests
19 years ago
Kevin P. Fleming 22b45aa4d3 Merged revisions 32566 via svnmerge from
19 years ago
Russell Bryant fa595a8d82 don't return -1 if zapata.conf is not present (part of the patch from
19 years ago
Christian Richter 24818d53b1 added select before write to avoid deadlock on full buffer. added some defines for deadlock debugging. added code snippet for generating silence if we don't have data to write.
19 years ago
Russell Bryant 80a153af79 - use stringfields in a bunch of the fields of the zt_pvt structure in chan_zap
19 years ago
Kevin P. Fleming e856010714 use module names, not file names, in menuselect
19 years ago
Kevin P. Fleming 8a95a1ddc1 Merged revisions 32373 via svnmerge from
19 years ago
Russell Bryant b0260c1039 revert the changes to allow chan_iax2 to use dnsmgr for registrations.
19 years ago
Joshua Colp 2a71835d41 Convert chan_iax2 to use dnsmgr in order to deal with hostnames that can change their resolved IP (aka dynamic dns setups) (issue #6305 reported and fixed by ivanfm)
19 years ago
Olle Johansson 8bc0599b11 Issue 7208 - Handle ; in userinfo part of URI too
19 years ago
Olle Johansson 404f8db694 Do not use ':' as a separator between arguments (kept around for 1.4 for backwards compatibility)
19 years ago
Olle Johansson 62dd0dc6f2 Only override callingpres set by rpid if user/peer preference is set. (Issue #7240)
19 years ago
Olle Johansson 02bc3637da Code simplification
19 years ago
Olle Johansson d520d238f1 - Fix more problems in transfer code (thanks Tholo!)
19 years ago
Olle Johansson 043b765bdc Respond to some of Luigis questions...
19 years ago
Olle Johansson e97507e8fb Fix potential bug. THanks luigi!
19 years ago
Olle Johansson 0d6906e107 - Doxygen fix
19 years ago
Olle Johansson c2b50fd2bd Show max bitrate in "sip show user" and "sip show channel"
19 years ago
Olle Johansson 439e4963ab - Typo in chan_sip (: missing)
19 years ago
Luigi Rizzo 531ed6f290 add a bit of comment on what build_route does,
19 years ago
Luigi Rizzo 88077a4d1f remove some duplicated code;
19 years ago
Luigi Rizzo 2724885b78 small simplification in assignments, and fix a typo in a comment.
19 years ago
Luigi Rizzo 24d1d23a93 mark XXX some places where there is a return right before
19 years ago
Luigi Rizzo 8dbdd8518b fix indentation of a block
19 years ago
Luigi Rizzo d18e363523 some code simplifications using S_OR() to remove some if blocks
19 years ago
Luigi Rizzo ec46b5a4ce use ast_skip_blanks() where appropriate, and use standard
19 years ago
Luigi Rizzo b7b716b618 mark XXX a buggy section of code and implement a probable
19 years ago
Luigi Rizzo 7483e1d2b6 simplify logic in a small block of code
19 years ago
Luigi Rizzo c7a5a96fc6 mark XXX a bug in the code. oej/kevin, any idea what you want
19 years ago
Luigi Rizzo a63b2e4c53 remove duplicate code
19 years ago
Luigi Rizzo 1a38041830 Replace '\"' with '"'.
19 years ago
Olle Johansson e0a8649273 - Formatting
19 years ago
Olle Johansson b7cfe5bd08 Minor change to DEBUG and WARNING messages
19 years ago
Olle Johansson 4d17451c55 Issue #7103 take two. Thanks Mikael!
19 years ago
Russell Bryant 4c76028de9 - add the ability to configure forced jitterbuffers on h323, jingle,
19 years ago
Christian Richter 4ad840b3c6 the interface needs to be changed as well..
19 years ago
Christian Richter 840df1f8c0 unified the PH_CONTROL Interface for the mISDN_dsp interface to int
19 years ago
North Antara d902bd27ff This is what I get for coding while tired.. sorry ;/
19 years ago
Russell Bryant 62b2f320a1 make a global variable static and remove an unused global variable
19 years ago
Christian Richter 4be235a974 added bearer capability reject support. we send release instead of disconnect in case we have no real channel yet. added support for Restarting channels added support for sending complete decoding. changed some log levels.
19 years ago
Olle Johansson 725e285bc4 Commit of the new SIP transfer support (oej/siptransfer branch)
19 years ago
North Antara e25c4621b4 Nobody saw this coming, I bet.
19 years ago
Russell Bryant 78ec9a057c clean up various whitespace issues (issue #7236, casper)
19 years ago
Russell Bryant 414106a3a6 move the includes of abstract_jb.h to be with the rest of the asterisk includes.
19 years ago
Russell Bryant 0384330d64 update the rest of the channel drivers that use RTP so that their channel
19 years ago
Russell Bryant bb7dd96cfe Add support for using a jitterbuffer for RTP on bridged calls. This includes
19 years ago
Joshua Colp 503486e99d OKAY - Only replace our IP address in the outgoing SIP messages if the actual source address is within the specified local network. (issue #7051 reported by Luke-Jr with mods by me)
19 years ago
Olle Johansson c7007e1f55 Add congestion message to SIP history
19 years ago
Olle Johansson bc0f0a3226 Use ast_channel_trylock for channels
19 years ago
Tilghman Lesher 705b5459c1 Bug 7237 - Replace recoded thread_safe_rand with the existing ast_random API
19 years ago
Kevin P. Fleming 4790dd5d9e when we receive an IAX2 registration request with both a plaintext secret and an MD5 challenge, prefer the MD5 challenge for authentation (reported on asterisk-dev)
19 years ago
Russell Bryant 1203424ce2 remove duplicate static keywords, oops
19 years ago
Russell Bryant 1617adb055 make some variables static ... committed from xcode :)
19 years ago
Joshua Colp 79161454a3 Few more expire_registry changes
19 years ago
Mark Spencer ec42807ebd That goes for jingle too :)
19 years ago
Russell Bryant 730f75cc78 only display a debug message if option_debug is in use
19 years ago
Kevin P. Fleming f890cab292 Merged revisions 30293 via svnmerge from
19 years ago
Joshua Colp e0612c9835 Safely traverse the thread lists and wait until each thread is done before moving on to the next.
19 years ago
Joshua Colp 336fd1a2de Only get the low 16 bits if we actually have a message count
19 years ago
Christian Richter eefc9193e7 added EVENT_NEW_CHANNEL. We change the channel name now when we got the real channel, also changed name generation to new stringfield api
19 years ago
Kevin P. Fleming 57f6093661 don't send CANCEL for an INVITE that we haven't received a provisional response for yet... mark it pending until a response arrives (issue #7079)
19 years ago
Olle Johansson b8b1fda04c Typo
19 years ago
Kevin P. Fleming 11d13e1d4b Merged revisions 29969 via svnmerge from
19 years ago
Christian Richter 8122c35675 fixed to early connect bug which came in yesterday.., also added the transmit of progress indicators through channel vars
19 years ago
Kevin P. Fleming 3e99be68d1 add a new option for 'obscuring' SIP user/peer names from fishers
19 years ago
Russell Bryant 7370cb3221 Merged revisions 29849 via svnmerge from
19 years ago
Matthew Fredrickson 547c6ebd86 Bump up the echo tail length option
19 years ago
Christian Richter 39ac1a5b83 added a l1watcher timeout, therefore removed the old behaviour of guessing the l1state.
19 years ago
Kevin P. Fleming b31af470e7 Merged revisions 29764 via svnmerge from
19 years ago
BJ Weschke c4227714fd 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.
19 years ago
Matt O'Gorman 5d51260c36 finish cleaning up some more stuff before russell
19 years ago
Russell Bryant 32a28ed9cf update chan_jingle to reflect the recent change to the indicate prototype
19 years ago
Olle Johansson 16a648aaf1 Breaking once will stop us... :-)
19 years ago
Christian Richter adfae0960f * export_ies uses now _VAR else the vars are not copied to the dest chan
19 years ago
Olle Johansson 883e4d6a9b Code formatting
19 years ago
Mark Spencer fa9e0ed768 Handle ringing (early) state properly on SIP
19 years ago
Matt O'Gorman 7aa1a77e75 asterisk-xmpp merge in
19 years ago
Joshua Colp a0f95cd526 Merged revisions 29464 via svnmerge from
19 years ago
Christian Richter 19d46333bf added callcounters for incoming and outgoing calls
19 years ago
Luigi Rizzo 76c47813fe remove code duplication generating some ast_verbose messages .
19 years ago
Luigi Rizzo 82dbf5a4c1 use the functional form of time(), and mark XXX a couple of places
19 years ago
Luigi Rizzo afe7c46924 more constifications
19 years ago
Luigi Rizzo 322aff00c6 various constification of function arguments to prevent erroneous
19 years ago
Luigi Rizzo ba195ee2d4 the msg argument of the various transmi_response*() functions is const.
19 years ago
Luigi Rizzo 75c6b453a3 mark const the 'header' argument of gettag
19 years ago
Luigi Rizzo 1a709886e3 mark const the source of copy_request
19 years ago
Luigi Rizzo c76882a94a fix indentation to make a table more readable
19 years ago
Luigi Rizzo 3ade391d1d simplify register_peer_exten() removing some duplicated code.
19 years ago
Luigi Rizzo 734535011a use strsep() to trim away ;xxx from SIP messages.
19 years ago
Luigi Rizzo 8414445108 use a more compact method to trim the trailing ;... from SIP lines.
19 years ago
Luigi Rizzo 917182e286 annotate const parameters of copy_header()
19 years ago
Luigi Rizzo 27f4fb4990 src is const in parse_copy()
19 years ago
Luigi Rizzo 564ca6394a minor logic simplification in get_sip_pvt_byid_locked()
19 years ago
Luigi Rizzo 15b7465cd2 simplify logic in function create_addr()
19 years ago
Luigi Rizzo a234f92337 simplify logic in realtime_peer(), removing an unnecessary
19 years ago
Luigi Rizzo 94d3a99089 strcmp() is the right function to use here, not strncmp().
19 years ago
Russell Bryant ed0b86c916 fix the possibility of writing one byte past the end of a buffer.
19 years ago