you would probably need to ask coppice to write a way to set some user_id on a fax so it could be echoed in the logs.<div><br><br><div class="gmail_quote">On Tue, Jun 29, 2010 at 12:03 PM, Tamas <span dir="ltr">&lt;<a href="mailto:jalsot@gmail.com">jalsot@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br>
<br>
Is there a way to include the session uuid in mod_spandsp_fax logs?<br>
I&#39;m getting something like:<br>
27293b76-839e-11df-a59a-df3daa5a8da2 2010-06-29 18:49:00.494082 [DEBUG]<br>
mod_spandsp_fax.c:328 remote vendor:<br>
27293b76-839e-11df-a59a-df3daa5a8da2 2010-06-29 18:49:00.494082 [DEBUG]<br>
mod_spandsp_fax.c:329 remote model:<br>
27293b76-839e-11df-a59a-df3daa5a8da2 2010-06-29 18:49:00.494082 [DEBUG]<br>
mod_spandsp_fax.c:331<br>
==============================================================================<br>
<br>
2010-06-29 18:49:00.494082 [DEBUG] mod_spandsp_fax.c:271 FLOW T.30<br>
Changing from state 22 to 32<br>
2010-06-29 18:49:00.494082 [DEBUG] mod_spandsp_fax.c:271 FLOW T.30<br>
Changing from phase T30_PHASE_D_RX to T30_PHASE_CALL_FINISHED<br>
2010-06-29 18:49:00.494082 [DEBUG] mod_spandsp_fax.c:271 FLOW T.38T Set<br>
rx type 8<br>
2010-06-29 18:49:00.494082 [DEBUG] mod_spandsp_fax.c:271 FLOW T.38T Set<br>
tx type 8<br>
2010-06-29 18:49:00.494082 [DEBUG] mod_spandsp_fax.c:271 FLOW T.38T FAX<br>
exchange complete<br>
<br>
Where cannot filter the session using the sessionid.<br>
I took a quick look into the source code but seen that would need to<br>
pass the session somehow to spanfax_log_message.<br>
<br>
Any idea how to change that?<br>
<br>
Regards,<br>
    Tamas<br>
<br>
_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>