search for: channelvariables

Displaying 11 results from an estimated 11 matches for "channelvariables".

2007 Nov 26
3
Correct syntax for IF()?
...quot;")}) [Nov 26 22:02:23] WARNING[5101]: ast_expr2.fl:398 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '(', expecting $end; Input: STAT(e|/tmp/.wav) ^ [Nov 26 22:02:23] WARNING[5101]: ast_expr2.fl:402 ast_yyerror: If you have questions, please refer to doc/channelvariables.txt in the asterisk source. ============== TEST #3 exten => h,n,Set(WAV_FILE=${IF($[${STAT(e,/tmp/${CALLTIME}.wav)}=1]?${CALLTIME}.wav)}) [Nov 26 22:08:42] WARNING[5109]: ast_expr2.fl:398 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '=', expecting $end; Input: =1...
2007 Aug 10
2
Dialplan loop
...he above loop increment doesn't work. The error message is: WARNING[14490]: ast_expr2.fl:398 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '+', expecting $end; Input: + 1 ^ WARNING[14490]: ast_expr2.fl:402 ast_yyerror: If you have questions, please refer to doc/channelvariables.txt in the asterisk source. OK, and doc/channelvariables.txt shows: exten => 1,2,Set(koko=$[2 * ${lala}]) as an example. So if anyone can see what the difference is between: exten => s,n,Set(loop = $[${loop} + 1]) and exten => 1,2,Set(koko=$[2 * ${lala}]) please point out my error. Tha...
2009 Aug 27
6
Measuring voice quality with Asterisk
Hi! I want to use Asterisk as load generator to test quality degradation with increased load (e.g. testing other SIP equipment or IP-links). Is anybody aware of such a setup with Asterisk - is it possible to get RTP statistics out of Asterisk (e.g. jitter, packet loss, reordering ...)? Thanks Klaus
2010 Sep 09
1
syntax error, unexpected '<token>'
...fl:445 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '<token>', expecting $end; Input: ""congestion""="congestion" ^* [Sep 9 12:27:07] WARNING[5741]: ast_expr2.fl:449 ast_yyerror: If you have questions, please refer to doc/tex/channelvariables.tex. [Sep 9 12:27:07] -- Executing [pbx at cust:16] GotoIf("SIP/test13-0000002a", """?backup:nocongestion") in new stack What is then the correct syntax ?! Jonas. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.dig...
2008 Sep 29
3
Knowing incoming call technology and channel [SOLVED]
2008/9/29 Alex Balashov <abalashov at evaristesys.com> > Try this: > > exten => _XXXX,1,Set(THISTECH=${CUT(CHANNEL,/,1)}) > exten => _XXXX,n,NoOp(Technology is ${THISTECH}) > exten => _XXXX,n,Set(THISCHANNEL=${CUT(CHANNEL,/,2)}) > exten => _XXXX,n,NoOp(Channel is ${THISCHANNEL}) Hi, I don't have any spare zaptel enabled system I could try this on, but I
2005 Aug 25
0
Automated AgentCallback logon and logoff is possible
Hi all, This is to let you know that I found out how to automate the agentcallback logon and logoff. Only thing you need, is to have the agentcode and pincode available in channelvariables. I've updated the documentation on voip-info to incorporate my findings. http://www.voip-info.org/wiki-Asterisk+cmd+AgentCallbackLogin Have fun with it! Regards, Michel Koenen
2008 Nov 12
1
How to get correct dial result for outgoing calls thru ISDN?
Hi everyone, Currectly I'm having some troubles to get correct status of my calls throug ISDN lines, when outbound calls don't get its destination I always receive NO ANSWER as ${DIALSTATUS} despite the fact I know the target number doesn't exists or is busy at that time. Maybe there is something I must change in my zaptel.conf or zapata.conf, current configs follows: ####
2009 Mar 27
1
Strange warning message
...he same number TIA Julian [Mar 27 17:21:07] WARNING[3239]: ast_expr2.fl:407 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '=', expecting $end; Input: = 2 ^ [Mar 27 17:21:07] WARNING[3239]: ast_expr2.fl:411 ast_yyerror: If you have questions, please refer to doc/channelvariables.txt in the asterisk source. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ___________________________________________________________...
2010 Nov 03
1
Gotoif changed in 1.8?
...]: ast_expr2.fl:468 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '<token>', expecting $end; Input: ""NONE"" = "OK" ^ [Nov 3 14:23:02] WARNING[20937]: ast_expr2.fl:472 ast_yyerror: If you have questions, please refer to doc/tex/channelvariables.tex. * Executing [s at tb-account-balance:8] GotoIf("SIP/134-00000000", """?tb-account-balance,s,ok") in new stack Any ideas? TIA Danny Nicholas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pip...
2007 Oct 17
6
parse error in GosubIf
Greetings everyone, today I spent the last part of my day trying to find a parse error inside this snip: http://pastebin.ca/740081 If there's anyone who can shed some light on why my GosubIf condition is throwing a parse error, I'd greatly appreciate your insight. This was really frustrating and is probably a stupid mistake. Regards, -Michael
2007 Nov 14
4
Problem with AGI Script
I have asterisk 1.2.18 running on a new system we just installed. Although I've used AGIs many times in the past, I'm stumped on this one. It may just be a simple issue that I need another eyeset to look at. My AGI does the following: #!/usr/bin/perl #Load a few modules... use Asterisk::AGI; use DBI; $AGI = new Asterisk::AGI; #Grab input from Asterisk my %input =