[Asterisk-Users] SNOM 190 Configuration with Asterisk

Colin Anderson ColinA at landmarkmasterbuilder.com
Wed Jan 12 22:00:55 MST 2005


Assumptions:

-Working DHCP server
-Good LAN, everyone's happy and can see each other
-Working DNS server on LAN
-IP of Asterisk server: 192.168.1.46


sip.conf: (remove comments)

[550] 'extension number
callerid="Joe Blow" <550>
canreinvite=no
context=from-internal 'default AMP context, salt to taste
dtmfmode=rfc8233
host=dynamic
mailbox=550
nat=never 'assumes behind the firewall or port forward SIP thru the firewall
port=5060
secret=123456
type=friend
username=550

In SNOM webconfig (click on "line 1")

Display name: Joe Blow
Account: 550
Password: 123456
Registrar: 192.168.1.46 'Insert IP or FQDN of Asterisk server here
Mailbox: *98 'Default AMP value, you can change in extensions.conf
Outbound proxy: 192.168.1.46 'Insert IP or FQDN of Asterisk server here

Leave all other values as default.

Some tips:

-Make sure you have a working DNS server behind the firewall. 
-Make sure the DHCP server that gives the IP to the SNOM assigns the DNS
setting correctly
-Update the firmware from the shipping defaults (this is what you need the
DNS server for)
-Click on "SIP Trace" in web config. 

A working trace:

Sent to udp:192.168.1.46:5060 at 12/1/2005 21:46:17:500 (279 bytes):

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 192.168.1.46:5060;branch=z9hG4bK6bbcd25b
From: "Asterisk" <sip:Asterisk at 192.168.1.46>;tag=as6d6578bc
To: <sip:550 at 192.168.1.246:5060;line=rzuj90gp>
Call-ID: 3baa58976453df99545f50a615e331eb at 192.168.1.46
CSeq: 102 NOTIFY
Content-Length: 0

A bad trace: (indicating bad account or secret password not matching
sip.conf)

Received from udp:192.168.1.46:5060 at 12/1/2005 21:42:42:030 (470 bytes):

SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.246:5060;branch=z9hG4bK-fcvcqu43c9va
From: "Joe Blow" <sip:550 at 192.168.1.46>;tag=3y392m7gy8
To: "Joe Blow" <sip:550 at 192.168.1.46>;tag=as3eae3493
Call-ID: 3c26700e7ef4-vxup9s7o3aa5 at 192-168-1-246
CSeq: 362475 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:550 at 192.168.1.46>
WWW-Authenticate: Digest realm="asterisk", nonce="069b0399"
Content-Length: 0

I guess I was lucky. My first SNOM worked perfectly, first try. I was
suprised. 

HTH.


-----Original Message-----
From: Ty Carter [mailto:tmcarter at ultrastat.com]
Sent: Wednesday, January 12, 2005 6:34 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] SNOM 190 Configuration with Asterisk


Anyone have a suggestion for a configuration example using Asterisk and SNOM
190 SIP phone?

I have read both sets of documentation and for the life of me, I can't get
the phone to register and work.  I can use a IAX softphone and it works
perfectly.  It is just the SIP thing I guess.  Anyone have conf examples
they can share?

Thanks





_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list