Yes Mitch, I did that but the Fax internal messages are printed by this line which has no knowledge of the session. <br> switch_log_printf(SWITCH_CHANNEL_LOG, fs_log_level, "%s", msg);<br><br>I do not think, it can print the uuid without knowing the session ?<br>
<br>Here is a log snippet to show uuid prefixed at other places except line 286 of mod_spandsp_fax.c shown above<br><br>2012-03-27 13:40:38.604877 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 1... ....= Extension indicator: Set<br>
2012-03-27 13:40:38.604877 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 .... ..0.= Compressed/uncompressed mode: Compressed<br>2012-03-27 13:40:38.604877 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 .... .1..= Error correction mode (ECM): ECM<br>
2012-03-27 13:40:38.604877 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 .... 0...= Frame size: 256 octets<br>2012-03-27 13:40:38.604877 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 .1.. ....= T.6 coding: Set<br>2012-03-27 13:40:38.604877 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 0... ....= Extension indicator: Not set<br>
2012-03-27 13:40:38.604877 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Selected compression T.6 (3)<br>46736448-77e4-11e1-855c-b3286880c45b 2012-03-27 13:40:38.604877 [DEBUG] mod_spandsp_fax.c:327 === Negotiation Result =======================================================<br>
46736448-77e4-11e1-855c-b3286880c45b 2012-03-27 13:40:38.604877 [DEBUG] mod_spandsp_fax.c:328 Remote station id:<br>46736448-77e4-11e1-855c-b3286880c45b 2012-03-27 13:40:38.604877 [DEBUG] mod_spandsp_fax.c:329 Local station id: Sangoma Fax Ident<br>
46736448-77e4-11e1-855c-b3286880c45b 2012-03-27 13:40:38.604877 [DEBUG] mod_spandsp_fax.c:330 Transfer Rate: 4800<br>46736448-77e4-11e1-855c-b3286880c45b 2012-03-27 13:40:38.604877 [DEBUG] mod_spandsp_fax.c:332 ECM status on<br>
46736448-77e4-11e1-855c-b3286880c45b 2012-03-27 13:40:38.604877 [DEBUG] mod_spandsp_fax.c:333 remote country:<br>46736448-77e4-11e1-855c-b3286880c45b 2012-03-27 13:40:38.604877 [DEBUG] mod_spandsp_fax.c:334 remote vendor:<br>
46736448-77e4-11e1-855c-b3286880c45b 2012-03-27 13:40:38.604877 [DEBUG] mod_spandsp_fax.c:335 remote model:<br>46736448-77e4-11e1-855c-b3286880c45b 2012-03-27 13:40:38.604877 [DEBUG] mod_spandsp_fax.c:337 =========================================================================<br>
<br><br clear="all">regards,<br>Anita<br>