summaryrefslogtreecommitdiff
path: root/tests/pjsua/scripts-sipp
AgeCommit message (Collapse)Author
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-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: 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
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
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-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-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
2009-11-06Fixed ticket #986: Assertion when authorization PJSIP_AUTH_AUTO_SEND_NEXT is ↵Benny Prijono
enabled (thanks Zhefeng Du for the report) - also added SIPp scenario for testing git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2988 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-05Ticket #954: Added sipp test scenario for issue 1 (bad SE in 200 response, ↵Nanang Izzuddin
less than min-SE in request). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2987 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-04Fixed ticket #940: Multiple header rows with the same name may not be ↵Benny Prijono
completely processed by PJSIP modules - the parser now collect and aggregate all Supported/Require header fields into single header git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2985 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-26Implement ticket #982: Support for SIP Message Summary/Message Waiting ↵Benny Prijono
Indication (MWI, RFC 3842) - PJSIP-SIMPLE: - implement MWI - PJSUA-LIB: - added "mwi_enabled" flag in account config - added "on_mwi_info" callback - pjsua app: - added "--mwi" option to enable MWI on account - added simple callback to log the NOTIFY message - other: - added SIPp scenario files to simulate UAS side - build: - added MWI support on VS6, VS2005, MMP, and Makefile git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2968 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-21More ticket #937 (presence revamping):Benny Prijono
- Added couple of SIPp scenario files to test various retry scenarios: - uas-subscribe-refresh-481.xml: client should resubscribe immediately on receiving 481 on resubscription - uas-subscribe-terminated-retry.xml: client should resubscribe upon receiving NOTIFY with some specific termination reasons - Added log message when PJSUA-LIB is resubscribing automatically due to above git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2959 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-20Misc (#951): added couple of SIPp scenario XML files for future use:Benny Prijono
- uac-subscribe.xml: generic subscriber - uac-options.xml: send OPTIONS git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2954 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-20More ticket #965: Receiving (malformed) re-INVITE with the same Via branch ↵Benny Prijono
parameter value as previous INVITE would raise assertion (thanks Daniel Nanassy for the report) - added the SIPp XML scenario to reproduce this git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2953 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-06Ticket #964: Assertion when receiving SDP media with port 0 and without ↵Benny Prijono
rtpmap attribute for the dynamic payload type formats (thanks Andrey Kovalenko for the report) - added SIPp scenario to test it with re-INVITE - minor: SDP parsing allow the last line without newline (required for SIPp) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2927 74dad513-b988-da41-8d7b-12977e46ad98
2009-09-22Fixed ticket #959: Assertion upon receiving malformed SIP messages (thanks ↵Benny Prijono
Andrey Kovalenko for the report) - transaction checks for the method before processing incoming ACK request - transport layer checks the validity of status code in the response - added SIPP scenario to reproduce the bad ACK request git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2915 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-30Related to #911:Benny Prijono
- added SIPp scenario for scenario when the first NOTIFY immediately terminates the subscription git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2823 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-30Ticket #911: Crash when receiving NOTIFY after subscription is terminated ↵Benny Prijono
(thanks Johan Lantz for the report) - fixed the bug by not processing the NOTIFY if the subscription is already terminated - also added SIPp scenario to reproduce the bug git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2822 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-27Ticket #693: Allow incoming MESSAGE request without message bodyBenny Prijono
- also added SIPp scenario to test this git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2651 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-27Ticket #798: UAC disconnect call when receiving BYE in early state (thanks ↵Benny Prijono
Gang Liu for the suggestion) - UAC now handles the BYE, and treat it as out-of-order disconnect request, meaning that it will disconnect the call - it will also activate timer to terminate the INVITE transaction, in case final response never arrives - added SIPp UAS scenario to test this - also added forked 200/OK response SIPp scenario, - and fixed the prack_fork.xml SIPp scenario git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2650 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-26Fixed ticket #503: Handle the case when CANCEL is responded with 200/OK but ↵Benny Prijono
487 is not sent - added new API pjsip_tsx_set_timeout() - set 64*T1 timeout after CANCEL is initiated - also added SIPp scenario to simulate the UAS git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2646 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-06Misc (ticket #772): added SIPp scenario for forked PRACKBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2576 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-06Misc (ticket #772): added several SIPp scenario filesBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2575 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-22Created top-level directory tests and moved test-pjsua there. This will be ↵Benny Prijono
the placeholder for future developed tests git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2392 74dad513-b988-da41-8d7b-12977e46ad98