Commit Graph

586 Commits

Author SHA1 Message Date
Anthony Minessale 9bfd7ae25a *) Add support for unified config:
When config file does not exist the system will
browse freeswitch.conf (if it exists) for an embedded file.

Embeded files denoted with +file.conf 
Terminated by either another [+XXX] or EOF 

eg
[+iax.conf]
...
[+exosip.conf]
...
EOF

*) Change default examples to use this method

*) Fix small bug in core to pass along failure when outgoing channel fails.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@663 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-24 16:47:22 +00:00
Anthony Minessale b1150960c1 fix duplicate in iax
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@661 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-24 01:23:13 +00:00
Michael Jerris dbdad46049 fix msvc compile. Cleanup some warnings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@660 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-24 00:02:02 +00:00
Anthony Minessale 01fd1c3af4 More PRI/SIP gateway stuff
**ATTENTION** you will need to libs/jrtplib/.complete ; make installall 
to get it to compile on existing builds as the jrtplib required changes.

Added teletone DTMF to mod_wanpipe and rfc2933 DTMF to mod_exosip
Added temporary poor man's daemon
freeswitch -nc > /var/log/freeswitch.log

then it will await a HUP




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@659 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-23 22:41:08 +00:00
Anthony Minessale 4c9d54d474 sync
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@658 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-23 21:57:57 +00:00
Michael Jerris 26d698de34 update PACKED
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@656 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-22 23:07:23 +00:00
Michael Jerris f36292af04 get rid of unnecessary pragmas.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@655 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-22 22:36:52 +00:00
Anthony Minessale 172b62785c 1 of many PRI/SIP gateway related updates
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@654 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-22 21:14:22 +00:00
Anthony Minessale 3dcc973c9d 1 of many PRI/SIP gateway related updates
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@653 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-22 21:04:53 +00:00
Anthony Minessale 45d1b5cc87 1 of many PRI/SIP gateway related updates
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@652 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-22 18:32:15 +00:00
Anthony Minessale d370ddc96e 1 of many PRI/SIP gateway related updates
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@651 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-22 17:20:39 +00:00
Anthony Minessale e84fb76ac2 1 of many PRI/SIP gateway related updates
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@650 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-22 17:16:47 +00:00
Anthony Minessale 9148e2b90e 1 of many PRI/SIP gateway related updates
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@649 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-22 16:47:07 +00:00
Anthony Minessale c94e328db7 1 of many PRI/SIP gateway related updates
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@648 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-22 15:23:10 +00:00
Anthony Minessale 604379fdb3 1 of many PRI/SIP gateway related updates
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@647 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-22 15:20:46 +00:00
Anthony Minessale fe3e994237 adding some inter channel communication and other code for real-world usage (not totally done)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@646 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-22 02:50:33 +00:00
Anthony Minessale 4ff821ef76 wanpipe work
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@645 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-21 19:36:51 +00:00
Anthony Minessale 009e9607e7 fix evil pragmas in unix and get rid of horrible ^M in the files (dont do that)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@644 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-21 18:34:32 +00:00
Anthony Minessale 1635505808 add makefile for wanpipe
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-21 18:16:43 +00:00
Michael Jerris fea14e6d90 block unimportant warnings in core.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@642 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-21 17:55:38 +00:00
Anthony Minessale 59d9fa452c a fresh install on fedora core 3 revealed some necessary tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@640 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-21 16:03:18 +00:00
Anthony Minessale 2bea53541b cleanup some warnings
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@639 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-21 15:05:18 +00:00
Michael Jerris 681d2823e6 enable warnings as errors in msvc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@637 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-20 19:07:41 +00:00
Michael Jerris 241903ba4e fix more msvc warnings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@636 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-20 06:13:56 +00:00
Michael Jerris 70739b6d2e fix more msvc warnings. Fix mod_sndfile build on OSX
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@635 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-20 04:36:29 +00:00
Michael Jerris fc341792be turn on higher warning level in msvc for the core and libteletone and resolve warnings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@634 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-20 00:23:25 +00:00
Anthony Minessale 8d1967d7eb cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@633 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-19 21:34:16 +00:00
Michael Jerris 51f566fbd4 add msvc build to libteletone
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@632 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-19 21:24:29 +00:00
Anthony Minessale cf67dbefd4 make teletone use all doubles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@631 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-19 21:01:55 +00:00
Anthony Minessale 374097970d cant ever get it right on the first try that'd be too easy
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@630 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-19 20:30:51 +00:00
Anthony Minessale b3b8dc6eae Add in new tone detection/generation library "libteletone"
Thanks to coppice, trixter, mikej and bkw for research, hints and or code examples.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@629 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-19 20:28:24 +00:00
Anthony Minessale cf203f5b71 fix libresample build script
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@622 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-15 15:09:39 +00:00
Michael Jerris 8420b7e8fb add mod_event_multicast to msvc build. Fix some warnings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@618 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-14 22:58:07 +00:00
Anthony Minessale ebfc333dc6 add files to go with previous commit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@617 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-14 21:18:27 +00:00
Anthony Minessale 847b7160bd Add multicast event module
This does 2 things when loaded:

1) All events are serialized and sent to the multicast destination.
2) Any serialized event received on the socket will be reconstituted into
   an event and fired on the local box

So, if you make another local event handler listen for the custom event from
mod_event_multicast "multicast::event" you will be able to react to events
on other instances of FreeSWITCH




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@616 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-14 21:13:53 +00:00
Michael Jerris 93d822b66f add mod_zeroconf to msvc build, and fix compile error.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@614 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-14 18:18:40 +00:00
Anthony Minessale 5d8283c4ad make new modules.conf OS independant
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@613 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-14 17:31:20 +00:00
Anthony Minessale 77bf3ceb5d Make warnings fatal on modules too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@612 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-14 17:06:15 +00:00
Anthony Minessale 1ca8985b71 new headers pay off and reveal naughty modules with the wrong function prototype
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@611 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-14 16:59:31 +00:00
Anthony Minessale bc241ba425 add headers for module funcs to avoid warnings
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@610 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-14 16:53:15 +00:00
Anthony Minessale d1f821478b change modules.conf to be a local-only file that is auto-generated
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@609 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-14 16:42:26 +00:00
Anthony Minessale cb463b4e52 Make optional modules.conf that allows you to pick the module load order
and to exclude some modules. (see example in trunk/conf)

Make ';' a valid comment in config files 
Interpret a line in config files beginning with "__END__" as eof



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@608 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-14 16:26:24 +00:00
Anthony Minessale 0e79051b10 fix build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@607 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-14 02:02:39 +00:00
Anthony Minessale 176908397b add zerconf (the howl depend lib needs work sigh)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@606 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-13 23:59:14 +00:00
Michael Jerris 55baa5c0d6 add howl to build system for msvc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@605 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-13 19:59:57 +00:00
Anthony Minessale fcfc1775b8 alter build system and add in howl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@604 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-13 19:56:01 +00:00
Anthony Minessale c3fe2c98fc alter build system and add in howl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@603 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-13 19:54:10 +00:00
Anthony Minessale 642b7647f1 alter build system and add in howl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@602 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-13 19:51:17 +00:00
Anthony Minessale 926bea44eb valgrind tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@600 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-13 18:34:39 +00:00
Anthony Minessale 5bf08ed3c6 fix internal state machine session yuckyness
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@599 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-13 17:43:49 +00:00