we can give you a folder in contrib or check it in for you if you wish we may also be able to find some issue in the script if we see it. are you using session:ready in all your loops to avoid a death spiral? On Mon, Oct 27, 2008 at 1:22 PM, Marc Lewis <marc@avvatel.com> wrote:
I'll send the files the next time it happens.
As for my builds, I'm building fresh each time using a script I wrote to create RPM files. I do an 'svn update' then a './bootstrap.sh' and then run my script. My script creates a tarball from the checked out files and creates RPM files from that tarball.
The only other thing I can think that might be causing this since I haven't read about anyone else having this problem is a lua script that I wrote. The script is for creating auto attendants dynamically out of the XML dialplan pulled from curl. The channels don't show that the script itself is running, but it is transferred to voicemail from the script.
The lua code that transfers to voicemail looks like this:
elseif (action == "voicemail") then session:execute("voicemail", "default ".. aaDomain .." ".. target) session:hangup()
Where the aaDomain and target are set from the XML dialplan.
I'm happy to share the auto attendant lua script with anyone that thinks it might be useful to them. Its not well documented yet, though.
- Marc
Anthony Minessale wrote:
next time it happens go into another shell
and enter
gcore -o dump `cat /usr/local/freeswitch/log/freeswitch.pid`
then
gdb /usr/local/bin/freeswitch/bin/freeswitch dump.*
then enter these 3 commands:
set pagination off thread apply all bt thread apply all pt full
and send me the entire output
also are you updating with "make current" to avoid build skew?
On Mon, Oct 27, 2008 at 12:32 PM, Marc Lewis <marc@avvatel.com> wrote:
I have a strange problem that I've been dealing with for the last week or two. Once or twice a day, Freeswitch will "wedge", in what appears to be voicemail. The switch is sort of still responding, meaning I can issue various commands at the console, but no new sofia channels will be handled, registrations start failing on the internal profile and no new calls can come in from the external profile.
When it happens, existing channels stay up, but once they are completed, no new channels can be created. There is always one channel that remains that looks something like (DID obfuscated):
api show channels
Content-Type: api/response Content-Length: 394
uuid,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,write_codec,write_rate ea758bcf-25f5-4cde-9f6c-5e3f1226130f,2008-10-27 10:02:27,1225126947,sofia/external/253941xxxx@204.11.200.165 ,CS_EXECUTE,253941xxxx,253941xxxx,199.245.214.150,328,voicemail,default pgm.cisvp.com 246,XML,pgm,PCMU,8000,PCMU,8000
1 total.
I've been updating every weekend with the latest code, this is currently trunk rev 10146.
Anyone have any thoughts on this? Its driving me crazy.
- Marc
-- Marc Lewis Avvatel Corporation
_______________________________________________ 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
------------------------------
_______________________________________________ Freeswitch-users mailing listFreeswitch-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
-- Marc Lewis Avvatel Corporation
_______________________________________________ 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