127 Commits

Author SHA1 Message Date
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
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
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
Anthony Minessale
f930eaeec7 indent pass 2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8689 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 04:54:52 +00:00
Brian West
e341914d25 Add MODEVENT-21 and a small tweak to voicemail to not light up on saved message counts
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8133 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-21 15:25:09 +00:00
Anthony Minessale
be85fcd204 avoid little race
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8105 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-14 16:18:49 +00:00
Michael Jerris
2a98f0639b use the same type to avoid overflow (could we even cause this?)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7987 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-31 16:05:32 +00:00
Anthony Minessale
bba65f4a1e add acl stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7966 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-26 22:14:09 +00:00
Anthony Minessale
6074db4a74 deal with blank api command replies in es
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7803 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-06 18:12:38 +00:00
Michael Jerris
0bab557232 tweak error handling on socket app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7766 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-29 15:39:56 +00:00
Michael Jerris
bcae062ac8 merge patch from MODEVENT-16
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7749 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-26 21:53:48 +00:00
Michael Jerris
69a27f15b0 don't log lost logs of 0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7656 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-17 06:02:45 +00:00
Brian West
b0ad7ab50c set tab mode properly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7500 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-03 22:14:57 +00:00
Michael Jerris
482badffca code analysis, clean up asserts related to switch_core_session_get_channel.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7402 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-28 07:26:10 +00:00