code
string
repo_name
string
path
string
language
string
license
string
size
int64
/* $Id: turn_sock.c 3841 2011-10-24 09:28:13Z ming $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publ...
zxybird-pjsip-blf
pjnath/src/pjnath/turn_sock.c
C
gpl2
20,884
/* $Id: stun_auth.c 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as pu...
zxybird-pjsip-blf
pjnath/src/pjnath/stun_auth.c
C
gpl2
18,531
/* $Id: stun_msg_dump.c 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License a...
zxybird-pjsip-blf
pjnath/src/pjnath/stun_msg_dump.c
C
gpl2
7,166
/* $Id: nat_detect.c 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as p...
zxybird-pjsip-blf
pjnath/src/pjnath/nat_detect.c
C
gpl2
24,569
/* $Id: errno.c 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publis...
zxybird-pjsip-blf
pjnath/src/pjnath/errno.c
C
gpl2
6,682
/* $Id: stun_transaction.c 3753 2011-09-18 14:59:56Z bennylp $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Licen...
zxybird-pjsip-blf
pjnath/src/pjnath/stun_transaction.c
C
gpl2
11,934
/* $Id: test.h 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publish...
zxybird-pjsip-blf
pjnath/src/pjnath-test/test.h
C
gpl2
1,990
/* $Id: stun_sock_test.c 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License ...
zxybird-pjsip-blf
pjnath/src/pjnath-test/stun_sock_test.c
C
gpl2
23,101
/* $Id: test.c 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publish...
zxybird-pjsip-blf
pjnath/src/pjnath-test/test.c
C
gpl2
4,969
/* $Id: ice_test.c 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as pub...
zxybird-pjsip-blf
pjnath/src/pjnath-test/ice_test.c
C
gpl2
24,442
/* $Id: stun.c 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publish...
zxybird-pjsip-blf
pjnath/src/pjnath-test/stun.c
C
gpl2
24,646
#include "../../pjlib/src/pjlib-test/main_win32.c"
zxybird-pjsip-blf
pjnath/src/pjnath-test/main_win32.c
C
gpl2
51
/* $Id: main.c 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publish...
zxybird-pjsip-blf
pjnath/src/pjnath-test/main.c
C
gpl2
1,537
/* $Id: server.h 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publi...
zxybird-pjsip-blf
pjnath/src/pjnath-test/server.h
C
gpl2
2,949
/* $Id: turn_sock_test.c 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License ...
zxybird-pjsip-blf
pjnath/src/pjnath-test/turn_sock_test.c
C
gpl2
12,839
/* $Id: sess_auth.c 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as pu...
zxybird-pjsip-blf
pjnath/src/pjnath-test/sess_auth.c
C
gpl2
31,389
/* $Id: server.c 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publi...
zxybird-pjsip-blf
pjnath/src/pjnath-test/server.c
C
gpl2
23,192
/* $Id: turn_session.h 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as...
zxybird-pjsip-blf
pjnath/include/pjnath/turn_session.h
C
gpl2
25,456
/* $Id: stun_auth.h 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as pu...
zxybird-pjsip-blf
pjnath/include/pjnath/stun_auth.h
C
gpl2
14,554
/* $Id: ice_strans.h 4133 2012-05-21 14:00:17Z bennylp $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as ...
zxybird-pjsip-blf
pjnath/include/pjnath/ice_strans.h
C
gpl2
27,120
/* $Id: config.h 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publi...
zxybird-pjsip-blf
pjnath/include/pjnath/config.h
C
gpl2
12,237
/* $Id: stun_sock.h 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as pu...
zxybird-pjsip-blf
pjnath/include/pjnath/stun_sock.h
C
gpl2
14,720
/* $Id: stun_config.h 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as ...
zxybird-pjsip-blf
pjnath/include/pjnath/stun_config.h
C
gpl2
2,844
/* $Id: stun_session.h 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as...
zxybird-pjsip-blf
pjnath/include/pjnath/stun_session.h
C
gpl2
31,812
/* $Id: ice_session.h 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as ...
zxybird-pjsip-blf
pjnath/include/pjnath/ice_session.h
C
gpl2
32,565
/* $Id: nat_detect.h 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as p...
zxybird-pjsip-blf
pjnath/include/pjnath/nat_detect.h
C
gpl2
6,471
/* $Id: stun_msg.h 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as pub...
zxybird-pjsip-blf
pjnath/include/pjnath/stun_msg.h
C
gpl2
57,816
/* $Id: stun_transaction.h 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Licens...
zxybird-pjsip-blf
pjnath/include/pjnath/stun_transaction.h
C
gpl2
9,198
/* $Id: turn_sock.h 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as pu...
zxybird-pjsip-blf
pjnath/include/pjnath/turn_sock.h
C
gpl2
13,887
/* $Id: errno.h 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publis...
zxybird-pjsip-blf
pjnath/include/pjnath/errno.h
C
gpl2
6,550
/* $Id: types.h 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publis...
zxybird-pjsip-blf
pjnath/include/pjnath/types.h
C
gpl2
1,815
/* $Id: pjnath.h 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publi...
zxybird-pjsip-blf
pjnath/include/pjnath.h
C
gpl2
1,331
# $Id: inc_const.py 4177 2012-06-26 02:28:59Z nanang $ # Useful constants ########################## # MENU OUTPUT # ########################## # EVENTS # # Text to expect when there is incoming call EVENT_INCOMING_CALL = "Press .* answer" ########################## # CALL STATES # # Call state is CALLING STATE...
zxybird-pjsip-blf
tests/pjsua/inc_const.py
Python
gpl2
1,378
# $Id: config_site.py 2237 2008-08-26 12:13:25Z bennylp $ # Specify if host has sound device, or test should be performed using sound device HAS_SND_DEV = 0
zxybird-pjsip-blf
tests/pjsua/config_site.py
Python
gpl2
158
# $Id: runall.py 4183 2012-06-28 09:16:03Z nanang $ import os import sys import time import re import shutil PYTHON = os.path.basename(sys.executable) # Usage: # runall.py [test-to-resume] # Initialize test list tests = [] # Excluded tests (because they fail?) excluded_tests = [ "svn", "pyc", "scripts-c...
zxybird-pjsip-blf
tests/pjsua/runall.py
Python
gpl2
6,052
# $Id: 100_peertopeer.py 2392 2008-12-22 18:54:58Z bennylp $ # from inc_cfg import * # Direct peer to peer presence test_param = TestParam( "Direct peer to peer presence", [ InstanceParam("client1", "--null-audio"), InstanceParam("client2", "--null-audio") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-pres/100_peertopeer.py
Python
gpl2
276
# $Id: 200_publish.py 2028 2008-06-16 13:04:44Z bennylp $ # from inc_cfg import * # Basic registration test_param = TestParam( "Presence with PUBLISH", [ InstanceParam( "ua1", "--null-audio"+ " --id=\"<sip:test1@pjsip.org>\""+ " --registrar=sip:sip.pjsip.org" + " --username=test1" + ...
zxybird-pjsip-blf
tests/pjsua/scripts-pres/200_publish.py
Python
gpl2
866
# $Id: 100_resample_lf_8_44.py 2052 2008-06-25 18:18:32Z nanang $ # from inc_cfg import * # simple test test_param = TestParam( "Resample (large filter) 8 KHZ to 44 KHZ", [ InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 44100 --play-file wavs/input.8.wav --rec-file wavs/tmp.44.wav") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-media-playrec/100_resample_lf_8_44.py
Python
gpl2
316
# $Id: 100_resample_lf_8_11.py 2052 2008-06-25 18:18:32Z nanang $ # from inc_cfg import * # simple test test_param = TestParam( "Resample (large filter) 8 KHZ to 11 KHZ", [ InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 11025 --play-file wavs/input.8.wav --rec-file wavs/tmp.11.wav") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-media-playrec/100_resample_lf_8_11.py
Python
gpl2
316
# $Id: 100_resample_lf_11_44.py 2052 2008-06-25 18:18:32Z nanang $ # from inc_cfg import * # simple test test_param = TestParam( "Resample (large filter) 11 KHZ to 44 KHZ", [ InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 44100 --play-file wavs/input.11.wav --rec-file wavs/tmp.44.wav") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-media-playrec/100_resample_lf_11_44.py
Python
gpl2
319
# $Id: 100_resample_lf_8_16.py 2052 2008-06-25 18:18:32Z nanang $ # from inc_cfg import * # simple test test_param = TestParam( "Resample (large filter) 8 KHZ to 16 KHZ", [ InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 16000 --play-file wavs/input.8.wav --rec-file wavs/tmp.16.wav") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-media-playrec/100_resample_lf_8_16.py
Python
gpl2
316
# $Id: 100_resample_lf_8_48.py 2052 2008-06-25 18:18:32Z nanang $ # from inc_cfg import * # simple test test_param = TestParam( "Resample (large filter) 8 KHZ to 48 KHZ", [ InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 48000 --play-file wavs/input.8.wav --rec-file wavs/tmp.48.wav") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-media-playrec/100_resample_lf_8_48.py
Python
gpl2
316
# $Id: 100_resample_lf_8_22.py 2052 2008-06-25 18:18:32Z nanang $ # from inc_cfg import * # simple test test_param = TestParam( "Resample (large filter) 8 KHZ to 22 KHZ", [ InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 22050 --play-file wavs/input.8.wav --rec-file wavs/tmp.22.wav") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-media-playrec/100_resample_lf_8_22.py
Python
gpl2
316
# $Id: 100_resample_lf_11_48.py 2052 2008-06-25 18:18:32Z nanang $ # from inc_cfg import * # simple test test_param = TestParam( "Resample (large filter) 11 KHZ to 48 KHZ", [ InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 48000 --play-file wavs/input.11.wav --rec-file wavs/tmp.48.wav") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-media-playrec/100_resample_lf_11_48.py
Python
gpl2
319
# $Id: 100_resample_lf_11_32.py 2052 2008-06-25 18:18:32Z nanang $ # from inc_cfg import * # simple test test_param = TestParam( "Resample (large filter) 11 KHZ to 32 KHZ", [ InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 32000 --play-file wavs/input.11.wav --rec-file wavs/tmp.32.wav") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-media-playrec/100_resample_lf_11_32.py
Python
gpl2
319
# $Id: 100_resample_lf_11_16.py 2052 2008-06-25 18:18:32Z nanang $ # from inc_cfg import * # simple test test_param = TestParam( "Resample (large filter) 11 KHZ to 16 KHZ", [ InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 16000 --play-file wavs/input.11.wav --rec-file wavs/tmp.16.wav") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-media-playrec/100_resample_lf_11_16.py
Python
gpl2
319
# $Id: 100_resample_lf_8_32.py 2052 2008-06-25 18:18:32Z nanang $ # from inc_cfg import * # simple test test_param = TestParam( "Resample (large filter) 8 KHZ to 32 KHZ", [ InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 32000 --play-file wavs/input.8.wav --rec-file wavs/tmp.32.wav") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-media-playrec/100_resample_lf_8_32.py
Python
gpl2
316
# $Id: 100_resample_lf_11_22.py 2052 2008-06-25 18:18:32Z nanang $ # from inc_cfg import * # simple test test_param = TestParam( "Resample (large filter) 11 KHZ to 22 KHZ", [ InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 22050 --play-file wavs/input.11.wav --rec-file wavs/tmp.22.wav") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-media-playrec/100_resample_lf_11_22.py
Python
gpl2
319
# $Id: 100_resample_lf_11_8.py 2052 2008-06-25 18:18:32Z nanang $ # from inc_cfg import * # simple test test_param = TestParam( "Resample (large filter) 11 KHZ to 8 KHZ", [ InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 8000 --play-file wavs/input.11.wav --rec-file wavs/tmp.8.wav") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-media-playrec/100_resample_lf_11_8.py
Python
gpl2
315
# $Id: mod_sendto.py 3243 2010-08-01 09:48:51Z bennylp $ import imp import sys import inc_sip as sip import inc_const as const import re from inc_cfg import * # Read configuration cfg_file = imp.load_source("cfg_file", ARGS[1]) # Test body function def test_func(t): pjsua = t.process[0] # Create dialog dlg = sip.D...
zxybird-pjsip-blf
tests/pjsua/mod_sendto.py
Python
gpl2
1,506
# $Id: mod_call.py 2078 2008-06-27 21:12:12Z nanang $ import time import imp import sys import inc_const as const from inc_cfg import * # Load configuration cfg_file = imp.load_source("cfg_file", ARGS[1]) # Check media flow between ua1 and ua2 def check_media(ua1, ua2): ua1.send("#") ua1.expect("#") ua1.send("1122...
zxybird-pjsip-blf
tests/pjsua/mod_call.py
Python
gpl2
5,335
# $Id: mod_run.py 2078 2008-06-27 21:12:12Z nanang $ import imp import sys from inc_cfg import * # Read configuration cfg_file = imp.load_source("cfg_file", ARGS[1]) # Here where it all comes together test = cfg_file.test_param
zxybird-pjsip-blf
tests/pjsua/mod_run.py
Python
gpl2
231
# $Id: 305_ice_comp_2_1.py 2196 2008-08-07 09:55:52Z bennylp $ # from inc_cfg import * # Different number of ICE components test_param = TestParam( "Callee=use ICE, caller=use ICE", [ InstanceParam("callee", "--null-audio --use-ice --max-calls=1", enable_buffer=True), InstanceParam("caller", "--null-audio --...
zxybird-pjsip-blf
tests/pjsua/scripts-call/305_ice_comp_2_1.py
Python
gpl2
386
# $Id: 301_ice_public_a.py 2392 2008-12-22 18:54:58Z bennylp $ # from inc_cfg import * # Note: # - need --dis-codec to make INVITE packet less than typical MTU uas_args = "--null-audio --id=\"<sip:123020@192.168.195.36>\" --registrar=sip:192.168.195.36 " \ " --username=123020 --password=zzzxxx123 --realm=192.168.195...
zxybird-pjsip-blf
tests/pjsua/scripts-call/500_portaproxy_call.py
Python
gpl2
1,114
# $Id: 150_srtp_2_1.py 2025 2008-06-15 19:43:43Z bennylp $ # from inc_cfg import * # Simple call test_param = TestParam( "Callee=mandatory SRTP, caller=optional SRTP", [ InstanceParam("callee", "--null-audio --use-srtp=2 --srtp-secure=0 --max-calls=1"), InstanceParam("caller", "--null-audio --use-srtp=1 --sr...
zxybird-pjsip-blf
tests/pjsua/scripts-call/150_srtp_2_1.py
Python
gpl2
356
# $Id: 300_ice_1_0.py 2025 2008-06-15 19:43:43Z bennylp $ # from inc_cfg import * # ICE mismatch test_param = TestParam( "Callee=use ICE, caller=no ICE", [ InstanceParam("callee", "--null-audio --use-ice --max-calls=1"), InstanceParam("caller", "--null-audio --max-calls=1") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-call/300_ice_1_0.py
Python
gpl2
295
# $Id: 300_ice_1_1.py 2084 2008-06-27 23:53:00Z bennylp $ # from inc_cfg import * # ICE mismatch test_param = TestParam( "Callee=use ICE, caller=use ICE", [ InstanceParam("callee", "--null-audio --use-ice --max-calls=1", enable_buffer=True), InstanceParam("caller", "--null-audio --use-ice --max-calls=1", ena...
zxybird-pjsip-blf
tests/pjsua/scripts-call/300_ice_1_1.py
Python
gpl2
345
# $Id: 305_ice_comp_1_2.py 2196 2008-08-07 09:55:52Z bennylp $ # from inc_cfg import * # Different number of ICE components test_param = TestParam( "Callee=use ICE, caller=use ICE", [ InstanceParam("callee", "--null-audio --use-ice --max-calls=1 --ice-no-rtcp", enable_buffer=True), InstanceParam("caller", "-...
zxybird-pjsip-blf
tests/pjsua/scripts-call/305_ice_comp_1_2.py
Python
gpl2
386
# $Id: 301_ice_public_a.py 2392 2008-12-22 18:54:58Z bennylp $ # from inc_cfg import * # Note: # - need --dis-codec to make INVITE packet less than typical MTU uas_args = "--null-audio --id=\"<sip:test1@pjsip.org>\" --registrar=sip:sip.pjsip.org --username=test1 --password=test1 --realm=pjsip.org --proxy=\"sip:sip.p...
zxybird-pjsip-blf
tests/pjsua/scripts-call/301_ice_public_a.py
Python
gpl2
1,052
# $Id: 300_ice_0_1.py 2025 2008-06-15 19:43:43Z bennylp $ # from inc_cfg import * # ICE mismatch test_param = TestParam( "Callee=no ICE, caller=use ICE", [ InstanceParam("callee", "--null-audio --max-calls=1"), InstanceParam("caller", "--null-audio --use-ice --max-calls=1") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-call/300_ice_0_1.py
Python
gpl2
294
# $Id: 150_srtp_2_2.py 2025 2008-06-15 19:43:43Z bennylp $ # from inc_cfg import * test_param = TestParam( "Callee=mandatory SRTP, caller=mandatory SRTP", [ InstanceParam("callee", "--null-audio --use-srtp=2 --srtp-secure=0 --max-calls=1"), InstanceParam("caller", "--null-audio --use-srtp=2 --srtp-secure=0 -...
zxybird-pjsip-blf
tests/pjsua/scripts-call/150_srtp_2_2.py
Python
gpl2
343
# $Id: 150_srtp_2_3.py 3334 2010-10-05 16:32:04Z nanang $ # from inc_cfg import * test_param = TestParam( "Callee=mandatory SRTP, caller=optional (with duplicated offer) SRTP", [ InstanceParam("callee", "--null-audio --use-srtp=2 --srtp-secure=0 --max-calls=1"), InstanceParam("caller", "--null-audio --use-sr...
zxybird-pjsip-blf
tests/pjsua/scripts-call/150_srtp_2_3.py
Python
gpl2
365
# $Id: 200_tcp.py 2028 2008-06-16 13:04:44Z bennylp $ # from inc_cfg import * # TCP call test_param = TestParam( "TCP transport", [ InstanceParam("callee", "--null-audio --no-udp --max-calls=1", uri_param=";transport=tcp"), InstanceParam("caller", "--null-audio --no-udp --max-calls=1") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-call/200_tcp.py
Python
gpl2
306
# $Id: 150_srtp_3_2.py 3334 2010-10-05 16:32:04Z nanang $ # from inc_cfg import * test_param = TestParam( "Callee=optional (with duplicated offer) SRTP, caller=mandatory SRTP", [ InstanceParam("callee", "--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1"), InstanceParam("caller", "--null-audio --use-sr...
zxybird-pjsip-blf
tests/pjsua/scripts-call/150_srtp_3_2.py
Python
gpl2
365
# $Id: 100_simplecall.py 2392 2008-12-22 18:54:58Z bennylp $ # from inc_cfg import * # Simple call test_param = TestParam( "Basic call", [ InstanceParam("callee", "--null-audio --max-calls=1"), InstanceParam("caller", "--null-audio --max-calls=1") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-call/100_simplecall.py
Python
gpl2
267
# $Id: 150_srtp_1_3.py 3334 2010-10-05 16:32:04Z nanang $ # from inc_cfg import * test_param = TestParam( "Callee=optional SRTP, caller=optional (with duplicated offer) SRTP", [ InstanceParam("callee", "--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1"), InstanceParam("caller", "--null-audio --use-srt...
zxybird-pjsip-blf
tests/pjsua/scripts-call/150_srtp_1_3.py
Python
gpl2
364
# $Id: 350_prack_a.py 2392 2008-12-22 18:54:58Z bennylp $ # from inc_cfg import * # TCP call test_param = TestParam( "Callee requires PRACK", [ InstanceParam("callee", "--null-audio --max-calls=1 --use-100rel"), InstanceParam("caller", "--null-audio --max-calls=1") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-call/350_prack_a.py
Python
gpl2
285
# $Id: 150_srtp_3_3.py 3334 2010-10-05 16:32:04Z nanang $ # from inc_cfg import * test_param = TestParam( "Callee=optional (with duplicated offer) SRTP, caller=optional (with duplicated offer) SRTP", [ InstanceParam("callee", "--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1"), InstanceParam("caller",...
zxybird-pjsip-blf
tests/pjsua/scripts-call/150_srtp_3_3.py
Python
gpl2
388
# $Id: 150_srtp_0_3.py 3334 2010-10-05 16:32:04Z nanang $ # from inc_cfg import * test_param = TestParam( "Callee=no SRTP, caller=optional (with duplicated offer) SRTP", [ InstanceParam("callee", "--null-audio --use-srtp=0 --srtp-secure=0 --max-calls=1"), InstanceParam("caller", "--null-audio --use-srtp=3 --...
zxybird-pjsip-blf
tests/pjsua/scripts-call/150_srtp_0_3.py
Python
gpl2
358
# $Id: 150_srtp_3_0.py 3334 2010-10-05 16:32:04Z nanang $ # from inc_cfg import * test_param = TestParam( "Callee=optional (with duplicated offer) SRTP, caller=no SRTP", [ InstanceParam("callee", "--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1"), InstanceParam("caller", "--null-audio --use-srtp=0 --...
zxybird-pjsip-blf
tests/pjsua/scripts-call/150_srtp_3_0.py
Python
gpl2
358
# $Id: 350_prack_b.py 2392 2008-12-22 18:54:58Z bennylp $ # from inc_cfg import * # TCP call test_param = TestParam( "Caller requires PRACK", [ InstanceParam("callee", "--null-audio --max-calls=1"), InstanceParam("caller", "--null-audio --max-calls=1 --use-100rel") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-call/350_prack_b.py
Python
gpl2
285
# $Id: 150_srtp_1_0.py 2392 2008-12-22 18:54:58Z bennylp $ # from inc_cfg import * test_param = TestParam( "Callee=optional SRTP, caller=no SRTP", [ InstanceParam("callee", "--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1"), InstanceParam("caller", "--null-audio --max-calls=1") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-call/150_srtp_1_0.py
Python
gpl2
306
# $Id: 150_srtp_3_1.py 3334 2010-10-05 16:32:04Z nanang $ # from inc_cfg import * test_param = TestParam( "Callee=optional (with duplicated offer) SRTP, caller=optional SRTP", [ InstanceParam("callee", "--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1"), InstanceParam("caller", "--null-audio --use-srt...
zxybird-pjsip-blf
tests/pjsua/scripts-call/150_srtp_3_1.py
Python
gpl2
364
# $Id: 301_ice_public_b.py 2392 2008-12-22 18:54:58Z bennylp $ # from inc_cfg import * # This test: # to make call with ICE but without STUN. # Note: # - need --dis-codec to make INVITE packet less than typical MTU uas_args = "--null-audio --id=\"<sip:test1@pjsip.org>\" --registrar=sip:sip.pjsip.org --username=test...
zxybird-pjsip-blf
tests/pjsua/scripts-call/301_ice_public_b.py
Python
gpl2
1,114
# $Id: 150_srtp_1_2.py 2025 2008-06-15 19:43:43Z bennylp $ # from inc_cfg import * test_param = TestParam( "Callee=optional SRTP, caller=mandatory SRTP", [ InstanceParam("callee", "--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1"), InstanceParam("caller", "--null-audio --use-srtp=2 --srtp-secure=0 --...
zxybird-pjsip-blf
tests/pjsua/scripts-call/150_srtp_1_2.py
Python
gpl2
342
# $Id: 400_tel_uri.py 3323 2010-09-28 07:43:18Z bennylp $ # from inc_cfg import * # Simple call test_param = TestParam( "tel: URI in From", [ InstanceParam("callee", "--null-audio --max-calls=1 --id tel:+111"), InstanceParam("caller", "--null-audio --max-calls=1") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-call/400_tel_uri.py
Python
gpl2
284
# $Id: 150_srtp_1_1.py 2392 2008-12-22 18:54:58Z bennylp $ # from inc_cfg import * test_param = TestParam( "Callee=optional SRTP, caller=optional SRTP", [ InstanceParam("callee", "--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1"), InstanceParam("caller", "--null-audio --use-srtp=1 --srtp-secure=0 --m...
zxybird-pjsip-blf
tests/pjsua/scripts-call/150_srtp_1_1.py
Python
gpl2
341
# $Id: 150_srtp_0_1.py 2392 2008-12-22 18:54:58Z bennylp $ # from inc_cfg import * test_param= TestParam( "Callee=no SRTP, caller=optional SRTP", [ InstanceParam("callee", "--null-audio --max-calls=1"), InstanceParam("caller", "--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-call/150_srtp_0_1.py
Python
gpl2
305
# $Id: mod_recvfrom.py 3259 2010-08-09 07:31:34Z nanang $ import imp import sys import inc_sip as sip import inc_const as const import re from inc_cfg import * # Read configuration cfg_file = imp.load_source("cfg_file", ARGS[1]) # Default server port (should we randomize?) srv_port = 50070 def test_func(test): pjsu...
zxybird-pjsip-blf
tests/pjsua/mod_recvfrom.py
Python
gpl2
2,797
# $Id: mod_sipp.py 4188 2012-06-29 09:01:17Z nanang $ ## Automatic test module for SIPp. ## ## This module will need a test driver for each SIPp scenario: ## - For simple scenario, i.e: make/receive call (including auth), this ## test module can auto-generate a default test driver, i.e: make call ## or apply auto ...
zxybird-pjsip-blf
tests/pjsua/mod_sipp.py
Python
gpl2
8,490
# $Id: 100_simple.py 2028 2008-06-16 13:04:44Z bennylp $ # # 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") ] )
zxybird-pjsip-blf
tests/pjsua/scripts-run/100_simple.py
Python
gpl2
291
# $Id: 200_register.py 2028 2008-06-16 13:04:44Z bennylp $ # 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" + ...
zxybird-pjsip-blf
tests/pjsua/scripts-run/200_register.py
Python
gpl2
427
#Modify this to point to the PJSIP location. PJBASE=~/Desktop/project/pjproject include $(PJBASE)/build.mak CC = $(APP_CC) LDFLAGS = $(APP_LDFLAGS) LDLIBS = $(APP_LDLIBS) CFLAGS = $(APP_CFLAGS) CPPFLAGS= ${CFLAGS} # If your application is in a file named myapp.cpp or myapp.c # # this is the line you will need...
zxybird-pjsip-blf
tests/pjsua/tools/Makefile
Makefile
gpl2
459
/* $Id: cmp_wav.c 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publ...
zxybird-pjsip-blf
tests/pjsua/tools/cmp_wav.c
C
gpl2
7,378
# $Id: 300_srtp_receive_crypto_tag_zero.py 2765 2009-06-17 12:00:47Z nanang $ import inc_sip as sip import inc_sdp as sdp sdp = \ """ v=0 o=- 0 0 IN IP4 127.0.0.1 s=tester c=IN IP4 127.0.0.1 t=0 0 m=audio 4000 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=sendrecv a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=crypto:0 AE...
zxybird-pjsip-blf
tests/pjsua/scripts-sendto/300_srtp_receive_crypto_tag_zero.py
Python
gpl2
690
# $Id: 364_non_sip_uri_subscribe.py 2392 2008-12-22 18:54:58Z bennylp $ import inc_sip as sip import inc_sdp as sdp # Some non-SIP URI's in Contact header # complete_msg = \ """SUBSCRIBE sip:localhost SIP/2.0 Via: SIP/2.0/UDP 192.168.0.14:5060;rport;branch=z9hG4bKPj9db9 Max-Forwards: 70 From: <sip:192.168.0.14>;tag=08...
zxybird-pjsip-blf
tests/pjsua/scripts-sendto/364_non_sip_uri_subscribe.py
Python
gpl2
874
# $Id: 140_sdp_with_direction_attr_in_session_2.py 3086 2010-02-03 14:43:25Z nanang $ import inc_sip as sip import inc_sdp as sdp # Offer contains "inactive" attribute in the session, however the media # also has "sendonly" attribute. Answer should appropriately respond # direction attribute in media, instead of the o...
zxybird-pjsip-blf
tests/pjsua/scripts-sendto/140_sdp_with_direction_attr_in_session_2.py
Python
gpl2
789
# $Id: 400_fmtp_g7221_with_bitrate.py 3664 2011-07-19 03:42:28Z nanang $ import inc_sip as sip import inc_sdp as sdp # Answer for codec G722.1 should contain fmtp bitrate sdp = \ """ v=0 o=- 3428650655 3428650655 IN IP4 192.168.1.9 s=pjmedia c=IN IP4 192.168.1.9 t=0 0 a=X-nat:0 m=audio 4000 RTP/AVP 99 100 101 a=rtcp:...
zxybird-pjsip-blf
tests/pjsua/scripts-sendto/400_fmtp_g7221_with_bitrate.py
Python
gpl2
859
# $Id: 001_torture_4475_3_1_1_1.py 2505 2009-03-12 11:25:11Z bennylp $ import inc_sip as sip import inc_sdp as sdp # Torture message from RFC 4475 # 3.1.1. Valid Messages # 3.1.1.1. A Short Tortuous INVITE complete_msg = \ """INVITE sip:vivekg@chair-dnrc.example.com;unknownparam SIP/2.0 TO : sip:vivekg@chair-dnrc.e...
zxybird-pjsip-blf
tests/pjsua/scripts-sendto/001_torture_4475_3_1_1_1.py
Python
gpl2
1,345
# $Id: 363_non_sip_uri_subscribe.py 2392 2008-12-22 18:54:58Z bennylp $ import inc_sip as sip import inc_sdp as sdp # Some non-SIP URI's in Contact header # complete_msg = \ """SUBSCRIBE sip:localhost SIP/2.0 Via: SIP/2.0/UDP 192.168.0.14:5060;rport;branch=z9hG4bKPj9db9 Max-Forwards: 70 From: <sip:192.168.0.14>;tag=08...
zxybird-pjsip-blf
tests/pjsua/scripts-sendto/363_non_sip_uri_subscribe.py
Python
gpl2
899
# $Id: 360_non_sip_uri.py 2392 2008-12-22 18:54:58Z bennylp $ import inc_sip as sip import inc_sdp as sdp # Some non-SIP URI's in Contact header # complete_msg = \ """INVITE sip:localhost SIP/2.0 Via: SIP/2.0/UDP 192.168.0.14:5060;rport;branch=z9hG4bKPj9db9 Max-Forwards: 70 From: <sip:192.168.0.14>;tag=08cd5bfc2d8a4fd...
zxybird-pjsip-blf
tests/pjsua/scripts-sendto/360_non_sip_uri.py
Python
gpl2
772
# $Id: 159_no_rport_nit.py 2442 2009-02-06 08:44:23Z bennylp $ import inc_sip as sip import inc_sdp as sdp # Ticket http://trac.pjsip.org/repos/ticket/718 # RTC doesn't put rport in Via, and it is reported to have caused segfault. # complete_msg = \ """MESSAGE sip:localhost SIP/2.0 Via: SIP/2.0/UDP localhost:$LOCAL_PO...
zxybird-pjsip-blf
tests/pjsua/scripts-sendto/159_no_rport_nit.py
Python
gpl2
657
# $Id: 300_srtp_crypto_case_insensitive.py 2036 2008-06-20 17:43:55Z nanang $ import inc_sip as sip import inc_sdp as sdp sdp = \ """ v=0 o=- 0 0 IN IP4 127.0.0.1 s=tester c=IN IP4 127.0.0.1 t=0 0 m=audio 4000 RTP/SAVP 0 101 a=rtpmap:0 PCMU/8000 a=sendrecv a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=crypto:1 A...
zxybird-pjsip-blf
tests/pjsua/scripts-sendto/300_srtp_crypto_case_insensitive.py
Python
gpl2
824
# $Id: 300_srtp_receive_no_key_2.py 2036 2008-06-20 17:43:55Z nanang $ import inc_sip as sip import inc_sdp as sdp sdp = \ """ v=0 o=- 0 0 IN IP4 127.0.0.1 s=tester c=IN IP4 127.0.0.1 t=0 0 m=audio 4000 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=sendrecv a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=crypto:0 AES_CM_12...
zxybird-pjsip-blf
tests/pjsua/scripts-sendto/300_srtp_receive_no_key_2.py
Python
gpl2
650
# $Id: 152_err_sdp_no_media.py 2066 2008-06-26 19:51:01Z bennylp $ import inc_sip as sip import inc_sdp as sdp sdp = \ """ v=0 o=- 0 0 IN IP4 127.0.0.1 s=pjmedia c=IN IP4 127.0.0.1 t=0 0 """ pjsua_args = "--null-audio --auto-answer 200" extra_headers = "" include = [] exclude = [] sendto_cfg = sip.SendtoCfg("No medi...
zxybird-pjsip-blf
tests/pjsua/scripts-sendto/152_err_sdp_no_media.py
Python
gpl2
432
# $Id: 171_timer_initiated_by_uas.py 3307 2010-09-08 05:38:49Z nanang $ import inc_sip as sip import inc_sdp as sdp sdp = \ """ v=0 o=- 0 0 IN IP4 127.0.0.1 s=pjmedia c=IN IP4 127.0.0.1 t=0 0 m=audio 4000 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=sendrecv a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 """ # RFC 4028 Se...
zxybird-pjsip-blf
tests/pjsua/scripts-sendto/171_timer_initiated_by_uas.py
Python
gpl2
1,155
# $Id: 156_err_sdp_bad_net_type.py 2066 2008-06-26 19:51:01Z bennylp $ import inc_sip as sip import inc_sdp as sdp sdp = \ """ v=0 o=- 0 0 IN IP4 127.0.0.1 s=pjmedia c=AF IP4 127.0.0.1 t=0 0 m=audio 4000 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=sendrecv a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 """ pjsua_args = "...
zxybird-pjsip-blf
tests/pjsua/scripts-sendto/156_err_sdp_bad_net_type.py
Python
gpl2
599
# $Id: 122_sdp_with_unknown_dynamic_1.py 2081 2008-06-27 21:59:15Z bennylp $ import inc_sip as sip import inc_sdp as sdp sdp = \ """ v=0 o=- 0 0 IN IP4 127.0.0.1 s=- c=IN IP4 127.0.0.1 t=0 0 m=audio 5000 RTP/AVP 0 m=xapplicationx 4000 RTP/AVP 100 a=rtpmap:100 myapp/80000 """ pjsua_args = "--null-audio --auto-answer 2...
zxybird-pjsip-blf
tests/pjsua/scripts-sendto/122_sdp_with_unknown_dynamic_1.py
Python
gpl2
659
# $Id: 412_fmtp_amrnb_offer_band_eff2.py 3664 2011-07-19 03:42:28Z nanang $ import inc_sip as sip import inc_sdp as sdp # Answer for codec AMR should not contain fmtp octet-align=1 sdp = \ """ v=0 o=- 3428650655 3428650655 IN IP4 192.168.1.9 s=pjmedia c=IN IP4 192.168.1.9 t=0 0 a=X-nat:0 m=audio 4000 RTP/AVP 99 101 a...
zxybird-pjsip-blf
tests/pjsua/scripts-sendto/412_fmtp_amrnb_offer_band_eff2.py
Python
gpl2
817
# $Id: 252_multipart_ok_clutter.py 3243 2010-08-01 09:48:51Z bennylp $ import inc_sip as sip import inc_sdp as sdp body = \ """ This is the preamble. It is to be ignored, though it is a handy place for composition agents to include an explanatory note to non-MIME conformant readers. --123:45 Content-Type: text/plain...
zxybird-pjsip-blf
tests/pjsua/scripts-sendto/252_multipart_ok_clutter.py
Python
gpl2
1,122