Hi !
I configured SRTP in FreePBX and on Snom telephones with both 32 bit and 80 bit HMAC because i cann’t get a connection.
On both extension 101 and 102 ist encryption=yes conf. And on both snom rtp is on.
The following error messages appears:
WARNING[14405]: chan_sip.c:8417 process_sdp: We are requesting SRTP, but they responded without it!
Here a sip trace:
U 192.168.200.118:2050 -> 194.177.133.35:5060
INVITE sip:[email protected];user=phone SIP/2.0.
Via: SIP/2.0/UDP 192.168.200.118:2050;branch=z9hG4bK-4isn2gwt179n;rport.
From: sip:[email protected];tag=9nzuwnuqkx.
To: sip:[email protected];user=phone.
Call-ID: 3c267468cff6-9outrgtyi9nc.
CSeq: 2 INVITE.
Max-Forwards: 70.
Contact: sip:[email protected]:2050;line=8pa6m6nw;reg-id=1.
X-Serialnumber: 00041331895E.
P-Key-Flags: keys=“3”.
User-Agent: snom320/8.4.31.
Accept: application/sdp.
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, INFO, UPDATE.
Allow-Events: talk, hold, refer, call-info.
Supported: timer, 100rel, replaces, from-change.
Session-Expires: 3600;refresher=uas.
Min-SE: 90.
Authorization: Digest username=“101”,realm=“asterisk”,nonce=“399f9a6e”,uri="sip:[email protected];user=phone",response=“c555efcf89b06cd9546107c66d8a35e5”,algorithm=MD5.
Content-Type: application/sdp.
Content-Length: 479.
.
v=0.
o=root 518039382 518039382 IN IP4 192.168.200.118.
s=call.
c=IN IP4 192.168.200.118.
t=0 0.
m=audio 53858 RTP/AVP 0 8 9 99 3 18 4 101.
a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:2/xpwnyowSjl4x6h1Va5tfaWC3wb9vnyWgcEoPzn.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:9 G722/8000.
a=rtpmap:99 G726-32/8000.
a=rtpmap:3 GSM/8000.
a=rtpmap:18 G729/8000.
a=fmtp:18 annexb=no.
a=rtpmap:4 G723/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
U 194.177.133.35:5060 -> 192.168.200.118:2050
SIP/2.0 488 Not acceptable here.
Via: SIP/2.0/UDP 192.168.200.118:2050;branch=z9hG4bK-4isn2gwt179n;received=192.168.200.118;rport=2050.
From: sip:[email protected];tag=9nzuwnuqkx.
To: sip:[email protected];user=phone;tag=as64640499.
Call-ID: 3c267468cff6-9outrgtyi9nc.
CSeq: 2 INVITE.
Server: FPBX-2.9.0rc1(1.8.3.2).
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Content-Length: 0.
.
Has anybody SRTP with freepbx running ?
Thanks for help.