Commit Graph

23 Commits

Author SHA1 Message Date
Benny Prijono 53984d1923 Ticket #760: Enhancements to PUBLISH management (thanks Johan Lantz for the suggestion)
- Changes in PJSUA-LIB
    - retry with fresh request on 412/Conditional Request Failed response
    - changed default Expires in PUBLISH request to none (we will not put Expires), to avoid getting 423/Interval Too Brief response
    - if the PUBLISH fails for any reason, it will be retried on every PJSUA_PRES_TIMER (default 300 seconds), similar to how failed SUBSCRIBE will be retried
 - Changes to publish.h:
    - added API to add headers in every PUBLISH request
 - Added test scenario in Python unit tests



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2661 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-28 22:19:49 +00:00
Benny Prijono 81a99c3d8d Ticket #693: Allow incoming MESSAGE request without message body
- also added SIPp scenario to test this



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2651 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-27 14:30:10 +00:00
Benny Prijono 7efa2d60cc Ticket #798: UAC disconnect call when receiving BYE in early state (thanks 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: https://svn.pjsip.org/repos/pjproject/trunk@2650 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-27 12:50:16 +00:00
Benny Prijono 99b0437ab4 Fixed ticket #503: Handle the case when CANCEL is responded with 200/OK but 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: https://svn.pjsip.org/repos/pjproject/trunk@2646 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-26 11:02:04 +00:00
Benny Prijono 8ba349f211 Misc (ticket #772): added SIPp scenario for forked PRACK
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2576 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-06 15:41:30 +00:00
Benny Prijono 1f6331a2ea Misc (ticket #772): added several SIPp scenario files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2575 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-06 15:04:48 +00:00
Benny Prijono d9e8dfea2d Initial fixes for ticket #747: bugs in parsing SIP torture messages (RFC 4475):
- SIP version components may be separated by whitespaces (e.g. "SIP / 2.0")
 - parsing of mangled header when for unknown/generic header
 - Via parameters were parsed with paramchar rather than token
 - handling NULL character inside quoted string

Some torture messages have been added in the Python test.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2505 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-12 11:25:11 +00:00
Benny Prijono 451b2c5ced Ticket #726: bug in parsing tel: URI causing syntax error in processing the request (thanks David Weidenkopf for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2451 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-13 10:13:08 +00:00
Benny Prijono f17942ea46 Ticket #718: Crash when handling incoming request without rport (thanks Norma Steveley and Seth Hinze for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2442 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-06 08:44:23 +00:00
Benny Prijono 18ece2f066 Allow SIP messages in mod_sendto.py to insert fields (ticket #707)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2440 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-06 07:56:09 +00:00
Benny Prijono 459a0ff755 -
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2417 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-05 15:31:25 +00:00
Benny Prijono f84081dfcf -
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2415 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-04 21:28:10 +00:00
Benny Prijono 8a0e97b2c9 Fixed exception error on the Python test due to child process already exiting
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2414 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-04 20:15:37 +00:00
Benny Prijono bf7b842aa7 Added dummy configure test for VS and Symbian tests and don't stop the whole tests when exception thrown from ccdash
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2413 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-03 23:53:05 +00:00
Benny Prijono 456e58f013 Fixed error with platform detection in cdash test
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2411 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-02 18:51:25 +00:00
Benny Prijono d5962679b7 Test refinements for mingw etc.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2410 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-02 18:15:07 +00:00
Benny Prijono fee946baa1 Added Symbian test configurator
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2405 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-01 00:11:17 +00:00
Benny Prijono 0b262934c6 CDash test for MSVC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2404 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-30 16:19:38 +00:00
Benny Prijono 9be224f1e8 Added copyright text in python test files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2401 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-29 17:57:13 +00:00
Benny Prijono 3978603f6a Changed eol-style on README.TXT, and clean up cfg_site_sample.py
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2400 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-29 15:04:00 +00:00
Benny Prijono 49048d9f04 Added cdash framework for pjsip tests. Currently there is only test framework for GNU
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2399 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-29 14:56:32 +00:00
Benny Prijono 43b6ecea36 Added --list argument to list tests in runall.py, and fixed build.mak location error due to moving test directory last time
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2398 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-29 14:52:29 +00:00
Benny Prijono 945aeb2681 Created top-level directory tests and moved test-pjsua there. This will be the placeholder for future developed tests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2392 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-22 18:54:58 +00:00