432 Commits

Author SHA1 Message Date
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
Brian West
75113400a1 fix this for now.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8900 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-04 19:07:06 +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
Brian West
b8fcbe02b8 MODLANG-67 part2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8812 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-18 18:42:21 +00:00
Anthony Minessale
aa4d4500c0 add header
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8781 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-06 16:14:29 +00:00
Stefan Knoblich
3e81f0b4d2 fix c99 warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8740 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-02 19:21:41 +00:00
Anthony Minessale
64921f7ef6 double doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8728 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-29 21:56:35 +00:00
Anthony Minessale
775aee2a31 legs option to cdr_csv doh2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8727 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-29 21:49:01 +00:00
Anthony Minessale
4fbd1ef83a legs option to cdr_csv doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8726 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-29 21:46:49 +00:00
Anthony Minessale
e1250f58b5 legs option to cdr_csv
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8725 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-29 21:35:58 +00:00
Michael Jerris
40091bd693 don't deref NULL. Found by Klockwork (www.klocwork.com)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8700 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 20:04:04 +00:00