返回列表 發帖

Asterisk 1.4:Workshop 1

目的:就是让两个SIP Clients能互相沟通

sip.conf
  1. [general]
  2. disallow=all
  3. allow=ulaw,alaw,gsm
  4. nat=yes
  5. canreinvite=no
  6. context=fron-desk


  7. [6001]
  8. type=friend
  9. secret=YH6001
  10. host=dynamic
  11. context=internal

  12. [6002]
  13. type=friend
  14. secret=YH6002
  15. host=dynamic
  16. context=internal
複製代碼
extensions.conf
  1. [internal]

  2. exten => 6001,1,Dial(SIP/6001,,r)
  3. exten => 6002,1,Dial(SIP/6002,,r)
複製代碼
注意:

1)可能会有单边声音出现,如果有,可能把router,swtich全都关掉5分钟,希望把里面的memory全清掉。

I believe that there are not much different in performance but the way of presentation.

Under GUI, all sip/iax accounts are grouped together in users.conf. However the ways of presentation is different. It seems that those formats are read by GUI.

Under APL, sip.conf, iax.conf, extensions.conf are separated. sip.conf is responsible for sip account, iax.conf for iax account and extensions.conf for dialplans.

For details, we may refer the bible of future telephony: The future of Telephony: Asterisk 2nd Edition, which is free for download.

YH

TOP

If you use GUI, the extensions are installed in users.conf. What is the difference to have extensions put into the sip.conf?

TOP

返回列表