mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-05 21:04:01 +00:00
Add support for ICE/STUN/TURN in res_rtp_asterisk and chan_sip.
Review: https://reviewboard.asterisk.org/r/1891/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
13
res/pjproject/tests/pjsua/scripts-run/100_simple.py
Normal file
13
res/pjproject/tests/pjsua/scripts-run/100_simple.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# $Id$
|
||||
#
|
||||
# Just about the simple pjsua command line parameter, which should
|
||||
# never fail in any circumstances
|
||||
from inc_cfg import *
|
||||
|
||||
test_param = TestParam(
|
||||
"Basic run",
|
||||
[
|
||||
InstanceParam("pjsua", "--null-audio --rtp-port 0")
|
||||
]
|
||||
)
|
||||
|
||||
20
res/pjproject/tests/pjsua/scripts-run/200_register.py
Normal file
20
res/pjproject/tests/pjsua/scripts-run/200_register.py
Normal file
@@ -0,0 +1,20 @@
|
||||
# $Id$
|
||||
#
|
||||
from inc_cfg import *
|
||||
|
||||
# Basic registration
|
||||
test_param = TestParam(
|
||||
"Basic registration",
|
||||
[
|
||||
InstanceParam( "client",
|
||||
"--null-audio"+
|
||||
" --id=\"<sip:test1@pjsip.org>\""+
|
||||
" --registrar=sip:sip.pjsip.org" +
|
||||
" --username=test1" +
|
||||
" --password=test1" +
|
||||
" --realm=*",
|
||||
uri="sip:test1@pjsip.org",
|
||||
have_reg=True),
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user