Commit Graph

3520 Commits (0b26b56316fe2109cd54cd22a1e82742dc9ff8b6)

Author SHA1 Message Date
Jason Parker 86fcf5a887 Get rid of all the useless (and confusing) typedefs
19 years ago
Kevin P. Fleming c2c4f86c72 merge markster's usersconf branch with some slight changes
19 years ago
Mark Spencer e887127bf3 Fix the dtmf dialtone thing
19 years ago
Tilghman Lesher 72265ea79d Merged revisions 43019 via svnmerge from
19 years ago
Tilghman Lesher c35b1df605 Merged revisions 42946 via svnmerge from
19 years ago
Olle Johansson 948533a791 Issue #7924 - cmaj - Turn off silence suppression if no channel owner
19 years ago
Olle Johansson 50b6a222ef Issue #7928 - Don't send both 404 and 503. Fix by phsultan with a small fix by me, myself or I.
19 years ago
Olle Johansson d970a07b1c If we've found a T38 SDP line, stop looking for more on the very same line
19 years ago
Olle Johansson da55c166dc More formatting fixes and doxygen stuff
19 years ago
Olle Johansson d37002287b Add comment
19 years ago
Olle Johansson 8868c4e1ca - Use enum for send-request reliability flags
19 years ago
Olle Johansson 31fa147b76 More formatting
19 years ago
Olle Johansson 4c081033b6 More formatting/doxygen updates to keep me occupied
19 years ago
Olle Johansson 421f2b076d Ignore this. Only whitespace fixes while being bored.
19 years ago
Olle Johansson 2984fbc068 Change from "r" as a variable name to "dialog". "r" is commonly used for registrations,
19 years ago
Olle Johansson e7b882961e Use Timer T1 for dialog timeouts/destruction
19 years ago
Mark Spencer 59c861bc5e Uhm, make Zap actually work again. Did anybody actually test that code?
19 years ago
Tilghman Lesher 237fbf35fc If the leading underscore is not stripped before comparison,
19 years ago
Olle Johansson 5a622d032e Don't destruct sessions prematurely. Especially not when we want reliable retransmissions...
19 years ago
Olle Johansson 01714e962b importing rev 42535 from 1.2 (which by mistake was actually imported from svn trunk)
19 years ago
Olle Johansson d0cbbaf8d7 Don't destroy pvt prematurely. Wait for answer or timeout.
19 years ago
Olle Johansson 562b491a85 Clear proper flag
19 years ago
Joshua Colp ac9e94d0ee Formatting fixes for chan_oss (issue #7808 reported by Mithraen)
19 years ago
Joshua Colp fd9f37a63f Formatting fixes for chan_alsa (issue #7807 reported by Mithraen with more mods done by myself)
19 years ago
Joshua Colp 082f59ff03 Use flags instead of variables on the private structure for things
19 years ago
Joshua Colp 0b93665a71 Code cleaning/updates/potential bug fixes
19 years ago
Joshua Colp 53cf63c33a Convert some warnings into debug messages since they can exist under perfectly normal circumstances that the user shouldn't care about (issue #7894 reported by stephen_dredge)
19 years ago
Christian Richter b1fca65c77 fixed pipe consuming bug when using chanIsAvail (#7878), also moved a debug log to the very begining of misdn_hangup.
19 years ago
Joshua Colp e77c51f5c6 Merged revisions 42086 via svnmerge from
19 years ago
Olle Johansson bd4e57a873 Make sure we handle CANCEL/ACK properly (imported with mods from 1.2)
19 years ago
Jason Parker ce35c33353 It was pointed out to me, that using two frames is silly.
19 years ago
Jason Parker 1d9bf5b1e8 fix some module loader breakage
19 years ago
Jason Parker 696465a002 Fix VLDTMF issues.
19 years ago
Joshua Colp e43b830a9d Merged revisions 41768 via svnmerge from
19 years ago
Joshua Colp 0be2884d80 If we are doing video and we can't reinvite, then resort to generic bridging instead of Packet2Packet since video isn't supported there yet. (reported by PCadach in #asterisk-bugs)
19 years ago
Joshua Colp 8ee7419d26 If no number is specified in the SIP_HEADER dialplan function, then just use the first one. (issue #7854 reported by sxpert and issue #7863 reported by hristo)
19 years ago
Russell Bryant 7dfc749551 there is no need for __iax_frame_free ...
19 years ago
Matt O'Gorman 05a695af72 everything that loads a config that needs a config file to run
19 years ago
Russell Bryant 0c6932eeb4 there is no need to use iax_frame_free here, as it will actually just end up
19 years ago
Joshua Colp c6977b9983 Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!
19 years ago
Olle Johansson 6ca927457d Why check bridgepeer twice?
19 years ago
Olle Johansson 18164dec14 Don't add headers to an uninitialized eq (from issue 7694 garyhai, but not
19 years ago
Olle Johansson 13eb698ce7 Note to myself: Remember Russell's note: Always compile first...
19 years ago
Olle Johansson 2c98238fbe Mark ALERT_INFO as deprecated. This can now be done with the sipaddheader() application and
19 years ago
Olle Johansson 0ace854142 Issue #7572 (Boesl) - hangup channel that get buggy 487 response (imported from 1.2)
19 years ago
Olle Johansson 7aa333c9ef Issue #7822 - don't issue SRV lookups if it's disabled. (barthek)
19 years ago
Joshua Colp 12b6ec4e11 Use an API call (ast_rtp_get_bridged) to return the RTP stream we are bridged to, and also use it in chan_sip so we know to ignore the no RTP activity checking
19 years ago
Kevin P. Fleming 3f189742f6 make menuselect configure process be silent when possible
19 years ago
Joshua Colp 04bd8c54e8 Limit challenges to 9 digits in length
19 years ago
Russell Bryant f7e7161607 Merge team/russell/frame_caching
19 years ago
Russell Bryant 6aae631cc9 update to reflect recent rtp changes
19 years ago
Joshua Colp c70ed7614a Merge in RTP-level packet bridging. Packet comes in, packet goes out - that's what RTP-level packet bridging is all about!
19 years ago
Kevin P. Fleming d12f54f90b GNU make already knows how to quietly ignore non-existent files in 'include' directives
19 years ago
Matthew Fredrickson b56d1a76ce Note to self, always compile before committing.
19 years ago
Matthew Fredrickson 3113f07570 Don't send proceeding twice (#7800)
19 years ago
Russell Bryant 9aabe41de3 don't seg fault when using dbsecret
19 years ago
Joshua Colp 1c182a606a Allow an offset for SIP_HEADER so you can get more then 1 header of the same name if they exist. Why someone would want to grab something like Via headers from dialplan I don't exactly know, but okay. (issue #7563 reported by Corydon76)
19 years ago
Kevin P. Fleming ff74cbc116 replace a couple of bare 'make' with $(MAKE)
19 years ago
Jason Parker 79dca5ef75 Fix a potential integer signedness problem.
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Jason Parker d371de5bf6 This is just step 1 in taking over the world.
19 years ago
Jason Parker c12f6bcdd4 Converted device2str and control2str to use thread local storage.
19 years ago
Jason Parker 6e140aae84 Make the CIPC device string useful
19 years ago
Jason Parker 1bacbd54f4 Fix minor display issues in "skinny show devices".
19 years ago
Kevin P. Fleming fd0ac387a9 deprecate chan_agent callback mode
19 years ago
Russell Bryant 5dc72404ab convert lists of constants in channel.h to enums instead of #defines
19 years ago
Russell Bryant a8272afb1f fix the use of an uninitialized variable (issue #7746, pointed out by garyhai)
19 years ago
Nadi Sarrar bd43525f3f fixing the 64bit issue with misdn_l1_task.
19 years ago
Christian Richter 159d9d2a3b added patch from #7709
19 years ago
Kevin P. Fleming e441faab72 Merged revisions 40057 via svnmerge from
19 years ago
Kevin P. Fleming 7546de3d8e fix some minor stuff
19 years ago
Russell Bryant 60b8d9f7f1 instead of a for loop and ast_cli_(un)register, use ast_cli_(un)register_multiple()
19 years ago
Joshua Colp 59766196ea Move things around a bit more for onhold support, and add a check to only decrement the onhold variable if it's greater then 0. (issue #7740 reported by AuPix)
19 years ago
Nadi Sarrar e5a478e6b1 a static array now holds the cli_entry structs
19 years ago
Nadi Sarrar 864c934f53 adding support for AOCD facility messages.
19 years ago
Russell Bryant 9f9a5f1984 move the calls to ast_jb_configure() to before the PBX thread is started on the
19 years ago
Russell Bryant fff5a55af6 print a more user friendly error message with the text representation of codecs
19 years ago
Russell Bryant 65373a1987 reduce duplicated code by using print_codec_to_cli in sip_show_user as it is
19 years ago
Christian Richter 7de6ec3337 removed libbnec dependencies.
19 years ago
Kevin P. Fleming aa3947e9fa complete the coding style changes for these frame structures
19 years ago
Nadi Sarrar 0b579cf152 moved the asn1 and facility portions of code to mISDNuser, so removing the files here.
19 years ago
Steve Murphy e648f4ddb4 Made "style" change requested by Kevin Fleming... used initializer in declaration,
19 years ago
Steve Murphy 14beac0408 On behalf of PCadach, " IMHO that was last deadlock in chan_h323..."
19 years ago
Joshua Colp eecf43413f Don't completely error out if a config file for chan_phone was not found. (issue #7710 reported by Mithraen)
19 years ago
Joshua Colp 4ebd436c85 Add support to see if a peer has someone on hold, and fix a small bug with getting the state name. This one goes out to you mog!
19 years ago
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