Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] how to set CF_VERBOSE_EVENTS


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
solko at gcdf.pl
Guest





PostPosted: Wed Apr 08, 2009 7:50 am    Post subject: [Freeswitch-users] how to set CF_VERBOSE_EVENTS Reply with quote

I track channels via mod_socket_event, I saw in source there is such flag CF_VERBOSE_EVENTS to make all channel related events
contain extended data. Is it possible to set it via 'originate' or 'conference xxx dial' commands.

This would ease my system. In scenario when I call user which is not registered I get only CHANNEL_DESTROY event but I cannot
connect it to my command. I can monitor BACKGROUND_JOB events but in some cases (like answering) it can take time to come.

Basically now I need to wait for first event of those two types (CHANNEL_ORIGINATE , BACKGROUND_JOB), if I have extended data in
all events I can ignore BACKGROUND_JOB.

Regards

Szymon

_______________________________________________
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
Back to top
dujinfang at gmail.com
Guest





PostPosted: Wed Apr 08, 2009 9:35 am    Post subject: [Freeswitch-users] how to set CF_VERBOSE_EVENTS Reply with quote

There is a dp_tools verbose_events can set that flag, you may try to
transfer into a dialplan or use the inline dialplan

try this, not tested.

Quote:
originate sofia/gateway/my_gw/user@domain.com
'verbose_events,playback:foo.wav,echo' inline

http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_InlineDialplan

On Apr 8, 2009, at 8:28 PM, Szymon Olko wrote:

Quote:
I track channels via mod_socket_event, I saw in source there is such
flag CF_VERBOSE_EVENTS to make all channel related events
contain extended data. Is it possible to set it via 'originate' or
'conference xxx dial' commands.

This would ease my system. In scenario when I call user which is not
registered I get only CHANNEL_DESTROY event but I cannot
connect it to my command. I can monitor BACKGROUND_JOB events but in
some cases (like answering) it can take time to come.

Basically now I need to wait for first event of those two types
(CHANNEL_ORIGINATE , BACKGROUND_JOB), if I have extended data in
all events I can ignore BACKGROUND_JOB.

Regards

Szymon

_______________________________________________
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


_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services