summaryrefslogtreecommitdiff
path: root/tests/pjsua
AgeCommit message (Collapse)Author
2014-01-31Misc (re #1630): Fixed some more typos in the codes.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4724 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-04Closed #1696: IP change detection (Contact rewrite method) based on REGISTER ↵Liong Sauw Ming
final response git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4586 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-27More re #1683: added two SIPP scenarios to simulate IP/port changeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4547 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-27Fixed #1626: Assertion when remote sends re-INVITE with less mediaLiong Sauw Ming
Included in the fix is sipp testing scenario. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4373 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-29Re #1523: use random port for PJSUA instance(s) and configurable SIPp port.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4188 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-29Re #1523: sipp output redirection to /dev/null somehow caused sipp ↵Nanang Izzuddin
unresponsive when the test is run under cdash. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4187 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-28Re #1523: avoid false failure reported by sipp scenario ↵Nanang Izzuddin
uas-422-then-200-bad-se.xml due to codec mismatch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4184 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-28Re #1523:Nanang Izzuddin
- runall.py: fix option parser - run.py: avoid double newlines in logging - mod_sipp.py: redirect sipp output to /dev/null & add sipp error string - misc fixes on sipp scenarios, e.g: regex to get via branch, file rename. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4183 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-26Re #1523: fixed mod_sipp.py problems in executing sipp on unix/mac ↵Nanang Izzuddin
platforms, i.e: should run on shell and non-background mode. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4179 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-26Re #1523: added sipp scenario for call transfer (attended & unattended).Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4178 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-26Close #1523:Nanang Izzuddin
- updated scenarios to work with mod_sipp.py (adding config .py file, etc) - integrated mod_sipp.py to runall.py - removed uas.xml, as it is similar to recvfrom\100_simple.py (REGISTER+resp 200) - renamed scenarios (to allow running these SIPp scenarios without .py file): - prack_fork.xml -> uas-prack_fork.xml - inv_401_retry_after_100.xml -> uas-inv_401_retry_after_100.xml git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4177 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-31Re #1523: Initial version of SIPp python test module.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4147 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunkLiong Sauw Ming
* Backport of r3557:r3832 TODO: ticket #1268 (Option for automatic/manual sending of RTCP SDES/BYE for the stream) for video stream. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3841 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-19Re #1346 (python test fixes): Disabled (temporarily) ↵Nanang Izzuddin
{{{scripts-call/150_srtp_2_3.py}}} as this scenario requires SRTP optional-with-duplicated-media (ticket #1267). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3717 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-19Re #1346 (python test fixes): Updated test scenario that requires pjsua to ↵Nanang Izzuddin
generate multiple media offer using --extra-audio instead of using --use-srtp=3 (optional-with-duplicated-media). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3716 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-18Re #1346 (python test fixes): Updated test scenario involving negotiation ↵Nanang Izzuddin
SRTP-mandatory vs SRTP-disabled or vice-versa, call rejection is using 488 now (was using 406). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3713 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-18Re #1346 (python test fixes): Updated test scenario involving sending ↵Nanang Izzuddin
REGISTER to pjsua, now pjsua has simple registrar so registration will be accepted (was rejected). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3712 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-18Re #1346 (python test fixes): adjust test scenario to follow the new ↵Nanang Izzuddin
behavior of pjsua in selecting active media from multiple media with same types, i.e: it will select the first media (previously/1.x it will will select the last). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3711 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-18Re #1346 (python test fixes): Updated string pattern constants as some pjsua ↵Nanang Izzuddin
log messages has been changed in 2.0. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3710 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19Re #1326: Initial code integration from branch 2.0-dev to trunk as ↵Nanang Izzuddin
"2.0-pre-alpha-svn". git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3664 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05Re #1250: Updated the year in all copyright texts with 2011!Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-23Misc (re #1175): added protection against broken pipe exception in python ↵Benny Prijono
unit test when handling error git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3475 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-02Fixed #1170 (Assertion when receiving updated SDP offer with all media lines ↵Benny Prijono
removed): - pjsua_media.c checks if audio media is present in the offer; if not, do not set any answer - sip_inv.c checks if app has supplied an answer after on_rx_offer() callback is called, and returnd 488 (Not Acceptable) if not (previously, it will return 200/OK without SDP!) - added a SIPp scenario file to reproduce this git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3383 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-02Re #1166 (SDP offer/answer glare): added SIPp scenario file to reproduce thisBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3382 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-16Fixed #1148:Nanang Izzuddin
- Added check in processing answer, if media offer port is zero, just skip negotiation process. - Added SIPp test scenario. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3347 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-12Re #1146: minor fix in test file commentsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3338 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-12Closed #1146: support for multipart message bodies in incoming NOTIFY requestsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3337 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-05Fix #1143:Nanang Izzuddin
- Fixed no audio bug when pjsua with SRTP optional-with-duplicated-offer calls pjsua with SRTP disabled, by updating active media index after SDP negotiation done. - Fixed bug in generating SDP, pjsua_media_channel_create_sdp(), by making sure all media in the SDP candidate are aligned with current active SDP before calling pjmedia_transport_encode_sdp(). - Fixed bug in modifying SDP for call hold, the media index to be modified was hardcoded to 0, should be active media index. - Added python tests for calls with SRTP optional-with-duplicated-offer. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3334 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-28Closed #1139 (Support for tel: URI in PJSUA-LIB):Benny Prijono
- added new PJSUA API: pjsua_verify_url() which can be used for tel: URI - modified and tested according to spec - added new PJSIP error code, PJSIP_ENOROUTESET, to indicate that route set is needed to send to tel: URI - added couple of unit tests (we can't cover the whole tel: URI scenario yet) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3323 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-08Re #1120: Fixed session timer python test scripts, pjsua app param ↵Nanang Izzuddin
--use-timer is requiring param value now. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3307 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18Automated test (re #1111): fixed test scenario ↵Nanang Izzuddin
scripts-recvfrom/301_timer_good_retry_after_422.py to use separate transaction for ACK (pattern matching was done to ACK, instead of INVITE). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3287 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18Automated test (re #1111): decrease Speex PESQ threshold as it is not always ↵Benny Prijono
able to achieve that, possibly depending on the host activity git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3286 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18Automated test (re #1111): workaround for failed Speex PESQ test caused by ↵Benny Prijono
progressive discard in the jitter buffer: disable the VAD for the Speex tests git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3285 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18More automated test (re #1111): added simple recvfrom testBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3284 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18Misc (re #1110): fixed bug in the python unit test that caused tests to run ↵Benny Prijono
for much longer than needed because it unnecessarily waits for incoming message until timeout occurs git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3283 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-09Misc (re #1068): fix python self-test module 'mod_recvfrom.py':Nanang Izzuddin
- increased message waiting timeout to 30s (was 10s) - added call_id check in retransmision detection git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3259 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-06Misc (re #1068): fix the misleading alien socket error from the SIP python ↵Benny Prijono
self-test module git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3252 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-06Misc (re #1068), updates in python test:Nanang Izzuddin
- increased receive buffer size in python test driver function inc_sip.Dialog.wait_msg_from(), the previous buffer size (2048) caused socket exception in receiving large SIP packet. - updated verification regex in scripts-sendto/330_srtp_prefer_rtp_savp.py (related to changes in #668: omitting media attribute in disabled/rejected media). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3251 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-05Misc (re #1068): added pjsua win32 executable name list in python test ↵Nanang Izzuddin
driver (to look up default pjsua executable). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3248 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-01Implemented core multipart support and support in the invite session (re #1070)Benny Prijono
- incoming multipart message will be handled automatically - for testing, enable HAVE_MULTIPART_TEST in pjsua_app.c git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3243 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-21Fixes #1047 (Don't send UPDATE if remote doesn't support it (thanks Bogdan ↵Benny Prijono
Krakowski for the report)) and fixes #1097 (Support sending UPDATE without SDP). Details: - Session timer fixes: - will look at remote capability in Allow header - if UPDATE is supported, will send UPDATE without SDP first. If this fails, will send UPDATE with SDP - otherwise will send re-INVITE - PJSUA-LIB will look at dialog's remote capability to determine whether re-INVITE or UPDATE should be sent to change default addresses after ICE negotiation. - pjsip_inv_update() now allows NULL offer, in which case the UPDATE will be sent without SDP. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3215 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-16Fix #1045:Nanang Izzuddin
- Fixed invite module to reset SDP negotiator state after incomplete SDP offer-answer in re-INVITE/UPDATE. - Added some SIPp test scenarios. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3208 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-15Fix #476:Nanang Izzuddin
- Added lock codec feature to make sure that only one codec is active, by updating media session using UPDATE (if remote supports it) or re-INVITE. - Added few SIPp test scenarios. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3206 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-03Fix #1073:Nanang Izzuddin
- Fixed SDP negotiation in processing answer: when the answer has less media count, generate disabled-media to match the media count. - Added python test. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3195 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-03Misc (re #1068): fixed python test lib inc_sip.py, wrong member name refered ↵Nanang Izzuddin
in RecvfromTransaction initialization. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3194 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-03Re #1074: Added python test for SRTP receiving too long key.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3193 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-02Fix #1088:Nanang Izzuddin
- Fixed SDP negotiation to ignore disabled media (with port 0) in the answer. - Added a SIPp scenario for reproducing the issue. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3192 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-29Refs #1061: added unit test to test handling of empty realm in 401/407 challengeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3150 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-20Misc (#1026):Benny Prijono
- fixed wrong Unix detection in Python automated test git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3142 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-27Ticket #1041 (Unit test):Benny Prijono
- Initial Windows/MSVC work git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3122 74dad513-b988-da41-8d7b-12977e46ad98