[VoIP] GoToIf

Paul Wills pdwills at cedarknolltelephone.com
Sun Feb 11 07:27:38 CST 2007


----- Original Message ----- 
From: "Martin Harriss" <martin at Princeton.EDU>
To: "Voice Over IP Tandem for Analog Switches" <voip at ckts.info>
Sent: Saturday, February 10, 2007 11:29 PM
Subject: Re: [VoIP] GoToIf


> Paul Wills wrote:
>> Here's hopefully a quick question:
>>
>> When using the GoToIf statement, is there a way to compare a numerical 
>> value
>> and not a string value?
>>
>> By the way, the ANI is now working using the Cisco router and a lot of 
>> weird
>> code in extensions.conf.
>>
>> PDW
>
> The Asterisk book says that the '=' operator (and, for that matter, the
> other relational operators) perform an integer comparison if both
> arguments are integers.  Does that help?
>

It could be that the "comparee" is not an integer.  I guess making sure it 
is will be the next step.

Thanks,

PDW



More information about the VoIP mailing list