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

2005-02-16 Thread Jason A. Crome
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:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP 192.168.2.15:5060;branch=z9hG4bK5e3acadf
From: asterisk sip:[EMAIL PROTECTED];tag=as65dd26cd
To: sip:[EMAIL PROTECTED]
Contact: sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
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:[EMAIL PROTECTED];tag=as65dd26cd
To: sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
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!
[EMAIL PROTECTED],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: [EMAIL PROTECTED]
http://www.devnetinc.com

___
Asterisk-Users mailing list
Asterisk-Users@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


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

2005-02-16 Thread Jason A. Crome
Are there any settings that I need to change on the phone to match this?

Thank you!

--
Jason A. Crome
Senior Software Engineer, DEVNET, Inc.
E-Mail: [EMAIL PROTECTED]
http://www.devnetinc.com
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Hecken, Guido
 Sent: Wednesday, February 16, 2005 11:02 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: RE: [Asterisk-Users] Can't connect Snom 190 to 
 Asterix PBX. Suggestions?
 
 Here is a part of a working sip.conf for Asterisk with SNOM190 Phones.
 Try using host=dynamic and have a closer look at the 
 configuration in the snom 190.
 Also, try using dtmfmode=rfc2833 .
 
 [general]
 realm = hallinux2.gwsnettech.local
 port = 5060
 bindaddr = 0.0.0.0
 context = default
 disallow=all
 allow=alaw
 allow=ulaw
 allow=gsm
 register = 081503:[EMAIL PROTECTED]/081503 language=de
 tos=0x04
 
 [6301]
 type=friend
 username=6301
 secret=xx
 host=dynamic
 disallow=all
 allow=alaw
 allow=ulaw
 allow=gsm
 dtmfmode=rfc2833
 mailbox=6301
 context=teilnehmer
 callgroup=1
 pickupgroup=1
 group=2
 callerid = Guido Hecken [gwsNetTech] 6301
 
 Hope, this helps...
 
 Guido Hecken
 
  -Ursprüngliche Nachricht-
  Von: Jason A. Crome [mailto:[EMAIL PROTECTED]
  Gesendet: Mittwoch, 16. Februar 2005 17:05
  An: asterisk-users@lists.digium.com
  Betreff: [Asterisk-Users] Can't connect Snom 190 to Asterix PBX.
 Suggestions?
  
  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:[EMAIL PROTECTED] SIP/2.0
  Via: SIP/2.0/UDP 192.168.2.15:5060;branch=z9hG4bK5e3acadf
  From: asterisk sip:[EMAIL PROTECTED];tag=as65dd26cd
  To: sip:[EMAIL PROTECTED]
  Contact: sip:[EMAIL PROTECTED]
  Call-ID: [EMAIL PROTECTED]
  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:[EMAIL PROTECTED];tag=as65dd26cd
  To: sip:[EMAIL PROTECTED]
  Call-ID: [EMAIL PROTECTED]
  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!
  [EMAIL PROTECTED],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: [EMAIL PROTECTED]
  http://www.devnetinc.com
  
  ___
  Asterisk-Users mailing list
  Asterisk-Users@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
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http