[Freeswitch-dev] sessionid for mod_spandsp_fax

Anthony Minessale anthony.minessale at gmail.com
Tue Jun 29 12:27:13 PDT 2010


indeed


On Tue, Jun 29, 2010 at 12:56 PM, Steve Underwood <steveu at coppice.org>wrote:

> On 06/30/2010 01:10 AM, Anthony Minessale wrote:
> > 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.
> You mean, like using:
>
>     span_log_set_tag(logging, "27293b76-839e-11df-a59a-df3daa5a8da2");
>
> Steve
>
> >
> >
> > On Tue, Jun 29, 2010 at 12:03 PM, Tamas <jalsot at gmail.com
> > <mailto:jalsot at gmail.com>> wrote:
> >
> >     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
> >
> >     _______________________________________________
> >     FreeSWITCH-dev mailing list
> >     FreeSWITCH-dev at lists.freeswitch.org
> >     <mailto:FreeSWITCH-dev at lists.freeswitch.org>
> >     http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> >     UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-dev
> >     http://www.freeswitch.org
> >
> >
> >
> >
> > --
> > Anthony Minessale II
> >
> > FreeSWITCH http://www.freeswitch.org/
> > ClueCon http://www.cluecon.com/
> > Twitter: http://twitter.com/FreeSWITCH_wire
> >
> > AIM: anthm
> > MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
> > <mailto:MSN%3Aanthony_minessale at hotmail.com<MSN%253Aanthony_minessale at hotmail.com>
> >
> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> > <mailto:PAYPAL%3Aanthony.minessale at gmail.com<PAYPAL%253Aanthony.minessale at gmail.com>
> >
> > IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
> >
> > FreeSWITCH Developer Conference
> > sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> > <mailto:sip%3A888 at conference.freeswitch.org<sip%253A888 at conference.freeswitch.org>
> >
> > googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> > <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org<googletalk%253Aconf%252B888 at conference.freeswitch.org>
> >
> > pstn:+19193869900
> >
> >
> > _______________________________________________
> > FreeSWITCH-dev mailing list
> > FreeSWITCH-dev at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> > http://www.freeswitch.org
> >
>
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100629/6669e7d8/attachment-0001.html 


More information about the FreeSWITCH-dev mailing list