Commit Graph

134 Commits (456cad8a47c0dafc469e7deada077d50c5fb1b51)

Author SHA1 Message Date
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
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
Russell Bryant 663adb2b0e Merged revisions 38903-38904 via svnmerge from
19 years ago
Christian Richter fc3d27cf6f * removed pp_l2_check (fixed L2 bug in mISDNuser)
19 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)
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 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.
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 6027721510 added a bit logging, when we split the bridge
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 fc8d55ab15 moved a notice into a log
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 5d18356b24 fixes segfault on incoming call which is disconnected in Alerting state
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 cdbddf5892 we need to send DISCONNECT on Timeout in the ALERTING/PROCEEDING cases too
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 05eed16044 Fixed detection of dtmfs with bridged channels.
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
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 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 8122c35675 fixed to early connect bug which came in yesterday.., also added the transmit of progress indicators through channel vars
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 3fb070853b fixed bug that we've lost the orginator of the call.. now we can hear to disconnect indications again
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 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 7f58902bf3 use set_callerid to update callerid with prefix
19 years ago
Christian Richter 63b0baa757 returning 128 emtpy Frames instead of null frame.
19 years ago
Tilghman Lesher dfdf6e1f76 Don't return stack pointers from functions (especially since the code will attempt to free() them later)
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
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
19 years ago
Kevin P. Fleming 2229586d71 more module loader related fixes
19 years ago
Christian Richter 52cf26255a fixed some issues, that appear at higher load
19 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
19 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
19 years ago
Christian Richter ece21c3019 sorry litle mistake
19 years ago
Christian Richter 47b8610f70 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter 7788d5061c fixed a bridging-endless-loop also fixed the rdnis is not exported issue
19 years ago
Christian Richter 7028946605 some final fixes for cpn
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
Matt O'Gorman a5ece3388a Janitor work converting !ast_strlen_zero(a)?a:b
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 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
Christian Richter c7e0abdfed fixed a ETSI violation (after RELEASE we need to RELEASE_COMPLETE (network side) one needs to upgread mISDNuser for that fix as well. also fixed the reload issue #6547
20 years ago
Christian Richter afaf8e4c04 adde incoming_early_audio option, to avoid sending tone indications to the remote party on incoming calls from the pstn, this shouldnt be enabled, only if the provider allows it
20 years ago
Christian Richter f6bd1b8559 added pmp_l1_check option, to avoid l1 checking for group calls on PMP ports
20 years ago
Christian Richter fd9fe21d2c * jb can be configed by misdn_set_opt
20 years ago
Christian Richter 0058f40ed5 added Proceeding state, to be more ETSI conform with outgoing setups on the Network side (no release_complete but disconnect or release in proceeding state)
20 years ago
Christian Richter a43c6c0f49 * dozens of white-space removements
20 years ago
Christian Richter 7133d1b006 * removed unnecessary struct elements and functions
20 years ago
Matthew Fredrickson af52e3fd90 More stringfield related changes
20 years ago
Kevin P. Fleming 21347757ef don't generate any message for native bridge attempts unless all the basic checks have passed and we're actually going to try it
20 years ago
Christian Richter 7dfa72cdee committed head of chan_misdn with a lot of new features. Most important of all: chan_misdn supports now the mISDN mqueue tree (smp,preemptible,gcc-4 aware\!). Additionally there are some code optimizations, new facility management (Calldeflect works for now).
20 years ago
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
20 years ago
Kevin P. Fleming 3d599e6501 issue #5739 (plus ast_copy_string() usage conversion)
20 years ago
Kevin P. Fleming f603eb0135 issue #5671
20 years ago
Kevin P. Fleming a0a9769616 issue #5648
20 years ago
Kevin P. Fleming 5e0149d7cf issue #5639
20 years ago
Russell Bryant 31a804b97c issue #5605
20 years ago
Kevin P. Fleming 986a8ca089 issue #5566
20 years ago
Kevin P. Fleming 0ac988acaa add experimental mISDN channel driver (issue #4077)
20 years ago