[OpenSIPS-Users] Location table info

Bogdan-Andrei Iancu bogdan at voice-system.ro
Sun Aug 1 23:08:48 CEST 2010


Hi Premalatha,

What about using DB triggers on DELETE event (on location table) to 
delete the record in your table also ?

Regards,
Bogdan

Premalatha Kuppan wrote:
> Hi Bogdan,
>  
> I have a question on location table.
>  
> I have added a table to OPENSIPS DB. This table entry should get 
> deleted when the corresponding entries in location table is deleted.
>  
> say for example: user xxxx is registerd and its info is stored in 
> location table. When it crashes, entries gets deleted from location 
> table, when this entry isn't found i have to delete that 
> corresponding entry from my created table.
>  
> How to do this ?
>  
> Thanks,
> Premalatha
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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