[OpenSIPS-Users] dispatcher setid problem

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Jul 13 17:18:21 CEST 2010


Hi Rajib,

Changing the DB definiton will not help as internally, the dispatcher 
module will use an int (4 bytes data) for keeping this ID. So, it will 
not work.

Instead of using the bigints for IDs, I would rather suggest to use the 
dialplan to try to do some translation from the numbers to some normal IDs.

Regards,
Bogdan

rajib deka wrote:
> Hello List,
>
> Is it possible to use a BIGINT value instead of INT(11) in OpenSIPS 
> dispatcher module?
>
> We tried to store a BIGINT value by changing the dispatcher table 
> structure but the dispatcher code is restricting us to do that. We 
> have some requirements which needs the setid to be a BIGINT as we are 
> dispatching the calls based on telephone number against a set of 
> gateways. So, is there any way other than changing the code. If we 
> want to change the code how do we have to start.
>
> -- 
> Rajib Deka
> Software Engineer
> Servion Global Solution
> Chennai, India
>
> Mobile No: + 91 80157 09130
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
20 - 24 September 2010, Frankfurt, Germany
www.voice-system.ro




More information about the Users mailing list