Commit Graph

10126 Commits

Author SHA1 Message Date
Anthony Minessale 8f878ecdda tweak2 2010-07-15 09:02:52 -05:00
Anthony Minessale 2ac5dd548d tweak 2010-07-15 09:02:51 -05:00
Anthony Minessale 4185259209 refactor 2010-07-15 09:02:45 -05:00
Anthony Minessale 5cd072a3fb allow vars to be set containing vars from languages 2010-07-15 08:42:51 -05:00
Anthony Minessale c3dcc603b1 fifo update 2010-07-15 01:00:08 -05:00
Anthony Minessale 395dc14a8d update 2010-07-14 19:47:43 -05:00
Anthony Minessale 6b19019aad update 2010-07-14 19:43:31 -05:00
Anthony Minessale ea6a549003 update 2010-07-14 19:38:40 -05:00
Anthony Minessale 28bc54a08d skip runs when messages are not needed 2010-07-14 18:59:42 -05:00
Anthony Minessale e12be24119 typo 2010-07-14 18:11:07 -05:00
Anthony Minessale 62d0aa3ec3 add zstr 2010-07-14 17:49:44 -05:00
Anthony Minessale 7339e6eb14 fix sql stmt 2010-07-14 17:14:39 -05:00
Anthony Minessale 76c4f2751c update 2010-07-14 16:52:55 -05:00
Anthony Minessale c50f59e36c add reporting vars 2010-07-14 16:38:46 -05:00
Marc Olivier Chouinard 8ceb2a9b27 mod_commands: Fix a segfault if no arguments is provided to limit_hash_usage 2010-07-14 14:30:30 -04:00
Anthony Minessale 634ca37067 fifo up 2010-07-14 12:40:41 -05:00
Anthony Minessale c73d98cd83 fifo up 2010-07-14 12:40:19 -05:00
Mathieu Rene e76d7d925e mod_hash: free all hashtables on shutdown 2010-07-13 19:05:07 -04:00
Anthony Minessale d355c28d4d fix logic bug and memory leak in new code 2010-07-13 17:27:37 -05:00
Anthony Minessale 119d01f65c fix small mem leak in util func 2010-07-13 16:52:32 -05:00
Anthony Minessale ac77c76818 add nomedia flag 2010-07-13 15:43:37 -05:00
Anthony Minessale f3907f771d fix ringall issue 2010-07-13 12:42:36 -05:00
Anthony Minessale 17a7a0dd7b don't reset outbound_fail_count on pre-call use_count increments 2010-07-13 08:34:10 -05:00
Rupa Schomaker 548c9061ab MODAPP-441: mod_lcr: add lcr_user_rate to imported a-leg vars 2010-07-13 06:07:49 -05:00
Anthony Minessale fa1148e9ee update 2010-07-13 01:41:27 -05:00
Anthony Minessale 32f6aa3b9e update 2010-07-13 00:47:41 -05:00
Anthony Minessale 1ed7837bc6 tweak2 2010-07-12 21:58:24 -05:00
Anthony Minessale d277778743 tweak 2010-07-12 20:58:39 -05:00
Anthony Minessale 93d38441a9 refactor 2010-07-12 12:00:53 -05:00
Anthony Minessale d6f14d0307 add fifo_member_usage app 2010-07-11 23:25:00 -05:00
Anthony Minessale 1734df82ca presence_data_cols 2010-07-11 21:00:13 -05:00
Jeff Lenk 7af395ef83 more tweaks for VS2010 2010-07-10 15:22:25 -05:00
Anthony Minessale 32bb81bde3 fifo tweaks 2010-07-09 16:09:15 -05:00
Anthony Minessale 616566b9f6 fix cid issue 2010-07-08 01:22:53 -05:00
Anthony Minessale 200cc44f67 fix sql to be more portable for tab complete 2010-07-08 01:22:53 -05:00
Michael Jerris 99c98d970b don't hangup on a caller that was transfered out of queue 2010-07-07 19:57:32 -04:00
Michael Jerris 821488bf9f add taking_calls param to fifo member add and config file 2010-07-07 16:21:14 -04:00
Anthony Minessale 4555b71199 declinatio mortuus obfirmo! 2010-07-07 15:13:45 -05:00
Rupa Schomaker 001705588e mod_lcr: fix dialplan issues with default profile and logging when no
caller_profile set
2010-07-07 13:56:38 -05:00
Anthony Minessale cadb4d948f cancel outbound call if customer hangs up 2010-07-07 11:29:25 -05:00
root cf48e0b688 Merge branch 'master' of ssh://git@git.freeswitch.org/freeswitch 2010-07-07 20:24:28 +04:00
root 8c58074c9a initial t.38 support.
remake logical channel opening.
add missing param name in example config.
2010-07-07 20:22:56 +04:00
Brian West f347698a47 MODEVENT-66 2010-07-07 09:13:34 -05:00
Rupa Schomaker af33afaa61 mod_lcr: don't validate profiles with ${} vars since they are dynamic
and we can't guess what the proper value should be
2010-07-06 23:45:00 -05:00
Jeff Lenk de5e747157 more tweaks for VS2010 2010-07-06 22:38:54 -05:00
Jeff Lenk 68fef16e37 more tweaks for VS2010 2010-07-06 16:10:35 -05:00
Anthony Minessale 4d4f5a0ecd fix race on sql stmt for show calls 2010-07-06 16:01:39 -05:00
Anthony Minessale aa318568c4 revert 2010-07-06 15:06:25 -05:00
Anthony Minessale 89769c2180 sort all inserts ahead of update/delete in queue processing 2010-07-06 14:42:03 -05:00
Anthony Minessale 088cee65f9 try to compensate for silly compiler issue 2010-07-06 13:34:24 -05:00
Anthony Minessale c321e67ab5 refactor 2010-07-06 13:20:27 -05:00
Anthony Minessale d239b31dfc sort the complete sql stmts to get proper ordering on tab complete 2010-07-06 12:03:09 -05:00
Michael Jerris cae9129f0a dup off the right caller profile 2010-07-06 11:32:04 -04:00
Anthony Minessale ccb9a4eb0d fix seg in user_recurse_variables=false edge case 2010-07-06 10:25:58 -05:00
Jeff Lenk fb9d60fcdb fix windows build 2010-07-05 21:09:37 -05:00
Anthony Minessale b037f1b6e1 doh 2010-07-05 16:48:07 -05:00
Anthony Minessale 01b17ec69e prefer telephone-event with same rate over others 2010-07-05 14:26:38 -05:00
Anthony Minessale e9405ba64b fix build 2010-07-05 13:13:47 -05:00
Rupa Schomaker 612356b7b6 Revert "switch to switch_cache_db_dismiss_db_handle to reduce odbc"
This reverts commit ab3d7d144e.
2010-07-05 11:11:22 -05:00
Rupa Schomaker 9741086975 Revert "mod_lcr: use switch_cache_db_dismiss_db_handle to reduce persistant"
This reverts commit 6449861e02.
2010-07-05 11:11:07 -05:00
Brian West c3d6c648d3 fix configure and compile when using --disable-core-libedit-support 2010-07-05 10:08:30 -05:00
Anthony Minessale 0c826b1fc8 add sched_cancel function to cancel any impending sched_X funcs 2010-07-02 14:06:53 -05:00
Anthony Minessale 23fd8ebb3e add optional exceptions to mod_distributor to list nodes to skip 2010-07-02 13:31:12 -05:00
Anthony Minessale a7d8f866fd fix new util function to actually do what it says it will 2010-07-02 13:00:29 -05:00
Anthony Minessale 6c7970f969 let bypass calls sit in park 2010-07-02 12:04:02 -05:00
Brian West 8c7a976252 swigall 2010-07-02 11:26:42 -05:00
Anthony Minessale b10ea3c0b6 fifo tweaks 2010-07-02 09:27:36 -05:00
Rupa Schomaker 4e1d522198 oops, compile fix 2010-07-02 00:13:44 -05:00
Rupa Schomaker 4294d0a79d if missing db.conf.xml don't fail, just use sqlite 2010-07-02 00:03:13 -05:00
Brian West 6117234549 FSCORE-627 2010-07-01 23:15:37 -05:00
Anthony Minessale 43cbb7eaa7 stupid warning 2010-07-01 22:14:07 -05:00
Brian West 8009ec0b5c FSBUILD-287 2010-07-01 18:16:08 -05:00
Anthony Minessale 182b030f94 fix sql 2010-07-01 16:57:21 -05:00
Anthony Minessale 58b67bc5cc add outbound_per_cycle param to control how many outbound calls are made per cycle and normalized some of the output in fifo status 2010-07-01 15:24:14 -05:00
Anthony Minessale 3a6bb506c0 passing non-null value to generate_xml_cdr now implies its an initalized xml object 2010-07-01 15:22:13 -05:00
Anthony Minessale 21edf395ca de-ass 2010-07-01 15:19:40 -05:00
Anthony Minessale 1fba654845 fix parse err in originate code 2010-07-01 14:21:44 -05:00
Anthony Minessale 7898679b20 tweak 2010-07-01 09:37:49 -05:00
Anthony Minessale b7c5a80a70 comment out vars 2010-07-01 09:33:44 -05:00
Di-Shi Sun dbf93daae8 Merge branch 'master' of ssh://git@git.freeswitch.org/freeswitch 2010-07-01 16:26:20 +08:00
Di-Shi Sun 32dbb191fd Added work mode option and support for outbound proxy. 2010-07-01 16:20:10 +08:00
Anthony Minessale 636283c387 doh2 2010-06-30 22:29:40 -05:00
Anthony Minessale 9db5abefdb doh 2010-06-30 22:20:06 -05:00
Anthony Minessale 34fe9e34c9 tweaks 2010-06-30 22:13:20 -05:00
Anthony Minessale 7f9beb96cc revamp fifo with a ringall strategy so you can see the stupid callers' caller id .... 2010-06-30 21:46:38 -05:00
Anthony Minessale 5b11c81731 fix sql stmt 2010-06-30 21:32:17 -05:00
Anthony Minessale 462e62547e add new util function to parse of vars in parens from strings 2010-06-30 20:41:21 -05:00
Anthony Minessale 9c7fb0d4ca support stacked [] pairs in origiante 2010-06-30 20:09:06 -05:00
Anthony Minessale 09bd04734c prune check 2010-06-30 16:25:19 -05:00
Brian West 53761efdf6 fix logging and missing new line 2010-06-30 11:11:21 -05:00
Anthony Minessale f2ea3ee315 indent run 2010-06-30 10:35:15 -05:00
Anthony Minessale e11560ddf3 share handles when not using sqlite 2010-06-30 09:05:14 -05:00
Mathieu Rene 6bd82d1fb4 Add fsctl shutdown_check to see if we're currently shutting down 2010-06-29 23:03:10 -04:00
Rupa Schomaker c0246b1143 add some docs to the switch_cache_db_* functions 2010-06-29 16:18:44 -05:00
Rupa Schomaker 6449861e02 mod_lcr: use switch_cache_db_dismiss_db_handle to reduce persistant
db connections under heavy load.
2010-06-29 16:04:45 -05:00
Rupa Schomaker ab3d7d144e switch to switch_cache_db_dismiss_db_handle to reduce odbc
usage under heavy switch load
2010-06-29 16:00:44 -05:00
Anthony Minessale 98a436bb27 add switch_cache_db_dismiss_db_handle 2010-06-29 15:50:03 -05:00
Anthony Minessale 51cb9efe9a remove ass 2010-06-29 14:05:44 -05:00
Anthony Minessale d700e69625 . 2010-06-29 13:47:15 -05:00
Michael Jerris d21af530b9 fix mod_celt rebuilds library when not required 2010-06-29 13:03:23 -04:00
Michael Jerris 9c5cd268f7 mod_conference: fix build error for Meftah before he drives me insane with nagging 2010-06-29 13:02:25 -04:00
Anthony Minessale fd5723387e update agc 2010-06-29 09:56:38 -05:00
Jeff Lenk 9361e2ba9d more tweaks for VS2010 2010-06-29 09:55:08 -05:00
Anthony Minessale 911e9182e1 add cid-in-1xx profile param and sip_cid_in_1xx chan var 2010-06-29 09:32:41 -05:00
Anthony Minessale 5ef1e00d3a LBAPR-4 2010-06-29 08:51:39 -05:00
Jeff Lenk da17e2a09e more tweaks for VS2010 2010-06-28 16:32:30 -05:00
Jeff Lenk a87429ac87 Add initial support for VS2010 2010-06-28 15:49:19 -05:00
Anthony Minessale 7626a6c6b4 nm this is bad 2010-06-28 10:25:21 -05:00
Anthony Minessale 013222bba3 wait for state change 2010-06-28 08:49:24 -05:00
Anthony Minessale 46064642ba update 2010-06-28 08:37:11 -05:00
Anthony Minessale 3b1d9f5bef clear flag on destroy 2010-06-28 08:15:55 -05:00
Anthony Minessale 1b3a5df08d update 2010-06-25 21:10:13 -05:00
Andrew Thompson 2adde7d86d mod_conference: Add energy, volume_in and volume_out to xml_list 2010-06-25 19:29:33 -04:00
Anthony Minessale 612f3a36f3 remove initial announcement 2010-06-25 17:10:32 -05:00
Anthony Minessale 77c662687a add (experimental) agc flag 2010-06-25 16:57:01 -05:00
Anthony Minessale ff1a52ab18 add call_uuid 2010-06-25 13:25:13 -05:00
Mathieu Parent 20194286a4 Skinny: correct early media and answer
- SWITCH_MESSAGE_INDICATE_DISPLAY was missing a "break" statement
- handle not responding device (cancels early media or answer)
- don't send messages when listener is not ready (fix rare crashes)
2010-06-25 18:25:12 +02:00
Anthony Minessale 8d0c81103e add call_uuid var 2010-06-24 17:28:20 -05:00
Anthony Minessale 36648cb177 doh 2010-06-24 16:27:11 -05:00
Anthony Minessale df79ecce8e fix rtcp from nat to autoadjust with rtp 2010-06-24 16:01:55 -05:00
Anthony Minessale 5a6461baf5 refactor vars to call time 2010-06-24 15:49:48 -05:00
Brian West 44a90b4798 swigall 2010-06-24 15:33:41 -05:00
Anthony Minessale 464ecd1b18 revert part of 92bd8966fa FSCORE-598 2010-06-24 14:30:37 -05:00
Anthony Minessale 64a71c5798 destroy handle on bad authenticate 2010-06-24 13:19:14 -05:00
Anthony Minessale c58efca29d add some cols to fifo_outbound 2010-06-24 11:52:49 -05:00
Anthony Minessale 3240a6f395 update callstate in sql event handler 2010-06-24 10:32:45 -05:00
Anthony Minessale 10b8cfa18e be more strict about changing callstate based on clearing hold flag 2010-06-24 10:09:39 -05:00
Rupa Schomaker 4869da2370 MODAPP-437 - event backend should be db not sql 2010-06-23 13:52:53 -05:00
Anthony Minessale 0bff1a411b clean up indenting in sofia 2010-06-23 13:22:52 -05:00
Anthony Minessale 39f6c58557 minor refactor 2010-06-23 11:47:39 -05:00
Mathieu Rene 8ac3bdca6e Add redis backend to limit 2010-06-22 00:16:50 -04:00
Rupa Schomaker 8c8d962e3a fix perms 2010-06-21 09:51:57 -05:00
Rupa Schomaker b36f2a23bf timer based nat_map refresh 2010-06-21 09:51:57 -05:00
Rupa Schomaker cb6f978d93 mod_limit is now a backwards compatible shim 2010-06-20 19:03:38 -05:00
Rupa Schomaker ea71a2401e backward compat mod_limit.c 2010-06-20 19:03:38 -05:00
Rupa Schomaker be2bd3c180 fix perms 2010-06-20 19:03:38 -05:00
Rupa Schomaker a040a605e6 add backward compatible shims 2010-06-20 19:03:38 -05:00
Jeff Lenk 4010911db9 sync express to limit changes + add skinny 2010-06-20 12:07:11 -06:00
Jeff Lenk 3de6c7a59c missing mod_hash 2010-06-20 11:03:07 -05:00
Rupa Schomaker d8facbcf71 mod_lcr update. MODAPP-340, MODAPP-355
arbitrary b-leg vars, limit support, lcr/ endpoint
 custom_sql now is field based rather than position based
 NOTE: custom_sql is incompat with prior version
2010-06-19 20:08:06 -05:00
Rupa Schomaker d5ad29b585 typo 2010-06-19 20:07:39 -05:00
Rupa Schomaker 1c17da93ef rationalize some logging 2010-06-19 19:06:27 -05:00
Rupa Schomaker 9b5778f8e1 dup -ERR so we can free it later 2010-06-19 14:49:15 -05:00
Rupa Schomaker f76f836b0e rename sql to db for limit backend to make consistent 2010-06-19 10:58:58 -05:00
Rupa Schomaker 6f0d7a7bcf remove WTF 2010-06-19 08:12:00 -05:00
Rupa Schomaker 415b4589ac revert mod_lcr changes 2010-06-19 08:08:42 -05:00
Rupa Schomaker ab2165c56b fix tab 2010-06-19 07:49:34 -05:00
Rupa Schomaker 3f4ca2d3ac MODAPP-407 2010-06-19 07:49:34 -05:00
Rupa Schomaker 0e8a26f840 sync changes in branch rupa_limit 2010-06-19 07:49:34 -05:00
Rupa Schomaker f6eda2c23b fix check for NANPA 2010-06-19 07:48:48 -05:00
Anthony Minessale dac1243900 add playback_timeout_sec to core and make it useful in valet_parking 2010-06-18 18:07:31 -05:00
Anthony Minessale 6f41b446cb add replace func 2010-06-18 17:46:07 -05:00
Anthony Minessale d1492c0da4 remove log 2010-06-18 17:39:44 -05:00
Anthony Minessale fabaa4a28e MODSOFIA-77 2010-06-18 17:09:26 -05:00
Anthony Minessale 2ff5af80fa skip invalid uuids on eavesdrop runs 2010-06-18 17:00:29 -05:00
Anthony Minessale a0c641aeb7 MODSOFIA-59 (part 2) 2010-06-18 16:53:02 -05:00
Joao Mesquita e8f5bbae28 Add a var with the contact count 2010-06-18 18:39:17 -03:00
Joao Mesquita 41b7cae35c Add timeout support as config option 2010-06-18 18:30:05 -03:00
Anthony Minessale beae21d729 MODSOFIA-59 2010-06-18 15:42:28 -05:00
Jeff Lenk 61f50f6c90 move output dll to common folder 2010-06-18 15:21:45 -05:00
Anthony Minessale 92bd8966fa FSCORE-598 2010-06-18 13:40:10 -05:00
Anthony Minessale d942d9f4c2 make eavesdrop indicate display of who you are listening to 2010-06-18 09:08:51 -05:00
Jeff Lenk c2bcc926c5 fix line endings 2010-06-17 23:13:32 -05:00
Anthony Minessale b670b624ad mod_fax should go away 2010-06-17 15:14:09 -05:00
Anthony Minessale 3d5350045d send display of caller who left message during vm playback 2010-06-17 15:04:09 -05:00
Anthony Minessale 8b4a8cc3ef format refactor 2010-06-17 14:36:31 -05:00
Anthony Minessale cc346c21d5 build fix 2010-06-17 14:36:31 -05:00
Jeff Lenk 4ae090ffd9 oops fix this the right way - json malloc and free 2010-06-17 14:17:15 -05:00
Jeff Lenk 091952cab7 fix trivial compile errors under windows 2010-06-17 12:52:20 -05:00
Anthony Minessale c5086b1517 jsonification into the core and ESL 2010-06-17 11:43:09 -05:00
Anthony Minessale 3026e639fe MODENDP-312 2010-06-17 10:24:36 -05:00
Mathieu Parent 5017869399 Skinny: handle early media
See MODSKINNY-8 (switch_core_io.c:121
SKINNY/internal/SEP002699438FB6:0/1 has no read codec when using early
media)
2010-06-17 07:44:33 +02:00
Mathieu Parent df92a3ca07 Skinny: Remove unused flags 2010-06-17 07:05:28 +02:00
Mathieu Parent 2629a570c7 Skinny: MWI improvement: allow domain name <> profile name 2010-06-16 22:42:15 +02:00
Mathieu Parent 1d7d014612 Skinny: Basic MWI
With following limitations:
- only first line is handled
- only works well when domain name = profile name
2010-06-16 22:42:15 +02:00
Anthony Minessale fc0f16246a add t38_gateway_rx_fillin 2010-06-16 11:49:13 -05:00
Anthony Minessale 51aa05715d MODAPP-435 2010-06-16 11:21:25 -05:00
Anthony Minessale f4324eb3d4 add queued arg to ring_ready app to send 182 2010-06-15 16:14:39 -05:00
Anthony Minessale 3c688a95f8 MODENDP-310 2010-06-15 15:48:12 -05:00
Anthony Minessale bc2b4795c1 add callee fields to channels table 2010-06-15 11:44:48 -05:00
Anthony Minessale 2b2f921442 caller/callee id flipping for blind xfer 2010-06-14 18:37:53 -05:00
Moises Silva beca1423d5 mod_sangoma_codec: Accept Comfort Noise IANA
Default to silence suppression turned off
                   Check for root user
2010-06-14 19:24:57 -04:00
Brian West e0f7c2e320 FSMOD-60 2010-06-14 14:12:14 -05:00
Anthony Minessale c2cfe1b202 FSMOD-61 2010-06-14 14:10:15 -05:00
Anthony Minessale de001cb65a FSMOD-61 2010-06-14 13:43:51 -05:00
Anthony Minessale 64aaf4e9d8 FSMOD-61 2010-06-14 13:42:06 -05:00
Brian West 520bc29d94 THEORA Passthru Video Codec 2010-06-14 09:38:26 -05:00
Brian West a95fa59e87 MODSOFIA-78 2010-06-13 19:17:52 -05:00
Brian West 67217f0c9b SFSIP-214 don't override with a possible NULL value for tech_pvt->cid_type because its already defaulted to the profile setting at the top of sofia_glue_do_invite 2010-06-13 19:07:11 -05:00
Anthony Minessale 3fbd9e2150 MODAPP-433 2010-06-11 11:08:51 -05:00
Anthony Minessale 22569d4ac5 add multiple rtp-ip support to sofia profiles
add extra rtp-ip params to a profile to add more ip which will be used round-robin as new calls progress.
2010-06-10 17:10:03 -05:00
Brian West 2e347c9326 Adding subject to SEND_MESSAGE 2010-06-10 15:48:29 -05:00
Mathieu Parent 2fc09235b7 Skinny: split event handlers 2010-06-10 08:35:05 +02:00
Anthony Minessale 57fc899842 add missing rwunlock 2010-06-09 11:15:07 -05:00
Christopher Rienzo 2cf81f9dfc Skip whitespace for grammars 2010-06-09 12:48:30 +00:00
Anthony Minessale 01c0c6948f fix event names name mismatch 2010-06-08 16:22:21 -05:00
Jeff Lenk ecddf7a880 trivial windows build fix 2010-06-08 10:02:13 -05:00
Michael Jerris d9eb01974f add block_dtmf and unblock_dtmf apps 2010-06-07 21:14:47 -04:00
Anthony Minessale c752e71afe more work on callstate events 2010-06-07 18:01:02 -05:00
Anthony Minessale bc6334a610 FSCORE-617 2010-06-07 16:47:35 -05:00
Anthony Minessale 4d928be3e3 update to last patch 2010-06-07 15:28:32 -05:00
Anthony Minessale d5ba2f3e3b add RTP_BUG_IGNORE_MARK_BIT to list of bug tolerances 2010-06-07 14:06:41 -05:00
Anthony Minessale 23b1fc6175 add log api command 2010-06-07 13:53:03 -05:00
Anthony Minessale 2492c2899a FSCORE-567 2010-06-07 09:34:44 -05:00
Moises Silva 73d9d56f6f mod_sangoma_codec: silence suppression 2010-06-07 10:27:13 -04:00
Brian West 5ffc57e5dc FSMOD-54 2010-06-07 09:20:45 -05:00
Mathieu Rene 114731215d Assert the size of EVENT_NAMES at initialization 2010-06-07 08:49:04 -04:00
Brian West 5cd066df39 fix issue reported on mailing list along with segfault. 2010-06-06 23:26:09 -05:00
Anthony Minessale 0152706fa9 BOUNTY-19 2010-06-04 19:37:04 -05:00
Anthony Minessale 0f133eae2d add new callstate field to channels table 2010-06-04 19:03:36 -05:00
Anthony Minessale 3b8887ba07 put correct sample value in the fillin call 2010-06-04 19:03:11 -05:00
Anthony Minessale e886e990aa fix build 2010-06-04 16:45:35 -05:00
Moises Silva ae298182c2 switch rtp: check for the channel too 2010-06-04 08:16:51 -04:00
Anthony Minessale eba05c3c01 allow uuid_break to interrupt one or all in a delimited string of files the same as several individual files 2010-06-04 10:15:04 -05:00
Anthony Minessale 8f4e63928a add some error checking 2010-06-03 12:34:38 -05:00
Anthony Minessale 4a4670a71e FSCORE-615 2010-06-03 10:17:00 -05:00
Anthony Minessale 2cc59f1ed4 FSCORE-615 2010-06-02 21:57:30 -05:00
Di-Shi Sun 4d9135500c Merge branch 'master' of ssh://git@git.freeswitch.org/freeswitch 2010-06-03 10:01:36 +08:00
Di-Shi Sun d05b08e2be Fixed a bug on 64bit platform. 2010-06-03 09:52:24 +08:00
Anthony Minessale 4c20b020fc allow monitor_early_media and ignore_early_media to work for hmmhesays 2010-06-02 17:31:55 -05:00
Brian West a0c78de27d don't use operator key when no operator ext is configured 2010-06-02 15:17:12 -05:00
Anthony Minessale 64f58f2d67 only execute app once in app mode 2010-06-02 15:17:12 -05:00
Brian West e80befba17 fix log messages on spandsp.conf loading or processing failure 2010-06-02 11:52:27 -05:00
Brian West 22ebaaf8e2 don't fail load of mod_spandsp just because we don't have tones in the conf file 2010-06-02 11:39:36 -05:00
Anthony Minessale 43dedcac1f add tab completion rule 2010-06-02 11:17:43 -05:00
Jeff Lenk 52f14165f8 Fix windows build 2010-06-01 20:12:33 -05:00
Mathieu Parent 3f7cafd709 Rename sofia_glue_get_user_host to switch_split_user_domain
and move to switch_utils. To allow use by other modules.
2010-06-02 01:09:54 +02:00
Anthony Minessale a291af5768 add sip_copy_multipart to work like sip_copy_custom_headers 2010-06-01 17:22:45 -05:00
Anthony Minessale c17eefb2a4 first crack at multipart content in invites 2010-06-01 17:13:32 -05:00
Brian West ccdaabd634 typo 2010-06-01 17:25:25 -05:00
Brian West 187c3b90f2 picky picky 2010-06-01 16:14:42 -05:00
Anthony Minessale 6360264fb2 add sip_force_audio_fmtp 2010-06-01 14:04:55 -05:00
Anthony Minessale f41fbbc05b fix typo that generated null video codecs in inherit_codec 2010-06-01 12:10:50 -05:00
Jeff Lenk a5f07a8066 MODLANG-165 Added wrapper for switch_event_bind for .net 2010-06-01 10:23:04 -05:00
Jeff Lenk 4fa8be625a add mod_spandsp to windows build 2010-05-31 22:05:54 -05:00
Michael Jerris 7961c2266d handle EINTER case on write 2010-05-31 16:40:48 -04:00
Michael Jerris 1339e2185f mod_java: Allow user defined java methods to be called at startup and shutdown of JVM (MODLANG-117) 2010-05-31 10:15:35 -04:00
Michael Jerris e4450044d7 indent 2010-05-31 10:14:59 -04:00
Michael Jerris 52cd8cdd64 mod_sofia: use rfc recommended default session timeout of 30 min according to RFC 4028 4.2 (MODSOFIA-76) 2010-05-31 09:39:36 -04:00
Michael Jerris 19253d8354 mod_xml_cdr: fix minor memory leaks and config bug (MODEVENT-62) 2010-05-31 09:30:57 -04:00
Michael Jerris be92e5df08 mod_sofia: allow video negotiation on re-invite (SFSIP-211) 2010-05-31 09:14:53 -04:00
Michael Jerris f029ce07b7 mod_conference: fix relate nohear (MODAPP-428) 2010-05-31 08:41:08 -04:00
Michael Jerris a6e6514799 mod_spandsp: add start_tone_detect/stop_tone_detect app and api commands for tone and cadence detection (MODAPP-378) 2010-05-31 08:41:07 -04:00
root e098d8757e Merge branch 'master' of ssh://git@git.freeswitch.org/freeswitch 2010-05-31 15:57:05 +04:00
root 51b79d7a37 add dtmfinband conf parameter.
add endpoint-name conf parameter represents endpoint name.
fix GK registration retrying in case of registration reject.
fix double DTMF hadling for examle in case dtmf-relay h245-signal h245-alphanumeric on cisco dial-peer.
fix crash on module unloading.
2010-05-31 15:44:51 +04:00
Michael Jerris eab4f24632 mod_spandsp: improve duplicate digit detection and add 'min_dup_digit_spacing_ms' channel variable for use with the dtmf detector (FSMOD-45) 2010-05-31 07:34:23 -04:00
Michael Jerris a66654de7d mod_cid_lookup: honor skipcitystate when using whitepages (FSMOD-53) 2010-05-31 07:25:49 -04:00
Michael Jerris 6bed19b2d6 mod_say_es: fix grammar when saying dates and time (MODAPP-429) 2010-05-31 06:13:02 -04:00
Michael Jerris 65400642f7 rework of new mod_spandsp to have functions broken up into different c files 2010-05-31 06:04:12 -04:00
Jeff Lenk 9637b89e35 FSCORE-613 Crash when using tab completion on uuid_ commands 2010-05-28 10:48:20 -05:00
Travis Cross 9b80aa18a4 Updates to .gitignore. 2010-05-28 02:16:42 +00:00
Anthony Minessale e2e9765c2c fix timeout feature 2010-05-27 16:55:20 -05:00
Brian West f17bd746e8 swigall 2010-05-27 16:39:19 -05:00
Mathieu Parent 48c7bb320e Skinny: correct define_time_date
The 'day' field is the month day (and not year day).

Fix MODSKINNY-4 and MODSKINNY-7
2010-05-27 11:55:09 +02:00
Di-Shi Sun d140b11caf Changed osp_route_N string variables. 2010-05-27 14:48:46 +08:00
Rupa Schomaker 095815f83b mod_cidlookup: null xml is bad 2010-05-26 20:58:16 -05:00
Anthony Minessale c82afd4336 wtf 2010-05-26 20:13:46 -05:00
Anthony Minessale ccf74d5b41 negotiable t38 passthru 2010-05-26 20:13:07 -05:00
Jeff Lenk df4bd93545 add mod_avmd for win 2010-05-26 13:30:29 -05:00
Anthony Minessale a3e6beadd0 FSCORE-591 2010-05-26 09:51:26 -05:00
Anthony Minessale 69b94bce36 add t38_gateway_detect_timeout=<timeout> variable default is 30, 0 to disable timeout 2010-05-26 09:51:26 -05:00
Brian West ea5e699cb2 FSBUILD-278 2010-05-26 09:33:16 -05:00
Mathieu Parent 7566575523 Skinny: simplify header inclusions
thanks to Frank Seesink on MODSKINNY-6
2010-05-26 10:45:52 +02:00
Mathieu Parent 96a630e454 Skinny: fix compilation on OS X
declaring some variables "extern" thanks to Peter Olsson

Fix MODSKINNY-6: Build still fails on OS X (even after last changes)
2010-05-26 10:40:38 +02:00
Anthony Minessale c017c24b8e FSCORE-612 with mods 2010-05-25 16:54:31 -05:00
Eric des Courtis 6c8f0d499f Fixed MacOS compile issue with mod_avmd fastmath 2010-05-25 16:29:11 -04:00
Eric des Courtis 1fba9af062 Fixed mod_avmd Makefile for generic system 2010-05-25 16:20:10 -04:00
Eric des Courtis c2349da522 Merge branch 'master' of git://git.freeswitch.org/freeswitch 2010-05-25 15:52:21 -04:00
Anthony Minessale 3fa1bba934 add indications so gateway mode calls show up as bridged -wrong week to quit sniffing glue 2010-05-25 14:23:20 -05:00
Anthony Minessale abbe42fcd3 add indications so gateway mode calls show up as bridged -take 2 2010-05-25 14:16:32 -05:00
Eric des Courtis 10c6a30a59 Added new FreeSWITCH module mod_avmd or the Advanced Voicemail Detection Module.
It provides better detection than mod_vmd but is a little more CPU intensive than mod_vmd.

Perhaps someone would like to CUDAfy this code?
2010-05-25 15:03:14 -04:00
Anthony Minessale d9dad9a499 add indications so gateway mode calls show up as bridged 2010-05-25 13:51:43 -05:00
Jeff Lenk 2cb8efc4bb FSBUILD-269 2010-05-25 13:04:28 -05:00
Brian West 2194e7c576 tweak 2010-05-25 12:58:43 -05:00
Anthony Minessale 5f4279d5bd add t38_trace=true to trace audio to tmp 2010-05-25 11:42:42 -05:00
Anthony Minessale 596c001231 yes there is, eavesdrop_enable_dtmf=false 2010-05-25 10:30:40 -05:00
Anthony Minessale b073e82b5f FSMOD-51 2010-05-25 10:14:04 -05:00
Jeff Lenk 920b866f15 FSCORE-611 2010-05-25 08:20:28 -05:00
Mathieu Parent a2ceff1471 Skinny: size_t has different sizes on different platforms
Resolve (shouldn't) MODSKINNY-5: Compiling mod_skinny on Mac OS X 10.6.3 fails
with error message about format mismatch of 'long unsigned int'
2010-05-25 09:29:01 +02:00
Anthony Minessale 678c7c90b5 set CF_REDIRECT to avoid hangup_after_bridge 2010-05-24 19:33:01 -05:00
Anthony Minessale 8c3fc792b0 fix fax negotiation issue 2010-05-24 14:38:43 -05:00
Michael Jerris fa9a59a88b initial checkin of mod_fax/mod_voipcodecs merge into mod_spandsp 2010-05-24 05:38:17 -04:00
Michael Jerris 5a845c83a5 fix mod_fax clean build 2010-05-24 03:42:08 -04:00
Jeff Lenk ad2407b570 Update for latest changes 2010-05-23 23:15:40 -05:00
Michael Jerris f89cbdd644 add mod_skinny vcproj file for windows build (MODSKINNY-3) 2010-05-22 19:18:35 -04:00
Anthony Minessale bdb9ed8b8e remove mod_t38_gateway 2010-05-21 16:47:05 -05:00
Anthony Minessale 8f32c80318 use local copy of udptl 2010-05-21 16:46:15 -05:00
Anthony Minessale 7b3d3f7ef2 Tea for two (or maybe thirty eight?) 2010-05-21 16:47:21 -05:00
Anthony Minessale 7cfe6bb222 remove race (part 2) 2010-05-21 16:18:36 -05:00
Anthony Minessale eb30905913 remove race 2010-05-21 16:17:20 -05:00
Anthony Minessale 49c9bfdb2e add conference_member_id variable to all sessions with the member id used by their conference participation (For drk__) 2010-05-21 15:51:51 -05:00
Michael Jerris 7996819fca possible fix for FSCORE-575 2010-05-21 14:40:36 -04:00
Mathieu Parent 1632f82a1a Skinny: typo 2010-05-21 15:53:15 +02:00
Mathieu Parent 0cb6af2f5a Skinny: One more for MODSKINNY-1: (soft_key_event) 2010-05-21 15:52:30 +02:00
Mathieu Parent 18a7657332 Skinny: one more for MODSKINNY-1 (keypad_button) 2010-05-21 15:47:57 +02:00
Mathieu Parent 2e2d587e7b Skinny: one more fix for MODSKINNY-1 (on_hook) 2010-05-21 15:41:41 +02:00
Mathieu Parent 2cb595c71c Skinny: Avoid message too short for off_hook
Resolve MODSKINNY-1:  FreeSwitch stops working when I use a cisco 7910
phone - FREESWITCH 1.0.6
2010-05-21 15:36:01 +02:00
Michael Jerris 05bf1d8384 initialize node_index 2010-05-21 09:19:51 -04:00
Mathieu Parent f1b636aaf7 Skinny: fix crash with outgoing channel without remote session 2010-05-21 10:18:22 +02:00
Mathieu Parent 9682599b6b Skinny: fix unhold 2010-05-21 02:22:32 +02:00
Mathieu Parent 14fee6c798 Skinny: set BOND variable early to have call info during ring
This is hackish
2010-05-21 02:09:09 +02:00
Mathieu Parent 5bdf8bcc16 Skinny: More channel variables 2010-05-21 01:12:40 +02:00
Mathieu Parent bfb6a8b1f5 Skinny: Initial Windows support
Thanks to Peter Olsson

Closes: MODSKINNY-3
2010-05-20 23:19:10 +02:00
Mathieu Parent 8bdd2f2dc2 Skinny: add message type in too short warning 2010-05-20 20:51:18 +02:00
Mathieu Parent a1f9cc1efa Skinny: pass remote session to ring_lines because BOND is not set yet 2010-05-20 18:45:25 +02:00
Rupa Schomaker 70bf7a0a6f MODAPP-427 - mod_lcr: add enable_sip_redir parameter 2010-05-20 10:41:21 -05:00
Mathieu Parent d172e9febb Skinny: send the call state when requested
This solves incorrect display on the phone.

BUT: this creates a delta because the SQL value and the value known by
the phone. I hope this doesn't break other things.

(NB: the original problem here was the unability to do an UPDATE inside
a SELECT callback)
2010-05-20 17:29:25 +02:00
Mathieu Parent 924683a73c Skinny: handle SWITCH_MESSAGE_INDICATE_DISPLAY
- send SWITCH_MESSAGE_INDICATE_DISPLAY when ringing (after knowing calle
  info
- send call info when receiving SWITCH_MESSAGE_INDICATE_DISPLAY

The send SWITCH_MESSAGE_INDICATE_DISPLAY part doesn't work yet, because
partner channel is locked (have to find out why)
2010-05-20 17:14:49 +02:00
Mathieu Parent 23b09b4593 Skinny: Correct state handling
- wait for media before marking channel as answered
- set effective_caller_{id,name} before sending call info
2010-05-20 16:34:38 +02:00
Mathieu Parent 8ec0b7f4c7 Skinny: fix redial button, and all nested "bridge" 2010-05-20 15:36:26 +02:00
Mathieu Parent 8cc89ab042 Skinny: rewrite of the skinny state machine
- for incoming calls, go CS_ROUTING only when number is dialed.
  CS_HIBERNATE before
- start media when both side have answered

Also:
- send tone for UNALLOCATED_NUMBER and USER_BUSY
- if channel variables are not sufficent to set call info, ask the
  partner channel
2010-05-20 15:16:08 +02:00
Anthony Minessale e15abcf9aa BOUNTY-18 2010-05-19 16:24:52 -05:00
Anthony Minessale 98a5a30ac2 make voicemails use the uuid of the channel who recorded it when applicable 2010-05-19 16:06:21 -05:00
Jeff Lenk 909ad64221 FSCORE-610 Initialize when no console 2010-05-19 08:11:02 -05:00
Mathieu Parent 03d07b4cb6 Skinny: slightly better call info 2010-05-19 09:52:03 +02:00
Mathieu Parent 32b8bdb990 Skinny: display destination number if callee is not set 2010-05-18 18:14:27 +02:00
Mathieu Parent e66e9fa878 Skinny: called is named callee 2010-05-18 13:48:16 +02:00
Mathieu Parent 0bc11afa73 Skinny: split out server part
And try to keep each file below 2000 lines
2010-05-18 10:49:01 +02:00
Mathieu Parent 51f1ad5072 Skinny: Send hangup cause to device (busy, unknown number) 2010-05-18 10:49:01 +02:00
Mathieu Parent 800918ab14 SKinny: use of labels, step2 2010-05-18 10:49:00 +02:00
Mathieu Parent 60090a8602 Skinny: using labels for display text
Based on chan-sccp-b (file src/sccp_labels.h)
2010-05-18 10:49:00 +02:00
Mathieu Parent 295f39c158 Skinny: renamed improper skinny_create_ingoing_session to _incoming_ 2010-05-18 10:49:00 +02:00
Anthony Minessale 7fd3aff6f0 fix eventConsumer issue and add flush() method 2010-05-17 18:38:25 -05:00
Anthony Minessale 9da349213b FSCORE-608 (2nd issue pertaining to parsing an empty xml file) 2010-05-14 11:27:29 -05:00
Anthony Minessale 349abc3fd0 add loopback_bowout_on_execute var to make 1 legged loopback calls bow out of the picture 2010-05-13 18:49:32 -05:00
Anthony Minessale eec3b757d4 add failure condition 2010-05-13 14:49:36 -05:00
Anthony Minessale a65a7f322b fix possible socket connection race 2010-05-13 14:49:36 -05:00
Brian West 91065543b2 avoid extraneous incorrect display update on answer 2010-05-12 22:19:54 -05:00
Brian West c6c479f028 fix double error message on display api 2010-05-12 22:18:48 -05:00
Brian West 848a4a6909 dup off the right pool 2010-05-12 21:23:49 -05:00
Brian West 6b1351e1bc more descriptive log message 2010-05-12 21:23:49 -05:00
Mathieu Parent 3b0f1711ba Skinny: corrections to call info:
- channel vars are caller_ and not callee_
- inbound/outbound are reversed from the skinny POV
- use displayname
2010-05-12 21:02:14 +02:00
Rupa Schomaker 5530de66ef patch cleanup - forgot a .rej file 2010-05-12 03:32:18 -05:00
Rupa Schomaker 35dc511c67 remove patch left-overs (.orig and .rej files) 2010-05-12 03:31:27 -05:00
Anthony Minessale 1d2c64d33b refactor 2010-05-11 17:56:08 -05:00
Michael Jerris 5d15dc1097 fix windows missing inet_ntop missing symbol when built on >= vista but run on < vista 2010-05-11 13:07:13 -04:00
Steve Underwood 1d0ce5570d Number reading should now be OK for the whole range of integers for
Cantonese and Mandarin
2010-05-11 09:59:33 +08:00
Anthony Minessale a7f74af7d0 add bind method to EventConsumer takes same args as constructor to bind more events to an existing consumer 2010-05-10 13:07:34 -05:00
Mathieu Rene 3c5c5905ad mod_sofia: fire an event for gateway ping 2010-05-10 12:33:47 -04:00
Mathieu Parent 194e57268a Skinny: tuple profile, device_name, device_instance is unique 2010-05-10 18:19:58 +02:00
Mathieu Parent bd6f7e73c0 perl-Skinny: don't launch thread if socket can't be created 2010-05-10 18:19:58 +02:00
Mathieu Parent 74e14f0dfb Skinny: fix the build 2010-05-10 18:19:58 +02:00
Mathieu Parent 8806bb2da1 Skinny: better call info 2010-05-10 18:19:57 +02:00
Mathieu Parent 6a29e56301 Skinny: tiny change (comment) 2010-05-10 18:19:57 +02:00
Anthony Minessale c74d1f1d00 rearrange 2010-05-10 10:40:15 -05:00
Moises Silva 26a6b43536 mod_sangoma_codec: rename load/noload to register/noregister 2010-05-07 13:56:41 -04:00
Brian West b5cc1a6626 FSCORE-605 2010-05-06 17:36:13 -05:00
Anthony Minessale 701385d221 FSCORE-607 doh 2010-05-06 17:18:26 -05:00
Brian West f254787c02 fix issue where file isn't in database and move zstr check into switch_file_exists 2010-05-06 16:25:41 -05:00
Anthony Minessale ef18989d56 sip_acl_authed_by and sip_acl_token vars to tell when you are authed by an acl 2010-05-06 15:25:30 -05:00
Anthony Minessale 2330d42412 add debug info 2010-05-06 11:38:36 -05:00
Michael Jerris 1180cfc6ff fix enum 2010-05-05 17:05:16 -04:00
Jeff Lenk 99eebf2f96 fix for Windows XP inet_ntop execution - you must compile with XP for support. 2010-05-05 15:15:01 -05:00
Michael Jerris 3362335033 typo 2010-05-05 15:15:00 -05:00
Anthony Minessale bbf0e64830 add disable_hold var or disable-hold profile param 2010-05-05 15:14:57 -05:00
Anthony Minessale a49cf256ad fix race condition when hangup happends after answer indication but before the session thread is started 2010-05-05 15:14:27 -05:00
Anthony Minessale 58fe45a803 add intercept_unbridged_only=true to only intercept if the channel is not bridged to anyone 2010-05-05 11:15:09 -05:00
Anthony Minessale a5f7461ee2 fix null pointer deref code path 2010-05-05 11:01:32 -05:00
Anthony Minessale 710290bcb4 MODENDP-302 2010-05-05 10:56:10 -05:00
Anthony Minessale 27fc3518bd reset codecs after media bugs 2010-05-04 16:03:43 -05:00
Anthony Minessale ba46088e68 fix NULL deref in err condition 2010-05-04 15:48:36 -05:00
Anthony Minessale ce910093dd add missing rwunlock in rtcp passthru mode 2010-05-04 12:30:19 -05:00
Anthony Minessale 468956e109 FSCORE-603 2010-05-04 11:24:35 -05:00
Anthony Minessale a2874b8e33 FSCORE-604 2010-05-04 09:50:55 -05:00
Brian West ef7236436a FSBUILD-275 2010-05-04 08:33:39 -05:00
Brian West d184207513 swigall 2010-05-03 16:02:21 -05:00
Michael Jerris ea5fc46550 typo 2010-05-03 16:57:17 -04:00
Anthony Minessale cca9c367a5 FSCORE-601 2010-05-03 12:35:48 -05:00
Anthony Minessale e5cc0539ff add disable_hold var or disable-hold profile param 2010-05-03 12:35:48 -05:00
Anthony Minessale 9096501ee4 fix race condition when hangup happends after answer indication but before the session thread is started 2010-05-03 13:36:23 -04:00
Brian West 2196fcdf83 DEATH TO THE. 2010-05-02 15:09:47 -05:00
Brian West 01b69e2a99 MODAPP-423 2010-05-01 19:53:17 -05:00
Brian West 1d210c9254 MODENDP-303 2010-05-01 19:50:53 -05:00
Brian West f339330d7c XML-26 2010-05-01 19:49:17 -05:00
Brian West 37c38c19f6 fix MODENDP-305 2010-05-01 19:45:31 -05:00
Anthony Minessale f1430d521a fix switch_get_addr to work with v6 properly 2010-04-30 15:27:15 -05:00
Michael Jerris aca82e20e9 update syntax 2010-04-30 16:01:00 -04:00
Rupa Schomaker b472913683 correct error msgs 2010-04-29 08:34:53 -05:00
Brian West 6436e6b242 Check in mod_osp from transnexus thank you. 2010-04-28 22:22:28 -05:00
Anthony Minessale 6b69495034 /MODSOFIA-74 2010-04-28 17:24:03 -05:00
Michael Jerris 5b51e97e0a windows needs sockets too 2010-04-28 18:35:15 -04:00
Anthony Minessale 041a8f0d00 remove debug printf left behind in previous commit 2010-04-28 15:21:37 -05:00
Anthony Minessale dfa5439937 fix potential excess cpu usage during originate 2010-04-28 12:59:29 -05:00
Christopher Rienzo a2dfddd129 Do not allow timeout when opening MRCP session 2010-04-28 14:46:49 +01:00
Anthony Minessale 19dca2e3e9 add callee id to events and add global param verbose-channel-events and fsctl verbose_events [on|off] to globally configure verbose events 2010-04-27 16:52:40 -05:00
Anthony Minessale 8660b6f9c1 replace don't bridge when parsing replaces header on invite (also hangup) 2010-04-27 14:26:55 -05:00
Anthony Minessale 35b9439b8a replace don't bridge when parsing replaces header on invite 2010-04-27 14:22:35 -05:00
Brian West 405c966a4f evil nat scenarios 2010-04-27 13:56:37 -05:00
Anthony Minessale 825bf99daa MODENDP-304 2010-04-27 12:49:53 -05:00
Anthony Minessale 9699e00270 MODAPP-403 2010-04-26 18:17:39 -05:00
Anthony Minessale 762bf62c0b FSCORE-597 2010-04-26 16:38:05 -05:00
Jeff Lenk a110ae9527 Build fixes for windows 2010-04-26 10:55:46 -05:00
Michael Jerris 41557506e1 add xml error checking 2010-04-26 07:02:26 -04:00
Michael Jerris a44e6c0891 add terminte-on-silence conference param 2010-04-26 06:58:36 -04:00
Michael Jerris 2ae67a4756 mod_sofia: add 'allow-empty-password' param (default true) 2010-04-26 06:04:45 -04:00
Michael Jerris 822dfe104e mod_voicemail: add 'vm-enabled' param (default true) 2010-04-26 05:52:12 -04:00
Michael Jerris 8e718ddeea add last talking time per member to conference xml list 2010-04-26 05:28:56 -04:00
Michael Jerris 56731c6034 mod_sofia: add EXPSECS time till reg expire and total to status return 2010-04-26 05:26:54 -04:00
Michael Jerris 2da1b5b7f9 mod_sofia: add 'sofia_count_reg' api function 2010-04-26 05:24:05 -04:00
Michael Jerris 002896a4a2 add 'direction' chan var 2010-04-26 05:18:46 -04:00