Commit Graph

3813 Commits (01b09027f736c81e034153f5f95f51d9c96ed0b5)

Author SHA1 Message Date
Luigi Rizzo e0f745b1f6 merge a few code simplifications that have gone
19 years ago
Jason Parker f3ba83ae1a Fix a problem where phones that go "missing" never got unregistered.
19 years ago
Joshua Colp f11d155547 iaxs[callno] may go away if we try to avoid the deadlock
19 years ago
Joshua Colp 8a7f8f5592 Properly avoid a collision with iax2_hangup (issue #8115 reported by vazir)
19 years ago
Luigi Rizzo 9d88cfa8dc merge svn 44744: do not dereference p if we know it is NULL
19 years ago
Paul Cadach e2676b1098 Propagate caller's transfer capability too
19 years ago
Luigi Rizzo f480d547cc merge revision 44664 - put common code in a function to avoid repetitions.
19 years ago
Luigi Rizzo 169342bc0d remove hardwired usage of 5060, use DEFAULT_SIP_PORT instead
19 years ago
Luigi Rizzo 35d8151b55 merge rev 44253 - option_debug checking before printing to debug channel.
19 years ago
Luigi Rizzo e65f2bd612 backport simplifications on sip_register,
19 years ago
Luigi Rizzo e5a838cac1 improve and document function get_in_brackets(), introducing
19 years ago
Christian Richter 290fe898f0 Merged revisions 44460 via svnmerge from
19 years ago
Christian Richter 37df5208a1 Merged revisions 44335 via svnmerge from
19 years ago
Christian Richter 13825dab85 Merged revisions 44334 via svnmerge from
19 years ago
Christian Richter e0005b654a Merged revisions 44149 via svnmerge from
19 years ago
Joshua Colp 8d2f872a84 One more T.38 fix! Don't leave a reinvite hanging by a thread if the other side is already setup with T.38
19 years ago
Joshua Colp db989fc58c Don't totally bail out if T.38 was negotiated
19 years ago
Kevin P. Fleming ca2bdd54c7 Merged revisions 44432 via svnmerge from
19 years ago
Kevin P. Fleming 0ee719e52f Merged revisions 44392 via svnmerge from
19 years ago
Kevin P. Fleming ff05bf15c8 update thread creation code a bit
19 years ago
Matt O'Gorman 592cbc0452 fix issue with dialing client without resource.
19 years ago
Paul Cadach bc3dee9d86 Change default presentation indicator to "user provided not screened" if octet 3a missed in CallingPartyNumber IE
19 years ago
Joshua Colp d241bab733 Use VideoSupport instead so it is considered a valid XML attribute name. (issue #8075 reported by renemendoza)
19 years ago
Paul Cadach 70dfcccd66 Fix preparation of type and presentation of calling number
19 years ago
Matt O'Gorman 5058b9e13f updated res_jabber for even better component support, soon will be jep-0100 compliant.
19 years ago
Joshua Colp d56d4a3f7f Merged revisions 44213 via svnmerge from
19 years ago
Paul Cadach f76b7ab4a9 Optimization of oh323_indicate(): less locks - less problems, plus single exit point
19 years ago
Mark Spencer 43b8d09b81 Don't use Channel when you're not talking about a channel :)
19 years ago
Paul Cadach 5ec38a80bf Do not simulate any audio tones if we got PROGRESS message
19 years ago
Luigi Rizzo c88b87f6ed sync with trunk - move variable declarations to the beginning of a block.
19 years ago
Paul Cadach ffd8a2576b Fix issue #7928 correctly. Next is a comment of previous fix:
19 years ago
Paul Cadach 7a7c5011a1 Found some buggy SIP clients (phones Planet VIP-153T firmware
19 years ago
Kevin P. Fleming ec2e4f2216 fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80
19 years ago
Paul Cadach e4ff1716d5 Compile first, please
19 years ago
Paul Cadach 8a107b3a16 Set TON/PRESENTATION information more carefully when no CallingNumber IE available
19 years ago
Paul Cadach 4ecb66c6b4 Fake display name by called number on incoming calls (until passing connected number/connected name is not implemented)
19 years ago
Paul Cadach 5d8c027883 Ported code refers to H.450 - add includes
19 years ago
Paul Cadach 6f72c19b74 Properly pass TON/PRESENTATION information - original
19 years ago
Paul Cadach b05cb6d46b Pass TON/PRESENTATION information too
19 years ago
Kevin P. Fleming 704397dc3c don't abuse CFLAGS and LDFLAGS for build of Asterisk components, because they are also then used for non-Asterisk components (like menuselect); use our own variables instead
19 years ago
Joshua Colp d2d4833b79 Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)
19 years ago
Paul Cadach 13b9f34966 Extend call establishment timeout
19 years ago
Joshua Colp 24b723af44 Make sure the pvt exists before accessing it again as it may have gone away (issue #7562 reported by Seb7 and issue #7939 reported by sorg)
19 years ago
Paul Cadach f1ebcc8e34 Fix compiler warning
19 years ago
Paul Cadach 89e23aa040 Force remote side to start media on outgoing PROGRESS message
19 years ago
Christian Richter a3f43a7dfe Merged revisions 43764 via svnmerge from
19 years ago
Paul Cadach e2d1986cec Do not open transmit channel until TCS is received
19 years ago
Joshua Colp 0929a218f3 Get rid of two functions from a time now past (we THINK these are from pre-recursive lock time) that may be contributing to two open issues on the bug tracker (7562/7939) and that has the potential to just make bad things happen if the timing is right.
19 years ago
Christian Richter cf7b068f58 removed the chan_misdn versioning, since asterisk has it's own
19 years ago
Joshua Colp 8459e9a7ac Make rfc2833compensate a global option.
19 years ago
Joshua Colp 2862b777fe Merged revisions 43705 via svnmerge from
19 years ago
Russell Bryant 6a4c92a630 Add missing newline character in the warning message about deprecated TOS values
19 years ago
Joshua Colp 6dc8b23feb Strip options off the argument passed for devicestate in chan_local. (issue #8034 reported by pcardozo)
19 years ago
Jason Parker 955cb53b6b Add proper codec support to chan_skinny. Works with at least ulaw, alaw, and g729a.
19 years ago
Paul Cadach f1018ee8bb Fix ASN1 description of non-standard Cisco extensions
19 years ago
Paul Cadach b2b256eeef Backport changes of trunk:
19 years ago
Paul Cadach 4b81fe1d28 Merged revisions 43472,43495 from trunk
19 years ago
Russell Bryant 4a8a46a162 Fix a CLI command registration issue where an erroneous message claiming that
19 years ago
Russell Bryant c259876748 Merged revisions 43552 via svnmerge from
19 years ago
Jason Parker e2365e0f0f Allow chan_skinny.so to be unloaded properly.
19 years ago
Russell Bryant 0b2dcac484 return AST_MODULE_LOAD_DECLIDE if mISDN could not be configured
19 years ago
Jason Parker d940da0acf First shot at unload_module in chan_skinny..
19 years ago
Matt O'Gorman ff11e64e67 updates for better compontent support
19 years ago
Joshua Colp 928c5f7bbc Some more clean up in the load function for chan_oss (issue #8002 reported by Mithraen with minor mods by moi)
19 years ago
Joshua Colp e02f0bda8f Clean up chan_mgcp's module load function (issue #8001 reported by Mithraen with mods by moi)
19 years ago
Kevin P. Fleming 9cf9c1373b merge down mark's users.conf fixes
19 years ago
Jason Parker 0cfaffac96 Fix some chan_zap warning messages, when HAVE_PRI is not defined.
19 years ago
Tilghman Lesher d70fe791c2 A few misses from constification
19 years ago
Tilghman Lesher 70af28270d Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
19 years ago
Paul Cadach e57d521462 Split capability definitions into own source file
19 years ago
Paul Cadach aa92ebffea Remove unnecessary (long time ago commented out) code
19 years ago
Paul Cadach a704e298e7 Fix missed extension replacement
19 years ago
Paul Cadach 84946195e9 Change file naming to be conform OpenH323 rules
19 years ago
Joshua Colp 86421e3a7d Do clean for h323 directory too
19 years ago
Joshua Colp 1ce4a427d3 Merge in latest round of chan_h323 changes. These are all isolated to chan_h323 so meh.
19 years ago
Kevin P. Fleming 0964265657 Merged revisions 43314 via svnmerge from
19 years ago
BJ Weschke e8606d9c57 Merged revisions 42133 via svnmerge from
19 years ago
Kevin P. Fleming 1485fa4c24 move this header to include where it belongs
19 years ago
Matthew Fredrickson 81b6e171bd Get rid of zero size old config file
19 years ago
Matthew Fredrickson 33ddb53663 Various updates from PCadach's chan_h323-live branch
19 years ago
Matthew Fredrickson 1dfc281c40 Work!!!
19 years ago
Joshua Colp 44821e39f8 While this is experimental I don't think it should be experimental enough to be printed out in big capital letters, and Kenny tends to agree too so you know it's right.
19 years ago
Matthew Fredrickson 2cc96500bd Mergeing in Paul Cadach's chan_h323 changes *holds breath*
19 years ago
Matt O'Gorman d0a1a0033d similar patch for verbose vs debug with minor changes
19 years ago
Joshua Colp 3c732537bc Improve output of sip show peers (issue #6624 reported by mavetju with minor code changes by myself)
19 years ago
Matt O'Gorman 465adf2bf1 allow for packetization on rtp channel drivers, need to add
19 years ago
Olle Johansson 42a56b7a5a Merging patch from 1.2 - Issue #7682
19 years ago
Olle Johansson b93280947a Issue #7351 - sending CANCEL when the call at some point has been in UP state is wrong.
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago
Joshua Colp 57ad1de60b Reference will be kept in the application component only right now. In the future this should be expanded to the channel driver (just like all the other channel drivers) (issue #7975 reported by andrewt)
19 years ago
Matt O'Gorman ec4bf7a849 seperate jingle and gtalk so it will be easier to track
19 years ago
Jason Parker df0963a738 remove a bit of redundant code
19 years ago
Jason Parker 6d5809297b Skinny hold support.
19 years ago
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
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