Hi im new to Asterisk
i cannot get a snomsoft phone to reg with my SIP account
sip.conf:
[code]bindport=5060
bindaddr=0.0.0.0
[snomsoft1]
type=friend
host=dynamic
secret=kagekage
disallow=all
allow=ulaw[/code]
[code]
shptestCLI> sip show user snomsoft1
shptestCLI>
- Name : snomsoft1
Secret :
MD5Secret :
Context : default
Language :
AMA flags : Unknown
Transfer mode: open
MaxCallBR : 384 kbps
CallingPres : Presentation Allowed, Not Screened
Call limit : 0
Callgroup :
Pickupgroup :
Callerid : “” <>
ACL : No
Sess-Timers : Accept
Sess-Refresh : uas
Sess-Expires : 1800 secs
Sess-Min-SE : 90 secs
Codec Order : (ulaw:20)
Auto-Framing: No[/code]
the snom phone says:
snomsoft1@93.165.146.188: Registration failed
tcpdump
[code]10:04:35.842963 IP (tos 0x0, ttl 122, id 51936, offset 0, flags [none], proto UDP (17), length 785) 217.198.217.182.2759 > shptest.hgradio.dk.sip: SIP, length: 757
REGISTER sip:93.165.146.188 SIP/2.0
Via: SIP/2.0/UDP 172.16.100.23:3892;branch=z9hG4bK-azw0uuow2h5q;rport
From: “snomsoft1” sip:snomsoft1@93.165.146.188;tag=ctder1wfv3
To: “snomsoft1” sip:snomsoft1@93.165.146.188
Call-ID: e3b18b4a127a-hkzr8tvkarws@snomSoft-000413FFFFFF
CSeq: 1 REGISTER
Max-Forwards: 70
Contact: sip:snomsoft1@172.16.100.23:3892;line=ojn9itpa;q=1.0;flow-id=1;+sip.instance=“urn:uuid:7282251f-1d18-4270-b492-19da50644d54”;audio;mobility=“fixed”;duplex=“full”;description=“snomSoft”;actor=“principal”;events=“dialog”;methods="INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO"
User-Agent: snomSoft/5.3
Supported: gruu
Allow-Events: dialog
X-Real-IP: 172.16.100.23
Expires: 3600
Content-Length: 0
10:04:35.848795 IP (tos 0x0, ttl 64, id 56375, offset 0, flags [none], proto UDP (17), length 587) shptest.hgradio.dk.sip > 172.16.100.23.3892: SIP, length: 559
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.16.100.23:3892;branch=z9hG4bK-azw0uuow2h5q;received=217.198.217.182;rport=2759
From: “snomsoft1” sip:snomsoft1@93.165.146.188;tag=ctder1wfv3
To: “snomsoft1” sip:snomsoft1@93.165.146.188;tag=as496ef2e4
Call-ID: e3b18b4a127a-hkzr8tvkarws@snomSoft-000413FFFFFF
CSeq: 1 REGISTER
User-Agent: Asterisk PBX 1.6.0.13
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="488398a4"
Content-Length: 0[/code]