This is the peer info on one of the phones:
* Name : 25131
Realtime peer: Yes, cached
Secret : <Set>
MD5Secret : <Not set>
Remote Secret: <Not set>
Context : 31
Subscr.Cont. : 31
Language : nl
Accountcode : 31
AMA flags : Unknown
Transfer mode: open
CallingPres : Presentation Allowed, Not Screened
Callgroup : 31
Pickupgroup :
MOH Suggest :
Mailbox : voicemail31
VM Extension : asterisk
LastMsgsSent : 32767/65535
Call limit : 8
Max forwards : 0
Dynamic : Yes
Callerid : "Harry"
MaxCallBR : 384 kbps
Expire : 857
Insecure : no
Force rport : Yes
ACL : No
DirectMedACL : No
T.38 support : Yes
T.38 EC mode : FEC
T.38 MaxDtgrm: 400
DirectMedia : No
PromiscRedir : No
User=Phone : No
Video Support: No
Text Support : No
Ign SDP ver : No
Trust RPID : No
Send RPID : No
Subscriptions: Yes
Overlap dial : Yes
DTMFmode : auto
Timer T1 : 500
Timer B : 32000
ToHost :
Addr->IP : X.X.X.X:5062
Defaddr->IP : (null)
Prim.Transp. : UDP
Allowed.Trsp : UDP
Def. Username: 25131
SIP Options : (none)
Codecs : 0xc (ulaw|alaw)
Codec Order : (ulaw:20,alaw:20)
Auto-Framing : No
Status : OK (47 ms)
Useragent : Grandstream GXP2100 1.0.4.9
Reg. Contact : sip:25131@192.168.0.192:5062
Qualify Freq : 60000 ms
Sess-Timers : Accept
Sess-Refresh : uas
Sess-Expires : 1800 secs
Min-Sess : 90 secs
RTP Engine : asterisk
Parkinglot :
Use Reason : No
Encryption : No
And the general section of sip.conf
[general]
port=5060
srvlookup=yes
disallow=all
allow=alaw
allow=ulaw
dtmfmode=auto
nat=never
bindaddr = 0.0.0.0
udpbindaddr = 0.0.0.0
externip=X.X.X.X
context=incoming
language=nl
t38pt_udptl = yes,fec,maxdatagram=400
callcounter=yes
limitonpeer=yes
directmedia=yes
rtcachefriends=yes
rtupdate=yes
notifyringing=yes
The extentions.conf section for this user looks like this:
exten=>200,hint,SIP/25135
exten=>200,1,Dial(SIP/25135)
exten=>200,n,Hangup
exten=>201,hint,SIP/25131
exten=>201,1,Dial(SIP/25131)
exten=>201,n,Hangup
exten=>202,hint,SIP/25132
exten=>202,1,Dial(SIP/25132)
exten=>202,n,Hangup
exten=>203,hint,SIP/25136
exten=>203,1,Dial(SIP/25136)
exten=>203,n,Hangup