[SR-Users] RTPEngine Intermittent One Way Audio Issue SRTP => RTP

Tim Chubb tim.chubb at voicesimplified.com
Sat Feb 7 09:13:05 CET 2015


The following is from the logfile showing a successful call
##### Call 1 - Normal #####
Feb  6 16:15:52 kamailio rtpengine[22145]: [1449147586-14407-219 at BJC.BGI.B.BAF port 47732] Confirmed peer address as 172.16.52.4:18678

Feb  6 16:15:52 kamailio rtpengine[22145]: [1449147586-14407-219 at BJC.BGI.B.BAF port 47742] Confirmed peer address as 86.188.176.25:49570

Feb  6 16:15:54 kamailio rtpengine[22145]: Got valid command from 127.0.0.1:42444: offer - { "sdp": "v=0
o=TimDesk1 8000 8000 IN IP4 192.168.1.105
s=SIP Call
c=IN IP4 192.168.1.105
t=0 0
m=audio 12508 RTP/SAVP 8 13 0 9 2 101
a=sendrecv
a=rtpmap:8 PCMA/8000
a=ptime:20
a=rtpmap:13 CN/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:9 G722/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:juFBDXlbHNk9v4q7MZgFyBeBueoCqrqYI+6B4NX6|2^32
a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:zGPcDnBVaYwupku4YXxQZkVo6P5S6qkMgsz7BKzQ|2^32
", "direction": [ "external", "internal" ], "replace": [ "origin", "session-connection" ], "transport-protocol": "RTP/AVP", "call-id": "1251269203-14407-220 at BJC.BGI.B.BAF<mailto:1251269203-14407-220 at BJC.BGI.B.BAF>", "received-from": [ "IP4", "86.188.176.25" ], "from-tag": "822158480", "command": "offer" }

Feb  6 16:15:54 kamailio rtpengine[22145]: [1251269203-14407-220 at BJC.BGI.B.BAF] Creating new call

Feb  6 16:15:54 kamailio rtpengine[22145]: [1251269203-14407-220 at BJC.BGI.B.BAF] Opened ports 47752..47753 for media relay

Feb  6 16:15:54 kamailio rtpengine[22145]: [1251269203-14407-220 at BJC.BGI.B.BAF] Opened ports 47768..47769 for media relay

Feb  6 16:15:54 kamailio rtpengine[22145]: [1251269203-14407-220 at BJC.BGI.B.BAF] Returning to SIP proxy: d3:sdp553:v=0
o=TimDesk1 8000 8000 IN IP4 172.16.52.71
s=SIP Call
c=IN IP4 172.16.52.71
t=0 0
a=ice-lite
m=audio 47752 RTP/AVP 8 13 0 9 2 101
a=rtpmap:8 PCMA/8000
a=ptime:20
a=rtpmap:13 CN/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:9 G722/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
a=rtcp:47753
a=ice-ufrag:0iPdqfhF
a=ice-pwd:jcloLJi39nobxVX7HtpKtTMt9zFA
a=candidate:hgovvroVet3HALus 1 UDP 2130706431 172.16.52.71 47752 typ host
a=candidate:hgovvroVet3HALus 2 UDP 2130706430 172.16.52.71 47753 typ host
6:result2:oke

Feb  6 16:16:00 kamailio rtpengine[22145]: Got valid command from 127.0.0.1:37264: answer - { "sdp": "v=0
o=CiscoSystemsSIP-GW-UserAgent 556 4215 IN IP4 172.16.52.4
s=SIP Call
c=IN IP4 172.16.52.4
t=0 0
m=audio 18682 RTP/AVP 8 101
c=IN IP4 172.16.52.4
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
", "direction": [ "internal", "external" ], "replace": [ "origin", "session-connection" ], "transport-protocol": "RTP/SAVP", "call-id": "1251269203-14407-220 at BJC.BGI.B.BAF<mailto:1251269203-14407-220 at BJC.BGI.B.BAF>", "received-from": [ "IP4", "172.16.52.4" ], "from-tag": "822158480", "to-tag": "9019F813-2671", "command": "answer" }

Feb  6 16:16:00 kamailio rtpengine[22145]: [1251269203-14407-220 at BJC.BGI.B.BAF] Returning to SIP proxy: d3:sdp586:v=0
o=CiscoSystemsSIP-GW-UserAgent 556 4215 IN IP4 123.123.123.123
s=SIP Call
c=IN IP4 123.123.123.123
t=0 0
a=ice-lite
m=audio 47768 RTP/SAVP 8 101
c=IN IP4 123.123.123.123
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
a=rtcp:47769
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:s8Q/XEjCiBU7AA7yo5P9KFYhiZrcs1RPUpV/cArM
a=ice-ufrag:ILsVPyrj
a=ice-pwd:nE1g27xxJH0rzWwamuxbAtHid9b2
a=candidate:TUErwQDNDzRhCQkj 1 UDP 2130706431 123.123.123.123 47768 typ host
a=candidate:TUErwQDNDzRhCQkj 2 UDP 2130706430 123.123.123.123 47769 typ host
6:result2:oke

Feb  6 16:16:02 kamailio rtpengine[22145]: Got valid command from 127.0.0.1:39817: answer - { "sdp": "v=0
o=CiscoSystemsSIP-GW-UserAgent 556 4215 IN IP4 172.16.52.4
s=SIP Call
c=IN IP4 172.16.52.4
t=0 0
m=audio 18682 RTP/AVP 8 101
c=IN IP4 172.16.52.4
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
", "direction": [ "internal", "external" ], "replace": [ "origin", "session-connection" ], "transport-protocol": "RTP/SAVP", "call-id": "1251269203-14407-220 at BJC.BGI.B.BAF<mailto:1251269203-14407-220 at BJC.BGI.B.BAF>", "received-from": [ "IP4", "172.16.52.4" ], "from-tag": "822158480", "to-tag": "9019F813-2671", "command": "answer" }

Feb  6 16:16:02 kamailio rtpengine[22145]: [1251269203-14407-220 at BJC.BGI.B.BAF] Returning to SIP proxy: d3:sdp586:v=0
o=CiscoSystemsSIP-GW-UserAgent 556 4215 IN IP4 123.123.123.123
s=SIP Call
c=IN IP4 123.123.123.123
t=0 0
a=ice-lite
m=audio 47768 RTP/SAVP 8 101
c=IN IP4 123.123.123.123
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
a=rtcp:47769
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:s8Q/XEjCiBU7AA7yo5P9KFYhiZrcs1RPUpV/cArM
a=ice-ufrag:ILsVPyrj
a=ice-pwd:nE1g27xxJH0rzWwamuxbAtHid9b2
a=candidate:TUErwQDNDzRhCQkj 1 UDP 2130706431 123.123.123.123 47768 typ host
a=candidate:TUErwQDNDzRhCQkj 2 UDP 2130706430 123.123.123.123 47769 typ host
6:result2:oke

Feb  6 16:16:06 kamailio rtpengine[22145]: [1251269203-14407-220 at BJC.BGI.B.BAF port 47752] Confirmed peer address as 172.16.52.4:18682

Feb  6 16:16:06 kamailio rtpengine[22145]: [1251269203-14407-220 at BJC.BGI.B.BAF port 47768] Confirmed peer address as 86.188.176.25:12508

Feb  6 16:16:06 kamailio rtpengine[22145]: [1251269203-14407-220 at BJC.BGI.B.BAF port 47768] No support for kernel packet forwarding available

Feb  6 16:16:06 kamailio rtpengine[22145]: [1251269203-14407-220 at BJC.BGI.B.BAF port 47752] No support for kernel packet forwarding available



From: sr-users [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of Tim Chubb
Sent: 07 February 2015 08:10
To: Kamailio (SER) - Users Mailing List
Subject: [SR-Users] RTPEngine Intermittent One Way Audio Issue SRTP => RTP

Hi,

I am currently experiencing an intermittent one way audio issue, when using RTPEngine and proxying between srtp  and rtp.  There is no apparent pattern, I have managed to repeat the  on the 7th, 23rd, and 63rd calls to a test number, where upon connection only audio in the RTP => SRTP direction was working.  All other test calls worked as normal.  Digging through the RTPEngine log file the only abnormalities I can see are: Discarded invalid SRTP packet: authentication failed entries on the calls that had the one way audio issue.

What could be causing this?

Thanks

Tim.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150207/80c6596e/attachment.html>


More information about the sr-users mailing list