[Freeswitch-dev] sessionid for mod_spandsp_fax

Tamas jalsot at gmail.com
Tue Jun 29 10:03:02 PDT 2010


Hello,

Is there a way to include the session uuid in mod_spandsp_fax logs?
I'm getting something like:
27293b76-839e-11df-a59a-df3daa5a8da2 2010-06-29 18:49:00.494082 [DEBUG]
mod_spandsp_fax.c:328 remote vendor: 
27293b76-839e-11df-a59a-df3daa5a8da2 2010-06-29 18:49:00.494082 [DEBUG]
mod_spandsp_fax.c:329 remote model:
27293b76-839e-11df-a59a-df3daa5a8da2 2010-06-29 18:49:00.494082 [DEBUG]
mod_spandsp_fax.c:331
==============================================================================

2010-06-29 18:49:00.494082 [DEBUG] mod_spandsp_fax.c:271 FLOW T.30
Changing from state 22 to 32
2010-06-29 18:49:00.494082 [DEBUG] mod_spandsp_fax.c:271 FLOW T.30
Changing from phase T30_PHASE_D_RX to T30_PHASE_CALL_FINISHED
2010-06-29 18:49:00.494082 [DEBUG] mod_spandsp_fax.c:271 FLOW T.38T Set
rx type 8 
2010-06-29 18:49:00.494082 [DEBUG] mod_spandsp_fax.c:271 FLOW T.38T Set
tx type 8 
2010-06-29 18:49:00.494082 [DEBUG] mod_spandsp_fax.c:271 FLOW T.38T FAX
exchange complete

Where cannot filter the session using the sessionid.
I took a quick look into the source code but seen that would need to
pass the session somehow to spanfax_log_message.

Any idea how to change that?

Regards,
    Tamas



More information about the FreeSWITCH-dev mailing list