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
Juha Heinanen
b280576c5c
* Added conditional support for OpenSER 1.3.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@375 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
2d07b7b821
fixes SessionComponent hook handling onSendRequest;
...
this fixes requests sent with session timer to contain SST headers
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@282 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Raphael Coeffic
4ddc7a6714
- suppressed all hard-coded "P-Iptel-..." and replaced through PARAM_HDR and APPNAME_HDR.
...
- changed PARAM_HDR to "P-App-Param"
- changed APPNAME_HDR to "P-App-Name"
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@272 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
7c964b9b03
unifies indentation level in all source files to 2 (-i2)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@261 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
fa35cb1cdf
* functions for taking all session specific parameters from P-Iptel-Param
...
* changed apps that use session specific params to use P-Iptel-Param by default
* added getSessionParam function to ivr
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@260 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Raphael Coeffic
e6fa3fd711
- fixed some more issues with py_sems. It should work with the example now.
...
- added an example for py_sems (py_sems_ex/early_media.py).
- added audio features to py_sems.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@233 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
cd1752047b
fixes RTP_TIMEOUT bug in signaling only b2b situations
...
- on RTP timeout, AmSession::onRtpTimeout is called
- session can be removed from media processor (detached)
by AmMediaProcessor::removeSession
- removing session from MediaProcessor and clearing audio
is AmMediaProcessor::clearSession (default action on
RTP error)
- added detach from media processor to conf_auth and ann_b2b
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@209 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
14489dd125
some extensions to ivr
...
* new methods onSipRequest/onSipReply, the whole AmSipReply/AmSipRequest structure is passed to python
SipDialog
* state is changed only on reply to INVITE, not other requests
* made pin_collect work
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@189 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
17530b75bd
adds 'transfer' function to ivr. this is used by the pin_collect application.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@188 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
dbbdd8c616
* UserAgent/Server header
...
* Max-Forwards header (bugfix)
* documentation for Signature, listen_ip, sip_port
* small fix in auth (algorithm not quoted)
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@178 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
d21931f330
* out of dialog REFER creates a new dialout session
...
* fixed bug in error reply
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@146 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
a5dbceef55
adds sending REFER in dialog
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@140 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
f776df7eb8
fixes some problems related to contact:
...
* contact header is correctly sent in subsequent requests in dialout sessions
* contact header is not sent in BYE/CANCEL and positive replies to BYE
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@139 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
60668be1fb
only take remote_tag on incoming reply if 101 < code < 300 (remote tag set: "dialog established")
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@124 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
6c4b6d2da4
added cseq to onSendRequest function of SessionEventHandler API
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@123 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Raphael Coeffic
c75dd1bae7
merged changes from rel_0.10.0_rc1@106 made at sipit into trunk.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@116 8eb893ce-cfd4-0310-b710-fb5ebe64c474
20 years ago
Stefan Sayer
11d9cb8888
moved (static) methods interfacing to ser to AmServer
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@104 8eb893ce-cfd4-0310-b710-fb5ebe64c474
20 years ago
Stefan Sayer
a4a513624c
removed unneeded UserData in CtrlInterface
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@87 8eb893ce-cfd4-0310-b710-fb5ebe64c474
20 years ago
Stefan Sayer
4e6ce9cb16
dialout. see AmUAC for API.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@71 8eb893ce-cfd4-0310-b710-fb5ebe64c474
20 years ago
Raphael Coeffic
78b94715b9
added call to t_cancel even if no reply has been received for one request.
...
this should stop ser's retransmissions (at the moment, it does not, but we are working on it).
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@56 8eb893ce-cfd4-0310-b710-fb5ebe64c474
20 years ago
Raphael Coeffic
099d706bc3
fixed contact updating on reply.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@47 8eb893ce-cfd4-0310-b710-fb5ebe64c474
20 years ago
Raphael Coeffic
797d60a4d7
fixed error handling in AmSipDialog::reply.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@37 8eb893ce-cfd4-0310-b710-fb5ebe64c474
20 years ago
Raphael Coeffic
37abd5379e
initial checkin new open source version.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@5 8eb893ce-cfd4-0310-b710-fb5ebe64c474
20 years ago