Pbx data logger to insert auto unique identifier ?

Started by rich2010, March 03, 2011, 08:57:46 PM

Previous topic - Next topic

rich2010

Hi

We bought PBX data logger last year and it works great. It reads the smnp output from our Avaya IPO and binds the data via ODBC TO SQL Server.

One issue that we have to overcome is that one of the fields from PBX is CALL_ID. This is a "unique" field for every call through the PBX. The problem is that anytime the Avaya is reset, for whatever reason, the CALL_ID number is also reset, so you can end up with non-unique entries in this column. We however always need them to be unique in the database.

Is there a way to get PBX data logger to insert a value into a uniqueidentifier field in the database each time it logs a call into it? Or is there some other way to overcome this problem?

Many thanks

Rich

Arthur Grasin

Just create an auto increment column in the database and don't bind this field within the ODBC plugin (exclude from binding at all).
If you like my work, please take a few seconds and add feedback about our site or our software [here]