[Asterisk-Users] callerid validation and expression parser problems on Solaris 10

trixter http://www.0xdecafbad.com trixter at 0xdecafbad.com
Tue Oct 11 06:10:13 MST 2005


On Tue, 2005-10-11 at 14:12 +0200, Joseph Rothstein wrote:
> I am setting up a voicemail (VM) system based on Asterisk. From what
> I've heard Vonage uses Asterisk as their VM platform as well. I am
> running 1.2beta with a MYSQL backend for extensions and VM user info.
> All the sound files and vm messages are being stored through an NFS
> mount externally. The reason for this is that there will be several
> asterisk VM frontends, all accessing the same config and vm user info
> as well as sounds files.
> 

By sound files do you mean the static 'enter your password' type files?
You may do a lot better having those on the individual boxes to reduce
the load on the network.  If its static keep it on the box, as a general
rule.



> priority='5',app='gotoif',appdata='$[${sanity}]?10:20';
goto 10 if true 20 if false

[...]
> 
>     -- Executing set("SIP/10.10.13.110-00123d48", "sanity=0")
> 
0 means false

[...]
>     -- Goto (default,03413306999,20)
> 
goes to 20 as you told it to


> Sanity is just a variable to keep track of whether or not cid and vmid
> are equal. IN this case they are, so the statement
no they arent.

> priority='1',app='Set',appdata='vmid=03413306999';
> priority='2',app='Set',appdata='cid=03413306990';

6990 vs 6999

> 
> If anyone has come across this problem, and has a solution I would
> very much appreciate any input.
> 
>  
Many times I have been victim of typos.  My solution has always been to
fix the typo then proceed.  Hopefully that solution works for you too :)

> 
-- 
Trixter http://www.0xdecafbad.com     Bret McDanel
UK +44 870 340 4605   Germany +49 801 777 555 3402
US +1 360 207 0479 or +1 516 687 5200
FreeWorldDialup: 635378
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051011/b26d03be/attachment.pgp


More information about the asterisk-users mailing list