444 Commits

Author SHA1 Message Date
Andrew Thompson
8515c087a8 Remove a couple debug prints that slipped in
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10318 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-10 19:47:52 +00:00
Andrew Thompson
7dc1a95f6f Add a 1.5 second sleep on module shutdown to prevent segfaults, fix a compiler warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10317 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-10 19:42:38 +00:00
Andrew Thompson
bb13eea83c Add sendmsg support and remove some debug prints
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10316 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-10 18:38:54 +00:00
Andrew Thompson
8c15644255 use switch_true instead
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10304 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-08 02:20:03 +00:00
Andrew Thompson
69b7d6546c Allow config parameter 'shortname' to be 'true' or 'yes', add sample config file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10303 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-08 02:06:19 +00:00
Andrew Thompson
fb3505ec92 Try to start epmd (erlang port mapper daemon) if ei_publish fails
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10302 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-08 00:43:55 +00:00
Andrew Thompson
08f8cb41d8 Import recent fixes from mod_event_socket, work on cleanup on unload (still segfaults tho)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10301 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-07 23:56:50 +00:00
Anthony Minessale
80c1802ea2 move bind to load func
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10298 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-07 23:25:38 +00:00
Anthony Minessale
b18903ecf3 fix MODEVENT-32
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-07 14:48:49 +00:00
Andrew Thompson
c5178a5ba1 Don't create a new memory pool until it's clear we actually need it.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10281 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-07 03:21:19 +00:00
Andrew Thompson
53d696803b Add initial support for sendevent to mod_erlang_event
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10280 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-07 01:29:44 +00:00
Andrew Thompson
2156075c60 Add mod_erlang_event to tree - a module that makes FreeSWITCH act like an erlang c-node.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10274 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-06 21:03:30 +00:00
Michael Jerris
2432ba1785 (MODEVENT-29) seg on unload of mod_radius_cdr when it is in the middle of a radius call
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10260 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-05 21:53:33 +00:00
Anthony Minessale
d6af605c2e fix MODEVENT-29
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10259 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-05 20:19:52 +00:00
Anthony Minessale
b03a9e7602 google commit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10258 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-05 20:16:44 +00:00
Anthony Minessale
c9a24dd36e Add ability to choose uuid from originate string (use at your own risk)
[origination_uuid=someid]sofia/default/100@dom.com

it's only valid in [], cannot be used on 2 existing calls at once and is not
reccommended if you don't need it.

event_socket users can use it to do

api create_uuid   
#### (then save uuid into a local variable say $uuid) ###
filter unique-id $uuid
events all
originate [origination_uuid=$uuid]sofia/default/100@dom.com

Then you can get all the events in anticipation on that channel.

Anything people do to cause problems misusing this will not be supported.




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10239 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-04 16:46:33 +00:00
Stefan Knoblich
2e9b22f39d Add quotation marks to clarify acl messages + indentation cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10218 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-02 20:14:12 +00:00
Anthony Minessale
de0ed8f226 update filters to have optional - prefix to omit a match within a match from the positive filter
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10207 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-30 23:37:16 +00:00
Michael Jerris
fb90c20bc7 bug found by pyite in new filter feature.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10200 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-30 02:27:22 +00:00
Anthony Minessale
0a5a51723d add event socket listener filters
filter <header-name> <header-value>
filter <header-name> /<regexp>/
filter delete <header-name>
filter delete all

once even one filter is enabled you must pass a filter condition to get any events.
which events are still limited by the events <event list> as always.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10198 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-30 00:39:55 +00:00
Anthony Minessale
8c0fa45844 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10194 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-29 19:15:14 +00:00
Anthony Minessale
c8681fd47b make connect event have chan vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10193 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-29 18:19:49 +00:00
Anthony Minessale
6262a2637f update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10173 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-27 15:10:22 +00:00
Anthony Minessale
6b48e82663 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10158 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-26 21:08:22 +00:00
Michael Jerris
85463ac70b fix windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10139 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-24 15:50:46 +00:00
Anthony Minessale
525f1ac362 cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10134 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-23 21:58:09 +00:00
Anthony Minessale
a61cdc9a92 add nifty new goodies
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10132 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-23 17:31:22 +00:00
Anthony Minessale
603b0d1872 let any channel get messages
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10131 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-23 13:04:08 +00:00
Anthony Minessale
22210f41ce inbound connection to event_socket can now take over an existing channel with 'myevents <uuid>' to take on the behaviour of an outbound socket
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10110 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-22 16:32:55 +00:00
Michael Jerris
3906afe4d1 var scope masking.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10109 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-22 14:08:24 +00:00
Anthony Minessale
f1da124229 move code to the right place
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10083 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-20 16:33:46 +00:00
Michael Jerris
f6925f622d don't send disconnect on every reply.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10074 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-20 00:32:21 +00:00
Michael Jerris
de719816ac fix windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10070 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-19 23:31:24 +00:00
Anthony Minessale
d0b4a78a56 make event socket wait for hangup on outbound mode and send disconnect message
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10054 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-17 18:55:17 +00:00
Anthony Minessale
c109eee26e make event socket wait for hangup on outbound mode and send disconnect message
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10053 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-17 18:44:26 +00:00
Michael Jerris
1f47ff15b3 validate strftime format string input (when necessary)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9985 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-12 21:51:51 +00:00
Brian West
e0cdf8172a more polishing
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9959 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-11 06:19:56 +00:00
Brian West
1cda796da8 spelling
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9864 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-06 23:05:55 +00:00
Anthony Minessale
003847dd0d add some more specific events
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9789 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-02 17:10:05 +00:00
Anthony Minessale
4a05f14766 up
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9762 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-30 18:20:38 +00:00
Anthony Minessale
b1e72c8b6e improve shutdown/unload
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9573 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-16 17:12:14 +00:00
Anthony Minessale
20c1fb1dcd fix fix of the fixed fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9344 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-21 17:32:57 +00:00
Anthony Minessale
ce559f547b fix broken fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9343 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-21 16:09:22 +00:00
Chris Parker
aa4f5d07a2 Apply patch from MODEVENT-27 to update dictionary
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9340 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-21 02:24:29 +00:00
Anthony Minessale
a8d457eb09 fix some mem leaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9329 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-20 19:10:04 +00:00
Michael Jerris
05b01a6c03 switch some usages of switch_event_add_header to switch_event_add_header_string
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9309 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-16 02:19:43 +00:00
Michael Jerris
53a2d1917c build tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9160 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-24 08:11:34 +00:00
Anthony Minessale
dc9133ef28 init mem
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9141 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-23 13:45:35 +00:00
Anthony Minessale
5fc5658e5e add auto ip-change detection and some other goodies
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9138 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-22 22:23:50 +00:00
Anthony Minessale
0f873e692b fix FSCORE-156
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8997 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-11 14:35:08 +00:00