Ondrej Martine
2ee9a90417
* use the standard getopt() to parse command-line options
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1877 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
17 years ago
Raphael Coeffic
4a332caf8a
- fixes compilation on macosx.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1875 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Ondrej Martine
ccec6fe36c
* command-line parsing
...
- options now properly override configuration settings
- fix arguments checking and cleanup error messages
- "-D" accepts string level (eg, "info"), etc.
[ ...prepare for switching to getopt soon... ]
* signal handling and more gracious shutdown procedure
- fix possible race condition in the signal handler (eg, static
AmMutex and AmCondition)
- dispose instances synchronously in main() instead of in
the signal handler
- replace multiple "exit()"s by a single exit point
- remove PID file on failure exit
* add possibility to disable daemon mode at compile-time (see
DISABLE_DAEMON_MODE macro)
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1872 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Ondrej Martine
d56a9fa574
* ivr_log(): use core logging API instead
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1871 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Ondrej Martine
3a28ee48a5
* change the format of messages for stderr and syslog (eg, debugging
...
info goes after the message)
* add thread ID to the logging facility API
* on linux, use gettid() syscall instead of pthread_self() for
thread ID
* convert syslog logging to a logging facility
* add possibility to disable syslog at compile-time (see
DISABLE_SYSLOG_LOG macro)
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1870 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Ondrej Martine
c7df7e63fb
* add possibility to stop the new SIP controller
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1869 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Ondrej Martine
9f0a92f210
* add proper destruction of plugins (all instances are now destructed in AmPlugIn::dispose())
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1868 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
c77e89564f
b/f: accept_early_session is on outgoing call
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1867 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
155e4af0ec
missing algorithm header for find
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1866 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
557449f53e
add and sub actions
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1865 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
22ba41b066
for outgoing calls, ringing/early/failed events.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1864 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
87494ffa45
pass variables to other DSM call for dlg.dialout()
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1863 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
54453a3946
setInOutPlaylist
...
releaseOwnership function in DSMSession
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1862 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
350ef3ca64
- fixes support for strict router.
...
- some cleanup.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1861 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
b627feec06
another mode for the AmAudioQueue where it doesn't own the entries in it
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1858 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
7da9be991b
- do not relay 100 replies (100 is hop-by-hop).
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1857 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
e1f778aea4
monitor_select_fallback : application to execute if mon_select failed (no matching record found)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1856 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
f198235dfa
- corrected typo.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1855 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
ce9e36265e
fix locally originated 200 ACKs for B2B calls
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1854 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
17 years ago
Raphael Coeffic
d29892932f
- fixes 200 ACK for AmB2BSession.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1852 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
17 years ago
Stefan Sayer
fcebf1a6a9
added note about todo in b2b
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1850 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
17 years ago
Stefan Sayer
23f9b88d55
don't delete msg twice when sending fails
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1848 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
17 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
17 years ago
Stefan Sayer
f3cb6178c5
don't bail on error creating voicebox spool dir
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1845 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
9ea2b5318a
removed some more obsolete ser-sems stuff
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1844 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
4e2f0738fa
extra targets for text doc from html doc
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1843 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
536e79426a
- added some description + warning for AmSipDialog::reply_error.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1842 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
17 years ago
Raphael Coeffic
50c8c03298
more cleanup...
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1840 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
a793c6dc74
some cleanup
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1839 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
bb662b3955
- PYTHON_LIDIR and PYTHON_DIR definitions taken from ivr module (works much better)
...
- removed generated files to achieve better compatibility with py-sip.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1838 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
2e15161203
fixed for changes in AmSipDialog, AmSipReply and AmSipRequest.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1837 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
1f2b2598ad
fixed DTMF propagation (only for RTP events)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1836 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
17 years ago
Stefan Sayer
94d697dd4e
make this compile for old spandsp version (cast required)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1834 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
971500b0b5
propagate event TS to aggregating DTMF detector. this help detecting same key presses that follow each other closely
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1833 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
d4d7fa1bf6
- adapted to the modifications of the structures in core.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1832 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
bd6abe3b26
- plug-in fixed after the last changes.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1831 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
17 years ago
Stefan Sayer
a2beb11e27
removed extra characters
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1829 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
17 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
17 years ago
Stefan Sayer
03bf1e1b15
json-rpc v2.0 module.
...
transport over netstrings/tcp. still experimental.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1826 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
41c2e7ca67
default config always with prefix /usr/local/lib
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1825 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
0884ede3fc
updated tracker url
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1824 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago