I don't think I can... there's no cast to smallint :(
On Wed, May 10, 2017 at 8:37 PM Daniel Tryba <d.tryba@pocos.nl> wrote:
On Wed, May 10, 2017 at 05:31:28PM +0200, David Villasmil wrote:
> The view i created on mysql returns an INT for port and mask, it looks like
> kamailio doesn't like this... It looks to be expecting a smallint??
>
> the view returns an INT and that fails....
> ᐧ

Sound awfully familiar:
https://lists.kamailio.org/pipermail/sr-users/2017-April/096750.html

Short story even shorter: use casts to match the orginal row types.



_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users