[asterisk-users] compose_func_args: argbuf allocated 4 bytes compose_func_args: argbuf uses 3 bytes
Ethy H. Brito
ethy.brito at inexo.com.br
Fri Aug 7 06:23:39 CDT 2015
On Fri, 07 Aug 2015 12:47:40 +0200
Jonas Kellens <jonas.kellens at telenet.be> wrote:
> Hello
>
>
> I have 2 strange errors when using the Background()-application and
> DTMF-input that is received.
>
> First of all, my first 2 lines are not being executed. The first line
> being executed is the Set() application, thus line 3.
>
> Secondly, the received digits (911) is not the same as the EXTEN (which
> is set to 91).
>
>
>
> exten => ivr,n,Set(TIMEOUT(digit)=2)
> exten => ivr,n,Background(/var/lib/asterisk/sounds/${ASTPROMPT})
>
> exten => _X.,1,NoOp()
> exten => _X.,n,NoOp(input=${EXTEN})
> exten => _X.,n,Set(choice=${EXTEN})
>
>
>
> [Aug 7 12:31:26] -- Executing [ivr at pbx-routing:7]
> Set("SIP/SipAgenT-00000626", "TIMEOUT(digit)=2") in new stack
> [Aug 7 12:31:26] -- Digit timeout set to 2.000
> [Aug 7 12:31:26] -- Executing [ivr at pbx-routing:8]
> BackGround("SIP/SipAgenT-00000626", "/var/lib/asterisk/sounds/5003") in
> new stack
> [Aug 7 12:31:26] -- <SIP/SipAgenT-00000626> Playing
> '/var/lib/asterisk/sounds/5003.slin'
>
> [Aug 7 12:31:41] NOTICE[3886]: ast_expr2.y:763 compose_func_args:
> argbuf allocated 4 bytes;
> [Aug 7 12:31:41] NOTICE[3886]: ast_expr2.y:782 compose_func_args:
> argbuf uses 3 bytes;
> [Aug 7 12:31:41] -- Executing [911 at pbx-routing:1]
> Set("SIP/SipAgenT-00000626", "choice=91") in new stack
>
>
>
> I have reloaded the dialplan several times, but the first 2 lines never
> get executed. In stead they generate the error : ast_expr2.y:763
> compose_func_args: argbuf allocated 4 bytes;
>
>
> Anyone know what is going on here ?
>
>
>
> Kind regards,
>
> Jonas.
Hi Jonas
What is the output from "dialplan show" for this particular piece of code?
cheers
Ethy
More information about the asterisk-users
mailing list