Questions tagged [vici]

21 questions
5
votes
1 answer

Vici CoolStorage Portability: Monotouch, MonoDroid and Windows Phone

Is cross-platformness a good reason to use Vici CoolStorage? Ideally you'd want to write data model once and use it in MonoTouch, MonoDroid and Windows Phone versions of the same app. In that case is Vici CS the best bet?
bytefire
  • 4,156
  • 2
  • 27
  • 36
2
votes
1 answer

Vicidial Agent API

I'm trying to implement an avatar like system in vicidial. here's what I came up after searching so far. I created a web form then when a call comes to an agent screen they will just click on the webform and they will see buttons as to which…
2
votes
1 answer

Vici.CoolStorage: filter with ManyToOne and ManyToMany relation

I got an exception in Vici.CoolStorage 'Unable to cast object of type 'System.String' to type 'QueryExpression' when using the following filter on the .List() method of my Event class: Event.List("has(Resource where has(Teams where TeamID =…
Roel
  • 77
  • 3
2
votes
0 answers

Vici CoolStorage Primary Key Not Set To INTEGER AUTOINCREMENT

I guess this is to do with my lack of understanding of how Vici CS ORM for MonoTouch works. When using Vici CS for Monotouch, instantiating a DB-mapped object takes long time (several tens of seconds) when the primary key is not set to INTEGER…
bytefire
  • 4,156
  • 2
  • 27
  • 36
1
vote
2 answers

NullReferenceException when running query in Vici CoolStorage

Here is my code : BookMark[] st = CSDatabase.RunQuery( @"SELECT * FROM Bookmark WHERE link='" + link + "'"); class BookMark { public string link; } Sometimes I get a NullReferenceException but I don't why. Please help me!
thongaduka
  • 627
  • 1
  • 8
  • 19
1
vote
1 answer

strongswan govici: unmarshall child SA struct

I'm starting to use the Strongswan govici API to control IPsec, following the general pattern I found at https://github.com/strongswan/govici/blob/master/docs/getting_started.md. It's working except that I'm unable to set a connection's childSA's…
Jeff Learman
  • 2,914
  • 1
  • 22
  • 31
1
vote
2 answers

How to integrate vicidial non agent api in php

I can't integrate vicidial non agent api in php . require 'vicidialAgentAPI.php'; try { $vicidialAPI = new VicidialAgentAPI("127.0.0.1", "VicidialAPI", "6666", "1234",true); $vicidialAPI->version(); } catch (Exception $e) { echo…
1
vote
1 answer

Vici coolstorage additional threads

I have a relatively small project on monotouch for iPhone & Android with plans to add WP7. I use vici coolstorage as an ORM on SQLite, and it works fine for me, but there is one issue. It creates additional threads per thread using db. I already hit…
Aneri
  • 1,342
  • 8
  • 21
1
vote
1 answer

How can I use the value of a ViewComponent's parameter in the component's view without passing it as ViewData?

Consider a ViewComponent that renders paging navigation. One of the parameters passed to the component is the current PageIndex (index of the viewed page). How can I use this passed value in my ViewComponents template without putting it into the…
Niels R.
  • 7,260
  • 5
  • 32
  • 44
1
vote
0 answers

Coolstorage query error

I have been looking for an open-source alternative to Linq-To-SQL and came across Vici CoolStorage which is a perfect fit for my needs (light-weight, open source, supports Access and SQL Server). However, I am having some trouble getting it to…
Niall
  • 1,551
  • 4
  • 23
  • 40
1
vote
1 answer

C#, Vici Parser Conditional Statements

Can any one help me out to evaluate this expression at runtime using Vici parser. I have tried other usual expressions like 5* VARIABLE kinda expression. But is it possible to evaluate conditional statements using VICI parser. Example: IF SAL > 5…
Dhanasekar Murugesan
  • 3,141
  • 1
  • 18
  • 21
0
votes
0 answers

How can I add lead status in vicidial script dynamically?

I'm using a combination of lime survey and vicidial in order to display scripts dynamically. I need to inject the lead status (NEW,CALLBK,DNC,etc...) in the script, but I can't find a way to do this. This is the script in…
xerac
  • 147
  • 8
0
votes
0 answers

Connect vici socket to a particular network namespace

I am able to use python3-vici in the global namespace, suppose I want to route it through a particular namespace say, /var/run/x/x/vpn, how do I do that? I have charon.ctl, charon.pid, ipsec.conf, ipsec.d, starter.charon.pid, …
KungFuPanda
  • 55
  • 1
  • 6
0
votes
1 answer

VICIDial IP based configuratoin.. No Outgoing calls

I have configured my carrier settings as below, [100] disallow=all allow=ulaw allow=g729 type=friend dtmfmode=rfc2833 qualify=yes insecure=invite,port nat=force_rport,comedia fromuser=xxx.xxx.xxx.xxx …
0
votes
1 answer

Identify DTMF is pressed or not on Asterisk IVR

I need help to identify that DTMF is pressed or not on the Asterisk IVR. Scenario is: I want to call an AGI script on the basis of DTMF pressed or not. If DTMF(IVR Menus) is pressed nothing to do. If DTMF is not pressed call and AGI and save the…
Vijay
  • 246
  • 1
  • 6
1
2