[asterisk-bugs] [JIRA] (ASTERISK-21916) Call hangs when FILTER function is used in dial plan
Walter Doekes (JIRA)
noreply at issues.asterisk.org
Thu Jun 20 02:56:03 CDT 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-21916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=207357#comment-207357 ]
Walter Doekes edited comment on ASTERISK-21916 at 6/20/13 2:55 AM:
-------------------------------------------------------------------
In menuselect, when hovering over chan_sip, at the bottom you should see what dependencies you are missing.
You could take a look at:
{noformat}
contrib/scripts/install_prereq
{noformat}
That file will show common dev packages you require on common distros. Running it will probably fail on your Optware.
----
You're running on (relatively) uncommon hardware. That might explain issues in one the loops above.
Can you confirm that sizeof(char) == 1 and whether the char is signed or unsigned by default?
{noformat}
int main() {
return sizeof(char);
}
gcc the_above.c -o the_above; ./the_above; echo $?
{noformat}
and:
{noformat}
int main() {
char b = 127;
b += 1;
if (b == 128) {
return 1;
}
return 0;
}
gcc the_above.c -o the_above; ./the_above && echo signed || echo unsigned
{noformat}
was (Author: wdoekes):
In menuselect, when hovering over chan_sip, at the bottom you should see what dependencies you are missing.
You could take a look at:
{noformat}
contrib/scripts/install_prereq
{noformat}
That file will show common dev packages you require on common distros. Running it will probably fail on your Optware.
----
You're running on (relatively) uncommon hardware. That might explain issues in one the loops above.
Can you confirm that sizeof(char) == 1 and whether the char is signed or unsigned by default?
{noformat}
int main() {
return sizeof(char);
}
gcc the_above.c -o the_above; ./the_above; echo $?
{noformat}
and:
{noformat}
int main() {
unsigned char b = 127;
b += 1;
if (b == 128) {
return 1;
}
return 0;
}
gcc the_above.c -o the_above; ./the_above && echo signed || echo unsigned
{noformat}
> 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