返回列表 發帖

users.conf vs sip.conf

Which file you use to create the extensions? If you use GUI, all user extensions are created in users.conf. GUI can allow you to see the online status and control it.

If you create your extensions yourself into the sip.conf, GUI will not let you see them.

The question is
1. if you create the extensions in users.conf, sometimes Dial(SIP/6001) may not work
2. if you login in via iax, you may not be able to ring the same extension if the channel uses SIP.
3. even if you have a dialplan like this Dial(SIP/6001&IAX2/6001,60,r), it may not work.

Based on my understanding, at the time of the first Asterisk server was developed, there was no GUI for the server, the sip settings were all placed in sip.conf. The dialplan is placed in extensions.conf. There is no such file users.conf.

After the introduction of AsteriskNOW, a GUI for Asterisk server, the file users.conf is introduced. The general or register settings are placed in sip.conf. Individual sip client settings are placed in users.conf. The settings for dialplan is remained the same, i.e., extensions.conf.

Different user's preference may have different choice of placing individual sip settings. Both ways are acceptable in Asterisk server.

YH

TOP

返回列表