Stefan Sayer
cc8d1cff04
b/f: reINVITEs failing once PRACK is in use
...
fixes issue SEMS - 55 https://bugtracker.iptel.org/view.php?id=55
patch by Thomas Gelf
15 years ago
Stefan Sayer
4d9c139696
initialize all rseq related values (for safety)
15 years ago
Stefan Sayer
1af9f3c008
b/f: ignore rel100OnRequestOut if rel1xx_ignored
15 years ago
Stefan Sayer
88789eb124
transparent 100rel mode for SBC app
...
- add reliable_1xx REL100_IGNORED, where all rel100 stuff is ignored
- set B2B sessions as reliable_1xx=REL100_IGNORED
- translate RAck Cseq
- for this: adds rack_method and rack_cseq to sip request (should possibly be reworked to use some dynamic field)
- relay Rseq (if exist)
15 years ago
bpintea
ec5fb74b45
100rel fix: 420 reject only if Require present, not Supported
...
b/f: don't reject INVITEs featuring 100rel if Supported is present, but
Require (c&p err)
15 years ago
bpintea
d4a17dd659
Merge branch 'master' of ssh://git.sip-router.org/sems
15 years ago
bpintea
9e1ec3433c
100rel enhancements
...
- change the way RSeq accounting is done: changed signed data type to
unsigned, at expense of adding two more vars to AmSipDialog; this
should make AmSipDialog more replication friendly.
- b/f: if 100rel is disabled and an inbound request asks support for it,
reply with 420.
15 years ago
bpintea
07d01660a3
100rel b/f
...
b/f: if '100rel' string already present in the right header
(Require/Supported), don't add it again.
The fix should help in B2B cases.
15 years ago
Stefan Sayer
7fee6a1743
fixed missing CRLF in transfer header
15 years ago
bpintea
ce90db7205
rework of 100rel support
...
The 100rel logic moved in great part to AmSipDialog; this way, it can be
hooked directly to request/reply processing routines, the ones on top of
the transactional layer (::updateStatus(..)).
This allows to:
- better control when to push the messages into the AmSession's
onSipRequest/~Reply, fixing some issues with applications that received
replies, but without sending themselves the requests
- insert needed headers, no matter which request function is used
(::invite() vs. ..sendRequest())
15 years ago
Stefan Sayer
daa9c241ff
sbc: routing with next hop
15 years ago
Stefan Sayer
e9eae2154e
moved error reply string to #define
15 years ago
Stefan Sayer
9b18480957
don't send User-Agent in BYE sent from B2B
15 years ago
Stefan Sayer
cc31436797
don't send User-Agent in session refresh from SEMS
...
by passing SIP_FLAGS_VERBATIM all the way down...
15 years ago
Stefan Sayer
7dcb7e2abb
added OpenSSL linking exception to license
16 years ago
Stefan Sayer
90cccb3383
reworked SST + B2BUA implementation
...
- B2BUA app with SIP Session Timer (SST) now can also use UPDATE
(see session_refresh_method in sst_b2b.conf)
- if re-INVITE is used, normal SDP OA (INVITE+SDP/200+SDP) is done
using last established SDP (instead of delayed SDP negotiation
and SDP ping-pong)
- SDP is compared only after o= line (no SDP ping-pong with UAs which
always increase SDP version)
16 years ago
Stefan Sayer
903e909f8b
add suggested parentheses around ‘&&’ within ‘||’
16 years ago
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