Commit Graph

164 Commits (4fb04cb58a15aafd7cf4be6d042bc0cccdbbefe9)

Author SHA1 Message Date
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 602198c402 Merge audiohooks branch into trunk. This is a new API for developers to listen and manipulate the audio going through a channel.
18 years ago
Joshua Colp 9ef1b0a974 Extend the ast_senddigit and ast_dtmf_stream API calls to allow the duration of the DTMF digit(s) to be specified and make the SendDTMF application have the capability to use it.
18 years ago
Joshua Colp 431c60f818 Merged revisions 78275 via svnmerge from
18 years ago
Luigi Rizzo f66dbeb8f3 print formats as 0x%x instead of %d in a warning message.
18 years ago
Russell Bryant ad094d5109 Merged revisions 77785 via svnmerge from
18 years ago
Russell Bryant a2fc80d4a6 Merged revisions 77780 via svnmerge from
18 years ago
Joshua Colp 3733874f49 Merged revisions 77771 via svnmerge from
18 years ago
Joshua Colp 7bd9b905e4 Merged revisions 77460 via svnmerge from
18 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
18 years ago
Mark Michelson b37f7ab577 Merged revisions 77154 via svnmerge from
18 years ago
Russell Bryant d5b4fde291 Merged revisions 76132 via svnmerge from
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
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
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
Joshua Colp 1f86a8bc2d Merged revisions 74922 via svnmerge from
18 years ago
Joshua Colp 8f3a5481dc Merged revisions 74888 via svnmerge from
18 years ago
Joshua Colp f4943f3211 Merged revisions 73355 via svnmerge from
18 years ago
Joshua Colp 73d33590ba Merged revisions 72888 via svnmerge from
18 years ago
Joshua Colp 809c1398d7 Merged revisions 72257 via svnmerge from
18 years ago
Joshua Colp 7feaaaaf04 Merged revisions 72148 via svnmerge from
18 years ago
Steve Murphy cd97d6a687 Merged revisions 70062 via svnmerge from
18 years ago
Joshua Colp afe63aec33 Merged revisions 69987 via svnmerge from
18 years ago
Russell Bryant b179e2155f Convert uses of strdup() to ast_strdup()
18 years ago
Russell Bryant 055d82cbce Add a massive set of changes for converting to use the ast_debug() macro.
18 years ago
Russell Bryant cf06bdb312 Merged revisions 69010 via svnmerge from
18 years ago
Joshua Colp b3475e429a Minor code cleanup.
18 years ago
Joshua Colp a9043635ed Change channel list to read/write list... I'm crazy.
18 years ago
Joshua Colp eb56cb6b92 Merged revisions 68683 via svnmerge from
18 years ago
Joshua Colp ef7b38e065 Merged revisions 68157 via svnmerge from
18 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
18 years ago
Russell Bryant 18101ff0e3 Merged revisions 67716 via svnmerge from
18 years ago
Russell Bryant 2b25070414 Merged revisions 66076 via svnmerge from
18 years ago
Russell Bryant 9065eb1054 Merged revisions 66070 via svnmerge from
18 years ago
Russell Bryant 90d6885701 Add a new feature for Music on Hold. If you set the "digit" option for a
18 years ago
Joshua Colp f02ea9e076 Merged revisions 64240 via svnmerge from
18 years ago
Olle Johansson 78d3244554 Merged revisions 64157 via svnmerge from
18 years ago
Joshua Colp 9427cf5dd6 Merged revisions 63698 via svnmerge from
18 years ago
Russell Bryant 56254ee491 Merged revisions 63612 via svnmerge from
18 years ago
Russell Bryant 39dd02d542 Merged revisions 63608 via svnmerge from
18 years ago
Joshua Colp 5394364048 Merged revisions 63286 via svnmerge from
18 years ago
Russell Bryant 1e3b1a576c Merged revisions 62942 via svnmerge from
18 years ago
Russell Bryant 255f151582 Merged revisions 62789 via svnmerge from
18 years ago
Steve Murphy fe7068a51b Merged revisions 62689 via svnmerge from
18 years ago
Russell Bryant 007fa5e0be Merged revisions 62005 via svnmerge from
18 years ago
Joshua Colp 8b2b3e172b Merged revisions 61805 via svnmerge from
18 years ago
Russell Bryant 94459660a3 Merged revisions 61781 via svnmerge from
18 years ago
Russell Bryant fa0e814a69 Merged revisions 61763 via svnmerge from
18 years ago
Tilghman Lesher 47dd5a15af Issue 6082 - New DTMF event for manager
18 years ago
Steve Murphy ecaf781933 Merged revisions 60989 via svnmerge from
18 years ago
Steve Murphy 09c0d56c5c Merged revisions 59522 via svnmerge from
18 years ago
Steve Murphy 0f11d3c8c3 Merged revisions 59486 via svnmerge from
18 years ago
Tilghman Lesher 590cb3a6fa Expand datastores to add the notion of inheritance. This will be needed for
18 years ago
Russell Bryant b4a29c3782 Constify the list of codec preferences.
18 years ago
Tilghman Lesher b0f60e7496 Merged revisions 56685 via svnmerge from
19 years ago
Olle Johansson 75d387acbc Doxygen additions, corrections
19 years ago
Joshua Colp afc99294fa Merged revisions 56231 via svnmerge from
19 years ago
Olle Johansson ba32ee49d0 Adding Realtime Text support (T.140) to Asterisk
19 years ago
Joshua Colp 8470ee5cd0 Merged revisions 54290 via svnmerge from
19 years ago
Russell Bryant 10c4a5fef7 Simplify a small bit of logic.
19 years ago
Paul Cadach 85ad583544 Merged revisions 53879 via svnmerge from
19 years ago
Russell Bryant dab41a355d Merged revisions 51848 via svnmerge from
19 years ago
Joshua Colp 21b53af31d Cosmetic changes. Make main source files better conform to coding guidelines and standards. (issue #8679 reported by johann8384)
19 years ago
Russell Bryant dcca8f345f Merged revisions 51311 via svnmerge from
19 years ago
Luigi Rizzo 5b9114fa73 include "asterisk/zapata.h" to get the zaptel headers.
19 years ago
Jason Parker 11dd11e5a1 Merged revisions 51241 via svnmerge from
19 years ago
Joshua Colp c71d6c12f7 Don't hold channel lock while sleeping/waiting for audio stream to get setup. (issue #8834 reported by phsultan)
19 years ago
Joshua Colp d986f00e73 Merged revisions 50727 via svnmerge from
19 years ago
Kevin P. Fleming 17ea9c930e make the automatic post-answer delay happen only when the answer is 'automatic' (not done by the Answer() dialplan application)
19 years ago
Kevin P. Fleming 1439e0fa75 when a channel gets automatically answered by an application, sleep a bit to give the audio path (for VOIP channels) time to be setup
19 years ago
Tilghman Lesher 33d5a8a582 Reduce duplication of code (Issue 6542)
19 years ago
Joshua Colp a9c3429b07 Merged revisions 49675 via svnmerge from
19 years ago
Kevin P. Fleming 3f7899c9da small formatting fix
19 years ago
Kevin P. Fleming adca0ff14b Merged revisions 49006 via svnmerge from
19 years ago
Luigi Rizzo 09f75aa6dc rename the structs struct tone_zone_sound and struct tone_zone
19 years ago
Luigi Rizzo a2e6c6277f same as in other places, check that generator->release is not NULL
19 years ago
Luigi Rizzo b6d1722c83 remove ast_safe_string_alloc() - it is completely
19 years ago
Luigi Rizzo 1122621981 constify ast_state2str() and note it is not reentrant.
19 years ago
Russell Bryant 17a2888d2e Staticize one, and Constify a bunch of usage strings for CLI commands.
19 years ago
Olle Johansson e3b099c12a Formatting fix
19 years ago
Luigi Rizzo d7b26b6bf8 set pointers to NULL after freeing memory to avoid multiple free()
19 years ago
Steve Murphy 6dcb17baaf This update fulfils the request of bug 7109, which claimed the language arg to ast_stream_and_wait() was redundant. Almost all calls just used chan->language, and seeing how chan is the first argument, this certainly seems redundant. A change of language could just as easily be done by simply changing the channel language before calling.
19 years ago
Paul Cadach fc58bec502 Merged revisions 44809 via svnmerge from
19 years ago
Joshua Colp 0f15e43add Merged revisions 47707 via svnmerge from
19 years ago
Steve Murphy 2e375b388e This mod via bug 7531
19 years ago
Steve Murphy 908f176cf3 A fair number of changes for the sake of bug 7506
19 years ago
Tilghman Lesher 10875731ec Merged revisions 47051 via svnmerge from
19 years ago
Tilghman Lesher a8d3ee89c6 Merged revisions 46078 via svnmerge from
19 years ago
Russell Bryant bd53e7ee4c Extend the thread storage API such that a custom initialization function can
19 years ago
Russell Bryant 40b8afd54f Merged revisions 45441 via svnmerge from
19 years ago
Kevin P. Fleming 696f9ed677 Merged revisions 45408 via svnmerge from
19 years ago
Joshua Colp b5f2589e33 Add Masquerade manager event which trips when a masquerade happens (issue #7840 reported by moy)
19 years ago
Matt O'Gorman ae8cc3e18b bug #8076 check option_debug before printing to debug channel.
19 years ago
Joshua Colp 3e4a081e1c Make callerid fields in Manager events more consistent. CallerIDNum for number and CallerIDName for name. (issue #7976 reported by suhler)
19 years ago
Russell Bryant d2c57c5f4f Merged revisions 43779 via svnmerge from
19 years ago
Joshua Colp becd11ddb8 Merged revisions 43695 via svnmerge from
19 years ago
Kevin P. Fleming acf824fe5e Merged revisions 43486 via svnmerge from
19 years ago
Tilghman Lesher 2b55678e1f Remove deprecated CLI apps from the core
19 years ago
Joshua Colp 1c764935f2 SS7 marked the start of an open season for trunk again but here's something minor - abstract early bridging into the technology so that we don't always assume they use RTP and try it.
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago