[Freeswitch-users] fs crashs after more then 100 dtmf events on a call
covici at ccs.covici.com
covici at ccs.covici.com
Mon Aug 13 11:38:21 MSD 2012
OK, here I go showing my ignorance -- what is gcore --sounds like it
could be quite useful, but I don't seem to have it in the repository,
except as a package manager!
Ken Rice <krice at freeswitch.org> wrote:
> get a back trace and open a jira.. also if you can atach the script you are using to the jira... if its just hanging use gcore to get the coredump then follow the rest of the back trace guidelines on the wiki
>
> Ken
> Sent from my iPad
>
> On Aug 12, 2012, at 10:34 PM, covici at ccs.covici.com wrote:
>
> > Not sure that is a good design, but I think you are running in to the
> > maximum number of forwards. There is a variable for that, check the
> > wiki.
> >
> > Thomas Hoellriegel <admin at blindi.net> wrote:
> >
> >> Hi all, i have writen a podcast system in lua.
> >> After more then 100 dtmf input callback events fs crashs.
> >> my luacode:
> >> -- read potcast menu
> >> function read_msg_menu( )
> >> session:setInputCallback("onInput");
> >> digits =
> >> session:playAndGetDigits(1, 1, 3, 5000, "#",
> >> "/usr/local/freeswitch/sounds/dorf/msgs_menu.alaw",
> >> "/usr/local/freeswitch/sounds/ivr/falsche-eingabe.wav", "[*01-9]")
> >> if (digits == "1") then
> >> -- set the pointe to - 1 by pressing 1
> >> msg_pointer_minus(1)
> >> msg_file_play =
> >> api:execute("hash", "select/mailbox_pointer_msg_file/" ..mailbox);
> >> session:streamFile(msg_file_play)
> >> read_msg_menu()
> >> end
> >>
> >> if (digits == "3") then
> >> -- forward + 1 msg_pointer(1)
> >>
> >> msg_file_play =
> >> api:execute("hash", "select/mailbox_pointer_msg_file/" ..mailbox);
> >> session:streamFile(msg_file_play)
> >> read_msg_menu()
> >> end
> >> end
> >> -- input callback
> >> function onInput(s, type, obj)
> >> if (obj.digit == "1") then
> >> msg_pointer_minus(1)
> >> msg_file_play =
> >> api:execute("hash", "select/mailbox_pointer_msg_file/" ..mailbox);
> >> session:streamFile(msg_file_play)
> >> return("false");
> >> end
> >>
> >> if (obj.digit == "3") then
> >> msg_pointer(1)
> >> msg_file_play =
> >> api:execute("hash", "select/mailbox_pointer_msg_file/" ..mailbox);
> >> session:streamFile(msg_file_play)
> >> return("false");
> >> end
> >> end
> >>
> >> I play from next to next podcast
> >> the inputcallback catch all dtmf tones correctly.
> >> I terminate the playback before goto the next entry.
> >>
> >> fs crashs now:
> >> for example:
> >> I have 200 podcastfiles, and i pressing 3 3 3 3 and so on, to skip the
> >> long time of a playback.
> >> Abbout 100 navigation entrys, fs crash.
> >> fs_cli is dead.
> >>
> >> what is the problem please?
> >> can your help me please to creating a jira?
> >>
> >> thanks
> >>
> >>
> >>
> >> ---------------
> >> Du kannst mich jederzeit kostenlos per Festnetz erreichen unter:
> >> http://www.blindi.net/callback
> >> homepage: http://www.blindi.net
> >> blinde-misc mailingliste für blinde. anmeldung unter:
> >> http://www.blindi.net/mailman/listinfo/blinde-misc
> >> _________________________________________________________________________
> >> Professional FreeSWITCH Consulting Services:
> >> consulting at freeswitch.org
> >> http://www.freeswitchsolutions.com
> >>
> >>
> >>
> >>
> >> Official FreeSWITCH Sites
> >> http://www.freeswitch.org
> >> http://wiki.freeswitch.org
> >> http://www.cluecon.com
> >>
> >> Join Us At ClueCon - Aug 7-9, 2012
> >>
> >> FreeSWITCH-users mailing list
> >> FreeSWITCH-users at lists.freeswitch.org
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> http://www.freeswitch.org
> >
> > --
> > Your life is like a penny. You're going to lose it. The question is:
> > How do
> > you spend it?
> >
> > John Covici
> > covici at ccs.covici.com
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> >
> >
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > Join Us At ClueCon - Aug 7-9, 2012
> >
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici at ccs.covici.com
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list