events = "BACKGROUND_JOB " \
"DETECTED_TONE " \
"CHANNEL_OUTGOING " \
"CHANNEL_CREATE " \
"CHANNEL_ANSWER " \
"CHANNEL_PROGRESS_MEDIA " \
"RECORD_START " \
"CHANNEL_HANGUP " \
"CHAN_NOT_IMPLEMENTED "self.connection.events("plain", events)ev_name = reply.getHeader('Event-Name')Filter in the event where you get your transfer information and filter by call channel...if self.call.uuid == reply.getHeader("Channel-Call-UUID"):variable_variable_transfer_time = reply.getHeader('variable_transfer_time')if variable_variable_transfer_time:writedb('transfer_time', variable_variable_transfer_time)Take action like write into DB, file, etc..Hope it helpsYou can ping me offline for more details.-Gonzalo
HelloI am working on application using Freeswitch and SIP.js in which I need to detect if the call is being transferred.The Sip.js application is actually an outbound dialer in which I load a list of phone numbers to call.The application starts by calling people.It is interesting to detect voicemail boxes. For that I am using mod_avmd.My problem is when the other end transfers the call, the sip.js client should know that the current call is being transferred.Is there a way that the original caller (sip.js client) knows that the call is being transferred?I was looking at all the channel variables and I found that the RDNIS variable and the transfer_time variable are filled up when there is a transfer.Is there a way to listen to the channel variables during the call and detect any change? Or is there a better way I can do it?Thank you for any suggestion.Anis Bedhiafi
____________________________________________________________ _____________
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