I need to record calls if/when they touch a certain set of extensions. I have most of the logic working but am baffled by one thing: how do I cause an application (it’s a lua script) to run when a channel is bridged as the result of a transfer?My usual bag of tricks isn't working because the bridge happens "magically" in sofia in response to the REFER. For example, execute_on_answer doesn’t help because the answer happens during the attended transfer -- I need to run AFTER the transfer (that is, when the original A leg is bridged to the attended transfer’s B leg).Example scenario:1. External call comes in (channel A = PSTN to switch, channel B = switch to phone with extension 1000)2. Ext 1000 does an attended transfer to ext 1001 (channel C = 1000 to switch, channel D = switch to 1001)3. Transfer completes (sofia bridges channel A to channel D)I want my script to run on either channel A or D after 3 happens.What’s the best way to do this?Thanks,Walter
____________________________________________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
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
Brian West
brian@freeswitch.org

Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com (50% Discount using code FreeSwitch50)
http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50)
https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest