455 Commits

Author SHA1 Message Date
Andrew Thompson
42f6d3ff4a Use SWITCH_XML_SECTION_MAX
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13751 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-10 21:17:42 +00:00
Mathieu Rene
4348c7bca2 FSCORE-379
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13746 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-10 06:39:08 +00:00
Andrew Thompson
696285a98f Blindly adding winsock support, I'll test it when I get to a windows machine
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13717 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-09 05:24:55 +00:00
Brian West
a1e5add731 don't print misleading info here either if nat_type isn't set even if the add is a no_op
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13705 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-08 23:28:51 +00:00
Mathieu Rene
b633d3298e add an external port output parameter to switch_nat_add_mapping and use it in sofia_glue_tech_choose_port
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13629 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-05 02:30:44 +00:00
Brian West
78c0c3b80e not not right
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13599 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-03 22:30:00 +00:00
Brian West
b28bd6b9d2 don't nat map where its loopback
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13589 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-03 19:42:53 +00:00
Brian West
d59ebd6450 adding nat-map option to mod_event_socket
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13567 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-03 14:25:35 +00:00
Anthony Minessale
303271f92a allow socket app to operate without pre_answer (please test)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13294 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-13 16:34:39 +00:00
Michael Jerris
4441606b17 cleanup msvc code analysis tagging and warnings
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13280 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-11 22:28:02 +00:00
Mathieu Rene
06babac1e4 Properly use switch_xml_parse_str_dynamic
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13259 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-08 04:05:39 +00:00
Andrew Thompson
ffe00a236b Use switch_xml_parse_str_dynamic so we don't leak (thanks Math)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13256 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-07 22:13:05 +00:00
Anthony Minessale
b25d511cd3 tweak log messages
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13220 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-02 00:58:51 +00:00
Anthony Minessale
0b66681f10 add resume command to event socket and socket_resume variable
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13212 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-30 22:45:46 +00:00
Mathieu Rene
7da470f67c Fix them all while we're at it
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13092 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-21 01:02:45 +00:00
Stefan Knoblich
0412ae8e9c snprintf needs a format string too, and write has the warn_unused_result attribute set, so store the return value somewhere
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13090 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-21 00:44:33 +00:00
Andrew Thompson
d2bede71f5 Reply appropriately to net_adm:ping()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13066 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-16 23:02:41 +00:00
Andrew Thompson
c9c2f8d6df Whoops!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12906 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-03 17:52:38 +00:00
Andrew Thompson
3c84c89744 Remember kids, practice safe memory management!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12888 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-02 16:11:15 +00:00
Andrew Thompson
aa2f34e98a Fixed registered process outbound mode (reported by rcpacheco)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12845 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-30 21:10:01 +00:00
Anthony Minessale
bce5187da1 rearrange hangup callflow to do more work in the session's own thread
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12784 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-25 20:07:40 +00:00
Anthony Minessale
dd19c3c2ec fix var events to not have stamp info
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12765 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 23:44:03 +00:00
Anthony Minessale
50faa8bcd9 fix typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12763 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 22:22:05 +00:00
Anthony Minessale
67984e765c change blocking: true to async: true you can start with blocking and go async but not the other way around
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12759 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 18:01:58 +00:00
Anthony Minessale
bed82b98a6 move connect command to always work on outbound socket not just the first time
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12723 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-23 19:53:57 +00:00
Andrew Thompson
31aefe6ef8 Remove some unnecessary code that was holding locks on the session
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12651 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-17 19:51:49 +00:00
Andrew Thompson
f06de29ac3 Cleanups/fixes while tracking down stuck channels
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12638 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-17 02:35:06 +00:00
Andrew Thompson
eacbed6de9 Don't hold a pointer to the session, store the uuid instead and use switch_core_session_locate/switch_core_session_rwunlock
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12637 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-17 00:05:17 +00:00
Andrew Thompson
3eba7e3602 Send a "call_hangup" to outbound/handlecall sessions when the relevant channel is hungup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12635 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-16 23:31:55 +00:00
Andrew Thompson
8928727293 Fix removing sessions from linked list; fix a deadlock added in previous commit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12634 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-16 22:58:36 +00:00
Andrew Thompson
8d9f4cd156 Improved the 'erlang' console application; added the UUID to some debug messages
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12630 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-16 22:14:31 +00:00
Andrew Thompson
4adb99129e Whoops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12606 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-14 23:53:32 +00:00
Andrew Thompson
34e3747ef7 Unlock the session like we should be doing
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12594 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-13 19:55:55 +00:00
Andrew Thompson
5e1fcbd1bf Make handlecall return more correct errors; sync freeswitch.erl with git version
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12592 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-13 17:33:17 +00:00
Andrew Thompson
0805f571da Remove old hardcoded makefile now that we can check for erlang stuff in configure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12588 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-12 19:57:22 +00:00
Andrew Thompson
143b59f7a1 fixin' a segfault
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12580 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-12 02:37:30 +00:00
Andrew Thompson
6f2862f996 Add a Makefile.in for mod_erlang_event in preparation for when my configure patch gets merged
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12578 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-12 00:43:07 +00:00
Andrew Thompson
5602e60cdd Move some variable declarations to a more correct place
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12549 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:06:19 +00:00
Andrew Thompson
9371d827d8 oops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12548 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 17:47:35 +00:00
Andrew Thompson
fbcddd6465 Some more memory management tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12543 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-09 20:22:42 +00:00
Michael Jerris
4212af498b build: build path cleanups (FSBUILD-130)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12490 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-06 19:27:14 +00:00
Anthony Minessale
0e18742f20 fix broken filter command in event socket
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12489 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-06 19:25:19 +00:00
Andrew Thompson
6ae73314a7 Rework how spawned outbound pids communicate their pid back to the outbound call process, try to improve some memory management
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12475 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-05 21:54:16 +00:00
Anthony Minessale
d7a12df53f add new state for CDR and leg_delay_start originate var and fix FSCORE-315
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 04:19:33 +00:00
Anthony Minessale
2e1680d2df MODEVENT-40 ahem `Math
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12349 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-02 16:09:32 +00:00
Mathieu Rene
dab63328cd More initial paradox of doom avoidement
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12334 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-27 20:21:48 +00:00
Mathieu Rene
557f7388f9 Whitespace can be a bitch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12327 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-27 16:38:19 +00:00
Anthony Minessale
e46509f540 avoiding initial paradox of doom
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12326 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-27 16:35:42 +00:00
Anthony Minessale
9556be51ef fix issue in monitor_early_media_fail issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12271 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 03:41:18 +00:00
Mathieu Rene
c4787ffd48 Leaking on unload is strictly forbidden
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12251 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-23 19:17:24 +00:00