[Unable to get VAD event TALK]
Hi users, I am currently playing with freeswitch to detect TALK event, i have the following set at profile level, <param name="vad" value="both"/> Plus i am exporting fire_talk_events=true while originate as well. Using python pyswitch self.eventsocket.apiOriginate("{execute_on_answer='transfer 05123456789 XML default',originate_timeout='120',origination_caller_id_name='123456789',origination_caller_id_number='123456789'}sofia/external/"+NUMBER+"@X.X.X.X",cidname="godson", cidnum="123" ,channelvars={'rtp_enable_vad_in':'True','rtp_enable_vad_out':'True','origination_uuid':uid,'DTMF':UUID,'fire_talk_events':'true','fire_not_talk_events':'true'}) I am getting this on fs_cli 2016-11-27 09:49:45.160380 [DEBUG] switch_rtp.c:7962 Activate VAD codec G722 20ms 2016-11-27 09:49:45.160380 [DEBUG] switch_core_media.c:6754 AUDIO RTP Engage VAD for sofia/external/05123456789@X.X.X.X ( in out ) I am getting all other registered events(CHANNEL_ANSWER, CHANNEL_DESTROY etc), but i am not able to get TALK event. Can someone please help me out to get the talk event. Regards Abbasi
Just for users info i have activated following event. self.eventsocket.registerEvent("TALK", True, self.channelAnswer) But no luck. Regards Abbasi On Sun, Nov 27, 2016 at 1:08 PM, Bilal Abbasi <bilaln018@gmail.com> wrote:
Hi users,
I am currently playing with freeswitch to detect TALK event, i have the following set at profile level, <param name="vad" value="both"/> Plus i am exporting fire_talk_events=true while originate as well. Using python pyswitch self.eventsocket.apiOriginate("{execute_on_answer='transfer 05123456789 XML default',originate_timeout='120',origination_caller_id_ name='123456789',origination_caller_id_number='123456789'} sofia/external/"+NUMBER+"@X.X.X.X",cidname="godson", cidnum="123" ,channelvars={'rtp_enable_vad_in':'True','rtp_enable_vad_ out':'True','origination_uuid':uid,'DTMF':UUID,'fire_talk_ events':'true','fire_not_talk_events':'true'})
I am getting this on fs_cli 2016-11-27 09:49:45.160380 [DEBUG] switch_rtp.c:7962 Activate VAD codec G722 20ms 2016-11-27 09:49:45.160380 [DEBUG] switch_core_media.c:6754 AUDIO RTP Engage VAD for sofia/external/05123456789@X.X.X.X ( in out )
I am getting all other registered events(CHANNEL_ANSWER, CHANNEL_DESTROY etc), but i am not able to get TALK event.
Can someone please help me out to get the talk event.
Regards Abbasi
Can anybody help me out on this please. anyone on user list? Regards Abbasi On Mon, Nov 28, 2016 at 12:41 PM, Bilal Abbasi <bilaln018@gmail.com> wrote:
Just for users info i have activated following event.
self.eventsocket.registerEvent("TALK", True, self.channelAnswer)
But no luck.
Regards Abbasi
On Sun, Nov 27, 2016 at 1:08 PM, Bilal Abbasi <bilaln018@gmail.com> wrote:
Hi users,
I am currently playing with freeswitch to detect TALK event, i have the following set at profile level, <param name="vad" value="both"/> Plus i am exporting fire_talk_events=true while originate as well. Using python pyswitch self.eventsocket.apiOriginate("{execute_on_answer='transfer 05123456789 XML default',originate_timeout='120',origination_caller_id_name= '123456789',origination_caller_id_number='123456789'}sofia/ external/"+NUMBER+"@X.X.X.X",cidname="godson", cidnum="123" ,channelvars={'rtp_enable_vad_in':'True','rtp_enable_vad_out ':'True','origination_uuid':uid,'DTMF':UUID,'fire_talk_eve nts':'true','fire_not_talk_events':'true'})
I am getting this on fs_cli 2016-11-27 09:49:45.160380 [DEBUG] switch_rtp.c:7962 Activate VAD codec G722 20ms 2016-11-27 09:49:45.160380 [DEBUG] switch_core_media.c:6754 AUDIO RTP Engage VAD for sofia/external/05123456789@X.X.X.X ( in out )
I am getting all other registered events(CHANNEL_ANSWER, CHANNEL_DESTROY etc), but i am not able to get TALK event.
Can someone please help me out to get the talk event.
Regards Abbasi
participants (1)
-
Bilal Abbasi