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
..
2010-11-01 02:13:27 +01:00
2010-05-03 12:15:18 -04:00
2009-02-03 16:41:48 +00:00
2010-01-15 17:06:20 +00:00
+ x
2010-05-01 19:45:55 -05:00
2010-11-01 02:13:27 +01:00
2010-09-30 17:58:25 -04:00
2010-02-09 19:25:26 +00:00
2010-09-30 17:58:25 -04:00
2010-03-12 18:27:24 +00:00

FreeTDM
http://wiki.freeswitch.org/wiki/FreeTDM