Commit Graph
316 Commits
Author SHA1 Message Date
Andrew Thompson b60cdc56c6 send the call's uniqueid, if any, as the first element of the event's parameter list.
unlock the session returned by core_session_locate like I should've been doing.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11019 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-31 04:47:58 +00:00
Andrew Thompson 386f0b9388 Merge in some recent event_socket changes, mainly the new log data structure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11018 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-31 04:40:20 +00:00
Brian West e703825860 shut up gcc 4.3.2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10982 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-29 04:34:37 +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
Chris Parker e573c86d90 Fix potential seg_fault reported in MODEVENT-35
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10869 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-18 15:51:48 +00:00
Anthony Minessale 4aef89420e avoiding seg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10863 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-17 22:45:21 +00:00
Chris Parker f796ff4bc6 Use const char, instead of passing func to switch_true
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10793 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 14:32:17 +00:00
Chris Parker 159d1f3cd1 Added patch to close JIRA MODEVENT-28
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10780 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-15 19:42:02 +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 1efc7bf649 misc fixes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10582 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-03 20:10:54 +00:00
Andrew Thompson 321c468691 actually try to handle bind_search xml responses
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10430 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-17 21:15:52 +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
Andrew Thompson bca7917503 added some cleanup code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10409 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-14 22:35:40 +00:00
Andrew Thompson 137a0759f8 actually send and receive bind_search events, don't do anything with the reply yet tho
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10408 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-14 22:05:03 +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
Andrew Thompson b2bf73de6e Ton of stuff, mainly laying groundwork for bind_search functionality
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-14 17:55:20 +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
Andrew Thompson e7a37e580e Add support for 'getpid'; a way to return the fake cnode process id on the FreeSWITCH side
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10389 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-13 22:46:58 +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
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