[asterisk-bugs] [JIRA] (ASTERISK-21916) Call hangs when FILTER function is used in dial plan

Rusty Newton (JIRA) noreply at issues.asterisk.org
Mon Jul 29 17:47:03 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-21916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=208353#comment-208353 ] 

Rusty Newton commented on ASTERISK-21916:
-----------------------------------------

{quote}
pidof asterisk gives a list of numbers, e.g. "31272 31271"... Yes, there are 23 processes on my system named asterisk, all created from the same "asterisk" command invocation (without the quotes). I assumed all bar one of them were just folked background processes created by the main one?
{quote}

I'm used to seeing a single process. On rare occasion I've seen multiple Asterisk processes, but never had the need to run GDB on those systems. I don't know much about how the Tomato environment is setup. It sounds like it may be using something like http://en.wikipedia.org/wiki/LinuxThreads resulting in each Asterisk thread having its own process.

AFAIK you can only run GDB on a single process and that process should likely be the primary one.

{quote}
I don't know if this helps, but I'll mention anyway that I don't think there's any timer available on this system. 
{quote}

That shouldn't affect the FILTER function in any way that I can think of.
                
> Call hangs when FILTER function is used in dial plan
> ----------------------------------------------------
>
>                 Key: ASTERISK-21916
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21916
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Functions/func_strings
>    Affects Versions: 11.4.0
>         Environment: Latest binaries of Asterisk 11.4.0 from Optware repository running on an Asus RT-n66u (Tomato USB based router, MIPS 74K V4.9) with firmware 3.0.0.4.270.25 (rmerlin variant) and Linux 2.6.22.19, installed on an ext3 partition on external HD
>            Reporter: Elizabeth Hudnott
>            Assignee: Elizabeth Hudnott
>            Severity: Critical
>         Attachments: debug.log
>
>
> Whenever the FILTER function is used in the dial plan the call hangs.  No further dial plan steps get executed, ringing tone ceases, the call remains open until Asterisk is restarted and CPU utilization increases sharply.
> Simple dial plan extract to reproduce the problem:
> {noformat}
> exten=>**4,1,Verbose(${FILTER(0-9,123)})
> same=>n,Hangup()
> {noformat}
> This behaviour occurs consistently every time the extension is dialled from CSipSimple sofphone.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list