141 Commits

Author SHA1 Message Date
Michael Jerris
b5bff86cf3 add debug logs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11060 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-02 20:55:09 +00:00
Anthony Minessale
cd44e9e72e tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11056 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-02 17:39:31 +00:00
Anthony Minessale
5daf2d13b9 wash behind your ears
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11040 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-31 22:44:23 +00:00
Anthony Minessale
863c576784 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11033 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-31 19:07:20 +00:00
Anthony Minessale
4da6ddc615 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11030 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-31 18:52:17 +00:00
Anthony Minessale
236fe3d131 change event_socket to have more info about log lines
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10893 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-20 14:56:08 +00:00
Anthony Minessale
c6be72ff0f fix MODEVENT-34
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10731 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-12 15:44:37 +00:00
Michael Jerris
f0cf90b577 MODEVENT-33 missing : after Content-Length in event socket
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10711 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-11 15:25:59 +00:00
Anthony Minessale
0bd0e20883 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10654 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-08 16:08:37 +00:00
Anthony Minessale
797185642e difference between invalid uuid and no uuid
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10651 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-08 15:28:01 +00:00
Anthony Minessale
2ed601f934 more stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10410 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-14 23:31:21 +00:00
Anthony Minessale
d66d49ae61 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10406 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-14 18:11:54 +00:00
Anthony Minessale
a2e2c8ae46 add filters to event_sink
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10402 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-14 17:29:14 +00:00
Anthony Minessale
4549a90d63 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10327 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-11 13:32:11 +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
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
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
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
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
Michael Jerris
2f94f73921 make modules unbind events and un-reserve subclasses on module unload
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8898 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-03 23:54:35 +00:00
Michael Jerris
64997c4d8e vim extendtab is bad
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8894 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-03 19:12:26 +00:00
Anthony Minessale
43b712b7b1 add some write locks to the core and a function to unregister event bindings
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8880 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-01 23:41:09 +00:00