Commit Graph

168 Commits (645af85225ad0611e6130250819a3502fe3b2173)

Author SHA1 Message Date
Christian Richter e65aeb27b5 Merged revisions 50495,50506 via svnmerge from
19 years ago
Christian Richter 19fdc9b14e manually merged r49922 and r50335, because of conflicts. this commint includes addition of the ISDN RESTART Message
19 years ago
Russell Bryant 33235b40d6 Merge the changes from the /team/group/vldtmf_fixup branch.
19 years ago
Christian Richter fb52698667 Merged revisions 48319,48321,48467,48552,48576,49135,49303 via svnmerge from
19 years ago
Christian Richter 55229f98b9 Merged revisions 47968 via svnmerge from
19 years ago
Steve Murphy 517978fd5f These mods are to solve the problem in bug 7506. It's a lot of rework to solve a fairly small problem... such is life.
19 years ago
Christian Richter b03054fdfc Merged revisions 46350 via svnmerge from
19 years ago
Christian Richter 6964f148ba Merged revisions 46176 via svnmerge from
19 years ago
Christian Richter c01e86f14e Merged revisions 45808 via svnmerge from
19 years ago
Christian Richter a05d2ebb96 avoiding warning, fixing potential bug
19 years ago
Christian Richter 3a602aa1d7 Merged revisions 45020 via svnmerge from
19 years ago
Christian Richter 76dd912066 Merged revisions 44785 via svnmerge from
19 years ago
Christian Richter 290fe898f0 Merged revisions 44460 via svnmerge from
19 years ago
Christian Richter 37df5208a1 Merged revisions 44335 via svnmerge from
19 years ago
Christian Richter 13825dab85 Merged revisions 44334 via svnmerge from
19 years ago
Christian Richter e0005b654a Merged revisions 44149 via svnmerge from
19 years ago
Joshua Colp d2d4833b79 Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)
19 years ago
Christian Richter a3f43a7dfe Merged revisions 43764 via svnmerge from
19 years ago
Christian Richter cf7b068f58 removed the chan_misdn versioning, since asterisk has it's own
19 years ago
Russell Bryant 0b2dcac484 return AST_MODULE_LOAD_DECLIDE if mISDN could not be configured
19 years ago
Kevin P. Fleming 0964265657 Merged revisions 43314 via svnmerge from
19 years ago
Joshua Colp 44821e39f8 While this is experimental I don't think it should be experimental enough to be printed out in big capital letters, and Kenny tends to agree too so you know it's right.
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago
Christian Richter b1fca65c77 fixed pipe consuming bug when using chanIsAvail (#7878), also moved a debug log to the very begining of misdn_hangup.
19 years ago
Matt O'Gorman 05a695af72 everything that loads a config that needs a config file to run
19 years ago
Joshua Colp c6977b9983 Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Nadi Sarrar bd43525f3f fixing the 64bit issue with misdn_l1_task.
19 years ago
Christian Richter 159d9d2a3b added patch from #7709
19 years ago
Kevin P. Fleming 7546de3d8e fix some minor stuff
19 years ago
Russell Bryant 60b8d9f7f1 instead of a for loop and ast_cli_(un)register, use ast_cli_(un)register_multiple()
19 years ago
Nadi Sarrar e5a478e6b1 a static array now holds the cli_entry structs
19 years ago
Nadi Sarrar 864c934f53 adding support for AOCD facility messages.
19 years ago
Christian Richter 7de6ec3337 removed libbnec dependencies.
19 years ago
Nadi Sarrar 0b579cf152 moved the asn1 and facility portions of code to mISDNuser, so removing the files here.
19 years ago
Nadi Sarrar 958f3726f1 * first bits of decoding facility information elements
20 years ago
Christian Richter 52e1395690 * added possibility to change echocancel settings during calls
20 years ago
Christian Richter f2178d336b changed naming of mISDN channels, so that hinting works proper
20 years ago
Russell Bryant 663adb2b0e Merged revisions 38903-38904 via svnmerge from
20 years ago
Christian Richter fc3d27cf6f * removed pp_l2_check (fixed L2 bug in mISDNuser)
20 years ago
Kevin P. Fleming 6d0742fc16 merge Russell's 'hold_handling' branch, finally implementing music-on-hold handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be)
20 years ago
Christian Richter 54ce0f0a22 added even more statefulness for sending out disconnect/release/release_complete messages. added support for incoming presentation/screening. fixed a bug that we generate TONE_EVENTS on hanguptone_indicatem, which caused asterisk to write blocking thread messages. added nodialtone option to prevent dialtone for always_immediate
20 years ago
Christian Richter 94274cc26b * Introducing a new way for the l1watcher thread using the ast_sched way. Now l1watcher timeouts can be configured separately for every portgroup.
20 years ago
Christian Richter 46d200f14d removed unnecessary locking, which might have created deadlocks. removed find_chan_by_l3id, since the l3id is not unique over all ports. removed automatic nt_stack reinitialization, since this creates segfaults.
20 years ago
Christian Richter bd0b801a0d * removed tone_indicate, we genrate only the dialtone by ourself (and the hanguptone of course)
20 years ago
Christian Richter 130ce69987 removed the reloading of the ntdebug stuff, since this is a bit buggy, we only set it when loading chan_misdn for now. fixed a litle state problem when receiving RELEASE_COMPLETE. also we may only play tones to a NT when the extension does not match and such cases.
20 years ago
Christian Richter 5da2848158 removed our own tone creation from misdn_indicate, we just return -1. Now we get a lot fewer blocked in thread blah warnings..
20 years ago
Christian Richter f629ae1872 added misdn show config description[s] to show all the possible misdn.conf settings with a description in the CLI
20 years ago
Christian Richter 6027721510 added a bit logging, when we split the bridge
20 years ago
Christian Richter f5c0cd2ddc added better L2 handling for ptp, if it's down we don't try to call on that port in groupdial anymore, also we try to get it up then. Additionally added the configoptions ntdebugflags and ntdebugfile to debug the mISDNuser NT Stack (should have done that ages before..). isdn_lib.c compiles again.
20 years ago
Christian Richter fc8d55ab15 moved a notice into a log
20 years ago
Christian Richter 727488c81b fixed a few state problems when hanging up the call. also changed a few debug messages to higher log level
20 years ago
Christian Richter 5d18356b24 fixes segfault on incoming call which is disconnected in Alerting state
20 years ago
Christian Richter baad1c266c * fixed the busy state
20 years ago
Christian Richter 70a4c98a5a * added support for PID export/import to identify bridging in misdn_call already
20 years ago
Christian Richter 2302fa58d7 when we get a disconnect, we should stop the tones on te side..
20 years ago
Christian Richter cdbddf5892 we need to send DISCONNECT on Timeout in the ALERTING/PROCEEDING cases too
20 years ago
Christian Richter 829583a3dc added TONE_HANGUP, also added Tone generation by mISDN_dsp for post hangup tones, therefore the TONE_X defines are in the isdn_lib.h now. changed a REALEASE to a DISCONNECT in NT Stack, to make tones available in that state.
20 years ago
Christian Richter d86993b90b * fixed bchannel cleaning race condition with new bchannel state (CLEAN_REQUEST)
20 years ago
Christian Richter 05eed16044 Fixed detection of dtmfs with bridged channels.
20 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
20 years ago
Christian Richter 7924c21e33 changed the clean_up_bc function to work proper again. fixed the print with the conference nr. when bridged
20 years ago
Christian Richter 24818d53b1 added select before write to avoid deadlock on full buffer. added some defines for deadlock debugging. added code snippet for generating silence if we don't have data to write.
20 years ago
Christian Richter 4be235a974 added bearer capability reject support. we send release instead of disconnect in case we have no real channel yet. added support for Restarting channels added support for sending complete decoding. changed some log levels.
20 years ago
Christian Richter eefc9193e7 added EVENT_NEW_CHANNEL. We change the channel name now when we got the real channel, also changed name generation to new stringfield api
20 years ago
Christian Richter 8122c35675 fixed to early connect bug which came in yesterday.., also added the transmit of progress indicators through channel vars
20 years ago
Christian Richter 39ac1a5b83 added a l1watcher timeout, therefore removed the old behaviour of guessing the l1state.
20 years ago
Christian Richter adfae0960f * export_ies uses now _VAR else the vars are not copied to the dest chan
20 years ago
Christian Richter 19d46333bf added callcounters for incoming and outgoing calls
20 years ago
Christian Richter 3fb070853b fixed bug that we've lost the orginator of the call.. now we can hear to disconnect indications again
20 years ago
Christian Richter a309a2db9f fixed very bad memory overwrite which leaded to segfaults on some systems. removed redundant buffer betweend mISDN reading thread and ast_read in favour of the already existing pipe, this clarifies the way a voice frame takes between mISDN and asterisk a lot. centralized debugging of NumberPlan. removed a compiler warning.
20 years ago
Christian Richter efccf89eae Added option far_alerting. This option makes it possible to generate a Ringing on other channels if they feel that they should have inband ringing, but there is non in reality. I need this due to the fact that asterisk has not the possibility to transmit progress indicators thus chan_sip and others do not know wether they should generate a Rining tone themselves if they receive AST_CONTROL_RINGING..
20 years ago
Christian Richter 7f58902bf3 use set_callerid to update callerid with prefix
20 years ago
Christian Richter 63b0baa757 returning 128 emtpy Frames instead of null frame.
20 years ago
Tilghman Lesher dfdf6e1f76 Don't return stack pointers from functions (especially since the code will attempt to free() them later)
20 years ago
Christian Richter 835dfe67b3 added an up-queue message mechanism to avoid buffer fillups in the kernel, also changed some strdups to ast_strdupa
20 years ago
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
20 years ago
Kevin P. Fleming 2229586d71 more module loader related fixes
20 years ago
Christian Richter 52cf26255a fixed some issues, that appear at higher load
20 years ago
Christian Richter cb6f278393 we send nearly everytime a RELEASE, only if we for sure know, that it's a TE and we did create the call we don't to hear the Inband Info
20 years ago
Kevin P. Fleming f10f427d49 since the module API is changing, it's a good time to const-ify the description() and key() return values
20 years ago
Christian Richter ece21c3019 sorry litle mistake
20 years ago
Christian Richter 47b8610f70 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Christian Richter 7788d5061c fixed a bridging-endless-loop also fixed the rdnis is not exported issue
20 years ago
Christian Richter 7028946605 some final fixes for cpn
20 years ago
Christian Richter ce8fc47ffc * advanced the error Handling routine for wrong frames from mISDN
20 years ago
Christian Richter d7a839a299 fixed some essential segfaults happening under heavy load. Added a bit more error handling if we receive wrong data form mISDN (e.g. if we crashed before => handle_err() ). Added first steps to implement the parseing of the connected party number.
20 years ago
Christian Richter a096fbd87d * removed unneeded bc->state field
20 years ago
Matt O'Gorman a5ece3388a Janitor work converting !ast_strlen_zero(a)?a:b
20 years ago
Christian Richter bd4715f3bc fixed hicom busy bug, we now see if the systemphone is busy, also fixed the immediate=yes does not work anymore issue
20 years ago
Christian Richter 939dda2d6c removed unneeded debugs in level=0
20 years ago
Christian Richter 52eb1ad9d1 removed dynamic switching from transparent to hdlc mode. Instead we've got a config option hdlc=yes now which enables the hdlc controller for a data call
20 years ago
Christian Richter 8e7dd52695 added option to change the connected party number dialplan (ton)
20 years ago
Christian Richter 2c1cd943d0 fixed #6642 in trunk as well, sorry i really didn't want to copy this issue ... grrrr
20 years ago
Christian Richter 5cd1828467 when receiving disconnect with inband info, we don't send release immediately, we also don't inform asterisk with hangup or congestion, since we want to hear the inband message.
20 years ago
Christian Richter bcbcdaa67c added misdn port down to send a L1 Deactivate to a NT Port. changed some default values regarding jitterbuffer.
20 years ago
Christian Richter bd9c89a710 better default values for jitterbuffer in code and config
20 years ago
Christian Richter 61f1bf14fa added export and import of RDNIS channel variable
20 years ago
Kevin P. Fleming 302c943001 add 'consumed' argument to ast_get_time_t, so callers can know how many characters were used in the parser
20 years ago
Christian Richter fdd33866b4 * changed some strncpys to ast_copy_str
20 years ago