[Home]

Summary:ASTERISK-25019: called party Unhold SRTP calls cause NO MEDIA. unprotect failed with: authentication failure 110
Reporter:Andrea Cristofanini (hydrolife)Labels:
Date Opened:2015-04-27 08:53:04Date Closed:2015-04-27 15:14:17
Priority:MajorRegression?
Status:Closed/CompleteComponents:Resources/res_srtp
Versions:11.17.1 13.3.2 Frequency of
Occurrence
Related
Issues:
Environment:libsrtp git, asterisk 13.3.2 Attachments:
Description:A call B, B put call on HOLD, then unHOLD and no audio, no video.
This work if A put the call on HOLD.
{noformat}
[Apr 27 15:48:20]     -- Executing [s@macro-managed-tones:21] Dial("SIP/7046-00000004", "SIP/7047,60") in new stack
[Apr 27 15:48:20]   == Using SIP VIDEO CoS mark 4
[Apr 27 15:48:20]   == Using SIP RTP TOS bits 184
[Apr 27 15:48:20]   == Using SIP RTP CoS mark 5
[Apr 27 15:48:20]     -- Called SIP/7047
[Apr 27 15:48:20]     -- SIP/7047-00000005 is ringing
[Apr 27 15:48:23]     -- SIP/7047-00000005 answered SIP/7046-00000004
[Apr 27 15:48:23]     -- Channel SIP/7046-00000004 joined 'simple_bridge' basic-bridge <5fbd8106-596e-4fee-8b34-bca4c7f0edd5>
[Apr 27 15:48:23]     -- Channel SIP/7047-00000005 joined 'simple_bridge' basic-bridge <5fbd8106-596e-4fee-8b34-bca4c7f0edd5>
[Apr 27 15:48:24]        > 0x7fd468033540 -- Probation passed - setting RTP source address to 87.2.226.166:23401
[Apr 27 15:48:24]        > 0x7fd468033540 -- Probation passed - setting RTP source address to 87.2.226.166:23401
[Apr 27 15:48:24]        > 0x7fd4e000f6b0 -- Probation passed - setting RTP source address to 217.200.203.71:44266
[Apr 27 15:48:24]        > 0x7fd4e000f6b0 -- Probation passed - setting RTP source address to 217.200.203.71:44266
[Apr 27 15:48:25]        > 0x7fd4e0015790 -- Probation passed - setting RTP source address to 217.200.203.71:56440
[Apr 27 15:48:25]        > 0x7fd4e0015790 -- Probation passed - setting RTP source address to 217.200.203.71:56440
[Apr 27 15:48:29]        > 0x7fd468033540 -- Probation passed - setting RTP source address to 87.2.226.166:23401
[Apr 27 15:48:29]        > 0x7fd468033540 -- Probation passed - setting RTP source address to 87.2.226.166:23401
[Apr 27 15:48:30]        > 0x7fd4680359c0 -- Probation passed - setting RTP source address to 87.2.226.166:23415
[Apr 27 15:48:30]        > 0x7fd4680359c0 -- Probation passed - setting RTP source address to 87.2.226.166:23415
[Apr 27 15:48:36]     -- Started music on hold, class 'default', on channel 'SIP/7047-00000005'
[Apr 27 15:48:39]        > 0x7fd468033540 -- Probation passed - setting RTP source address to 87.2.226.166:23401
[Apr 27 15:48:39]        > 0x7fd468033540 -- Probation passed - setting RTP source address to 87.2.226.166:23401
[Apr 27 15:48:39]     -- Stopped music on hold on SIP/7047-00000005
[Apr 27 15:48:39]        > 0x7fd468033540 -- Probation passed - setting RTP source address to 87.2.226.166:23401
[Apr 27 15:48:39]        > 0x7fd468033540 -- Probation passed - setting RTP source address to 87.2.226.166:23401
[Apr 27 15:48:40]        > 0x7fd4680359c0 -- Probation passed - setting RTP source address to 87.2.226.166:23415
[Apr 27 15:48:40]        > 0x7fd4680359c0 -- Probation passed - setting RTP source address to 87.2.226.166:23415
[Apr 27 15:48:44]     -- Started music on hold, class 'default', on channel 'SIP/7046-00000004'
[Apr 27 15:48:49]     -- Stopped music on hold on SIP/7046-00000004
[2015-04-27 15:48:49] WARNING[29553][C-00000004]: res_srtp.c:407 ast_srtp_unprotect: SRTP unprotect failed with: authentication failure 10
[2015-04-27 15:48:53] WARNING[29553][C-00000004]: res_srtp.c:407 ast_srtp_unprotect: SRTP unprotect failed with: authentication failure 110
[2015-04-27 15:48:56] WARNING[29553][C-00000004]: res_srtp.c:407 ast_srtp_unprotect: SRTP unprotect failed with: authentication failure 10
[2015-04-27 15:48:57] WARNING[29553][C-00000004]: res_srtp.c:407 ast_srtp_unprotect: SRTP unprotect failed with: authentication failure 110
[Apr 27 15:49:00]     -- Channel SIP/7047-00000005 left 'simple_bridge' basic-bridge <5fbd8106-596e-4fee-8b34-bca4c7f0edd5>
[Apr 27 15:49:00]     -- Channel SIP/7046-00000004 left 'simple_bridge' basic-bridge <5fbd8106-596e-4fee-8b34-bca4c7f0edd5>
[Apr 27 15:49:00]   == Spawn extension (macro-managed-tones, s, 21) exited non-zero on 'SIP/7046-00000004' in macro 'managed-tones'
[Apr 27 15:49:00]   == Spawn extension (internal, 7047, 1) exited non-zero on 'SIP/7046-00000004'
b
{noformat}
Comments:By: Matt Jordan (mjordan) 2015-04-27 13:54:55.586-0500

Thanks for the report and debug. However we also need protocol specific debug captured at the time of the issue. Please include the following:

* Asterisk log files generated using the instructions on the Asterisk wiki [1], with the appropriate protocol debug options enabled, e.g. 'pjsip set logger on' if the issue involves the chan_pjsip channel driver.
* Configuration information for the relevant channel driver, e.g. pjsip.conf.
* A wireshark compatible packet capture, captured at the same time as the Asterisk log output.

[1] https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information



By: Rusty Newton (rnewton) 2015-04-27 15:14:09.155-0500

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines