Re: [asterisk-users] Strange warning message

2009-03-27 Thread Jared Smith
On Fri, 2009-03-27 at 17:33 +, Julian Lyndon-Smith wrote:
> Can anyone give me any idea on where to start looking for this ?  1.4 
> svn (ish) It has appeared twice in the last hour on a system that gets 
> numerous inbound calls to the same number

> [Mar 27 17:21:07] WARNING[3239]: ast_expr2.fl:407 ast_yyerror: 
> ast_yyerror():  syntax error: syntax error, unexpected '=', expecting 
> $end; Input:
>  = 2
>  ^

I typically see that when I have an expression like this:

$[${SOMEVARIABLE} = 2]

and ${SOMEVARIABLE} is empty.  I'd suggest changing your expression to
look like this instead:

$["${SOMEVARIABLE}" = "2"]


-- 
Jared Smith
Training Manager
Digium, Inc.


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Strange warning message

2009-03-27 Thread Julian Lyndon-Smith
Can anyone give me any idea on where to start looking for this ?  1.4 
svn (ish) It has appeared twice in the last hour on a system that gets 
numerous inbound calls to the 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 
__

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] strange warning

2007-08-09 Thread Rizwan Hisham
OK...does anybody know what this message means:

 -- Got SIP response 489 "Bad event" back from 68.209.117.205

This is displayed whenever a notify sip msg is sent to the client server. in
response the client sends back the bad event message.i dont why why it
does not understand the request. Can anybody explain?

On 8/9/07, Rizwan Hisham <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> I am using an asterisk as a client to connect to another asterisk server
> by registering with the register string. Registration is done without any
> hassel, but after sometime my asterisk loses the registration with the
> server and the server starts displaying the following msgs repeatedly:
>
> [Aug  9 06:37:59] NOTICE[8380]: chan_sip.c:8151 check_auth: Correct auth,
> but based on stale nonce received from ''
>
> I dont know what is the problem. Can somebody explain me this?  Below is
> my client configuration.
>
> [general]
> bindport=9060
> bindaddr=0.0.0.0
> disallow=all
> allow=ulaw
> allow=alaw
> allow=g729
> allow=gsm
> context=incoming
> allowexternalinvites=yes
> register=> diet:[EMAIL PROTECTED]:9060
> registertimeout=10  ;(default 20 secs)
> registerattempts=10 ;set it to zero for infinit attempts
>
> Following is the server sip account im using for my client asterisk to
> register:
>
> [diet]
> username=diet
> type=friend
> secret=pepsi
> qualify=no
> nat=yes
> mailbox=12129339033
> insecure=invite,port
> call-limit=2
> host=dynamic
> dtmfmode=rfc2833
> context=local
> canreinvite=no
> callerid="formula one" <13232044055>
> accountcode=1:0:abc
> amaflags=default
> disallow=all
> allow=ulaw
> allow=alaw
> allow=gsm
> allow=g729
>
> --
> Best Regards
> Rizwan Hisham
> Software Engineer
> Axvoice Inc.
> www.axvoice.com




-- 
Best Regards
Rizwan Hisham
Software Engineer
Axvoice Inc.
www.axvoice.com
___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] strange warning

2007-08-09 Thread Rizwan Hisham
Hi all,
I am using an asterisk as a client to connect to another asterisk server by
registering with the register string. Registration is done without any
hassel, but after sometime my asterisk loses the registration with the
server and the server starts displaying the following msgs repeatedly:

[Aug  9 06:37:59] NOTICE[8380]: chan_sip.c:8151 check_auth: Correct auth,
but based on stale nonce received from ''

I dont know what is the problem. Can somebody explain me this?  Below is my
client configuration.

[general]
bindport=9060
bindaddr=0.0.0.0
disallow=all
allow=ulaw
allow=alaw
allow=g729
allow=gsm
context=incoming
allowexternalinvites=yes
register=> diet:[EMAIL PROTECTED]:9060
registertimeout=10  ;(default 20 secs)
registerattempts=10 ;set it to zero for infinit attempts

Following is the server sip account im using for my client asterisk to
register:

[diet]
username=diet
type=friend
secret=pepsi
qualify=no
nat=yes
mailbox=12129339033
insecure=invite,port
call-limit=2
host=dynamic
dtmfmode=rfc2833
context=local
canreinvite=no
callerid="formula one" <13232044055>
accountcode=1:0:abc
amaflags=default
disallow=all
allow=ulaw
allow=alaw
allow=gsm
allow=g729

-- 
Best Regards
Rizwan Hisham
Software Engineer
Axvoice Inc.
www.axvoice.com
___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users