Commit Graph

4632 Commits (37166d9a1a98fd511aa6bf13e3585ec37d6fa2ec)

Author SHA1 Message Date
Russell Bryant 7c41c3a5bc Merged revisions 80895 via svnmerge from
18 years ago
Russell Bryant 700b5d8442 Merged revisions 80849 via svnmerge from
18 years ago
Matthew Fredrickson 3616eb166f Add VMWI chan_zap support #9909
18 years ago
Philippe Sultan fce77d7d6a Merged revisions 80661 via svnmerge from
18 years ago
Kevin P. Fleming b16f018d96 Merged revisions 80501 via svnmerge from
18 years ago
Russell Bryant 488cd9a7a6 Merged revisions 80499 via svnmerge from
18 years ago
Joshua Colp ed9306ba42 If no default language has been specified print out that it will default to english when using sip show peer or sip show user.
18 years ago
Russell Bryant f6f9c14723 allow peers and users to go into a hash table
18 years ago
Russell Bryant eb6813cce3 Merged revisions 80390 via svnmerge from
18 years ago
Russell Bryant f04ed4641b Unsubscribe from MWI events in the peer destructor
18 years ago
Russell Bryant 50d7fc81aa Merged revisions 80362 via svnmerge from
18 years ago
Russell Bryant 8a2dd1d145 Merged revisions 80183 via svnmerge from
18 years ago
Russell Bryant eaac379751 Merged revisions 80132 via svnmerge from
18 years ago
Joshua Colp 65e4c80d48 Fix random segfault issue when loading chan_zap. Trying to access a configuration structure that has already been destroyed is bad, mmmk?
18 years ago
Joshua Colp 477e7dcbc7 (closes issue #10495)
18 years ago
Joshua Colp 9471a4ec08 Fix building of trunk. I'm doing work on a Sunday night just to avoid watching Snakes on a Plane which my roommate is watching.
18 years ago
Tilghman Lesher 749b67bd1d We weren't properly encapsulating the mtime ignores of config files (closes issue #10488)
18 years ago
Russell Bryant 57d5934e5d Merged revisions 79912 via svnmerge from
18 years ago
Jason Parker 100e2387db Merged revisions 79904 via svnmerge from
18 years ago
Jason Parker 0e83c80480 Merged revisions 79902 via svnmerge from
18 years ago
Russell Bryant c67f7fd3da Make use of ast_sched_replace() in some places in chan_iax2
18 years ago
Russell Bryant f5bf66bcd7 This commit adds a scheduler API call, ast_sched_replace that can be used
18 years ago
Russell Bryant 9d54c14278 Merged revisions 79857 via svnmerge from
18 years ago
Christian Richter 7ee8772e2d Merged revisions 79833 via svnmerge from
18 years ago
Joshua Colp ecff1370fb Fix building of chan_zap under development mode without libpri and libss7 installed.
18 years ago
Russell Bryant 0b44b92cf5 Merged revisions 79756 via svnmerge from
18 years ago
Mark Michelson ff7c41753f Merged revisions 79748 via svnmerge from
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Dwayne M. Hubbard 6186647ac3 added counter for iax2 show registry CLI output, closes issue 10461, thanks junky
18 years ago
Christian Richter a3a32e6675 Merged revisions 79642 via svnmerge from
18 years ago
Joshua Colp 3512cefb10 Merged revisions 79523 via svnmerge from
18 years ago
Christian Richter 8d6b33c64b Merged revisions 78936 via svnmerge from
18 years ago
Russell Bryant 4b584bbdf7 Merged revisions 79470 via svnmerge from
18 years ago
Russell Bryant 4e038cdc7c Merged revisions 79436 via svnmerge from
18 years ago
Steve Murphy 4f98b05cd5 Don't ask me why, but waitfordigit will immediately return a 1 on my system, unless the outfd is initialized to -1 before calling the nandfds func
18 years ago
Russell Bryant e05da8e948 Merged revisions 79301 via svnmerge from
18 years ago
Russell Bryant 16373a4e5f Merged revisions 79276 via svnmerge from
18 years ago
Russell Bryant 982a3ac424 Merged revisions 79274 via svnmerge from
18 years ago
Russell Bryant 0dd52f7196 Merged revisions 79272 via svnmerge from
18 years ago
Russell Bryant a2847deb73 Merged revisions 79214 via svnmerge from
18 years ago
Joshua Colp d5eda8709c Merged revisions 79174 via svnmerge from
18 years ago
Jason Parker 9b3c3f1c61 Use localized softkey labels.
18 years ago
Russell Bryant 0034e3f49d When looking up a mailbox, use the default context if not specified as something else
18 years ago
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
18 years ago
Russell Bryant 661fa0b374 Merged revisions 78063 via svnmerge from
18 years ago
Russell Bryant bcabfbb89a Merged revisions 78028 via svnmerge from
18 years ago
Jason Parker 1064b75ab7 Merged revisions 77996 via svnmerge from
18 years ago
Jason Parker fb94195d90 Merged revisions 77993 via svnmerge from
18 years ago
Russell Bryant 7b3dcbb842 Merged revisions 77949 via svnmerge from
18 years ago
Jason Parker 98ef35b908 Merged revisions 77947 via svnmerge from
18 years ago
Russell Bryant 85ba8d515a Merged revisions 77943 via svnmerge from
18 years ago
Russell Bryant 12ed8e8d07 Fix an issue that Simon pointed out to me on IRC. There were cases in the
18 years ago
Russell Bryant 171791dd8b Merged revisions 77939 via svnmerge from
18 years ago
Jason Parker e7e9275241 Merged revisions 77894 via svnmerge from
18 years ago
Jason Parker e27df99e5f Merged revisions 77890 via svnmerge from
18 years ago
Russell Bryant 1990a00ca4 Merged revisions 77887 via svnmerge from
18 years ago
Jason Parker d9beb54cbb Merged revisions 77883 via svnmerge from
18 years ago
Joshua Colp d9aee5e353 Merged revisions 77869 via svnmerge from
18 years ago
Russell Bryant 4e0947c5f1 Convert code that checks the _softhangup member of ast_channel directory to use
18 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
18 years ago
Mark Michelson 768724f5e6 Merged revisions 77824 via svnmerge from
18 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
18 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
18 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.
18 years ago
Russell Bryant 3ca4126887 Change another unnecessary use of the increment operator to explicitly set the var to 1
18 years ago
Russell Bryant 3b49339387 Explicitly set a variable to 1 instead of using the increment operator.
18 years ago
Russell Bryant a27203a5bc Merged revisions 77794 via svnmerge from
18 years ago
Luigi Rizzo b20ab775d5 minor code rearrangements:
18 years ago
Luigi Rizzo adc28d1e1c rename handle_request() to handle_incoming(), as the former
18 years ago
Luigi Rizzo 6fe18e2403 move some dialog-only flags to proper variables, namely
18 years ago
Luigi Rizzo 597421be86 use a function, cli_yesno(), to produce the output Yes or No for
18 years ago
Luigi Rizzo 89f44c573e move the two remaining peer flags to proper variables.
18 years ago
Luigi Rizzo db10bcc41a move RT_FROMCONTACT to a proper sip_peer field.
18 years ago
Luigi Rizzo fd2f3a20bc Move some global 'flags' to individual variables.
18 years ago
Luigi Rizzo 5e35eab5a2 minor simplification of a conditional statement
18 years ago
Luigi Rizzo c19549820e build the version of sip_tech with no send_digit_begin
18 years ago
Luigi Rizzo e5f3a6ccdb remove bit position from description of SIP_* flags.
18 years ago
Luigi Rizzo 692e1fe0c4 back on cleaning up the usage of flags.
18 years ago
Luigi Rizzo b5c5227804 more documentation on internal representation of incoming SIP messages.
18 years ago
Luigi Rizzo 5ca87effb7 make register_unref() return NULL so it is easy to cleanup
18 years ago
Luigi Rizzo 9f165b444a add some documentation to auto_congest(), and some
18 years ago
Luigi Rizzo a6e169c09a more dialog_ref()/dialog_unref() calls
18 years ago
Luigi Rizzo 5dcfd811d7 more dialog_ref()/dialog_unref() calls
18 years ago
Luigi Rizzo d480266797 start introducing hooks for reference counts on dialog descriptors.
18 years ago
Luigi Rizzo df75ae2285 remove an unused string
18 years ago
Luigi Rizzo 800e1a6a03 simplify a conditional expression using S_OR
18 years ago
Luigi Rizzo 6d8c6a9961 make use of received= and rport= fields in sip replies.
18 years ago
Joshua Colp 111250f2ae Turn 4 lines of code into 1 line that does the same thing.
18 years ago
Joshua Colp f6498f16bb Merged revisions 77536 via svnmerge from
18 years ago
Mark Michelson d17d9c542b Merged revisions 77490 via svnmerge from
18 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
18 years ago
Russell Bryant 70f140c1d2 Revert some changes to call abs() on the result of ast_random().
18 years ago
Tilghman Lesher 7a97d49914 Things expecting a positive result from ast_random() should not be surprised (closes #10308)
18 years ago
Luigi Rizzo 546c742106 silence a warning in ast-devmode on a potentially uninitialized var.
18 years ago
Steve Murphy 30c771a9d7 Merged revisions 76983 via svnmerge from
18 years ago
Jason Parker cf551decc5 Revert trivial whitespace change (for testing)
18 years ago
Jason Parker 307d1fcb77 Trivial whitespace change to test comitting...
18 years ago
Tilghman Lesher 1c17bc177d Merged revisions 76803 via svnmerge from
18 years ago
Jason Parker 3562d4eea2 The chan_skinny Dial() syntax was funky. You had to do Dial(Skinny/line@device)
18 years ago
Luigi Rizzo 961165519e two small fixes when using stun (reported by Marta Carbone):
18 years ago
Tilghman Lesher 55b1ee298e Merge the dialplan_aesthetics branch. Most of this patch simply converts applications
18 years ago
Jason Parker d8d1b6c8f2 Merged revisions 76656 via svnmerge from
18 years ago
Joshua Colp 34e92f29f6 Merged revisions 76654 via svnmerge from
18 years ago
Jason Parker 6f81f60696 Merged revisions 76620 via svnmerge from
18 years ago
Luigi Rizzo 6a9270d879 add two missing entries in the replica of the sip_tech that
18 years ago
Joshua Colp 90dc0cfa85 Merged revisions 76561 via svnmerge from
18 years ago
Russell Bryant 7a2772c151 Mark str2dtmfmode() as currently unused to resolve a compiler warning and
18 years ago
Russell Bryant eaebbdab61 (closes issue #10271)
18 years ago
Luigi Rizzo b1791d9349 introduce two functions, map_x_s() and map_s_x(), to map
18 years ago
Russell Bryant 83609770c1 Remove an unused function to resolve a compiler warning
18 years ago
Joshua Colp 91c3d90e8f Use autoconf logic to determine byte swapping macro presence. This should now also use other macros if present.
18 years ago
Luigi Rizzo ed1775bd10 move "sip prunte realtime ..." and "sip set debug ... " to NEW_CLI style.
18 years ago
Joshua Colp 4dc6b6d50a Merged revisions 76519 via svnmerge from
18 years ago
Russell Bryant 3c10aab644 Merged revisions 76485 via svnmerge from
18 years ago
Luigi Rizzo 1ee5480549 Add some documentation on the sipregistry states and the
18 years ago
Luigi Rizzo 28cde9fee3 add a bit of comments on internal functions.
18 years ago
Luigi Rizzo 719dcef90d rewrite "sip show {channels|subscriptions}" CLI handler
18 years ago
Luigi Rizzo 930bf0402d Make sip_destroy() return NULL so the caller can do things like
18 years ago
Luigi Rizzo 97512a856f add two comment blocks, one on reusing nonces, and one on the handling
18 years ago
Luigi Rizzo db12b404fc comment and slightly restructure handle_request() in the part that handles
18 years ago
Luigi Rizzo 88f18dc9d7 remove unused argument from handle_invite_replaces(), and also leftover
18 years ago
Luigi Rizzo b7945cd78e Cleanup of flags used in struct sip_request, moving them to
18 years ago
Luigi Rizzo aa110ad3fd move two per-packet flags to proper variables.
18 years ago
Luigi Rizzo e603d729a9 minor clarification on the usage of SIP_* flags.
18 years ago
Luigi Rizzo 0d5e33f2c3 document the way sipdebug works, and implement it through
18 years ago
Luigi Rizzo 063edd1953 move the SIP_REALTIME flag to a field in the user/peer structure.
18 years ago
Luigi Rizzo 1daf32e474 Add a note to document how the temporary 'pvt' should be initialized
18 years ago
Luigi Rizzo ed604a6df8 whoops... was setting needdestroy on the wrong dialog.
18 years ago
Luigi Rizzo b11d587ab6 more two more flags to proper variables: ALREADYGONE and NEEDDESTROY.
18 years ago
Luigi Rizzo 4ce3ee94c3 use explicit variables for things that don't need to
18 years ago
Luigi Rizzo 10d1b9347c Use ast_str_append() instead of ast_build_string() to construct
18 years ago
Luigi Rizzo 06a3436375 We have two 'technology' descriptors for a SIP channel, so
18 years ago
Luigi Rizzo 2286afa3af Enhance NAT support as discussed on the -dev list, i.e.:
18 years ago
Jason Parker 4a023add58 Merged revisions 76174 via svnmerge from
18 years ago
Joshua Colp 989b93143a Merged revisions 76087 via svnmerge from
18 years ago
Joshua Colp 66cae9269b It is impossible for the externhost variable to not exist, it is however possible for it to be empty.
18 years ago
Luigi Rizzo bfc782f4e9 Don't use a field size for the last argument of printf format,
18 years ago
Luigi Rizzo b2fec9ad16 Extend the 'network settings' section with indication on the
18 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.
18 years ago
Russell Bryant 7b09e738f0 Merged revisions 75928 via svnmerge from
18 years ago
Luigi Rizzo d60c5ee296 print more of the network settings (externip, externhost etc.)
18 years ago
Luigi Rizzo 192ac53c3f document the use of externip, externhost and other nat-related options,
18 years ago
Luigi Rizzo fddd5b557c ast_sip_ouraddrfor() never fails, so make it void
18 years ago
Luigi Rizzo 00d9a3e7a0 portability fix: use %f instead of %lf when printing double.
18 years ago
Tilghman Lesher 16fe42c536 Allow chan_misdn to build in dev-mode
18 years ago
Jason Parker 204743a820 Merged revisions 75807 via svnmerge from
18 years ago
Russell Bryant 5272289355 I thought I noticed a memory leak earlier when I saw that the contents of this
18 years ago
Tilghman Lesher 9c99cba373 Change IAX variables to use datastores (closes issue #9315)
18 years ago
Russell Bryant 4681316959 Merged revisions 75759 via svnmerge from
18 years ago
Jason Parker 89acafbf37 Merged revisions 75732 via svnmerge from
18 years ago
Jason Parker 4f22126365 Merged revisions 75711 via svnmerge from
18 years ago
Jason Parker a1b2a23b4d Merged revisions 75707 via svnmerge from
18 years ago
Russell Bryant 707ca59923 convert some lines indented with spaces to tabs
18 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
18 years ago
Joshua Colp a23feea9d2 Merged revisions 75623 via svnmerge from
18 years ago
Joshua Colp d90bddfa6c Merged revisions 75621 via svnmerge from
18 years ago
Joshua Colp e2b0f321a3 Merged revisions 75619 via svnmerge from
18 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.
18 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.
18 years ago
Russell Bryant 91e2afe4e7 Merged revisions 75450 via svnmerge from
18 years ago
Russell Bryant b5ff588044 Merged revisions 75445 via svnmerge from
18 years ago
Russell Bryant 681e45f0b2 Merged revisions 75441 via svnmerge from
18 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.
18 years ago
Russell Bryant 432a087ed9 Merged revisions 75053 via svnmerge from
18 years ago
Mark Michelson 4d915d13c7 Merged revisions 74997 via svnmerge from
18 years ago
Steve Murphy 6bc0a4929c Merged revisions 74955 via svnmerge from
18 years ago
Jason Parker 4cc5a034b7 Merged revisions 74866 via svnmerge from
18 years ago
Jason Parker 588c3f85fe Merged revisions 74864 via svnmerge from
18 years ago
Russell Bryant 08b1a342e5 Merged revisions 74767 via svnmerge from
18 years ago
Mark Michelson 66449656d3 Merged revisions 74722 via svnmerge from
18 years ago
Joshua Colp 2d3f9ce25b Merged revisions 74572 via svnmerge from
18 years ago
Joshua Colp 2162433060 Change header a bit to get rid of a doxygen parse error. (issue #10177 reported by snuffy)
18 years ago
Joshua Colp 2df8b91be1 Merged revisions 74515 via svnmerge from
18 years ago
Jason Parker d459994f7c Merged revisions 74379 via svnmerge from
18 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)
18 years ago
Jason Parker d61b0cac84 Merged revisions 74159 via svnmerge from
18 years ago
Russell Bryant e4f28bc1a5 remove an unused variable
18 years ago
Joshua Colp ec8ef98a03 Merged revisions 74082 via svnmerge from
18 years ago
Joshua Colp 836ea36d3c Merged revisions 74045 via svnmerge from
18 years ago
Olle Johansson a1b9cbcd31 Implementation of a feature that will disable "missed calls" counters on SIP phones.
18 years ago
Tilghman Lesher ba857cc8a9 Merged revisions 73985 via svnmerge from
18 years ago
Olle Johansson 74e8ab14fc Merged revisions 73849 via svnmerge from
18 years ago
Russell Bryant 1da115c8d9 Merged revisions 73769 via svnmerge from
18 years ago
Russell Bryant a0c37d2548 Merged revisions 73679 via svnmerge from
18 years ago