[asterisk-bugs] [Asterisk 0018140]: SRTP enable disable from dialplan
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Oct 14 09:48:32 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=18140
======================================================================
Reported By: chodorenko
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18140
Category: Resources/res_srtp
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: 1.8.0-rc3
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-10-14 07:17 CDT
Last Modified: 2010-10-14 09:48 CDT
======================================================================
Summary: SRTP enable disable from dialplan
Description:
variable
secure_bridge_signaling
secure_bridge_media
secure_signaling
secure_media
======================================================================
----------------------------------------------------------------------
(0128020) chodorenko (reporter) - 2010-10-14 09:48
https://issues.asterisk.org/view.php?id=18140#c128020
----------------------------------------------------------------------
Dialplan :
exten => 8888,1,NOOP(TEST CALL)
exten => 8888,n,Set(_SIPSRTP_CRYPTO=enable)
exten => 8888,n,Noop(secure_signaling: ${CHANNEL(secure_signaling)})
exten => 8888,n,Noop(secure_media: ${CHANNEL(secure_media)})
exten => 8888,n,Noop(secure_brige_signaling:
${CHANNEL(secure_brige_signaling)})
exten => 8888,n,Noop(secure_brige_media: ${CHANNEL(secure_brige_media)})
exten => 8888,n,Set(CHANNEL(secure_bridge_media)=0)
exten => 8888,n,Noop(secure_signaling: ${CHANNEL(secure_signaling)}).
exten => 8888,n,Noop(secure_media: ${CHANNEL(secure_media)}).
exten => 8888,n,Noop(secure_brige_signaling:
${CHANNEL(secure_brige_signaling)}).
exten => 8888,n,Noop(secure_brige_media: ${CHANNEL(secure_brige_media)}).
exten => 8888,n,DIAL(SIP/test)
cli log:
-- Executing [8888 at default:1] NoOp("SIP/test2-0000005f", "TEST CALL") in
new stack
-- Executing [8888 at default:2] Set("SIP/test2-0000005f",
"_SIPSRTP_CRYPTO=enable") in new stack
-- Executing [8888 at default:3] NoOp("SIP/test2-0000005f",
"secure_signaling: ") in new stack
-- Executing [8888 at default:4] NoOp("SIP/test2-0000005f",
"secure_media: 1") in new stack
[Oct 14 17:04:58] WARNING[19465]: func_channel.c:374 func_channel_read:
Unknown or unavailable item requested: 'secure_brige_signaling'
-- Executing [8888 at default:5] NoOp("SIP/test2-0000005f",
"secure_brige_signaling: ") in new stack
[Oct 14 17:04:58] WARNING[19465]: func_channel.c:374 func_channel_read:
Unknown or unavailable item requested: 'secure_brige_media'
-- Executing [8888 at default:6] NoOp("SIP/test2-0000005f",
"secure_brige_media: ") in new stack
-- Executing [8888 at default:7] Set("SIP/test2-0000005f",
"CHANNEL(secure_bridge_media)=0") in new stack
[Oct 14 17:04:58] NOTICE[19465]: chan_sip.c:4052 sip_setoption: Unknown
option: 9
-- Executing [8888 at default:8] NoOp("SIP/test2-0000005f",
"secure_signaling: ") in new stack
-- Executing [8888 at default:9] NoOp("SIP/test2-0000005f",
"secure_media: 1") in new stack
[Oct 14 17:04:58] WARNING[19465]: func_channel.c:374 func_channel_read:
Unknown or unavailable item requested: 'secure_brige_signaling'
-- Executing [8888 at default:10] NoOp("SIP/test2-0000005f",
"secure_brige_signaling: ") in new stack
[Oct 14 17:04:58] WARNING[19465]: func_channel.c:374 func_channel_read:
Unknown or unavailable item requested: 'secure_brige_media'
-- Executing [8888 at default:11] NoOp("SIP/test2-0000005f",
"secure_brige_media: ") in new stack
-- Executing [8888 at default:12] Dial("SIP/test2-0000005f", "SIP/test")
in new stack
== Using SIP RTP CoS mark 5
-- Called test
-- SIP/test-00000060 is ringing
== Spawn extension (default, 8888, 12) exited non-zero on
'SIP/test2-0000005f'
Issue History
Date Modified Username Field Change
======================================================================
2010-10-14 09:48 chodorenko Note Added: 0128020
======================================================================
More information about the asterisk-bugs
mailing list