Commit Graph

120 Commits (acb51ca5c28a9f67c3a338e7b88f1c6a5bfe1321)

Author SHA1 Message Date
Steve Murphy b5cd67adc3 This code was in team/murf/bug8684-trunk; it should fix bug 8684 in trunk. I didn't add it to 1.4 yet, because it's not entirely clear to me if this is a bug fix or an enhancement. A lot of files were affected by small changes like ast_variable_new getting an added arg, for the file name the var was defined in; ast_category_new gets added args of filename and lineno; ast_category and ast_variable structures now record file and lineno for each entry; a list of all #include and #execs in a config file (or any of its inclusions are now kept in the ast_config struct; at save time, each entry is put back into its proper file of origin, in order. #include and #exec directives are folded in properly. Headers indicating that the file was generated, are generated also for each included file. Some changes to main/manager.c to take care of file renaming, via the UpdateConfig command. Multiple inclusions of the same file are handled by exploding these into multiple include files, uniquely named. There's probably more, but I can't remember it right now.
18 years ago
Russell Bryant 040a5f20f9 * Constify the uid field of channel datastores
18 years ago
Joshua Colp 9264d5007a (closes issue #10427)
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 5f0c3e7dbc constify the return value of reason2str
18 years ago
Steve Murphy 526d1f39a2 Merged revisions 79099 via svnmerge from
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 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