trouble shooting asterisk 1.8
I've just installed asterisk on ubuntu 10.04:- 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- [general]
- [5010]
- type=friend
- nat=yes
- username=5010
- secret=123456
- host=dynamic
- context=default
- [5020]
- type=friend
- nat=yes
- username=5020
- secret=123456
- host=dynamic
- context=default
複製代碼 extensions.conf- [default]
- exten => 5010,1,Dial(SIP/5010)
- exten => 5020,1,Dial(SIP/5020)
複製代碼 And I restarted the asterisk service by using:- sudo /etc/init.d/asterisk restart
複製代碼 Do I need something else? Thanks. |