Commit Graph

4589 Commits (56879bf97876954f4ee62164441711ace1a837a1)

Author SHA1 Message Date
Russell Bryant 348ff8c3e9 Restore the ability to have multiple mailboxes listed for the mailbox option
18 years ago
Russell Bryant 9d1acad76b Fix a problem that I had introduced into MWI handling. I had ignored
18 years ago
Joshua Colp 90066ea949 Minor fix for building under dev mode when byteswapping macro header files are not available.
18 years ago
Joshua Colp 22114b509d Add support for using epoll instead of poll. This should increase scalability and is done in such a way that we should be able to add support for other poll() replacements.
18 years ago
Joshua Colp 063c747f3a HAVEL_SS7 should be HAVE_SS7. Reported by kwallace.
18 years ago
Joshua Colp f2fc44d07e Correct spelling. s/threaads/threads/
18 years ago
Jason Parker 395243c923 Merged revisions 78375 via svnmerge from
18 years ago
Russell Bryant eba344f498 Merged revisions 78371 via svnmerge from
18 years ago
Joshua Colp 57769b9a53 Can't forget outsignaling!
18 years ago
Joshua Colp 4684dd1761 Just for jsmith... make signaling a valid option that acts like signalling.
18 years ago
Jason Parker bc8b1d3baa Add a TalkingToChan to the response of the "agents" manager action.
18 years ago
Russell Bryant d9407da71d Merged revisions 78242 via svnmerge from
18 years ago
Mark Michelson 8f17952065 Fixing a compiler warning which warns that a variable may be used unitialized. Thanks to mvanbaak for pointing this out.
18 years ago
Mark Michelson c4c0e45c8b Merged revisions 78103 via svnmerge from
18 years ago
Joshua Colp 54a2d42e2f Merged revisions 78182 via svnmerge from
18 years ago
Jason Parker bb700d82ce Implement setvar functionality in chan_skinny
18 years ago
Tilghman Lesher 05d60c7860 Merged revisions 78139 via svnmerge from
19 years ago
Russell Bryant 661fa0b374 Merged revisions 78063 via svnmerge from
19 years ago
Russell Bryant bcabfbb89a Merged revisions 78028 via svnmerge from
19 years ago
Jason Parker 1064b75ab7 Merged revisions 77996 via svnmerge from
19 years ago
Jason Parker fb94195d90 Merged revisions 77993 via svnmerge from
19 years ago
Russell Bryant 7b3dcbb842 Merged revisions 77949 via svnmerge from
19 years ago
Jason Parker 98ef35b908 Merged revisions 77947 via svnmerge from
19 years ago
Russell Bryant 85ba8d515a Merged revisions 77943 via svnmerge from
19 years ago
Russell Bryant 12ed8e8d07 Fix an issue that Simon pointed out to me on IRC. There were cases in the
19 years ago
Russell Bryant 171791dd8b Merged revisions 77939 via svnmerge from
19 years ago
Jason Parker e7e9275241 Merged revisions 77894 via svnmerge from
19 years ago
Jason Parker e27df99e5f Merged revisions 77890 via svnmerge from
19 years ago
Russell Bryant 1990a00ca4 Merged revisions 77887 via svnmerge from
19 years ago
Jason Parker d9beb54cbb Merged revisions 77883 via svnmerge from
19 years ago
Joshua Colp d9aee5e353 Merged revisions 77869 via svnmerge from
19 years ago
Russell Bryant 4e0947c5f1 Convert code that checks the _softhangup member of ast_channel directory to use
19 years ago
Steve Murphy 35499c7f40 thanks to Russel, for pointing out that the dialoglist_lock/unlock routines also need to be macros if DETECT_DEADLOCKS is set
19 years ago
Mark Michelson 768724f5e6 Merged revisions 77824 via svnmerge from
19 years ago
Kevin P. Fleming f35541734a there is no use in having functions that have no code in them, and hide the locking info when DEBUG_THREADS is enabled... i could have fixed this to be dependent on DEBUG_THREADS, but it would be just as easy for someone to add their test/debugging code to the macros as it would have been to the functions
19 years ago
Kevin P. Fleming b2eb99bb47 use a different method for overriding the send_digit_begin pointer, as the old one fails to compile on my 64-bit system with gcc-4.1 and --enable-dev-mode turned on
19 years ago
Steve Murphy 2cad4fea1a Discovered in experiments on core files: if you wrap the lock and unlock calls with sip_pvt_lock and sip_pvt_unlock, you lose the tracing info you would normally get via DETECT_DEADLOCKS; so I turn these two functions into macros when DETECT_DEADLOCKS is called. This way, you get meaningful stuff in the file and func slots in the lock_info struct.
19 years ago
Russell Bryant 3ca4126887 Change another unnecessary use of the increment operator to explicitly set the var to 1
19 years ago
Russell Bryant 3b49339387 Explicitly set a variable to 1 instead of using the increment operator.
19 years ago
Russell Bryant a27203a5bc Merged revisions 77794 via svnmerge from
19 years ago
Luigi Rizzo b20ab775d5 minor code rearrangements:
19 years ago
Luigi Rizzo adc28d1e1c rename handle_request() to handle_incoming(), as the former
19 years ago
Luigi Rizzo 6fe18e2403 move some dialog-only flags to proper variables, namely
19 years ago
Luigi Rizzo 597421be86 use a function, cli_yesno(), to produce the output Yes or No for
19 years ago
Luigi Rizzo 89f44c573e move the two remaining peer flags to proper variables.
19 years ago
Luigi Rizzo db10bcc41a move RT_FROMCONTACT to a proper sip_peer field.
19 years ago
Luigi Rizzo fd2f3a20bc Move some global 'flags' to individual variables.
19 years ago
Luigi Rizzo 5e35eab5a2 minor simplification of a conditional statement
19 years ago
Luigi Rizzo c19549820e build the version of sip_tech with no send_digit_begin
19 years ago
Luigi Rizzo e5f3a6ccdb remove bit position from description of SIP_* flags.
19 years ago
Luigi Rizzo 692e1fe0c4 back on cleaning up the usage of flags.
19 years ago
Luigi Rizzo b5c5227804 more documentation on internal representation of incoming SIP messages.
19 years ago
Luigi Rizzo 5ca87effb7 make register_unref() return NULL so it is easy to cleanup
19 years ago
Luigi Rizzo 9f165b444a add some documentation to auto_congest(), and some
19 years ago
Luigi Rizzo a6e169c09a more dialog_ref()/dialog_unref() calls
19 years ago
Luigi Rizzo 5dcfd811d7 more dialog_ref()/dialog_unref() calls
19 years ago
Luigi Rizzo d480266797 start introducing hooks for reference counts on dialog descriptors.
19 years ago
Luigi Rizzo df75ae2285 remove an unused string
19 years ago
Luigi Rizzo 800e1a6a03 simplify a conditional expression using S_OR
19 years ago
Luigi Rizzo 6d8c6a9961 make use of received= and rport= fields in sip replies.
19 years ago
Joshua Colp 111250f2ae Turn 4 lines of code into 1 line that does the same thing.
19 years ago
Joshua Colp f6498f16bb Merged revisions 77536 via svnmerge from
19 years ago
Mark Michelson d17d9c542b Merged revisions 77490 via svnmerge from
19 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
19 years ago
Russell Bryant 70f140c1d2 Revert some changes to call abs() on the result of ast_random().
19 years ago
Tilghman Lesher 7a97d49914 Things expecting a positive result from ast_random() should not be surprised (closes #10308)
19 years ago
Luigi Rizzo 546c742106 silence a warning in ast-devmode on a potentially uninitialized var.
19 years ago
Steve Murphy 30c771a9d7 Merged revisions 76983 via svnmerge from
19 years ago
Jason Parker cf551decc5 Revert trivial whitespace change (for testing)
19 years ago
Jason Parker 307d1fcb77 Trivial whitespace change to test comitting...
19 years ago
Tilghman Lesher 1c17bc177d Merged revisions 76803 via svnmerge from
19 years ago
Jason Parker 3562d4eea2 The chan_skinny Dial() syntax was funky. You had to do Dial(Skinny/line@device)
19 years ago
Luigi Rizzo 961165519e two small fixes when using stun (reported by Marta Carbone):
19 years ago
Tilghman Lesher 55b1ee298e Merge the dialplan_aesthetics branch. Most of this patch simply converts applications
19 years ago
Jason Parker d8d1b6c8f2 Merged revisions 76656 via svnmerge from
19 years ago
Joshua Colp 34e92f29f6 Merged revisions 76654 via svnmerge from
19 years ago
Jason Parker 6f81f60696 Merged revisions 76620 via svnmerge from
19 years ago
Luigi Rizzo 6a9270d879 add two missing entries in the replica of the sip_tech that
19 years ago
Joshua Colp 90dc0cfa85 Merged revisions 76561 via svnmerge from
19 years ago
Russell Bryant 7a2772c151 Mark str2dtmfmode() as currently unused to resolve a compiler warning and
19 years ago
Russell Bryant eaebbdab61 (closes issue #10271)
19 years ago
Luigi Rizzo b1791d9349 introduce two functions, map_x_s() and map_s_x(), to map
19 years ago
Russell Bryant 83609770c1 Remove an unused function to resolve a compiler warning
19 years ago
Joshua Colp 91c3d90e8f Use autoconf logic to determine byte swapping macro presence. This should now also use other macros if present.
19 years ago
Luigi Rizzo ed1775bd10 move "sip prunte realtime ..." and "sip set debug ... " to NEW_CLI style.
19 years ago
Joshua Colp 4dc6b6d50a Merged revisions 76519 via svnmerge from
19 years ago
Russell Bryant 3c10aab644 Merged revisions 76485 via svnmerge from
19 years ago
Luigi Rizzo 1ee5480549 Add some documentation on the sipregistry states and the
19 years ago
Luigi Rizzo 28cde9fee3 add a bit of comments on internal functions.
19 years ago
Luigi Rizzo 719dcef90d rewrite "sip show {channels|subscriptions}" CLI handler
19 years ago
Luigi Rizzo 930bf0402d Make sip_destroy() return NULL so the caller can do things like
19 years ago
Luigi Rizzo 97512a856f add two comment blocks, one on reusing nonces, and one on the handling
19 years ago
Luigi Rizzo db12b404fc comment and slightly restructure handle_request() in the part that handles
19 years ago
Luigi Rizzo 88f18dc9d7 remove unused argument from handle_invite_replaces(), and also leftover
19 years ago
Luigi Rizzo b7945cd78e Cleanup of flags used in struct sip_request, moving them to
19 years ago
Luigi Rizzo aa110ad3fd move two per-packet flags to proper variables.
19 years ago
Luigi Rizzo e603d729a9 minor clarification on the usage of SIP_* flags.
19 years ago
Luigi Rizzo 0d5e33f2c3 document the way sipdebug works, and implement it through
19 years ago
Luigi Rizzo 063edd1953 move the SIP_REALTIME flag to a field in the user/peer structure.
19 years ago
Luigi Rizzo 1daf32e474 Add a note to document how the temporary 'pvt' should be initialized
19 years ago
Luigi Rizzo ed604a6df8 whoops... was setting needdestroy on the wrong dialog.
19 years ago
Luigi Rizzo b11d587ab6 more two more flags to proper variables: ALREADYGONE and NEEDDESTROY.
19 years ago
Luigi Rizzo 4ce3ee94c3 use explicit variables for things that don't need to
19 years ago
Luigi Rizzo 10d1b9347c Use ast_str_append() instead of ast_build_string() to construct
19 years ago
Luigi Rizzo 06a3436375 We have two 'technology' descriptors for a SIP channel, so
19 years ago
Luigi Rizzo 2286afa3af Enhance NAT support as discussed on the -dev list, i.e.:
19 years ago
Jason Parker 4a023add58 Merged revisions 76174 via svnmerge from
19 years ago
Joshua Colp 989b93143a Merged revisions 76087 via svnmerge from
19 years ago
Joshua Colp 66cae9269b It is impossible for the externhost variable to not exist, it is however possible for it to be empty.
19 years ago
Luigi Rizzo bfc782f4e9 Don't use a field size for the last argument of printf format,
19 years ago
Luigi Rizzo b2fec9ad16 Extend the 'network settings' section with indication on the
19 years ago
Steve Murphy 0e969271ae After some study, thought, comparing, etc. I've backed out the previous universal mod to make ast_flags a 64 bit thing. Instead, I added a 64-bit version of ast_flags (ast_flags64), and 64-bit versions of the test-flag, set-flag, etc. macros, and an app_parse_options64 routine, and I use these in app_dial alone, to eliminate the 30-option limit it had grown to meet. There is room now for 32 more options and flags. I was heavily tempted to implement some of the other ideas that were presented, but this solution does not intro any new versions of dial, doesn't have a different API, has a minimal/zero impact on code outside of dial, and doesn't seriously (I hope) affect the code structure of dial. It's the best I can think of right now. My goal was NOT to rewrite dial. I leave that to a future, coordinated effort.
19 years ago
Russell Bryant 7b09e738f0 Merged revisions 75928 via svnmerge from
19 years ago
Luigi Rizzo d60c5ee296 print more of the network settings (externip, externhost etc.)
19 years ago
Luigi Rizzo 192ac53c3f document the use of externip, externhost and other nat-related options,
19 years ago
Luigi Rizzo fddd5b557c ast_sip_ouraddrfor() never fails, so make it void
19 years ago
Luigi Rizzo 00d9a3e7a0 portability fix: use %f instead of %lf when printing double.
19 years ago
Tilghman Lesher 16fe42c536 Allow chan_misdn to build in dev-mode
19 years ago
Jason Parker 204743a820 Merged revisions 75807 via svnmerge from
19 years ago
Russell Bryant 5272289355 I thought I noticed a memory leak earlier when I saw that the contents of this
19 years ago
Tilghman Lesher 9c99cba373 Change IAX variables to use datastores (closes issue #9315)
19 years ago
Russell Bryant 4681316959 Merged revisions 75759 via svnmerge from
19 years ago
Jason Parker 89acafbf37 Merged revisions 75732 via svnmerge from
19 years ago
Jason Parker 4f22126365 Merged revisions 75711 via svnmerge from
19 years ago
Jason Parker a1b2a23b4d Merged revisions 75707 via svnmerge from
19 years ago
Russell Bryant 707ca59923 convert some lines indented with spaces to tabs
19 years ago
Tilghman Lesher 81bc1d7af5 Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second
19 years ago
Joshua Colp a23feea9d2 Merged revisions 75623 via svnmerge from
19 years ago
Joshua Colp d90bddfa6c Merged revisions 75621 via svnmerge from
19 years ago
Joshua Colp e2b0f321a3 Merged revisions 75619 via svnmerge from
19 years ago
Steve Murphy 5ac24b25d3 This corrects the problem with flags and %lld formats on 64-bit machines, where uint64_t is NOT acceptable for %lld, and also works on 32-bit machines. At least, with gcc.
19 years ago
Joshua Colp 4003b31fc5 Minor code tweaks. Variables were being checked wrong in some situations and didn't need to be checked in others.
19 years ago
Russell Bryant 91e2afe4e7 Merged revisions 75450 via svnmerge from
19 years ago
Russell Bryant b5ff588044 Merged revisions 75445 via svnmerge from
19 years ago
Russell Bryant 681e45f0b2 Merged revisions 75441 via svnmerge from
19 years ago
Steve Murphy 8a7732f067 via 10206, I have added an option (e) to Dial to allow the h exten to get run on peer. Had to upgrade ast_flag stuff to 64 bits to do this.
19 years ago
Russell Bryant 432a087ed9 Merged revisions 75053 via svnmerge from
19 years ago
Mark Michelson 4d915d13c7 Merged revisions 74997 via svnmerge from
19 years ago
Steve Murphy 6bc0a4929c Merged revisions 74955 via svnmerge from
19 years ago
Jason Parker 4cc5a034b7 Merged revisions 74866 via svnmerge from
19 years ago
Jason Parker 588c3f85fe Merged revisions 74864 via svnmerge from
19 years ago
Russell Bryant 08b1a342e5 Merged revisions 74767 via svnmerge from
19 years ago
Mark Michelson 66449656d3 Merged revisions 74722 via svnmerge from
19 years ago
Joshua Colp 2d3f9ce25b Merged revisions 74572 via svnmerge from
19 years ago
Joshua Colp 2162433060 Change header a bit to get rid of a doxygen parse error. (issue #10177 reported by snuffy)
19 years ago
Joshua Colp 2df8b91be1 Merged revisions 74515 via svnmerge from
19 years ago
Jason Parker d459994f7c Merged revisions 74379 via svnmerge from
19 years ago
Jason Parker 76e2e39f77 Fix building that was broken by recent monitor.h changes. Thanks Russell for pointing this out (and pointing out what I probably did to prevent gcc from fixing it - don't ctrl-C builds)
19 years ago
Jason Parker d61b0cac84 Merged revisions 74159 via svnmerge from
19 years ago
Russell Bryant e4f28bc1a5 remove an unused variable
19 years ago
Joshua Colp ec8ef98a03 Merged revisions 74082 via svnmerge from
19 years ago
Joshua Colp 836ea36d3c Merged revisions 74045 via svnmerge from
19 years ago
Olle Johansson a1b9cbcd31 Implementation of a feature that will disable "missed calls" counters on SIP phones.
19 years ago
Tilghman Lesher ba857cc8a9 Merged revisions 73985 via svnmerge from
19 years ago
Olle Johansson 74e8ab14fc Merged revisions 73849 via svnmerge from
19 years ago
Russell Bryant 1da115c8d9 Merged revisions 73769 via svnmerge from
19 years ago
Russell Bryant a0c37d2548 Merged revisions 73679 via svnmerge from
19 years ago
Kevin P. Fleming 8b65011334 it really seems pointless to run gentone to create these header files every time we build Asterisk...
19 years ago
Mark Michelson 1745732a37 Merged revisions 73675 via svnmerge from
19 years ago
Russell Bryant 134a556c9f Merged revisions 73598 via svnmerge from
19 years ago
Russell Bryant 04de82d61c Merged revisions 73555 via svnmerge from
19 years ago
Russell Bryant d339ac7156 Merged revisions 73551 via svnmerge from
19 years ago
Kevin P. Fleming cc19ba80f5 Merged revisions 73548 via svnmerge from
19 years ago
Joshua Colp 0fc25ac3ee Merged revisions 73467 via svnmerge from
19 years ago
Russell Bryant a7961ac41f Merged revisions 73398 via svnmerge from
19 years ago
Joshua Colp 92de3e5939 Merged revisions 73319 via svnmerge from
19 years ago
Christian Richter 090cbd2945 added general Jitterbuffer Implementation. #9960
19 years ago
Christian Richter 515f29f8d6 Merged revisions 73253 via svnmerge from
19 years ago
Christian Richter 939705cfe4 Merged revisions 73208 via svnmerge from
19 years ago
Christian Richter 8c388e9adf Merged revisions 73005 via svnmerge from
19 years ago
Joshua Colp fab0bded8c Yet another Solaris tweak...
19 years ago
Christian Richter b7b027d19b Merged revisions 72852 via svnmerge from
19 years ago
Christian Richter efea29fde8 Merged revisions 72851 via svnmerge from
19 years ago
Christian Richter 6606e374be Merged revisions 72850 via svnmerge from
19 years ago
Jason Parker 8a9bc541ee Add support for regcontext and regexten to chan_skinny
19 years ago
Jason Parker daec10d187 Fix building with -Wdeclaration-after-statement, here too
19 years ago
Luigi Rizzo 600d737dce move variable declarations to the beginning of the block
19 years ago
Matthew Fredrickson da124685f3 Fix bug where point code gets corrupted on CPG
19 years ago
Joshua Colp e13e88836a Silly jingle...
19 years ago
Joshua Colp 62084eb2a4 Add SIPREFERRINGCONTEXT and SIPREFERREDBYHDR variables when a transfer takes place. (issue #8378 reported by jcovert)
19 years ago
Joshua Colp 4897378ff1 Merged revisions 72331 via svnmerge from
19 years ago
Matthew Fredrickson 7f233a8dc2 Let's NOT create a deadlock scenario here
19 years ago
Kevin P. Fleming 86fcb89338 Merged revisions 72205 via svnmerge from
19 years ago
Jason Parker 8bf745194f Merged revisions 72125 via svnmerge from
19 years ago
Christian Richter bc478d6c41 Merged revisions 72042 via svnmerge from
19 years ago
Joshua Colp 1961b57705 Add rtpdest option to SIP CHANNEL() dialplan function to return the IP address and port that RTP (be it audio/video/text) is going to.
19 years ago
Joshua Colp d77301b8cd Tweak CLI command completion and some help text. (issue #10049 reported by IgorG)
19 years ago
Joshua Colp b7cd8648b5 Merged revisions 71576 via svnmerge from
19 years ago
Joshua Colp b8d64002b2 Merged revisions 71522 via svnmerge from
19 years ago
Christian Richter 1e6b6d2df5 Merged revisions 71214 via svnmerge from
19 years ago
Christian Richter d72da1523d Merged revisions 71123 via svnmerge from
19 years ago
Christian Richter 71f6d61265 Merged revisions 71122 via svnmerge from
19 years ago
Christian Richter 829f58b228 Merged revisions 71121 via svnmerge from
19 years ago
Christian Richter e57fa9fa82 Merged revisions 71120 via svnmerge from
19 years ago
Christian Richter f804c7ef5f Merged revisions 71118 via svnmerge from
19 years ago
Christian Richter ebd9ba0456 Merged revisions 71106 via svnmerge from
19 years ago
Christian Richter a378c3f852 Merged revisions 71096 via svnmerge from
19 years ago
Joshua Colp 76455dda03 Merged revisions 71430 via svnmerge from
19 years ago
Joshua Colp 8bab6c1f69 Merged revisions 71412 via svnmerge from
19 years ago
Russell Bryant 8fd5e05635 Merged revisions 71003 via svnmerge from
19 years ago