Stefan Sayer
844caecfca
b/f: don't continue processing after 500 reply
...
in case of INVITE pending
16 years ago
Stefan Sayer
fdb28ab072
small optimization
16 years ago
Raphael Coeffic
38698f8882
use bye() instead of sendRequest("BYE")
...
- causes the state of the dialog to be changed the correct way while trying to tear down a call for which CANCEL has been rejected.
16 years ago
bpintea
d074c0c0cd
removed "#if 0" dead code
...
removed code disabled during development of 100rel extension
16 years ago
bpintea
cf3c93492a
Merge branch 'master' into bpintea/prack
...
Resolved conflicts:
core/AmSessionEventHandler.h
core/plug-in/uac_auth/UACAuth.cpp
b/f: missing 'old_dlg_status' param in some onReply's:
apps/auth_b2b/AuthB2B.cpp
apps/registrar_client/SIPRegistrarClient.cpp
apps/sst_b2b/SSTB2B.cpp
16 years ago
Stefan Sayer
216e8646ef
core: fix access to erased transaction
16 years ago
Stefan Sayer
7fbe92bbd7
fix authentication on outgoing calls
...
uac auth now resets the dialog status back to what it was before
the failed request, if a request is retried with authentication.
16 years ago
bpi
6d27feb346
add support for 100rel extension (prack)
16 years ago
Raphael Coeffic
9fcb7be156
- sessions are now terminated if no 200-ACK is received until timer H expires.
...
- an event handler has been added to notify the app about missing non-200 ACK.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1893 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
384a0864b9
fix: added missing brackets for contact header generation
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1883 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
ed96f3db8d
support public_ip for contact
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1880 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
7cae214d9c
- small enhancements and clean-ups for the SIP stack (work in progress...).
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1876 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
f198235dfa
- corrected typo.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1855 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
05f37164e8
- fixes Route header for 200 ACKs.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1853 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
2267ae71e7
- calls onSipRequest for ACK and CANCEL.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1851 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
5d82971221
reindented everything, and stopped that indentation mess
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1849 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
f3976314b2
500 is correct answer if invite uas trans pending
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1847 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
5b78cc6299
fixed remote cseq checking
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1846 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
1695507989
- some more small fixes.
...
- added cseq checking.
- added pending INVITE checking.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1841 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
a793c6dc74
some cleanup
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1839 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
c4c926bd69
added the max_forwards configuration option.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1835 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
ebedeabf34
make this compile again
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1830 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
2ed490e7ca
- send_200_ack now clears the transaction entry from uas_trans.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1828 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
dea103ae68
- make the AmSipDialog call the SIP event handler within AmSession, instead of the opposite.
...
- WARNING: this code is not yet tested.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1827 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
d909b7a34f
- fix for the case where force_outbound_proxy is set to "yes" whereby no outbound_proxy has been set.
...
- added description for the new option in the example config file.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1819 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
b24f51ef5b
- simplified some code in the SIP stack
...
- introduced outbound_proxy+force_outbound_proxy at the SIP dialog level (AmSipDialog)
- outbound_proxy+force_outbound_proxy is configurable in the sems.conf
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1818 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
d6a547ca8e
- removed sticky "next_hop".
...
- if an outbound proxy is necessary, it should be set in the configuration parameters.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1811 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
d31ef86751
- added support for multiple SIP/UDP receivers.
...
- some cleanups.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1804 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
6c6cdf5615
fixed DBG format of trans ticket
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1795 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
778da1ad57
the old serKey has been replaced by a proper transaction ticket specific to the internal SIP stack.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1778 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
61176bc0ce
fixed contact header generation
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1772 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
00aa71fad7
- moved sipctrl plug-in into the core (core/sip).
...
- static library sip_stack.a (with dependencies on the core).
- removed AmServer and moved SipCtrlInterface into the core directory.
- TODO:
- CMake support to make core/sip/sip_stack.a and link against it in the core.
- merge AmSipRequest/AmSipReply and sip_msg structures.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1758 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
be85aa2c19
fixes ACK handling in B2BUA, which was broken due to moving ACK handling on user layer
...
(sems_trunk_fix_b2b.patch)
also fixes a bug in SIP stack transaction update (to-tag)
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1650 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
3245bc053c
using header name defines
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1574 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
b724a2e37a
bf: send ACK only for INVITE
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1572 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
04f517d70c
- don't update dialog status when processing ACK
...
- only update remote URI on target refresh requests (INV, UPD, SUB, NOT)
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1545 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
eba6b14da0
fix: don't erase the transaction before having sent 200 ACK
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1462 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
25875e49a6
First part of the outbound proxy / 200 ACK patch:
...
- moved 200 ACK from sipctrl into the UA.
- [request|dialog].next_hop ("host:port") can be used to set the outbound host/port.
- 200 ACKs are passed to the UA.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1460 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
40d1c05646
allow expires=0 for refer (cf 3261 20.19)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1434 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
9b4bba32d7
refer optionally with expires
...
some fix with CRLF on refer-to
some fix with content_type on announce_transfer
based on patch by Balint Kovacs
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1388 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
f5fcaeabc3
optionally send headers with BYE (e.g. Reason) patch by Robert Szokovacs
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1387 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
75c40f15e5
SEMS-40: improved logging
...
- print-msg.diff: create a string representation out of a AmSipRequest/~Reply; this can be used when an incoming message is discarded for some reason;
- log-thread-id.diff: with debug builds, log the thread ID as well: the process ID doesn't really help when trying to trace a call flow;
- di-arg-log.diff: when doing an DI call that fails, be more verbose about the reason (like what kind of argument is expected and what is received).
Patch by Bogdan Pintea.
- changed log format a li'l
- added NO_THREADID_LOG compile option to disable thread id logging
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1078 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Raphael Coeffic
17dbcae046
- fixes a possible issue with dead sessions if a BYE request is replied with an error.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1030 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
f217955caf
fixed overwriting remote uri with empty value
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1023 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
7e57a1b1d2
overwriting local tag when establishing the dialog. fixes problems with early dialog from forked destination. patch from Alex Gradinar Alex.Gradinar at cartel.md
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1012 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
75550a43b2
fixed misleading error message to dbg level
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@937 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
895c904974
removed going to misleading extra debug message in case of bye with no UAC transaction pending
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@930 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
39131cb061
serKey allocated in core (fixes strange crashes iff linking with other stuff)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@923 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
ca1e19de52
only update remote uri if there is a contact in the reply
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@854 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
cbead2dbf4
adding server signature to error_reply
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@809 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago