<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Helvetica, Arial, sans-serif">Hello,<br>
<br>
I am trying to setup a Grandstream GXP2160 IP-phone with secure
calling (SRTP).<br>
<br>
Secure signaling SSIP for registration is working great !<br>
<br>
I follow this guide :
<a class="moz-txt-link-freetext" href="https://wiki.asterisk.org/wiki/display/AST/Secure+Calling+Tutorial">https://wiki.asterisk.org/wiki/display/AST/Secure+Calling+Tutorial</a><br>
<br>
But when I try to make a call with SRTP, I get stuck. There is an
initial INVITE which is anwered with a 401. There should follow a
new INVITE with a nonce, but this does not happen. Any idea why ?
Is it the Grandstream IP-phone ??<br>
<br>
<br>
<br>
<--- SIP read from TLS:my.pub.lic.ip:53416 ---><br>
INVITE <a class="moz-txt-link-abbreviated" href="mailto:sip:0123123123@ast.ser.ver.ip:5061">sip:0123123123@ast.ser.ver.ip:5061</a> SIP/2.0<br>
Via: SIP/2.0/TLS
192.168.1.104:5068;branch=z9hG4bK60724585;rport;alias<br>
From: <a class="moz-txt-link-rfc2396E" href="mailto:sip:testacc77005@ast.ser.ver.ip:5061"><sip:testacc77005@ast.ser.ver.ip:5061></a>;tag=263162018<br>
To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:0123123123@ast.ser.ver.ip:5061"><sip:0123123123@ast.ser.ver.ip:5061></a><br>
Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:1695864968-5068-8@BJC.BGI.B.BAE">1695864968-5068-8@BJC.BGI.B.BAE</a><br>
CSeq: 50 INVITE<br>
Contact:
<a class="moz-txt-link-rfc2396E" href="mailto:sips:testacc77005@192.168.1.104:5068;transport=tls"><sips:testacc77005@192.168.1.104:5068;transport=tls></a><br>
X-Grandstream-PBX: true<br>
Max-Forwards: 70<br>
User-Agent: Grandstream GXP2160 1.0.2.9<br>
Privacy: none<br>
P-Preferred-Identity: <a class="moz-txt-link-rfc2396E" href="mailto:sip:testacc77005@ast.ser.ver.ip:5061"><sip:testacc77005@ast.ser.ver.ip:5061></a><br>
Supported: replaces, path, timer<br>
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO,
REFER, UPDATE, MESSAGE<br>
Content-Type: application/sdp<br>
Accept: application/sdp, application/dtmf-relay<br>
Content-Length: 522<br>
<br>
v=0<br>
o=testacc77005 8004 8000 IN IP4 192.168.1.104<br>
s=SIP Call<br>
c=IN IP4 192.168.1.104<br>
t=0 0<br>
m=audio 5020 RTP/SAVP 0 8 18 9 2 101<br>
a=sendrecv<br>
a=rtpmap:0 PCMU/8000<br>
a=ptime:20<br>
a=rtpmap:8 PCMA/8000<br>
a=rtpmap:18 G729/8000<br>
a=fmtp:18 annexb=no<br>
a=rtpmap:9 G722/8000<br>
a=rtpmap:2 G726-32/8000<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-15<br>
a=crypto:1 AES_CM_128_HMAC_SHA1_80
inline:8m7ZfG+0t3KBFGK40IfDO11SZ6D54glKKIwdgo00|2^32<br>
a=crypto:2 AES_CM_128_HMAC_SHA1_32
inline:nn+id/sSK7OErMfnZZduKNPLejpscxx1vUQB2seO|2^32<br>
<br>
<br>
<--- Reliably Transmitting (NAT) to my.pub.lic.ip:53416 ---><br>
SIP/2.0 401 Unauthorized<br>
Via: SIP/2.0/TLS
192.168.1.104:5068;branch=z9hG4bK60724585;alias;received=my.pub.lic.ip;rport=53416<br>
From: <a class="moz-txt-link-rfc2396E" href="mailto:sip:testacc77005@ast.ser.ver.ip:5061"><sip:testacc77005@ast.ser.ver.ip:5061></a>;tag=263162018<br>
To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:0123123123@ast.ser.ver.ip:5061"><sip:0123123123@ast.ser.ver.ip:5061></a>;tag=as1e527556<br>
Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:1695864968-5068-8@BJC.BGI.B.BAE">1695864968-5068-8@BJC.BGI.B.BAE</a><br>
CSeq: 50 INVITE<br>
Server: mydomain<br>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE,
NOTIFY, INFO, PUBLISH<br>
Supported: replaces, timer<br>
WWW-Authenticate: Digest algorithm=MD5, realm="mydomain.be",
nonce="13b47342"<br>
Content-Length: 0<br>
<br>
<br>
<--- SIP read from TLS:my.pub.lic.ip:53416 ---><br>
ACK <a class="moz-txt-link-abbreviated" href="mailto:sip:0123123123@ast.ser.ver.ip:5061">sip:0123123123@ast.ser.ver.ip:5061</a> SIP/2.0<br>
Via: SIP/2.0/TLS
192.168.1.104:5068;branch=z9hG4bK60724585;rport;alias<br>
From: <a class="moz-txt-link-rfc2396E" href="mailto:sip:testacc77005@ast.ser.ver.ip:5061"><sip:testacc77005@ast.ser.ver.ip:5061></a>;tag=263162018<br>
To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:0123123123@ast.ser.ver.ip:5061"><sip:0123123123@ast.ser.ver.ip:5061></a>;tag=as1e527556<br>
Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:1695864968-5068-8@BJC.BGI.B.BAE">1695864968-5068-8@BJC.BGI.B.BAE</a><br>
CSeq: 50 ACK<br>
Content-Length: 0<br>
<br>
</font>
</body>
</html>