mysql sip.conf + file sip.conf

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

mysql sip.conf + file sip.conf

Postby aardvark82 » Wed Dec 16, 2015 2:15 am

Hello. I want to try to use SQL storage for peers accounts, add test account to MySQL base and to see if it will work. but I don't want to break anything that is in sip.conf file now. Is it possible?
aardvark82
Newsterisk
 
Posts: 18
Joined: Fri May 16, 2014 4:06 am

Re: mysql sip.conf + file sip.conf

Postby mkozusnik » Wed Dec 16, 2015 4:51 pm

You can have both. The MySQL sippeers (or whatever you call it) AND the peer/friends in sip.conf. Once realtime is working, both sets of peers will work. Just don't enter the same name in the database and sip.conf. Also set rtcachefriends=yes in the general section of sip.conf so you'll be able to see the database peers from "sip show peers".
mkozusnik
Newsterisk
 
Posts: 45
Joined: Fri Nov 13, 2015 8:31 am
Location: Wheeling, WV


Return to Asterisk Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest