[Freeswitch-users] Accessing fax variables/status after rxfax/txfax

Anthony Minessale anthony.minessale at gmail.com
Thu Oct 21 20:57:42 PDT 2010


Dang, that's a big page! Did I really make that many vars =0


On Thu, Oct 21, 2010 at 7:57 PM, Michael Collins <msc at freeswitch.org> wrote:
>
>
> On Thu, Oct 21, 2010 at 10:45 AM, Kristian Kielhofner <kris at kriskinc.com>
> wrote:
>>
>> Hello everyone,
>>
>>  Looking through the code it appears that txfax/rxfax automatically
>> hangup channels when they're called and set a hangup cause that more
>> or less makes sense depending on how the fax went.  My question is -
>> can I have them not hangup the channel automatically so I can continue
>> execution somehow?  Alternatively, can I somehow continue execution
>> based on the hangup cause?  I'm thinking something like
>> api_hangup_hook that has access to the hangup/fax status.
>
> Kristian,
>
> I think you need this:
> http://wiki.freeswitch.org/wiki/Channel_Variables#session_in_hangup_hook
>
> It will let the call hang up but a copy of the session will be available to
> your hangup hook so you can access all the channel variables even after the
> channel has actually hung up.
> -MC
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> 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
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



More information about the FreeSWITCH-users mailing list