Stefan Sayer
a9c7556c2c
b/f: ignore prov replies in canceled INV
...
- provisional replies received for canceled INVITEs are ignored
- if bye() is called for pending call and no UAC trans to cancel,
go into Disconnected state
15 years ago
Raphael Coeffic
fbfc347f1a
b/f: outbound_proxy would only work if forced.
15 years ago
Raphael Coeffic
7ce97d910a
getContactHdr uses outbound_interface.
15 years ago
Raphael Coeffic
766e7fb969
adds outbound interface computation to AmSipDialog.
15 years ago
Raphael Coeffic
c0d2983181
Make the outbound interface manually selectable (signaling & media).
...
In the context of multihomed servers, the signaling interface can be selecetd by the application. By default, the signaling interface is determined automatically. The media interface can also be set manually, there is however no automatic selection. In the case it is not set by the application, the default interface (the first one defined) is used instead.
15 years ago
Raphael Coeffic
aafc7ba080
Wip: adds multiple interface to config reader
15 years ago
Stefan Sayer
c2607f4349
better debug log: status before and after process
15 years ago
Stefan Sayer
660f23aa83
sbc: next_hop_for_replies option
...
making use of next hop for replies configurable
15 years ago
Stefan Sayer
ed118aba69
Merge branch 'master' into nxp_replies
...
* master:
b/f: use outbound_proxy for 200 ACK, too
15 years ago
Stefan Sayer
afa389278a
b/f: use outbound_proxy for 200 ACK, too
15 years ago
Stefan Sayer
98966f25d8
if set, use next_hop ip:port for replies, too
15 years ago
Stefan Sayer
74c17a0cbe
b/f: use next_hop_ip/next_hop_port for 200 ACK
15 years ago
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