Stefan Knoblich
30fb69bbab
ftmod_libpri: temporary segfault fix if libpri does not have BRI support
2010-11-06 17:58:41 +01:00
Stefan Knoblich
3d5ccf055d
ftmod_libpri: Initial support for BRI and various cleanups + double locking fix
...
Fixes:
- Fix double locking in check_state(): remove ftdm_mutex_(un)lock calls.
New:
- Add lpwrap_init_bri() to initialize libpri in BRI mode
- Use trunk type to determine PRI/BRI and PTP/PTMP mode (no additional configuration required).
- Improve libpri detection code in configure.ac, check whether libpri is usable
and if BRI support is available (needs more work)
Cleanups:
- Whitespace and indentation cleanups
- Rename str2* functions to parse_*
- Simplify libpri_configure_span() option parsing and bail out on error
- Add "ftdm libpri help" command that displays usage information
- Coding style cleanups and other (minor) changes
Known issues:
- BRI PTMP TE Q.921 link does not go beyond TEI ASSIGNED state,
SABME requests are ignored by NT (EuroISDN DTAG, DAHDI-2.3.0.1, vzaphfc)
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-06 16:08:07 +01:00
Moises Silva
d427b3df77
freetdm: allow libpri transition from terminating to hangup
2010-10-05 13:59:31 -04:00
Moises Silva
c9ab6f3355
freetdm: libpri update
2010-10-05 13:14:03 -04:00
Moises Silva
b96f854803
freetdm: fix libpri mod
2010-09-30 11:12:43 -04:00
Marc Olivier Chouinard
00207cede3
freetdm: Initial fix attempt for libpri. It will now load and work. More testing will be required, I got the feeling some event will clean a channel / span of it value when there is timer still active.
2010-09-30 02:37:57 -04:00
Moises Silva
de2a4ea100
freetdm: fix dchan libpri
2010-04-28 18:17:50 -04:00
Moises Silva
d4f93843a1
fix flags
2010-04-28 18:17:49 -04:00
David Yat Sin
318866b7f9
freetdm: Added signalling status report
...
Fix for ftmod_libpri not reporting proper physical and protocol alarms on init
2010-04-27 14:32:36 -04:00
Moises Silva
428931bce2
Use the pendingchans queue only on request by signaling modules.
...
Remove suggest_chan_id member and add a span flag instead.
2010-04-05 16:01:08 -04:00
Moises Silva
66bc2e43c8
merged 1039:1053 openzap/trunk
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1054 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-10 20:06:31 +00:00
Moises Silva
0d392527dc
merged 956:1023 (partial merge - anything non-boost related)
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1026 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-09 22:01:15 +00:00
Moises Silva
926f140754
replace use of ani in favor of dnis in caller_data structure for the destiny number in outgoing calls
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1017 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-01 21:40:01 +00:00
Moises Silva
a8ddece1b6
more freetdm changes
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@974 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 20:35:11 +00:00
Moises Silva
a5bd5142da
more freetdm renaming changes
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@973 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 20:08:43 +00:00
Moises Silva
900f1ed2ef
Linux renaming from openzap to freetdm
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@967 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 19:22:49 +00:00