I'm able to include a phone inside a database for realtime usage. So, this code (from
[phone] type=friend username=phone secret=12345 host=dynamic disallow=all allow=g729 allow=alaw context=somecontext nat=no insecure=port,invite
it is now inside a database (using MySQL).
Now, I want to include a SIP trunk using the register directive, but I don't know how to do that.
How can I include
register => <username>:<password>@<provider> inside the database as well?