hi, we are using socket outbound and found out, that there are two (perhaps) small things, we would like to see in fs. 1.) if we try to playback a soundfile, which does not exist, we do not get an error or something. in the cli of fs we can see the error, but we do not get anything about it over the socket. we get an execute event for the playback and directly after it an execute-complete. wouldn't it be nicer, if one could get a notice about an error, like: execute-complete-error or a variable, which is set with an error, if an error occours? 2.) the session heartbeat event is an absolutely great feature in fs. but sometimes we would like to get the session heartbeat every 5 seconds. at the moment the allowed minimum is every 10 seconds. a smaller setting, like every 5 seconds, will result in a session heartbeat of every 60 seconds. to help us out, we edit the switch_core_session.c at line 899 and change the "seconds < 10" to "seconds < 5". because one has to set "enable_heartbeat_events=5" manually, i do not think, that there is a risk, that others, who do not want the heartbeat to come that often, will be negatively affected by this change. might it be possible, to do the same changes to the default code? thanks dennis
done On Mon, Dec 8, 2008 at 9:18 AM, Dennis <odermann@googlemail.com> wrote:
Huh?
src/switch_core_session.c vom line 899 to 901:
if (seconds < 10) { seconds = 60; }
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
both done On Mon, Dec 8, 2008 at 9:30 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
done
On Mon, Dec 8, 2008 at 9:18 AM, Dennis <odermann@googlemail.com> wrote:
Huh?
src/switch_core_session.c vom line 899 to 901:
if (seconds < 10) { seconds = 60; }
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
great, that works! thanks a lot! just tested the changes according an error, when a file is missing. thanks again! 2008/12/8 Anthony Minessale <anthony.minessale@gmail.com>:
done
On Mon, Dec 8, 2008 at 9:18 AM, Dennis <odermann@googlemail.com> wrote:
Huh?
src/switch_core_session.c vom line 899 to 901:
if (seconds < 10) { seconds = 60; }
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:213-799-1400
_______________________________________________ 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
participants (3)
-
Anthony Minessale
-
Dennis
-
Michael Jerris