Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] compose_func_args: argbuf allocated 4 bytes compose_func_args: argbuf uses 3 bytes


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
jonas.kellens at telen...
Guest





PostPosted: Fri Aug 07, 2015 5:48 am    Post subject: [asterisk-users] compose_func_args: argbuf allocated 4 bytes Reply with quote

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@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@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@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.
Back to top
ethy.brito at inexo.co...
Guest





PostPosted: Fri Aug 07, 2015 6:24 am    Post subject: [asterisk-users] compose_func_args: argbuf allocated 4 bytes Reply with quote

On Fri, 07 Aug 2015 12:47:40 +0200
Jonas Kellens <jonas.kellens@telenet.be> wrote:

Quote:
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@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@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@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

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
webaccounts173 at jgoe...
Guest





PostPosted: Fri Aug 07, 2015 6:39 am    Post subject: [asterisk-users] compose_func_args: argbuf allocated 4 bytes Reply with quote

Quote:

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@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@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@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 ?
Can you post the complete output with "set verbose = 3"? I think you didn't show all the code that got executed. Also, Asterisk might not get what was dialed. If you have a phone with dial plan settings and there is a regex which submits immediately after 2 digits for certain patterns, you'll never get the complete number.

Given the code, there is no reason to execute the ivr extensions.

jg
Back to top
jonas.kellens at telen...
Guest





PostPosted: Fri Aug 07, 2015 6:53 am    Post subject: [asterisk-users] compose_func_args: argbuf allocated 4 bytes Reply with quote

On 07-08-15 13:23, Ethy H. Brito wrote:
Quote:
Quote:
On Fri, 07 Aug 2015 12:47:40 +0200
Jonas Kellens <jonas.kellens@telenet.be> (jonas.kellens@telenet.be) wrote:

Quote:
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@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@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@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


Hello


"dialplan show" shows the following :


'_X.' =>          1. NoOp()                                     [pbx_config]
                    2. NoOp(input=${EXTEN})                       [pbx_config]
                    3. Set(choice=${EXTEN})                      [pbx_config]



But like I said, the first 2 lines do not get executed.

I don't understand why if extension is 911 the code says : "choice=91" in this line : -- Executing [911@pbx-routing:1] Set("SIP/SipAgenT-00000626", "choice=91")

You see exten is 911, but when allocating ${EXTEN} to the variable "choice" it suddenly is 91 ?!





Kind regards,

Jonas.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services