Donc si je résume, mes hint sont bons, et mon subscribecontext également, ce qui n'est pas bon, c'est la configuration sur le téléphone !
Ais-je bon ?
Je confirme, mes hints sont bon, j'ai d'ailleur changer les regles des hints pour m'en assurer.
Je passe au debug du téléphone
sip debug ip
Code:
<--- SIP read from UDP:192.168.100.230:5060 --->
SUBSCRIBE sip:7010@192.168.100.30:5060;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.100.230:5060;branch=z9hG4bK9141460803103658154-19491083
From: <sip:7000@192.168.100.30:5060>;tag=c0a80101-1296905
To: <sip:7010@192.168.100.30:5060>
Call-ID: ef8ddbd6-c0a80101-d-f63@192.168.100.230
CSeq: 2 SUBSCRIBE
Max-Forwards: 70
Event: presence
Accept: application/cpim-pidf+xml
Expires: 3600
Contact: <sip:7000@192.168.100.230:5060;transport=udp;user=phone>
Accept-Encoding: x-nortel-short
Allow-Events: refer,dialog,message-summary,check-sync,talk,hold
Authorization: Digest username="7010", realm="asterisk", nonce="281ed0ca", uri="sip:7010@192.168.100.30:5060;user=phone", response="d396068156d733e022224f3b894426fc", algorithm=MD5
User-Agent: THOMSON ST2030 hw5 fw2.77 00-1F-9F-16-C6-B8
Content-Length: 0
Code:
<--- Transmitting (no NAT) to 192.168.100.230:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.100.230:5060;branch=z9hG4bK3186460204103158158-19491077;received=192.168.100.230
From: <sip:7000@192.168.100.30:5060>;tag=c0a80101-1296905
To: <sip:7010@192.168.100.30:5060>;tag=as1ca5d779
Call-ID: ef8ddbd6-c0a80101-d-f63@192.168.100.230
CSeq: 1 SUBSCRIBE
Server: Asterisk PBX 1.6.2.9-2+squeeze3
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="281ed0ca"
Content-Length: 0
Code:
Retransmitting #5 (no NAT) to 192.168.100.230:5060:
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 192.168.100.230:5060;branch=z9hG4bK9141460803103658154-19491083;received=192.168.100.230
From: <sip:7000@192.168.100.30:5060>;tag=c0a80101-1296905
To: <sip:7010@192.168.100.30:5060>;tag=as1ca5d779
Call-ID: ef8ddbd6-c0a80101-d-f63@192.168.100.230
CSeq: 2 SUBSCRIBE
Server: Asterisk PBX 1.6.2.9-2+squeeze3
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0