txfax and rxfax X headers
Hello all, Is there a way to add the fax result text as an X- header to the BYE after a fax attempt has been made. It seems that this would be useful in debugging a fax call. Just a thought :-) Spencer
Hello, You can send whatever header in BYE message with sip_bye_h channel variables. http://wiki.freeswitch.org/wiki/Sofia#Adding_Response_Headers Br, T. On Mon, Jul 11, 2011 at 7:18 PM, Spencer Thomason < spencer@5ninesolutions.com> wrote:
Hello all, Is there a way to add the fax result text as an X- header to the BYE after a fax attempt has been made. It seems that this would be useful in debugging a fax call.
Just a thought :-)
Spencer
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thanks, sorry for asking without looking first. I thought it must be more difficult. :-) FYI.. After a call to rxfax I did: <action application="set" data="sip_bye_h_X-FS-Fax-Result=${fax_result_t ext}"/> and if we generate the BYE I get the following example header added: X-FS-Fax-Result: Disconnected after permitted retries Thanks! On Jul 11, 2011, at 10:45 AM, Tamas Jalsovszky wrote:
Hello,
You can send whatever header in BYE message with sip_bye_h channel variables. http://wiki.freeswitch.org/wiki/Sofia#Adding_Response_Headers
Br, T.
On Mon, Jul 11, 2011 at 7:18 PM, Spencer Thomason <spencer@5ninesolutions.com> wrote: Hello all, Is there a way to add the fax result text as an X- header to the BYE after a fax attempt has been made. It seems that this would be useful in debugging a fax call.
Just a thought :-)
Spencer
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Spencer Thomason
-
Tamas Jalsovszky