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
Stefan Sayer
8f741539a2
char* -> const char*
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@801 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Raphael Coeffic
0534dbc2b9
- fixes SEMS-29 (see tracker.iptel.org).
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@799 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Raphael Coeffic
b9963000bc
corrected typo in comment.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@769 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
48feeca9a8
o relayed requests in b2b are relayed without adding headers (Signature/Max-Forwards)
...
o moved adding Max-Forwards from ctrl plugins to AmSipDialog
o moved adding User-Agent from ctrl plugins to AmSipDialog
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@760 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Raphael Coeffic
d0a74c550e
- fixes the issue with B2BUA and bad 'Contact' as reported by Juha.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@749 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Raphael Coeffic
2f920da7c2
- fixed various bugs including missing body in new requests.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@672 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
02a07d0767
fixes some CRLF issues
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@667 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
d644a333f4
fixed getLocalURI which is now getContact
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@662 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Raphael Coeffic
274c6ec45c
Merged internal_sip_stack branch -r 539:659 into trunk.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@660 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
1e2c65a43d
correctly reply errors
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@595 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Raphael Coeffic
80461b82c6
- adds the new SASI interface
...
- splits the interface to the outer world from the core:
- use binrpcctrl plugin for SASI interface, or
- unixsockctrl for the good old unix socket interface.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@568 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Juha Heinanen
1e49381d0e
* In OpenSER mode cr is added after lf only if it is not already there.
...
There may be a bug in sems, because sometimes cr is in sdp body (like
when calling out using di_dial) and sometimes not (like inviting a new
member to conference).
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@535 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
22184f24d7
* updating contact on reply only if contact present
...
* update next_hop only if present
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@508 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Juha Heinanen
6a1bdaceb8
* Added forgotten OpenSER version of AmSipDialog::cancel().
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@427 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Juha Heinanen
b93bc9d3fd
* Added OpenSER version of AmSipDialog::reply_error.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@399 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Juha Heinanen
6b7ecc4ba9
* Added CR before each LF in some OpenSER MI command arguments.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@396 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago