<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hello<br>
<br>
<br>
I have 2 strange errors when using the Background()-application
and DTMF-input that is received.<br>
<br>
First of all, my first 2 lines are not being executed. The first
line being executed is the Set() application, thus line 3.<br>
<br>
Secondly, the received digits (911) is not the same as the EXTEN
(which is set to 91).<br>
<br>
<br>
<br>
exten => ivr,n,Set(TIMEOUT(digit)=2)<br>
exten =>
ivr,n,Background(/var/lib/asterisk/sounds/${ASTPROMPT})<br>
<br>
exten => _X.,1,NoOp()<br>
exten => _X.,n,NoOp(input=${EXTEN})<br>
exten => _X.,n,Set(choice=${EXTEN})<br>
<br>
<br>
<br>
[Aug 7 12:31:26] -- Executing [ivr@pbx-routing:7]
Set("SIP/SipAgenT-00000626", "TIMEOUT(digit)=2") in new stack<br>
[Aug 7 12:31:26] -- Digit timeout set to 2.000<br>
[Aug 7 12:31:26] -- Executing [ivr@pbx-routing:8]
BackGround("SIP/SipAgenT-00000626",
"/var/lib/asterisk/sounds/5003") in new stack<br>
[Aug 7 12:31:26] -- <SIP/SipAgenT-00000626> Playing
'/var/lib/asterisk/sounds/5003.slin'<br>
<br>
[Aug 7 12:31:41] NOTICE[3886]: ast_expr2.y:763 compose_func_args:
argbuf allocated 4 bytes;<br>
[Aug 7 12:31:41] NOTICE[3886]: ast_expr2.y:782 compose_func_args:
argbuf uses 3 bytes;<br>
[Aug 7 12:31:41] -- Executing [911@pbx-routing:1]
Set("SIP/SipAgenT-00000626", "choice=91") in new stack<br>
<br>
<br>
<br>
I have reloaded the dialplan several times, but the first 2 lines
never get executed. In stead they generate the error : </font><font
face="Helvetica, Arial, sans-serif"><font face="Helvetica, Arial,
sans-serif">ast_expr2.y:763 compose_func_args: argbuf allocated
4 bytes;</font><br>
<br>
<br>
Anyone know what is going on here ?<br>
<br>
<br>
<br>
Kind regards,<br>
<br>
Jonas.<br>
</font>
</body>
</html>