Commit Graph

139 Commits (0135ff19edd53c46c435f9de9eab57f42eba4a4a)

Author SHA1 Message Date
Richard Mudgett ea14c40ae1 Occasionally losing use of B channels in chan_misdn.
16 years ago
Richard Mudgett 309898993f Removed some deadwood and added some doxygen comments.
16 years ago
Kevin P. Fleming b5bea3704c Minor changes inspired by testing with latest GCC.
16 years ago
Richard Mudgett 7782df0963 Merged revision 206700 from
16 years ago
Richard Mudgett 6db6a73b8d Fixes several call transfer issues with chan_misdn.
16 years ago
Richard Mudgett 9f3cd22c7a Fix some memory leaks in chan_misdn.
16 years ago
Richard Mudgett 55e28f890d Modifed/added some debug messages.
16 years ago
Richard Mudgett 76bfa1d8ef Make chan_misdn BRI TE side normally defer channel selection to the NT side.
16 years ago
Richard Mudgett 1a80fbd577 * Fixed create_process() allocation of process ID values.
17 years ago
Kevin P. Fleming 187f6d485a the gcc optimizer frequently finds broken code (use of uninitalized variables, unreachable code, etc.), which is good. however, developers usually compile with the optimizer turned off, because if they need to debug the resulting code, optimized code makes that process very difficult. this means that we get code changes committed that weren't adequately checked over for these sorts of problems.
17 years ago
Richard Mudgett 27b54f4c1c channels/chan_misdn.c
17 years ago
Christian Richter b6ca1a1b06 another Fix because of r119585, this commit has broken high frequented BRI Ports, there was a possibility that a channel, that was marked as in_use would be reused later, the corresponding port could got stuck then. So it is recommended to upgrade for chan_misdn users.
17 years ago
Christian Richter 21152f98f8 fixed issue with previous commit, the find_free_channel test for channels which where inuse was broken.
17 years ago
Christian Richter b145e2f8da fixed compile issue when dev-mode is enabled
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
Kevin P. Fleming 428a560d33 fix various other problems found by gcc 4.3
18 years ago
Tilghman Lesher 245abfa1c2 Fix an uninitialized memory read found by valgrind
18 years ago
Christian Richter 4e52dc67dc added restart all interfaces Restart_Indicator, to automatically send a RESTART after the L2 of a PTP Port comes up. Also fixed some places where we have send a RELEASE without need for it.
18 years ago
Christian Richter 472f7a471c fixed a state/event issue with overlapdial=yes when no extension matched. removed the general sending of a RELEASE_COMPLETE when we receive a RELEASE, this is done by mISDNuser/mISDN. This makes it possible to use asterisk-1.4 with mISDN trunk, but requires users of mISDN/mISDNuser-1.1.X to upgrade to at least mISDNuser-1.1.6 (when using the NT mode at all)
18 years ago
Christian Richter ad50f139c4 fixed the support for CW and therefore for the reject_cause option.
18 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 e4df4c58ec we send DISCONNECT instead of RELEASE/RELEASE_COMPLETE if the dialplan does not match after an overlap call. Also added out_cause=1
18 years ago
Christian Richter 63122bb677 added 'astdtmf' option to allow configuring the asterisk dtmf detector instead of the mISDN_dsp ones. also added the patch from irroot #10190, so that dtmf tones detected by the asterisk detector are passed outofband to asterisk, to make any use of dtmf tones at all.
18 years ago
Christian Richter 370b3437ee fixed a hold/retrieve issue.
18 years ago
Christian Richter 6576e93697 Fixed a severe issue where a misdn_read would lock the channel, but read would
18 years ago
Dwayne M. Hubbard 2aff2acf0a make misdn/isdn_lib compile without warnings
18 years ago
Christian Richter 6d6a045cc0 0x80 + protocol is wrong for USERUSER when we want to send IA5 Chars.
18 years ago
Christian Richter 1f62b98d45 fixed a bug with the useruser information element. We send them now also in the disconnect message.
18 years ago
Christian Richter a95d9718c9 Merged revisions 73252 via svnmerge from
18 years ago
Christian Richter 07a72b546f Merged revisions 72585 via svnmerge from
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 2294156c9d Merged revisions 72040-72041 via svnmerge from
18 years ago
Christian Richter d0bc56b953 Merged revisions 70341 via svnmerge from
18 years ago
Christian Richter 795e189aa2 Merged revisions 70672 via svnmerge from
18 years ago
Christian Richter e1791cab97 Merged revisions 70342 via svnmerge from
18 years ago
Christian Richter 9b17b11c08 Merged revisions 70311 via svnmerge from
18 years ago
Christian Richter 82fe97efd5 Merged revisions 69053 via svnmerge from
18 years ago
Christian Richter 48f8dc5340 Merged revisions 68732 via svnmerge from
18 years ago
Christian Richter 7d491a7c24 Merged revisions 68631 via svnmerge from
18 years ago
Christian Richter 619cdb016a Merged revisions 67307 via svnmerge from
18 years ago
Christian Richter 9f749257ef Merged revisions 67209 via svnmerge from
18 years ago
Christian Richter 012fe116fa Merged revisions 65007 via svnmerge from
18 years ago
Christian Richter 3e63c9d542 Merged revisions 62945,63402,63519 via svnmerge from
18 years ago
Christian Richter 460e677ea6 Merged revisions 61357,61770,62885 via svnmerge from
18 years ago
Nadi Sarrar 911a8f501d Merged revisions 59788,59803 via svnmerge from
18 years ago
Christian Richter 30ace959bb Merged revisions 59623-59624,59639 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 5923e48d7f Merged revisions 57034,57523,57753,58558 via svnmerge from
19 years ago