[quote=“abdulzu”]Can i include retrieve_sip_conf_from_mysql.pl it self at the end of of sip.conf file like:
No. You can’t include a perl script in a config file.
Also, the keyword is #include - not “#included”.
here is a script in contrib/scripts called:
This can be used to write a file to be #included in sip.conf
(by default it’s called sip_additional.conf)[/quote]
Ok. What that means is you put the following entry in sip.conf :
Then you run retrieve_sip_conf_from_mysql.pl which will create the file /etc/sip_additional.conf .
Any time you do this, you must do a sip reload in Asterisk - then it will re-read sip.conf and sip_additional.conf .