[Asterisk-Users] Can't connect Snom 190 to Asterix PBX. Suggestions?

Jason A. Crome crome at devnetinc.com
Wed Feb 16 09:04:32 MST 2005


Hello,

I'm attempting to get Asterisk running for the first time in my company.  As
I've never used it before, I am creating a small testbed with which to learn
Asterisk and get the kinks worked out before attempting to roll it out.

I have * compiled and running, and built the sample config files as
suggested by the Wiki.  I got my Snom 190 configured to use DHCP, and have
created an entry in my sip.conf for the phone.  However, when * boots, I get
the following message:

-- Got SIP response 404 "Not Found" back from 192.168.2.60

When I look at the SIP trace logs in the phone, I see the following:

Received from udp:192.168.2.15:5060 at 16/2/2005 09:38:54:330 (463 bytes):

NOTIFY sip:snom at 192.168.2.60 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.15:5060;branch=z9hG4bK5e3acadf
From: "asterisk" <sip:asterisk at 192.168.2.15>;tag=as65dd26cd
To: <sip:snom at 192.168.2.60>
Contact: <sip:asterisk at 192.168.2.15>
Call-ID: 688c4c6952ecb71e32ea3d1a30519013 at 192.168.2.15
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 42

Messages-Waiting: no
Voice-Message: 0/0

Sent to udp:192.168.2.15:5060 at 16/2/2005 09:38:54:330 (267 bytes):

SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.2.15:5060;branch=z9hG4bK5e3acadf
From: "asterisk" <sip:asterisk at 192.168.2.15>;tag=as65dd26cd
To: <sip:snom at 192.168.2.60>
Call-ID: 688c4c6952ecb71e32ea3d1a30519013 at 192.168.2.15
CSeq: 102 NOTIFY
Content-Length: 0

The phone is a Snom 190, running firmware snom190-3.56q-SIP-j.bin (from what
I can tell).

The only Asterisk configuration I have done was in sip.conf.  I added the
following entry for the phone:

[test1]
type=friend                    ; Friends place calls and receive calls
context=from-sip               ; Context for incoming calls from this user
secret=blah
language=en                    ; Use German prompts for this user
host=dynamic                   ; This peer register with us
dtmfmode=inband                ; Choices are inband, rfc2833, or info
defaultip=192.168.2.60         ; IP used until peer registers
username=snom                  ; Username to use in INVITE until peer
registers
mailbox=1234,2345              ; Mailboxes for message waiting indicator
restrictcid=yes                ; To have the callerid restriced -> sent as
ANI
disallow=all
allow=ulaw                     ; dtmfmode=inband only works with ulaw or
alaw!
mailbox=1234 at context,2345      ; Mailbox(-es) for message waiting indicator

The IP of the Snom is indeed 192.168.2.60.  Asterisk runs at 192.168.2.15.

I'm using the latest stable version of *, and it's running on FreeBSD 5.3.
I did not build from the ports tree.

What am I missing?  When the phone is configured, how do I verify that it's
working?  Any help is greatly appreciated!

Thanks in advance,
Jason

--------------------------------------------------
Jason A. Crome
Senior Software Engineer, DEVNET, Inc.
E-Mail: crome at devnetinc.com
http://www.devnetinc.com




More information about the asterisk-users mailing list