[Freeswitch-users] Freeswitch wedges in voicemail?

Marc Lewis marc at avvatel.com
Mon Oct 27 11:22:10 PDT 2008


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 at avvatel.com 
> <mailto:marc at 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 at 204.11.200.165
>     <mailto:253941xxxx at 204.11.200.165>,CS_EXECUTE,253941xxxx,253941xxxx,199.245.214.150
>     <http://199.245.214.150>,328,voicemail,default
>     pgm.cisvp.com <http://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 at lists.freeswitch.org
>     <mailto: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
>
>
>
>
> -- 
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com 
> <mailto:MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com 
> <mailto:PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org 
> <mailto:sip%3A888 at conference.freeswitch.org>
> iax:guest at conference.freeswitch.org/888 
> <http://iax:guest@conference.freeswitch.org/888>
> googletalk:conf+888 at conference.freeswitch.org 
> <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:213-799-1400
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
>   


-- 
Marc Lewis
Avvatel Corporation

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081027/2fee8179/attachment-0002.html 


More information about the FreeSWITCH-users mailing list