some calls that use rtpengine produce "SRT[C]P output wanted, but no
crypto suite was negotiated" syslog messages.  below is an example.  the
messages seem to appear after rtpengine has replied to offer request,
but before it has got answer request that includes crypto suite
negotiation in its sdp.

the calls work fine and i was wondering if these syslog message are
really needed?

 -- juha

 Apr 16 08:34:37 box /usr/bin/sip-proxy[18719]: INFO: ===== 
rtpengine_offer(ICE=force replace-session-connection replace-origin 
via-branch=1)
Apr 16 08:34:37 box rtpengine[31871]: [dd63b7bcd45655b8] Received command 
'offer' from 127.0.0.1:46713
Apr 16 08:34:37 box rtpengine[31871]: [dd63b7bcd45655b8] Dump for 'offer' from 
127.0.0.1:46713: { "sdp": "v=0#015#012o=- 2909773022 619612917 IN IP4 
192.168.43.192#015#012s=-#015#012c=IN IP4 192.168.43.192#015#012t=0 
0#015#012a=tool:baresip 0.4.12#015#012m=audio 10022 RTP/SAVP 96 97 8 0 
101#015#012b=AS:128#015#012a=rtpmap:96 speex/16000#015#012a=fmtp:96 
mode="7";vbr=off;cng=on#015#012a=rtpmap:97 speex/8000#015#012a=fmtp:97 
mode="7";vbr=off;cng=on#015#012a=rtpmap:8 PCMA/8000#015#012a=rtpmap:0 
PCMU/8000#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101 
0-15#015#012a=sendrecv#015#012a=label:1#015#012a=rtcp-rsize#015#012a=ssrc:227522320
 cname:sip:test@tutpro ...
Apr 16 08:34:37 box rtpengine[31871]: [dd63b7bcd45655b8] ... 
.com#015#012a=rtcp-mux#015#012a=crypto:0 AES_CM_128_HMAC_SHA1_80 
inline:lRfv9v0tfQAKXiJihqbgr7rNS5Gh9txvuqPv9Tt0#015#012a=ptime:20#015#012", 
"ICE": "force", "replace": [ "session-connection", "origin" ], "call-id": 
"dd63b7bcd45655b8", "via-branch": "z9hG4bK83c7fd2c1c254f15", "received-from": [ 
"IP4", "94.100.20.99" ], "from-tag": "5408ab343077ba14", "command": "offer" }
Apr 16 08:34:37 box rtpengine[31871]: [dd63b7bcd45655b8] Creating new call
Apr 16 08:34:37 box rtpengine[31871]: [dd63b7bcd45655b8] Opened ports 
8046..8047 for media relay
Apr 16 08:34:37 box rtpengine[31871]: [dd63b7bcd45655b8] Opened ports 
8056..8057 for media relay
Apr 16 08:34:37 box rtpengine[31871]: [dd63b7bcd45655b8] Shutting down ICE 
agent (nothing to do)
Apr 16 08:34:37 box rtpengine[31871]: [dd63b7bcd45655b8] Replying to 'offer' 
from 127.0.0.1:46713
Apr 16 08:34:37 box rtpengine[31871]: [dd63b7bcd45655b8] Response dump for 
'offer' to 127.0.0.1:46713: { "sdp": "v=0#015#012o=- 2909773022 619612917 IN 
IP4 194.40.50.30#015#012s=-#015#012c=IN IP4 194.40.50.30#015#012t=0 
0#015#012a=tool:baresip 0.4.12#015#012m=audio 8046 RTP/SAVP 96 97 8 0 
101#015#012b=AS:128#015#012a=rtpmap:96 speex/16000#015#012a=fmtp:96 
mode="7";vbr=off;cng=on#015#012a=rtpmap:97 speex/8000#015#012a=fmtp:97 
mode="7";vbr=off;cng=on#015#012a=rtpmap:8 PCMA/8000#015#012a=rtpmap:0 
PCMU/8000#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101 
0-15#015#012a=label:1#015#012a=rtcp-rsize#015#012a=ssrc:227522320 
cname:sip:t...@tutpro.com#015#012a= ...
Apr 16 08:34:37 box rtpengine[31871]: [dd63b7bcd45655b8] ... 
ptime:20#015#012a=sendrecv#015#012a=rtcp:8047#015#012a=rtcp-mux#015#012a=crypto:1
 AES_CM_128_HMAC_SHA1_80 
inline:lRfv9v0tfQAKXiJihqbgr7rNS5Gh9txvuqPv9Tt0#015#012a=setup:actpass#015#012a=fingerprint:sha-1
 
F3:4F:0A:B8:75:BF:B6:29:45:8A:C2:74:8E:F9:10:F2:CB:10:50:37#015#012a=ice-ufrag:eUJUwfKq#015#012a=ice-pwd:bDuCQKxJTV5voKlVAarucAiqv1#015#012a=candidate:FvaQOQwZdXFAyxXW
 1 UDP 2130706431 194.40.50.30 8046 typ 
host#015#012a=candidate:FvaQOQwZdXFAyxXW 2 UDP 2130706430 194.40.50.30 8047 typ 
host#015#012", "result": "ok" }
Apr 16 08:34:37 box /usr/bin/sip-proxy[18719]: INFO: Routing INVITE 
<sip:jh@10.13.40.239:53269;transport=TLS;ob> to contact via 
<sip:94.100.20.99:53269;transport=TLS>
Apr 16 08:34:37 box rtpengine[31871]: [dd63b7bcd45655b8 port  8047] SRTCP 
output wanted, but no crypto suite was negotiated
Apr 16 08:34:37 box rtpengine[31871]: [dd63b7bcd45655b8 port  8046] SRTP output 
wanted, but no crypto suite was negotiated
Apr 16 08:34:37 box /usr/bin/sip-proxy[18718]: INFO: ===== 
rtpengine_answer(ICE=force via-branch=2)
Apr 16 08:34:37 box rtpengine[31871]: [dd63b7bcd45655b8] Received command 
'answer' from 127.0.0.1:51555
Apr 16 08:34:37 box rtpengine[31871]: [dd63b7bcd45655b8] Dump for 'answer' from 
127.0.0.1:51555: { "sdp": "v=0#015#012o=- 3638151276 3638151277 IN IP4 
10.13.40.239#015#012s=pjmedia#015#012c=IN IP4 10.13.40.239#015#012t=0 
0#015#012m=audio 4002 RTP/SAVP 96 101#015#012c=IN IP4 
10.13.40.239#015#012a=rtcp:4003 IN IP4 
10.13.40.239#015#012a=sendrecv#015#012a=rtpmap:101 
telephone-event/8000#015#012a=fmtp:101 0-16#015#012a=zrtp-hash:1.10 
4261405ee55bb84370419b56f37c3966505a583ff6fee02e1c1b854cfccb5d99#015#012a=crypto:1
 AES_CM_128_HMAC_SHA1_80 
inline:8/oEJd3pVqWg6tvAJkItNBxQ60sJS44mnwriZRrt#015#012a=rtpmap:96 
speex/16000#015#012", "ICE": "forc ...
Apr 16 08:34:37 box rtpengine[31871]: [dd63b7bcd45655b8] ... e", "call-id": 
"dd63b7bcd45655b8", "via-branch": "z9hG4bK83c7fd2c1c254f15", "received-from": [ 
"IP4", "94.100.20.99" ], "from-tag": "5408ab343077ba14", "to-tag": 
"Zi.x-8OwwXlfKNC-67q3D7M7PeMqbmGh", "command": "answer" }
Apr 16 08:34:37 box rtpengine[31871]: [dd63b7bcd45655b8] Replying to 'answer' 
from 127.0.0.1:51555
Apr 16 08:34:37 box rtpengine[31871]: [dd63b7bcd45655b8] Response dump for 
'answer' to 127.0.0.1:51555: { "sdp": "v=0#015#012o=- 3638151276 3638151277 IN 
IP4 10.13.40.239#015#012s=pjmedia#015#012c=IN IP4 10.13.40.239#015#012t=0 
0#015#012m=audio 8056 RTP/SAVP 96 101#015#012c=IN IP4 
194.40.50.30#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101 
0-16#015#012a=zrtp-hash:1.10 
4261405ee55bb84370419b56f37c3966505a583ff6fee02e1c1b854cfccb5d99#015#012a=rtpmap:96
 speex/16000#015#012a=sendrecv#015#012a=rtcp:8057#015#012a=crypto:0 
AES_CM_128_HMAC_SHA1_80 
inline:8/oEJd3pVqWg6tvAJkItNBxQ60sJS44mnwriZRrt#015#012a=candidate:FvaQOQwZdXFAyxX
 ...
Apr 16 08:34:37 box rtpengine[31871]: [dd63b7bcd45655b8] ... W 1 UDP 2130706431 
194.40.50.30 8056 typ host#015#012a=candidate:FvaQOQwZdXFAyxXW 2 UDP 2130706430 
194.40.50.30 8057 typ host#015#012", "result": "ok" }

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to