Automatized extension creation

I want create many extensions (approx 300) and i don’t want do it by hand. There are exist some method to create extension from console ?
Maybe through some freepbx api, or by direct access to mysql database?

You could try the bulk extensions under applications from the web interface, they just need to be in a csv format, but you can download the template right from that tab

Thank you. That’s very helped me.
The problem is solved.