Stefan Sayer
c5a316802c
precoded announcement fixes by Andrey Samusenko
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1655 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
af99a7f223
onOutgoingInvite callback when sending INVITE
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1507 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
150721c5a9
Content-Type taken from sip requests' property
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1471 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
41a78d52e6
return 400 (client) error on invalid address. Log as warning, not error
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1465 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
8f608fa781
setStopped with wakeup option
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1266 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
669570bfd3
new event handler onBeforeDestroy(): called in the session thread before the session is destroyed, i.e. after the main event loop has finished
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1162 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
f473817929
session_num needs to be protected with mutex in multi core systems (cache)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1124 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
d9884e05d1
first steps on proper shutdown:
...
- active sessions and other event receivers
get a SystemEvent::ServerShutdown,
default behaviour of AmSession is setStopped()
- session container waits for all sessions to be ended
- signaling server, rtp receiver, media processor, event dispatcher
are stopped and deleted
based on a patch by Rui Jin Zheng rjzheng at boronetworks dot com
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1087 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
32cd6ba786
moved AmSessionEventHandler into its own file, so that AmSession methods are easier to find. make session event handlers callable by AmSession descendants (thanks Rui Jin Zheng)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1086 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
7fb353e7ee
fixed line break
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1050 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Raphael Coeffic
7030673b90
- moved the "dialog-lookup-container" away from the session container into AmEventDispatcher.
...
- removed AmSIPEventHandler (its functionalities are now in AmEventDispatcher).
- added possibility for each plug-in to receive out-of-dialog messages (any kind).
- added possibility to handle dialogs without creating a session (=AmSession).
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1006 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
6231f30c16
488 reply (instead of 606) if no compatible codec found
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@995 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
6f44a030bb
core ZRTP support (see zfoneproject.com)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@950 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
b2e7133c08
fixed setting content type in SipRequest; reply error in case of unknown INFO content type. Thanks to Alex Gradinar
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@934 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
2da3de7ff0
trying content_type directly for DTMF, as reported by Alex Gradinar
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@932 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Richard Newman
3c7c8297f5
Add configuration parameter 'public_ip' and mechanisms to use it in SDP body generation.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@917 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
9e30482326
o moved payload selection to AmPlugIn
...
o possiblity to use other than the system (AmPlugIn) payloads for negotiation
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@817 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
Stefan Sayer
267e309d7a
moving SMTP stuff to voicemail app
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@676 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
052984ad11
support for inband dtmf detector from spandsp lib (www.soft-switch.org)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@545 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
b7a06b5c71
session's local tag may be set in SessionFactory's onInvite method
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@518 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
7e9f32768c
pinging remote on early session for opening FW/NAT/symmetric rtp
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@516 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
c461a95986
fixed possible deadlock situation on incorrect localIP/raddr
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@515 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
f91fe91c18
support for extra headers in dialout calls
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@513 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
b5c6354ae8
support for setting the URI of a session in SDP
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@512 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
061dcad669
o early media receiving support
...
o local audio input support
o posting conference event support
o explicit monitor_rtp_timeout set
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@505 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
df041a16ed
train ride doxygen documentation
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@457 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
0f6efa9be2
handles failed sendInvite properly
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@393 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
79aaf4685b
corrected log info
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@312 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
dcf73ae3e6
fixed log message severity as reported by juha
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@311 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
Maxim Sobolev
3b527c2353
Include all possible payload types into 200 OK and actually accept any of them
...
in the RTP stream. It is possible to disable this new behaviour using
single_codec_in_ok parameter in the sems.conf.
Developed by: Sippy Software, Inc.
Sponsored by: Digifonica Canada Limited
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@279 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
4e6f4a917b
sessions can be set onHold with AmSession::setOnHold, if you want a reinvite with on Hold, call AmSession::Reinvite after setOnHold
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@277 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
Stefan Sayer
f90559a595
fixes binding to wrong interface on multi-homed machines (sems will use the device configured with listen=... )
...
thanks Scott for reporting
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@255 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
f4d64a3d76
applies patch from Andriy which makes adaptive jitter buffer and adaptive playout buffer selectable at run time
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@254 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Raphael Coeffic
4a82d793a3
- added a centralized pseudo-random number function.
...
- changed rand() calls to get_random().
- added/fixed ssrc (RTP header) generation.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@252 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
6d8f8d9645
enabled Id svn keyword property
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@145 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
bbfe61da5f
changed SessionScheduler name to MediaProcessor
...
ivr python version changed to 2.4 by default Makefile
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@95 8eb893ce-cfd4-0310-b710-fb5ebe64c474
20 years ago
Stefan Sayer
e35497f882
simplified dtmf handling
...
removed AmDtmfHandler: Aggregated dtmf event is posted into
session's event queue directly.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@88 8eb893ce-cfd4-0310-b710-fb5ebe64c474
20 years ago
Stefan Sayer
484797c053
DTMF event handling fixed: keypresses are now handled by the session's (signalling) thread
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@82 8eb893ce-cfd4-0310-b710-fb5ebe64c474
20 years ago
Stefan Sayer
c98b38ecc6
fixes sems originating sessions (conference dialout, b2b)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@75 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
98e12fce87
* removed some unnecessary debug infos.
...
* moved onOtherError to onOtherReply.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@54 8eb893ce-cfd4-0310-b710-fb5ebe64c474
20 years ago
Raphael Coeffic
9421bbe432
added dialout in conferencing module.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@42 8eb893ce-cfd4-0310-b710-fb5ebe64c474
20 years ago