Stefan Knoblich 020724e103 ftmod_libpri: Improve libpri message logging.
Use the PRI_NEW_SET_API define provided by >=libpri-1.2 to distinguish
between old style and new style pri_set_error() and pri_set_message()
callback functions.

Improve message logging by using ftdm_log_chan() if per-span
data with a valid (d-)channel object is available.
NOTE: pri_get_userdata() returns NULL if pri is NULL.

This will reduce the horizontal space for libpri output a bit, but allows
us to see which span the message/error came from.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-04-14 01:13:22 +02:00
..
2010-11-01 02:13:27 +01:00
2012-01-03 14:11:47 -05:00
2012-04-02 16:20:40 -05:00
2011-03-06 22:11:39 -05:00
2011-03-17 08:34:00 -05:00
2010-10-06 17:51:29 -03:00
2011-03-11 17:36:42 -05:00
2010-02-09 19:25:26 +00:00
2010-09-30 17:58:25 -04:00
2011-01-21 10:51:34 -05:00

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