Commit Graph

73 Commits (0b26b56316fe2109cd54cd22a1e82742dc9ff8b6)

Author SHA1 Message Date
Christian Richter 6001354638 Merged revisions 43852 via svnmerge from
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
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 162e37b2d6 fixing compile warnings, renaming config option "overlap_dial" to "overlapdial"
19 years ago
Nadi Sarrar 958f3726f1 * first bits of decoding facility information elements
19 years ago
Christian Richter 52e1395690 * added possibility to change echocancel settings during calls
19 years ago
Christian Richter f2178d336b changed naming of mISDN channels, so that hinting works proper
19 years ago
Christian Richter fc3d27cf6f * removed pp_l2_check (fixed L2 bug in mISDNuser)
19 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
19 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.
19 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.
19 years ago
Christian Richter bd0b801a0d * removed tone_indicate, we genrate only the dialtone by ourself (and the hanguptone of course)
19 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..
19 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
19 years ago
Christian Richter 4bdeb383e7 added fix, that if the L2 goes down on ptp-NT that we reinitialize the NT Library. Also if we have no ntflags, we don't pass the filename to the debug routines of mISDNuser.
19 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.
19 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
19 years ago
Christian Richter baad1c266c * fixed the busy state
19 years ago
Christian Richter 70a4c98a5a * added support for PID export/import to identify bridging in misdn_call already
19 years ago
Christian Richter 2302fa58d7 when we get a disconnect, we should stop the tones on te side..
19 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.
19 years ago
Christian Richter d86993b90b * fixed bchannel cleaning race condition with new bchannel state (CLEAN_REQUEST)
19 years ago
Christian Richter fcb7d3df26 when we don't want the call we need to release_complete it.. ignoring it breaks the ETSI rules ..
19 years ago
Christian Richter 7924c21e33 changed the clean_up_bc function to work proper again. fixed the print with the conference nr. when bridged
19 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.
19 years ago
Christian Richter 4ad840b3c6 the interface needs to be changed as well..
19 years ago
Christian Richter 840df1f8c0 unified the PH_CONTROL Interface for the mISDN_dsp interface to int
19 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.
19 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
19 years ago
Christian Richter 39ac1a5b83 added a l1watcher timeout, therefore removed the old behaviour of guessing the l1state.
19 years ago
Christian Richter adfae0960f * export_ies uses now _VAR else the vars are not copied to the dest chan
19 years ago
Christian Richter 19d46333bf added callcounters for incoming and outgoing calls
19 years ago
Christian Richter 4694f5e02e this is not a warning, it might happen during call initialization
19 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.
19 years ago
Christian Richter 019f39f614 in PTMP TE we should set the free state for the B-Channel if we ignore an incoming call
19 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..
19 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
19 years ago
Christian Richter 2bde492ea9 Facility decoding doesn't work proper yet
19 years ago
Christian Richter baab6e1c27 mISDN Messages must be freed with free_msg \!\!
19 years ago
Christian Richter 52cf26255a fixed some issues, that appear at higher load
19 years ago
Christian Richter ce8fc47ffc * advanced the error Handling routine for wrong frames from mISDN
19 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.
19 years ago
Christian Richter a096fbd87d * removed unneeded bc->state field
19 years ago
Christian Richter acacae4e68 fixed no dtmf detect on 64 bit
19 years ago
Christian Richter f274b642aa fixed bug that we don't allocate the bchan in setup_acknowledge already .. wonder why this wasn't fixed eearlier ..
19 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
19 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
19 years ago
Christian Richter 8e7dd52695 added option to change the connected party number dialplan (ton)
20 years ago