Segmentation fault when using canreinvite=yes on OpenWRT

I installed Asterisk on my Linksys router using OpenWrt and everything works fine except the canreinvite=yes.

When a called is established, asterisk crashes with a segmentation fault if canreinvite=yes.

If I set canreinvite=no, the asterisk does not crash but all the traffic goes throught it.

Any ideas?