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

Hecken, Guido guido.hecken at gwsnettech.de
Wed Feb 16 10:02:08 MST 2005


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:xxxxxx at sipgate.de/081503
language=de
tos=0x04

[6301] 
type=friend 
username=6301
secret=xxxxxx
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:crome at devnetinc.com]
> Gesendet: Mittwoch, 16. Februar 2005 17:05
> An: asterisk-users at 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: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
> 
> _______________________________________________
> 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