Commit Graph

895 Commits (c9f3efc3819c2939101b6fad9f659690c8a325a4)

Author SHA1 Message Date
Russell Bryant eaebbdab61 (closes issue #10271)
19 years ago
Joshua Colp 2c2af928fe Merged revisions 76067 via svnmerge from
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 a971b4bfc4 (closes issue #10210, reported and patched by juggie)
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
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
Russell Bryant 7743bed9f6 Merged revisions 75401 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
Joshua Colp 96a646734f It is no longer required for each module that deals with a channel to call ast_module_user_hangup_all in it's unload function. The loader will automatically perform this action for it.
19 years ago
Russell Bryant fcd3f8dbea Merged revisions 75067 via svnmerge from
19 years ago
Joshua Colp 7bc762c319 Merged revisions 74815 via svnmerge from
19 years ago
Joshua Colp 48f166e87b Code cleanup of res_agi
19 years ago
Joshua Colp 21e30f9d7d Code cleanup of res_smdi
19 years ago
Russell Bryant 4f84931f12 Merged revisions 74657 via svnmerge from
19 years ago
Joshua Colp 7e015109a2 Use the linkedlists.h AST_LIST_NEXT macro for modifying the list of results.
19 years ago
Joshua Colp f8e605fe25 Allow the native formats of a channel to influence the audio that is going to the engine. The best format will try to be chosen with an ultimate fallback to signed linear if possible.
19 years ago
Joshua Colp b314d6ee08 Can't forget to remember what format is in use for writing.
19 years ago
Joshua Colp 406c3df40e Change the speech API to allow passing the format through to the engine.
19 years ago
Russell Bryant e9290d5178 Merged revisions 74323 via svnmerge from
19 years ago
Russell Bryant 760649be75 Merged revisions 74314 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 ef94957540 (closes issue #7596)
19 years ago
Russell Bryant 7f10fccec1 Merged revisions 74162 via svnmerge from
19 years ago
Joshua Colp f80af1ff80 Use linkedlist macros for parking.
19 years ago
Russell Bryant cf6ee48b5b ast_exists_extension() does not return an ast_device_state, so change this
19 years ago
Russell Bryant 53756e6716 Merged revisions 73696 via svnmerge from
19 years ago
Russell Bryant 6643934403 Merged revisions 73512 via svnmerge from
19 years ago
Jason Parker 685c48b19c Correct an issue where the wrong type was being used to start sasl.
19 years ago
Russell Bryant d2a85e5f64 After some discussion on the asterisk-dev list, we determined that this approach
19 years ago
Russell Bryant 8d99a2004b Fix up the AGI doc dump CLI command and update the AGI commands tex file to not
19 years ago
Joshua Colp 0f36e1ef75 Fix building under Solaris.
19 years ago
Russell Bryant 93229b0fed Add a CLI command to export the AGI command docs
19 years ago
Russell Bryant 625dbb6f89 Add a note that the AGI commands array is not handled in a thread-safe way
19 years ago
Tilghman Lesher a952147446 Remove the ill-advised ast_restrdupa API call and related structures
19 years ago
Jason Parker b1d53e8fc3 Fix building with -Wdeclaration-after-statement
19 years ago
Luigi Rizzo ad42dfe1dd move variable declarations to the beginning of a block.
19 years ago
Jason Parker e3cf86f4b3 Simplify some code in res_jabber relating to SASL support.
19 years ago
Tilghman Lesher 82e2033519 Merged revisions 71657 via svnmerge from
19 years ago
Joshua Colp 9b23b9b3b2 Minor header inclusion tweak for new usage of stat()
19 years ago
Tilghman Lesher 2e4b41841d Merged revisions 71291 via svnmerge from
19 years ago
Steve Murphy d17beedd5a Merged revisions 71230 via svnmerge from
19 years ago
Joshua Colp c00428b0b0 Use stat to determine whether the file exists or not. (issue #10038 reported by Mike Anikienko)
19 years ago
Jason Parker 68ac7f7633 Merged revisions 71068 via svnmerge from
19 years ago
Tilghman Lesher a1bc823136 Issue 9990 - New API ast_mkdir, which creates parent directories as necessary (and is faster than an outcall to mkdir -p)
19 years ago
Joshua Colp fd9057423a Expand AGISTATUS variable to include NOTFOUND which is set when the AGI file could not be found. (issue #9285 reported by srdjan)
19 years ago
Joshua Colp c6755754d1 Merged revisions 69847 via svnmerge from
19 years ago
Russell Bryant 43658278ff Merged revisions 69702 via svnmerge from
19 years ago
Russell Bryant b179e2155f Convert uses of strdup() to ast_strdup()
19 years ago
Russell Bryant 055d82cbce Add a massive set of changes for converting to use the ast_debug() macro.
19 years ago
Jason Parker f25db8cc78 Continuation of issue 9968 (revision 69081). This should be the last one.
19 years ago
Russell Bryant f379df9773 Simplify some logic and convert spaces to tabs
19 years ago
Russell Bryant 5d350e0f81 The variable used for the return value must be declared as static. I broke
19 years ago
Russell Bryant 3b9a36109f Add support for retrieving the number of channels that are currently bridged
19 years ago
Russell Bryant 68492b239c Add an option for ControlPlayback to be able to start at an offset from
19 years ago
Jason Parker 77012734eb Fix incorrect logic for param count.
19 years ago
Russell Bryant 1d57ccb6f7 Fix a bunch of doxygen errors and document more things
19 years ago
Russell Bryant 1cd610ddbe Doxygenify a lot of the functions in res_jabber
19 years ago
Russell Bryant bc0702ba23 Minor formatting change ... testing mantis stuff to see if we're done
19 years ago
Olle Johansson 9af51baee7 Merged revisions 68030 via svnmerge from
19 years ago
Olle Johansson ddb10bf8c7 Merged revisions 68028 via svnmerge from
19 years ago
Olle Johansson 18a9f4d805 Merged revisions 68027 via svnmerge from
19 years ago
Olle Johansson bce7e353d6 Merged revisions 67993 via svnmerge from
19 years ago
Olle Johansson 6fc3a29660 Simplification of res_jabber code (done at Inria, Paris with Philippe)
19 years ago
Russell Bryant 9c78e261d6 Merged revisions 67872 via svnmerge from
19 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
19 years ago
Russell Bryant 65e8178c2b Constify the return values of ast_parking_ext() and ast_pickup_ext()
19 years ago
Russell Bryant baf596a954 Another tiny formatting change for testing ...
19 years ago
Russell Bryant 6ddcfff1c7 Change "show parkedcalls" to "parkedcalls show" and mark the previous command
19 years ago
Joshua Colp 3f463b7668 Merged revisions 67597 via svnmerge from
19 years ago
Joshua Colp 6e6d4be830 Merged revisions 67064 via svnmerge from
19 years ago
Tilghman Lesher 4538cec96a Merged revisions 67021 via svnmerge from
19 years ago
Jason Parker 545de7746c Documentation fixes for res_config_sqlite.
19 years ago
Russell Bryant ce4051a803 Merged revisions 66775 via svnmerge from
19 years ago
Russell Bryant 8d0124aba3 Add support for configuring named groups of custom call features in
19 years ago
Russell Bryant cc35dc8999 Revert changes that snuck in with revision 66724.
19 years ago
Russell Bryant 8ea9dcc221 Fix a crash on reload by using calloc() instead of malloc() to ensure that
19 years ago
Olle Johansson 0b2db74e5a Issue #9842 - Doxygen updates by snuffy. Thanks!
19 years ago
Tilghman Lesher 1236ed3214 Issue 9477 - Improve menuselect labels
19 years ago
Kevin P. Fleming c74518e3ff Merged revisions 66157 via svnmerge from
19 years ago
Olle Johansson 9b95428cce Issue #8409 and accidentally a fix to chan_sip that wasn't supposed to be there
19 years ago
Joshua Colp 998261f602 Fix compiling of res_musiconhold under dev mode.
19 years ago
Russell Bryant 90d6885701 Add a new feature for Music on Hold. If you set the "digit" option for a
19 years ago
Joshua Colp 5b4de10a12 Don't overwrite a pointer to the first channel... that is bad. (issue #9770 reported by tfbu)
19 years ago
Joshua Colp cc3c91edc2 Merged revisions 65250 via svnmerge from
19 years ago
Joshua Colp b10fd38770 Music on hold and crypto no longer need their symbols globally exported. They register the function pointers upon loading with their respective stubs.
19 years ago
Joshua Colp 42c63dd2ed Add the adsistub file to the Asterisk makefile, fix a stub definition, and no longer make the symbols from res_adsi global since they don't need to be.
19 years ago
Olle Johansson bdd2b74ced Issue #5930 - Remove dependencies on res_adsi.so - clwade
19 years ago
Russell Bryant 16a9f0844f Merged revisions 64426 via svnmerge from
19 years ago
Russell Bryant 17ab54e52a Merged revisions 64353 via svnmerge from
19 years ago
Russell Bryant 0664aa2a73 Add gender support for AGI SAY NUMBER.
19 years ago
Joshua Colp 4765d4145e Merged revisions 63872 via svnmerge from
19 years ago
Russell Bryant a9bd9e39d5 Merged revisions 63448 via svnmerge from
19 years ago
Russell Bryant 314c874d7d I noted this on the dev list but got no response, so I just did it myself.
19 years ago
Russell Bryant 42a62a3c21 Merged revisions 63445 via svnmerge from
19 years ago
Olle Johansson a39f95b94f Adding external referenses for doxygen
19 years ago
Jason Parker cddb061140 Merged revisions 63099 via svnmerge from
19 years ago
Steve Murphy 7ec9a2fb57 According to my testing, it's better if the ast_find_call_feature func ran this way instead, as far as the snom record button is concerned
19 years ago
Steve Murphy 02337303ef a small upgrade to the coding standard, and an update to the code that triggered the upgrade.
19 years ago
Steve Murphy 3ee0077f04 Added a small bit of code to support the SNOM 360's Record button. Made the find_feature func in res_features.c public, so I could use it to find the automon dial sequence as configured by the user. When the INFO packet has a Record: header with on/off, the sequence is sent as consecutive DTMF frames on the phone's channel, triggering the automon functionality. The user has to configure the automon in features.conf, and set up his dialplan accordingly.
19 years ago
Kevin P. Fleming f44a236d08 Merged revisions 62842 via svnmerge from
19 years ago
Kevin P. Fleming a2c8e8a4a7 Merged revisions 62797,62807 via svnmerge from
19 years ago
Russell Bryant 7df63e233c In addition to making it so attended transfers don't fail unnecessarily,
19 years ago
Russell Bryant 37d94ceab9 Merged revisions 62548 via svnmerge from
19 years ago
Russell Bryant b6b1bf3213 Merge changes from team/russell/events
19 years ago
Joshua Colp a212ff5a78 Merged revisions 61961 via svnmerge from
19 years ago
Russell Bryant 9c8c9c5fa1 Merge changes from team/russell/issue_5841:
19 years ago
Steve Murphy ecaf781933 Merged revisions 60989 via svnmerge from
19 years ago
Olle Johansson 6ec9260e9f Fix JabberEvents
19 years ago
Olle Johansson ae6587ac8f Fix missing newline in JabberEvent
19 years ago
Joshua Colp 1c2e3e1ffc Major res_speech cleanup. It looks much better now!
19 years ago
Joshua Colp 4b618442a0 Merged revisions 60361 via svnmerge from
19 years ago
Steve Murphy 09c0d56c5c Merged revisions 59522 via svnmerge from
19 years ago
Steve Murphy 0f11d3c8c3 Merged revisions 59486 via svnmerge from
19 years ago
Russell Bryant 921e975d5f Merged revisions 59363 via svnmerge from
19 years ago
Tilghman Lesher fdb5e1107d Merged revisions 59289 via svnmerge from
19 years ago
Joshua Colp 606b1414f6 Merged revisions 59087 via svnmerge from
19 years ago
Russell Bryant 5bea998a55 Merge changes from team/russell/sqlite:
19 years ago
Tilghman Lesher 207c34f2d6 Merged revisions 58479 via svnmerge from
19 years ago
Joshua Colp 0fb8d82f18 Merged revisions 57770 via svnmerge from
19 years ago
Olle Johansson 75d387acbc Doxygen additions, corrections
19 years ago
Olle Johansson bc01e39174 Creating new doxygen macro "\extref" to create page that lists
19 years ago
Jason Parker ae47fc4541 Merged revisions 55555 via svnmerge from
19 years ago
Joshua Colp 264733381a I like it when trunk builds, so let's make res_jabber compile again!
19 years ago
Olle Johansson 36c46f0d81 Merged revisions 55483 via svnmerge from
19 years ago
Olle Johansson 4561b7a83b Being picky...
19 years ago
Olle Johansson 7f0934b6f4 Simplify post_manager_event()
19 years ago
Joshua Colp b8ab0abb83 Allow the user to specify where to enable the respective features for when a parked call is picked up. (ie: transfers and parking)
19 years ago
Russell Bryant a8309d1a3c Merged revisions 54888 via svnmerge from
19 years ago
Joshua Colp ae6898cbe5 Add option to features.conf that enables parking via DTMF on picked up parked calls. (issue #9082 reported by francesco_r)
19 years ago
Olle Johansson 33915a153a Issue #9068 - make sure we quote HTML characters correctly too (seanbright)
19 years ago
Olle Johansson 71c7f6e32f Merged revisions 54772 via svnmerge from
19 years ago
Russell Bryant f60efe347a This introduces a new dialplan function, DEVSTATE, which allows you to do some
19 years ago
Kevin P. Fleming e758ef09b3 Merged revisions 53779-53781 via svnmerge from
19 years ago
Joshua Colp b3c0e124bd I'm crazy so I think I'll change the musiconhold classes linked list to read/write as well!
19 years ago
Tilghman Lesher c1e37165c1 Merged revisions 53294 via svnmerge from
19 years ago
Joshua Colp c19b8803f3 Merged revisions 53088 via svnmerge from
19 years ago
Olle Johansson 38341590a3 Formatting changes
19 years ago
Paul Cadach b2aa1a68e6 Merged revisions 52808 via svnmerge from
19 years ago
Steve Murphy 80435b54a5 Merged revisions 51716 via svnmerge from
19 years ago
Joshua Colp fa6d3941df Merged revisions 51513 via svnmerge from
19 years ago
Luigi Rizzo dc31eaa025 include "asterisk/zapata.h" instead of looking
19 years ago
Joshua Colp 10e3cba61e Add parkedcalltransfers option for res_features. This basically enables/disables DTMF based transfers. If you want to get former behavior you will have to make sure it is enabled.
19 years ago
Joshua Colp 0f456a07e3 Merged revisions 51148 via svnmerge from
19 years ago
Joshua Colp 2a5df21d5f Merged revisions 50674 via svnmerge from
19 years ago
Tilghman Lesher c4c2c546da When calling the Realtime app more than once, unset fields which were
19 years ago
Jason Parker 5abda34cd9 Merged revisions 49742 via svnmerge from
19 years ago
Kevin P. Fleming 87b9abc892 Merged revisions 49676 via svnmerge from
19 years ago
Luigi Rizzo 09f75aa6dc rename the structs struct tone_zone_sound and struct tone_zone
19 years ago
Steve Murphy 7b338004bf a quick fix to app_sms.c to get rid of cursed compiler warnings so I can compile under --enable-dev-mode
19 years ago
Joshua Colp 09de4d2b67 Update res_snmp to use new API declaration of pbx_builtin_serialize_variables (issue #8627 reported by johann8384)
19 years ago