[Freeswitch-users] Transfer leg B of call when hung up by application (such as rxfax)

Trever L. Adams trever.adams at gmail.com
Tue Apr 2 18:47:49 MSD 2013

Hello everyone,

I am still working on getting my parents to a place where they can ditch
their fax machine. I have rxfax working in an autodetect way. It works

The problem I am having, is I need to announce to them that they can
hang up once rxfax answers.

I am using a python script to call rxfax via session.execute. I do have
some other things I am working on, so it would be great to see how to do
it with python or lua and with dialplan.

execute_on_answer or exec_after_bridge_* seem like they would, but I am
betting they work on the a leg of the call, not the b leg.
intercept_un*_* may also be interesting, but again, it looks like a leg.

Well, as I write this, I am reading about intercept. I can grab the
bleg, but not sure how to trigger this and to send this to an extension
to play the audio.

Any help would be greatly appreciated.

"The world is full of people who have never, since childhood, met an
open doorway with an open mind." -- E.B. White

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130402/fe2daec4/attachment-0001.bin 

Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list