返回列表 發帖

trouble shooting asterisk 1.8

I've just installed asterisk on ubuntu 10.04:
  1. Asterisk 1.8.7.0-1digium1~lucid, Copyright (C) 1999 - 2011 Digium, Inc. and others.
複製代碼
But can't get register by using a simple setup:
sip.conf
  1. [general]

  2. [5010]
  3. type=friend
  4. nat=yes
  5. username=5010
  6. secret=123456
  7. host=dynamic
  8. context=default

  9. [5020]
  10. type=friend
  11. nat=yes
  12. username=5020
  13. secret=123456
  14. host=dynamic
  15. context=default
複製代碼
extensions.conf
  1. [default]
  2. exten => 5010,1,Dial(SIP/5010)
  3. exten => 5020,1,Dial(SIP/5020)
複製代碼
And I restarted the asterisk service by using:
  1. sudo /etc/init.d/asterisk restart
複製代碼
Do I need something else? Thanks.

YH,

Thanks for the prompt response.

1.
  1. == Parsing '/etc/asterisk/asterisk.conf':   == Found
  2.   == Parsing '/etc/asterisk/extconfig.conf':   == Found
複製代碼
2.
  1. Name/username              Host                                    Dyn Forcerport ACL Port     Status     
  2. 5010/5010                  (Unspecified)                            D   N      0        Unmonitored
  3. 5020/5020                  (Unspecified)                            D   N      0        Unmonitored
  4. 2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 2 offline]
複製代碼
3. Softphone - Ekiga (within the same lan)

TOP

本帖最後由 ttmuskie 於 2011-10-16 19:33 編輯

Still don't have any joy:

TOP

YH and ckeea,

Somehow, it suddenly work this morning.

Btw, I'll try to add the GV over there and believe more questions will arise. Thanks!

TOP

返回列表