[Asterisk-Users] Asterisk + GrandStream SIP phones
pesb
pesb at conexion.com.py
Mon Mar 29 11:25:54 MST 2004
-This is my 'sip.conf' file:
;*************************************************************
;
; SIP Configuration for Asterisk
;
[general]
port = 5060 ; Port to bind to
bindaddr = 0.0.0.0 ; Address to bind to
context = default ; Default for incoming calls
tos=184
maxexpirey=3600 ; Max length of incoming registration we allow
defaultexpirey=120 ; Default length of incoming/outoing
registration
disallow=all ; Disallow all codecs
allow=ulaw ; Allow codecs in order of preference
allow=alaw
[1004]
type=friend
username=1004
secret=
reinvite=no
canreinvite=no
host=dynamic
dtmfmode=inband
mailbox=1004
nat=1
disallow=all
allow=ulaw
allow=alaw
[1005]
type=friend
username=1005
secret=
reinvite=no
canreinvite=no
host=dynamic
dtmfmode=inband
mailbox=1005
nat=1
disallow=all
allow=ulaw
allow=alaw
;*******************************************
-And this is the basic seting of my two GrandStream SIP phones:
***************[1005]****************
IP Address:192.168.0.105
Subnet Mask:255.255.255.0
SIP Server: 192.168.0.103
Outbound Proxy:<empty>
SIP User ID:1005
Authenticate ID:1005
Authenticate Password:123
Name:1005
Preferred Vocoder:
choice 1: PCMU
choice 2: PCMA
choice 3: G723
choice 4: G729
choice 5: G726-32
choice 6: G728
G723 rate: 6.3kbps
Silence Suppression:No
Send DTMF:in-audio
***************[1004]****************
IP Address:192.168.0.104
Subnet Mask:255.255.255.0
SIP Server: 192.168.0.103
Outbound Proxy:<empty>
SIP User ID:1004
Authenticate ID:1004
Authenticate Password:123
Name:1004
Preferred Vocoder:
choice 1: PCMU
choice 2: PCMA
choice 3: G723
choice 4: G729
choice 5: G726-32
choice 6: G728
G723 rate: 6.3kbps
Silence Suppression:No
Send DTMF:in-audio
******************************
I have 2 SIP GrandStream phones, both phones are correctly registered to the
Asterisk server. But, when I try to make a call from registered phone '1005'
to registered phone '1004', dialing 1004, Asterisk responds with the 'Status:
404 Not Found' message.
How do I have to dial? What else do I need to set?
Find attached my traffic captured on ethereal.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sip
Type: application/octet-stream
Size: 12847 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040329/0a958b8b/sip-0001.obj
More information about the asterisk-users
mailing list