code
string
repo_name
string
path
string
language
string
license
string
size
int64
# $Id: mod_pesq.py 2417 2009-01-05 15:31:25Z bennylp $ # Quality test of media calls. # - UA1 calls UA2 # - UA1 plays a file until finished to be streamed to UA2 # - UA2 records from stream # - Apply PESQ to played file (reference) and recorded file (degraded) # # File should be: # - naming: xxxxxx.CLOCK_RATE.wav, e.g...
zxybird-pjsip-blf
tests/pjsua/mod_pesq.py
Python
gpl2
5,140
# $Id: 100_defaults.py 3286 2010-08-18 14:30:15Z bennylp $ # from inc_cfg import * ADD_PARAM = "" if (HAS_SND_DEV == 0): ADD_PARAM += "--null-audio" # Call with default pjsua settings test_param = TestParam( "PESQ defaults pjsua settings", [ InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --play-file wavs/i...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/100_defaults.py
Python
gpl2
493
# $Id: 200_codec_g711a.py 2063 2008-06-26 18:52:16Z nanang $ # from inc_cfg import * ADD_PARAM = "" if (HAS_SND_DEV == 0): ADD_PARAM += "--null-audio" # Call with PCMA codec test_param = TestParam( "PESQ codec PCMA", [ InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec pcma --clock-rate 8000 --play...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/200_codec_g711a.py
Python
gpl2
510
# $Id: 201_codec_speex_8000.py 2063 2008-06-26 18:52:16Z nanang $ # from inc_cfg import * # Call with Speex/8000 codec test_param = TestParam( "PESQ codec Speex NB (RX side uses snd dev)", [ InstanceParam("UA1", "--max-calls=1 --add-codec speex/8000 --clock-rate 8000 --play-file wavs/input.8.wav --null-audio"),...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/201_codec_speex_8000.py
Python
gpl2
528
# $Id: 200_codec_speex_16000.py 3286 2010-08-18 14:30:15Z bennylp $ # from inc_cfg import * ADD_PARAM = "" if (HAS_SND_DEV == 0): ADD_PARAM += "--null-audio" # Call with Speex/16000 codec test_param = TestParam( "PESQ codec Speex WB", [ InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --clock-rate 16000 --ad...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/200_codec_speex_16000.py
Python
gpl2
555
# $Id: 101_defaults.py 2063 2008-06-26 18:52:16Z nanang $ # from inc_cfg import * # Call with default pjsua settings test_param = TestParam( "PESQ defaults pjsua settings (RX side uses snd dev)", [ InstanceParam("UA1", "--max-calls=1 --play-file wavs/input.16.wav --null-audio"), InstanceParam("UA2", "--max-c...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/101_defaults.py
Python
gpl2
474
# $Id: 200_codec_l16_16000.py 2075 2008-06-27 16:18:13Z nanang $ # from inc_cfg import * ADD_PARAM = "" if (HAS_SND_DEV == 0): ADD_PARAM += "--null-audio" # Call with L16/16000/1 codec test_param = TestParam( "PESQ codec L16/16000/1", [ InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec L16/16000/1...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/200_codec_l16_16000.py
Python
gpl2
546
# $Id: 200_codec_g711u.py 2063 2008-06-26 18:52:16Z nanang $ # from inc_cfg import * ADD_PARAM = "" if (HAS_SND_DEV == 0): ADD_PARAM += "--null-audio" # Call with PCMU codec test_param = TestParam( "PESQ codec PCMU", [ InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec pcmu --clock-rate 8000 --play...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/200_codec_g711u.py
Python
gpl2
510
# $Id: 201_codec_g711a.py 2063 2008-06-26 18:52:16Z nanang $ # from inc_cfg import * # Call with PCMA codec test_param = TestParam( "PESQ codec PCMA (RX side uses snd dev)", [ InstanceParam("UA1", "--max-calls=1 --add-codec pcma --clock-rate 8000 --play-file wavs/input.8.wav --null-audio"), InstanceParam("UA...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/201_codec_g711a.py
Python
gpl2
501
# $Id: 200_codec_l16_8000.py 2075 2008-06-27 16:18:13Z nanang $ # from inc_cfg import * ADD_PARAM = "" if (HAS_SND_DEV == 0): ADD_PARAM += "--null-audio" # Call with L16/8000/1 codec test_param = TestParam( "PESQ codec L16/8000/1", [ InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec L16/8000/1 --c...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/200_codec_l16_8000.py
Python
gpl2
537
# $Id: 201_codec_gsm.py 2063 2008-06-26 18:52:16Z nanang $ # from inc_cfg import * # Call with GSM codec test_param = TestParam( "PESQ codec GSM (RX side uses snd dev)", [ InstanceParam("UA1", "--max-calls=1 --add-codec gsm --clock-rate 8000 --play-file wavs/input.8.wav --null-audio"), InstanceParam("UA2", "...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/201_codec_gsm.py
Python
gpl2
495
# $Id: 200_codec_g722.py 2063 2008-06-26 18:52:16Z nanang $ # from inc_cfg import * ADD_PARAM = "" if (HAS_SND_DEV == 0): ADD_PARAM += "--null-audio" # Call with G722 codec test_param = TestParam( "PESQ codec G722", [ InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec g722 --clock-rate 16000 --play...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/200_codec_g722.py
Python
gpl2
513
# $Id: 201_codec_g722.py 2063 2008-06-26 18:52:16Z nanang $ # from inc_cfg import * # Call with G722 codec test_param = TestParam( "PESQ codec G722 (RX side uses snd dev)", [ InstanceParam("UA1", "--max-calls=1 --add-codec g722 --clock-rate 16000 --play-file wavs/input.16.wav --null-audio"), InstanceParam("U...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/201_codec_g722.py
Python
gpl2
504
# $Id: 201_codec_l16_8000_stereo.py 2075 2008-06-27 16:18:13Z nanang $ # from inc_cfg import * # Call with L16/8000/2 codec test_param = TestParam( "PESQ defaults pjsua settings", [ InstanceParam("UA1", "--stereo --max-calls=1 --clock-rate 8000 --add-codec L16/8000/2 --play-file wavs/input.2.8.wav --null-audio"...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/201_codec_l16_8000_stereo.py
Python
gpl2
543
# $Id: 200_codec_ilbc.py 2063 2008-06-26 18:52:16Z nanang $ # from inc_cfg import * ADD_PARAM = "" if (HAS_SND_DEV == 0): ADD_PARAM += "--null-audio" # Call with iLBC codec test_param = TestParam( "PESQ codec iLBC", [ InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec ilbc --clock-rate 8000 --play-...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/200_codec_ilbc.py
Python
gpl2
511
# $Id: 200_codec_speex_8000.py 3286 2010-08-18 14:30:15Z bennylp $ # from inc_cfg import * ADD_PARAM = "" if (HAS_SND_DEV == 0): ADD_PARAM += "--null-audio" # Call with Speex/8000 codec test_param = TestParam( "PESQ codec Speex NB", [ InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec speex/8000 --...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/200_codec_speex_8000.py
Python
gpl2
548
# $Id: 200_codec_l16_16000_stereo.py 2075 2008-06-27 16:18:13Z nanang $ # from inc_cfg import * ADD_PARAM = "" if (HAS_SND_DEV == 0): ADD_PARAM += "--null-audio" # Call with L16/16000/2 codec test_param = TestParam( "PESQ defaults pjsua settings", [ InstanceParam("UA1", ADD_PARAM + " --stereo --max-calls=1 -...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/200_codec_l16_16000_stereo.py
Python
gpl2
584
# $Id: 201_codec_l16_16000_stereo.py 2075 2008-06-27 16:18:13Z nanang $ # from inc_cfg import * # Call with L16/16000/2 codec test_param = TestParam( "PESQ defaults pjsua settings", [ InstanceParam("UA1", "--stereo --max-calls=1 --clock-rate 16000 --add-codec L16/16000/2 --play-file wavs/input.2.16.wav --null-a...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/201_codec_l16_16000_stereo.py
Python
gpl2
551
# $Id: 201_codec_speex_16000.py 2063 2008-06-26 18:52:16Z nanang $ # from inc_cfg import * # Call with Speex/16000 codec test_param = TestParam( "PESQ codec Speex WB (RX side uses snd dev)", [ InstanceParam("UA1", "--max-calls=1 --clock-rate 16000 --add-codec speex/16000 --play-file wavs/input.16.wav --null-aud...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/201_codec_speex_16000.py
Python
gpl2
536
# $Id: 201_codec_ilbc.py 2063 2008-06-26 18:52:16Z nanang $ # from inc_cfg import * # Call with iLBC codec test_param = TestParam( "PESQ codec iLBC (RX side uses snd dev)", [ InstanceParam("UA1", "--max-calls=1 --add-codec ilbc --clock-rate 8000 --play-file wavs/input.8.wav --null-audio"), InstanceParam("UA2...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/201_codec_ilbc.py
Python
gpl2
500
# $Id: 201_codec_l16_8000.py 2075 2008-06-27 16:18:13Z nanang $ # from inc_cfg import * # Call with L16/8000/1 codec test_param = TestParam( "PESQ codec L16/8000/1 (RX side uses snd dev)", [ InstanceParam("UA1", "--max-calls=1 --add-codec L16/8000/1 --clock-rate 8000 --play-file wavs/input.8.wav --null-audio"),...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/201_codec_l16_8000.py
Python
gpl2
528
# $Id: 201_codec_l16_16000.py 2075 2008-06-27 16:18:13Z nanang $ # from inc_cfg import * # Call with L16/16000/1 codec test_param = TestParam( "PESQ codec L16/16000/1 (RX side uses snd dev)", [ InstanceParam("UA1", "--max-calls=1 --add-codec L16/16000/1 --clock-rate 16000 --play-file wavs/input.16.wav --null-au...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/201_codec_l16_16000.py
Python
gpl2
537
# $Id: 200_codec_gsm.py 2063 2008-06-26 18:52:16Z nanang $ # from inc_cfg import * ADD_PARAM = "" if (HAS_SND_DEV == 0): ADD_PARAM += "--null-audio" # Call with GSM codec test_param = TestParam( "PESQ codec GSM", [ InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec gsm --clock-rate 8000 --play-file...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/200_codec_gsm.py
Python
gpl2
506
# $Id: 201_codec_g711u.py 2063 2008-06-26 18:52:16Z nanang $ # from inc_cfg import * # Call with PCMU codec test_param = TestParam( "PESQ codec PCMU (RX side uses snd dev)", [ InstanceParam("UA1", "--max-calls=1 --add-codec pcmu --clock-rate 8000 --play-file wavs/input.8.wav --null-audio"), InstanceParam("UA...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/201_codec_g711u.py
Python
gpl2
501
# $Id: 200_codec_l16_8000_stereo.py 2075 2008-06-27 16:18:13Z nanang $ # from inc_cfg import * ADD_PARAM = "" if (HAS_SND_DEV == 0): ADD_PARAM += "--null-audio" # Call with L16/8000/2 codec test_param = TestParam( "PESQ defaults pjsua settings", [ InstanceParam("UA1", ADD_PARAM + " --stereo --max-calls=1 --c...
zxybird-pjsip-blf
tests/pjsua/scripts-pesq/200_codec_l16_8000_stereo.py
Python
gpl2
576
# $Id: inc_cfg.py 2237 2008-08-26 12:13:25Z bennylp $ import random import config_site DEFAULT_ECHO = True DEFAULT_TRACE = True DEFAULT_START_SIP_PORT = 50000 # Shared vars ARGS = [] # arguments containing script module & config HAS_SND_DEV = config_site.HAS_SND_DEV # Individual pjsua instance configuration class c...
zxybird-pjsip-blf
tests/pjsua/inc_cfg.py
Python
gpl2
3,008
# $Id: 300_timer_good.py 3307 2010-09-08 05:38:49Z nanang $ import inc_sip as sip import inc_sdp as sdp # INVITE session using session timer pjsua = "--null-audio sip:127.0.0.1:$PORT --use-timer 2 --timer-min-se 100 --timer-se 2000" req = sip.RecvfromTransaction("INVITE with session timer", 200, include=["Sessio...
zxybird-pjsip-blf
tests/pjsua/scripts-recvfrom/300_timer_good.py
Python
gpl2
531
# $Id: 208_reg_good_retry_nonce_ok.py 2392 2008-12-22 18:54:58Z bennylp $ import inc_sip as sip import inc_sdp as sdp pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ "--realm=python --user=username --password=password " + \ "--auto-update-nat=0" req1 = sip.RecvfromTransaction("Initial re...
zxybird-pjsip-blf
tests/pjsua/scripts-recvfrom/208_reg_good_retry_nonce_ok.py
Python
gpl2
1,096
# $Id: 220_reg_good_ims_ok.py 2392 2008-12-22 18:54:58Z bennylp $ import inc_sip as sip import inc_sdp as sdp pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ "--username user@ims-domain --realm python --password passwd --use-ims --auto-update-nat=0" req1 = sip.RecvfromTransaction("Initial...
zxybird-pjsip-blf
tests/pjsua/scripts-recvfrom/220_reg_good_ims_ok.py
Python
gpl2
1,034
# $Id: 234_reg_bad_stale_ok.py 2392 2008-12-22 18:54:58Z bennylp $ import inc_sip as sip import inc_sdp as sdp # In this test we simulate broken server, where it wants to # change the nonce, but it fails to set stale to true. In this # case, we should expect pjsip to retry the authentication until # PJSIP_MAX_STALE_CO...
zxybird-pjsip-blf
tests/pjsua/scripts-recvfrom/234_reg_bad_stale_ok.py
Python
gpl2
1,604
# $Id: 206_reg_good_efailedcredential.py 2392 2008-12-22 18:54:58Z bennylp $ import inc_sip as sip import inc_sdp as sdp # Authentication failure test with same nonce pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ "--realm=python --user=username --password=password" req1 = sip.Recvfrom...
zxybird-pjsip-blf
tests/pjsua/scripts-recvfrom/206_reg_good_efailedcredential.py
Python
gpl2
895
# $Id: 235_reg_good_tel_uri_enocredential.py 3323 2010-09-28 07:43:18Z bennylp $ import inc_sip as sip import inc_sdp as sdp pjsua = "--null-audio --id=tel:+12345 --registrar sip:127.0.0.1:$PORT" req1 = sip.RecvfromTransaction("", 401, include=["REGISTER sip"], exclude=["Authorization"], resp_hdr=["WWW-A...
zxybird-pjsip-blf
tests/pjsua/scripts-recvfrom/235_reg_good_tel_uri_enocredential.py
Python
gpl2
515
# $Id: 203_reg_good_empty_realm.py 3150 2010-04-29 00:23:43Z bennylp $ import inc_sip as sip import inc_sdp as sdp pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ "--realm=* --user=username --password=password " + \ "--auto-update-nat=0" # 401 Response, missing realm value req1 = sip.Rec...
zxybird-pjsip-blf
tests/pjsua/scripts-recvfrom/203_reg_good_empty_realm.py
Python
gpl2
956
# $Id: 100_simple.py 3284 2010-08-18 07:38:48Z bennylp $ import inc_sip as sip import inc_sdp as sdp pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ "--auto-update-nat=0" req1 = sip.RecvfromTransaction("Registration", 200, include=["REGISTER sip"], exclude=["Authorization"], ...
zxybird-pjsip-blf
tests/pjsua/scripts-recvfrom/100_simple.py
Python
gpl2
526
# $Id: 215_reg_good_multi_ok.py 2392 2008-12-22 18:54:58Z bennylp $ import inc_sip as sip import inc_sdp as sdp pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ "--username theuser1 --realm python1 --password passwd --next-cred " + \ "--username theuser2 --realm python2 --password passwd "...
zxybird-pjsip-blf
tests/pjsua/scripts-recvfrom/215_reg_good_multi_ok.py
Python
gpl2
1,105
# $Id: 209a_reg_handle_423_ok.py 3105 2010-02-23 11:03:07Z bennylp $ import inc_sip as sip import inc_sdp as sdp pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ "--realm=python --user=username --password=password " + \ "--auto-update-nat=0" # 423 Response without Min-Expires header req1 ...
zxybird-pjsip-blf
tests/pjsua/scripts-recvfrom/209a_reg_handle_423_ok.py
Python
gpl2
1,054
# $Id: 209b_reg_handle_423_bad_min_expires1.py 3105 2010-02-23 11:03:07Z bennylp $ import inc_sip as sip import inc_sdp as sdp pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ "--realm=python --user=username --password=password " + \ "--auto-update-nat=0 --reg-timeout 300" # 423 Response ...
zxybird-pjsip-blf
tests/pjsua/scripts-recvfrom/209b_reg_handle_423_bad_min_expires1.py
Python
gpl2
667
# $Id: 231_reg_bad_fail_stale_false_nonce_changed.py 2392 2008-12-22 18:54:58Z bennylp $ import inc_sip as sip import inc_sdp as sdp # In this test we simulate broken server, where: # - it wants to signal that NONCE has change # - but it sets stale=false # For this case pjsip will retry authentication until # PJSIP_MA...
zxybird-pjsip-blf
tests/pjsua/scripts-recvfrom/231_reg_bad_fail_stale_false_nonce_changed.py
Python
gpl2
1,644
# $Id: 240_publish_scenarios.py 2661 2009-04-28 22:19:49Z bennylp $ import inc_sip as sip import inc_sdp as sdp # Several PUBLISH failure scenarios that should be handled automatically pjsua = "--null-audio --id=sip:127.0.0.1:$PORT --registrar sip:127.0.0.1:$PORT " + \ "--realm=python --user=username --password=pas...
zxybird-pjsip-blf
tests/pjsua/scripts-recvfrom/240_publish_scenarios.py
Python
gpl2
1,551
# $Id: 205_reg_good_no_realm.py 2392 2008-12-22 18:54:58Z bennylp $ import inc_sip as sip import inc_sdp as sdp pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ "--realm=provider --user=username --password=password" req1 = sip.RecvfromTransaction("", 401, include=["REGISTER sip"], ...
zxybird-pjsip-blf
tests/pjsua/scripts-recvfrom/205_reg_good_no_realm.py
Python
gpl2
566
# $Id: 301_timer_good_retry_after_422.py 3287 2010-08-18 14:30:17Z nanang $ import inc_sip as sip import inc_sdp as sdp # Session timers retry after 422 pjsua = "--null-audio sip:127.0.0.1:$PORT --timer-min-se 100 --timer-se 1000" # First INVITE with timer rejected with 422 req1 = sip.RecvfromTransaction("INVITE wi...
zxybird-pjsip-blf
tests/pjsua/scripts-recvfrom/301_timer_good_retry_after_422.py
Python
gpl2
863
# $Id: 201_reg_good_ok.py 2392 2008-12-22 18:54:58Z bennylp $ import inc_sip as sip import inc_sdp as sdp pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ "--username user --realm python --password passwd --auto-update-nat=0" req1 = sip.RecvfromTransaction("Initial registration", 401, ...
zxybird-pjsip-blf
tests/pjsua/scripts-recvfrom/201_reg_good_ok.py
Python
gpl2
839
# $Id: 400_inv_answered_with_less_media.py 3716 2011-08-19 12:24:48Z nanang $ import inc_sip as sip import inc_sdp as sdp # Offer with 2 media lines answered with only 1 media line pjsua = "--null-audio sip:127.0.0.1:$PORT --id=sip:1000@localhost --extra-audio --use-srtp=0" sdp = \ """ v=0 o=- 0 0 IN IP4 127.0.0.1 s...
zxybird-pjsip-blf
tests/pjsua/scripts-recvfrom/400_inv_answered_with_less_media.py
Python
gpl2
863
# $Id: 200_reg_good_enocredentiall.py 2392 2008-12-22 18:54:58Z bennylp $ import inc_sip as sip import inc_sdp as sdp pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT" req1 = sip.RecvfromTransaction("", 401, include=["REGISTER sip"], exclude=["Authorization"], resp_hdr=["WWW-Authenti...
zxybird-pjsip-blf
tests/pjsua/scripts-recvfrom/200_reg_good_enocredentiall.py
Python
gpl2
494
# $Id: 209c_reg_handle_423_bad_min_expires2.py 3105 2010-02-23 11:03:07Z bennylp $ import inc_sip as sip import inc_sdp as sdp pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ "--realm=python --user=username --password=password " + \ "--auto-update-nat=0 --reg-timeout 300" # 423 without M...
zxybird-pjsip-blf
tests/pjsua/scripts-recvfrom/209c_reg_handle_423_bad_min_expires2.py
Python
gpl2
849
# $Id: 202_reg_good_ok_wildcard.py 2392 2008-12-22 18:54:58Z bennylp $ import inc_sip as sip import inc_sdp as sdp pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ "--username user --realm \"*\" --password passwd --auto-update-nat=0" req1 = sip.RecvfromTransaction("Initial registration", 4...
zxybird-pjsip-blf
tests/pjsua/scripts-recvfrom/202_reg_good_ok_wildcard.py
Python
gpl2
867
# $Id: 230_reg_bad_fail_stale_true.py 2392 2008-12-22 18:54:58Z bennylp $ import inc_sip as sip import inc_sdp as sdp # In this test we simulate broken server, where it always sends # stale=true with all 401 responses. We should expect pjsip to # retry the authentication until PJSIP_MAX_STALE_COUNT is # exceeded. When...
zxybird-pjsip-blf
tests/pjsua/scripts-recvfrom/230_reg_bad_fail_stale_true.py
Python
gpl2
1,692
#!/usr/bin/python import os import sys import time import datetime import ccdash INTERVAL = 300 DELAY = 0 ONCE = False SUFFIX = "" FORCE = False def run_scenarios(scenarios, group): # Run each scenario rc = 0 for scenario in scenarios: argv = [] argv.append("ccdash.py") argv.append("scenario") argv.append(...
zxybird-pjsip-blf
tests/automated/run_continuous.py
Python
gpl2
3,442
#!/usr/bin/python import sys import ccdash if __name__ == "__main__": sys.argv[0] = "ccdash.py" sys.argv.insert(1, "scenario") rc = ccdash.main(sys.argv) sys.exit(rc)
zxybird-pjsip-blf
tests/automated/run_scenario.py
Python
gpl2
174
#!/usr/bin/python import optparse import os import platform import socket import subprocess import sys PROG = "r" + "$Rev: 17 $".strip("$ ").replace("Rev: ", "") PYTHON = os.path.basename(sys.executable) build_type = "" vs_target = "" s60_target = "" no_test = False no_pjsua_test = False # # Get gcc version # def gc...
zxybird-pjsip-blf
tests/automated/configure.py
Python
gpl2
11,490
#!/bin/env python # # main.py - main entry for PJSIP's CDash tests # # Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version...
zxybird-pjsip-blf
tests/cdash/main.py
Python
gpl2
1,229
# # cfg_msvc.py - MSVC/Visual Studio target configurator # # Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the L...
zxybird-pjsip-blf
tests/cdash/cfg_msvc.py
Python
gpl2
2,726
# # cfg_gnu.py - GNU target configurator # # Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at...
zxybird-pjsip-blf
tests/cdash/cfg_gnu.py
Python
gpl2
2,436
# # cfg_symbian.py - Symbian target configurator # # Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, ...
zxybird-pjsip-blf
tests/cdash/cfg_symbian.py
Python
gpl2
2,807
# # cfg_site_sample.py - Sample site configuration # # Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License...
zxybird-pjsip-blf
tests/cdash/cfg_site_sample.py
Python
gpl2
1,530
# # builder.py - PJSIP test scenarios builder # # Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or ...
zxybird-pjsip-blf
tests/cdash/builder.py
Python
gpl2
17,919
@echo off rem *** rem ************** VS 2005 ************** rem *** set OLD_PATH=%PATH% set OLD_INCLUDE=%INCLUDE% set OLD_LIB=%LIB% set OLD_LIBPATH=%LIBPATH% call "C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat" x86 python main.py cfg_msvc -t "Debug|Win32" python main.py cfg_msvc -t "Relea...
zxybird-pjsip-blf
tests/cdash/starttest_sample.bat
Batchfile
gpl2
1,095
#!/bin/sh # # install - install a program, script, or datafile # This comes from X11R5 (mit/util/scripts/install.sh). # # Copyright 1991 by the Massachusetts Institute of Technology # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without ...
zxybird-pjsip-blf
install-sh
Shell
gpl2
5,569
#!/bin/sh svn pset svn:keywords id $* svn pset svn:eol-style native $*
zxybird-pjsip-blf
svn_pset
Shell
gpl2
72
#!/bin/sh svn add $* ./svn_pset $*
zxybird-pjsip-blf
svn_add
Shell
gpl2
38
@rem call abld build -v vs6 udeb @rem call abld build -v gcce urel @rem call abld build winscw udeb call abld build %1 %2 %3 %4
zxybird-pjsip-blf
build.symbian/01.bat
Batchfile
gpl2
131
@rem set MWSym2Libraries=1 @rem set EPOCROOT=\Symbian\9.1\S60_3rd\ @rem set EPOCROOT=\Symbian\9.1\S60_3rd_MR_2\ @rem set EPOCROOT=\Symbian\UIQ3SDK\ @rem set EPOCROOT=\symbian\UIQ3.1\ @rem set EPOCROOT=\symbian\9.2\S60_3rd_FP1\ bldmake bldfiles
zxybird-pjsip-blf
build.symbian/00.bat
Batchfile
gpl2
244
#!/bin/sh MMP=$1 if test "$MMP" == ""; then echo "Usage: makedef.sh FILE.MMP" echo " or makedef.sh all" exit 1 fi if test "$MMP" == "all"; then . $0 pjlib.mmp . $0 pjlib_util.mmp . $0 pjnath.mmp . $0 pjmedia.mmp . $0 pjsdp.mmp . $0 pjsip.mmp . $0 pjsip_simple.mmp . $0 pjsip_ua.mmp . $...
zxybird-pjsip-blf
build.symbian/makedef.sh
Shell
gpl2
1,842
@echo off if "%*" EQU "" ( echo Usage: svn_pset.bat FILE1 ... goto end ) svn pset svn:keywords id %* svn pset svn:eol-style native %* :end
zxybird-pjsip-blf
svn_pset.bat
Batchfile
gpl2
155
#!/bin/sh PJDIR=`pwd` # # Detect machine, unless the choice has been made already. # if [ "$MACHINE" = "" ]; then MACHINE=`uname -m` fi if echo $MACHINE | grep sun4u > /dev/null; then MACHINE_NAME=sparc elif echo $MACHINE | grep i.86 > /dev/null; then MACHINE_NAME=i386 elif echo $MACHINE | grep x86_64 > /d...
zxybird-pjsip-blf
configure-legacy
Shell
gpl2
4,271
@echo off if "%*" EQU "" ( echo Usage: svn_add.bat FILE1 ... goto end ) svn add %* svn_pset.bat %* :end
zxybird-pjsip-blf
svn_add.bat
Batchfile
gpl2
122
# Don't change the "export PJ_VERSION_xxx" style, they are parsed by setup.py export PJ_VERSION_MAJOR := 2 export PJ_VERSION_MINOR := 0 export PJ_VERSION_REV := 1 export PJ_VERSION_SUFFIX := export PJ_VERSION := $(PJ_VERSION_MAJOR).$(PJ_VERSION_MINOR) ifneq ($(PJ_VERSION_REV),) export PJ_VERSION := $(PJ_VERSION)...
zxybird-pjsip-blf
version.mak
Makefile
gpl2
438
# # This is a make file for performing various tests on the libraries # # Sample user.mak contents: # export CFLAGS += -Wno-unused-label -Werror # # ifeq ($(CPP_MODE),1) # export CFLAGS += -x c++ # export LDFLAGS += -lstdc++ # endif PJSUA_OPT=--null-audio build_test: distclean rm_build_mak build_mak everything ...
zxybird-pjsip-blf
self-test.mak
Makefile
gpl2
3,137
import sys import os REMOVE_THESE = ["-I/usr/include", "-I/usr/include/", "-L/usr/lib", "-L/usr/lib/"] class Pkg: def __init__(self, pkg_name): self.name = pkg_name self.priority = 0 self.vars = {} def parse(self, pkg_config_path): f = None for pkg_path in pkg_config_path.split(':'): if pkg_path[-1] !...
zxybird-pjsip-blf
pkgconfig.py
Python
gpl2
4,011
include build.mak include build/host-$(HOST_NAME).mak DIRS = pjlib pjlib-util pjnath pjmedia pjsip ifdef MINSIZE MAKE_FLAGS := MINSIZE=1 endif export CPP_MODE=1 all clean dep depend distclean doc print realclean: for dir in $(DIRS); do \ if $(MAKE) $(MAKE_FLAGS) -C $$dir/build $@; then \ true; \ else \ ...
zxybird-pjsip-blf
c++-build.mak
Makefile
gpl2
350
#!/bin/bash F="configure-iphone" if test "$*" = "--help" -o "$*" = "-h"; then echo "$F [OPTIONS]" echo "" echo "where:" echo " OPTIONS Other options that will be passed directly to" echo " ./aconfigure script. Run ./aconfigure --help" echo " for more info." echo "" echo "En...
zxybird-pjsip-blf
configure-iphone
Shell
gpl2
4,470
/* $Id: gui.h 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the...
zxybird-pjsip-blf
pjsip-apps/src/pjsua/gui.h
C
gpl2
1,175
/* $Id: pjsua_app.c 4129 2012-05-17 08:27:46Z 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
pjsip-apps/src/pjsua/pjsua_app.c
C
gpl2
181,495
/* $Id: main.c 3664 2011-07-19 03:42:28Z 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
pjsip-apps/src/pjsua/main.c
C
gpl2
2,491
/* * !! OIY OIY !! * * The purpose of this file is only to get the executable linked. I haven't * actually tried to run this on RTEMS!! * */ #include "../../pjlib/src/pjlib-test/main_rtems.c"
zxybird-pjsip-blf
pjsip-apps/src/pjsua/main_rtems.c
C
gpl2
206
/* $Id: main_symbian.cpp 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
pjsip-apps/src/symsndtest/main_symbian.cpp
C++
gpl2
2,184
/* $Id: app_main.cpp 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
pjsip-apps/src/symsndtest/app_main.cpp
C++
gpl2
10,187
/* $Id: ua.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 published...
zxybird-pjsip-blf
pjsip-apps/src/symbian_ua/ua.h
C
gpl2
966
/* $Id: ua.cpp 3999 2012-03-30 07:10:13Z 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 publis...
zxybird-pjsip-blf
pjsip-apps/src/symbian_ua/ua.cpp
C++
gpl2
29,606
/* $Id: main_symbian.cpp 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
pjsip-apps/src/symbian_ua/main_symbian.cpp
C++
gpl2
2,200
all: python setup.py install clean: python setup.py clean rm -rf ./build
zxybird-pjsip-blf
pjsip-apps/src/py_pjsua/Makefile
Makefile
gpl2
77
from distutils.core import setup, Extension import os import sys # Fill in pj_inc_dirs pj_inc_dirs = [] f = os.popen("make -f helper.mak inc_dir") for line in f: pj_inc_dirs.append(line.rstrip("\r\n")) f.close() # Fill in pj_lib_dirs pj_lib_dirs = [] f = os.popen("make -f helper.mak lib_dir") for line in f: pj_lib_...
zxybird-pjsip-blf
pjsip-apps/src/py_pjsua/setup.py
Python
gpl2
947
/* $Id: py_pjsua.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
pjsip-apps/src/py_pjsua/py_pjsua.h
C
gpl2
83,463
include ../../../build.mak lib_dir: @for token in `echo $(APP_LDFLAGS)`; do \ echo $$token | grep L | sed 's/-L//'; \ done inc_dir: @for token in `echo $(APP_CFLAGS)`; do \ echo $$token | grep I | sed 's/-I//'; \ done libs: @for token in `echo $(APP_LDLIBS)`; do \ echo $$token | grep \\-l | sed 's/-l//'; ...
zxybird-pjsip-blf
pjsip-apps/src/py_pjsua/helper.mak
Makefile
gpl2
329
# $Id: pjsua_app.py 1438 2007-09-17 15:44:47Z bennylp $ # # Sample and simple Python script to make and receive calls, and do # presence and instant messaging/IM using PJSUA-API binding for Python. # # Copyright (C) 2003-2007 Benny Prijono <benny@prijono.org> # import py_pjsua import sys import thread # # Configuratio...
zxybird-pjsip-blf
pjsip-apps/src/py_pjsua/pjsua_app.py
Python
gpl2
21,644
/* $Id: py_pjsua.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
pjsip-apps/src/py_pjsua/py_pjsua.c
C
gpl2
155,816
import py_pjsua status = py_pjsua.create() print "py status " + `status` # # Create configuration objects # ua_cfg = py_pjsua.config_default() log_cfg = py_pjsua.logging_config_default() media_cfg = py_pjsua.media_config_default() # # Logging callback. # def logging_cb1(level, str, len): print str, # # Config...
zxybird-pjsip-blf
pjsip-apps/src/py_pjsua/pjsua.py
Python
gpl2
7,589
// SettingsDlg.cpp : implementation file // #include "stdafx.h" #include "PocketPJ.h" #include "SettingsDlg.h" #include <pjsua-lib/pjsua.h> #include <atlbase.h> #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif #define REG_PATH _T("pjsip.org\\PocketPC") #define REG_DOMAI...
zxybird-pjsip-blf
pjsip-apps/src/pocketpj/SettingsDlg.cpp
C++
gpl2
9,129
#if !defined(AFX_SETTINGSDLG_H__46F18E6E_F411_4D9E_BEE9_619D80BC81DC__INCLUDED_) #define AFX_SETTINGSDLG_H__46F18E6E_F411_4D9E_BEE9_619D80BC81DC__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // SettingsDlg.h : header file // #include <Afxtempl.h> ///////////////////////////////////////////////...
zxybird-pjsip-blf
pjsip-apps/src/pocketpj/SettingsDlg.h
C++
gpl2
2,197
// PocketPJDlg.h : header file // #if !defined(AFX_POCKETPJDLG_H__DF5F90C9_E72B_4557_9126_AFE75A3ADE9D__INCLUDED_) #define AFX_POCKETPJDLG_H__DF5F90C9_E72B_4557_9126_AFE75A3ADE9D__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 #include "SettingsDlg.h" #include "PopUpWnd.h" #include <pjsua-lib...
zxybird-pjsip-blf
pjsip-apps/src/pocketpj/PocketPJDlg.h
C++
gpl2
3,230
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #if !defined(AFX_STDAFX_H__20B05C7D_B63E_4E5C_B3BB_E76C6C9E70B7__INCLUDED_) #define AFX_STDAFX_H__20B05C7D_B63E_4E5C_B3BB_E76C6C9E70B7__INCLUDED_ #if _M...
zxybird-pjsip-blf
pjsip-apps/src/pocketpj/StdAfx.h
C
gpl2
1,045
#ifndef __POPUP_WND_H__ #define __POPUP_WND_H__ class CPocketPJDlg; ///////////////////////////////////////////////////////////////////////////// struct CPopUpContent { CString m_Title1; CString m_Title2; CString m_Title3; CString m_Btn1; CString m_Btn2; }; /////////////////////////////////////...
zxybird-pjsip-blf
pjsip-apps/src/pocketpj/PopUpWnd.h
C++
gpl2
1,378
// PocketPJDlg.cpp : implementation file // #include "stdafx.h" #include "PocketPJ.h" #include "PocketPJDlg.h" #include <iphlpapi.h> #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif #define TIMER_ID 101 static CPocketPJDlg *theDlg; //////////////////////////////////...
zxybird-pjsip-blf
pjsip-apps/src/pocketpj/PocketPJDlg.cpp
C++
gpl2
20,536
// PocketPJ.h : main header file for the POCKETPJ application // #if !defined(AFX_POCKETPJ_H__D90320F8_01F9_4F5C_8655_13CF2FFDDF48__INCLUDED_) #define AFX_POCKETPJ_H__D90320F8_01F9_4F5C_8655_13CF2FFDDF48__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 #ifndef __AFXWIN_H__ #error include 'std...
zxybird-pjsip-blf
pjsip-apps/src/pocketpj/PocketPJ.h
C++
gpl2
1,308
#include "stdafx.h" #include "PopUpWnd.h" #include "resource.h" #include "PocketPJDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif #define IDC_BTN1 10 #define IDC_BTN2 11 ///////////////////////////////////////////////////////////////////////////// // CP...
zxybird-pjsip-blf
pjsip-apps/src/pocketpj/PopUpWnd.cpp
C++
gpl2
5,632
#ifndef __NEWRES_H__ #define __NEWRES_H__ #define SHMENUBAR RCDATA #if !(defined(_WIN32_WCE_PSPC) && (_WIN32_WCE >= 300)) #undef HDS_HORZ #undef HDS_BUTTONS #undef HDS_HIDDEN #include <commctrl.h> // for MenuBar #define I_IMAGENONE (-2) #define NOMENU 0xFFFF #define IDS_SHNEW 1 #define IDM_SHAREDNEW...
zxybird-pjsip-blf
pjsip-apps/src/pocketpj/newres.h
C
gpl2
740
//{{NO_DEPENDENCIES}} // Microsoft eMbedded Visual C++ generated include file. // Used by PocketPJ.rc // #define IDD_POCKETPJ_DIALOG 102 #define IDR_MAINFRAME 128 #define IDI_ONLINE 131 #define IDI_OFFLINE 132 #define IDI_INVISIBLE ...
zxybird-pjsip-blf
pjsip-apps/src/pocketpj/resource.h
C
gpl2
2,923
// stdafx.cpp : source file that includes just the standard includes // PocketPJ.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h"
zxybird-pjsip-blf
pjsip-apps/src/pocketpj/StdAfx.cpp
C++
gpl2
200
all: python setup.py build clean distclean realclean: python setup.py clean rm -rf ./build install: python setup.py $@ dep doc:
zxybird-pjsip-blf
pjsip-apps/src/python/Makefile
Makefile
gpl2
136
/* $Id: _pjsua.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
pjsip-apps/src/python/_pjsua.h
C
gpl2
111,754