Commit Graph

51 Commits (9ff28fd6e8829e87629aeceb51b14c73c54f3b41)

Author SHA1 Message Date
Richard Mudgett 6db6a73b8d Fixes several call transfer issues with chan_misdn.
16 years ago
Richard Mudgett 27b54f4c1c channels/chan_misdn.c
17 years ago
Christian Richter a3fe7673a9 Added counter for unhandled_bmsg Print, this prevents the logs to be flooded to fast and save CPU in this error scenario. Added 'last_used' element to bc structure, when a bchannel changes from used to free this exact time will be marked in last_used. When a new channel is requested the find_free_chan function will check if the new empty channel was used within the last second, if yes it will search for the next channel, if no it will return this channel. This simple mechanism has prooven to prevent race conditions where the NT and TE tried to allocate the exact same channel at the same time (RELEASE cause: 44).
17 years ago
Christian Richter 57ccb76df1 aded ntkeepcalls option, to avoid droÃpping calls when the L2 goes down on a PTP link. There are some pbx which do turn off the L1 for a very short while and restart it immediately. normally T310 should be started and after 10 seconds or so the calls should be dropped, this is a simple fix wihtout this timer.
18 years ago
Christian Richter 8fc4089947 Merged revisions 72099 via svnmerge from
18 years ago
Christian Richter 9dc0104a12 Merged revisions 72087 via svnmerge from
18 years ago
Christian Richter d0bc56b953 Merged revisions 70341 via svnmerge from
18 years ago
Christian Richter 9b17b11c08 Merged revisions 70311 via svnmerge from
18 years ago
Christian Richter 7d491a7c24 Merged revisions 68631 via svnmerge from
18 years ago
Christian Richter 460e677ea6 Merged revisions 61357,61770,62885 via svnmerge from
18 years ago
Nadi Sarrar 980b0bc785 * mISDN >= 1.2 provides a dsp pipeline for i.e. echo cancellation modules, make chan_misdn use it.
18 years ago
Christian Richter 30165b1bf2 Merged revisions 58849-58850,59062-59063 via svnmerge from
18 years ago
Christian Richter 160cfaf1c6 added UU transceiving and corect handling for rdnis
18 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
Christian Richter fb52698667 Merged revisions 48319,48321,48467,48552,48576,49135,49303 via svnmerge from
19 years ago
Christian Richter b03054fdfc Merged revisions 46350 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
Christian Richter a3f43a7dfe Merged revisions 43764 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
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 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 bd0b801a0d * removed tone_indicate, we genrate only the dialtone by ourself (and the hanguptone of course)
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 baad1c266c * fixed the busy state
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 4ad840b3c6 the interface needs to be changed as well..
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 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 ce8fc47ffc * advanced the error Handling routine for wrong frames from mISDN
19 years ago
Christian Richter a096fbd87d * removed unneeded bc->state field
19 years ago
Christian Richter 8e7dd52695 added option to change the connected party number dialplan (ton)
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 f6bd1b8559 added pmp_l1_check option, to avoid l1 checking for group calls on PMP ports
20 years ago
Christian Richter 7133d1b006 * removed unnecessary struct elements and functions
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 986a8ca089 issue #5566
20 years ago