返回列表 發帖

NWT NetTalk Asterisk SIP Settings

本帖最後由 角色 於 2013-11-7 00:03 編輯

It was found (shown below) that the switch of NWT is the same as ComNet Phone, therefore the settings for ComNet Phone is also applicable to NWT Internet/Broadband Phone.

sip.conf
  1. register => 33445566:password@ngn2.nwtbb.com/33445566

  2. [nwt-nettalk]
  3. username=33445566
  4. type=peer
  5. secret=password
  6. qualify=yes
  7. port=5060
  8. insecure = port,invite
  9. host=ngn2.nwtbb.com
  10. fromusername=33445566
  11. fromuser=33445566
  12. fromdomain=home1.com
  13. dtmfmode = rfc2833
  14. canreinvite = no
  15. defaultexpirey=300
  16. context = from-nwt-nettalk
複製代碼
extension.conf
  1. [trunk-nwt-nettalk-122]
  2. exten => _122.,1,Dial(SIP/${EXTEN:3}@nwt-nettalk,,)
  3. exten => _122.,n,Hangup()

  4. [internal]
  5. include => trunk-nwt-nettalk-122

  6. [from-nwt-nettalk]
  7. exten => 33445566,1,Dial(SIP/2004)
複製代碼
asterisk.conf
  1. [options]
  2. internal_timing = yes
複製代碼

The following sip.conf file contains the configuration for NWT settings

sip.conf
  1. [nwt-nettalk]
  2. username=31234567
  3. type=peer
  4. secret=Password
  5. qualify=yes
  6. port=5060
  7. insecure=port,invite
  8. host=ngn2.nwtbb.com
  9. fromusername=31234567
  10. fromuser=31234567
  11. fromdomain=ngn2.nwtbb.com
  12. dtmfmode=rfc2833
  13. defaultexpirey=300
  14. canreinvite=no
  15. nat=yes
  16. disallow = all
  17. allow = ulaw
  18. allow = alaw
  19. context=from-nwt-nettalk
複製代碼

TOP

返回列表