Commit Graph

2132 Commits

Author SHA1 Message Date
Anthony Minessale 81ee9b74d1 codec_string channel_var sets per-call codecs on outbound calls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3511 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 21:24:54 +00:00
Michael Jerris 07a6c2e21d move email to etpan, cleanup the new stubs.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3510 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 19:16:46 +00:00
Anthony Minessale 12ebe76bfe add some vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3508 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 18:27:45 +00:00
Michael Jerris c8b129df56 initial stubs for odbc and libetpan modules for spidermonkey. These do not do anything yet.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3507 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 17:59:58 +00:00
Anthony Minessale 5969fe801b prevent double load of modules
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3506 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 16:08:56 +00:00
Anthony Minessale b1c5e9e55b dox
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3505 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 16:00:16 +00:00
Anthony Minessale d138ed71b7 adjustments to the core do a make sure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3504 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 15:26:37 +00:00
Michael Jerris 92bd5358d0 fix mod_enum on windows, fix logic error in free function causing operations on freed memory
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3503 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 06:12:07 +00:00
Michael Jerris fb447028bc mod_enum doesn't crash windows now, still a bit to get it to work right.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3500 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 23:47:30 +00:00
Michael Jerris fadc1ccebe win32 build for mod_enum/libudns. Please note, this builds but still DOES NOT work on windows.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3499 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 23:33:37 +00:00
Michael Jerris 1f8b1ee421 cast tweak to make compiler happy
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3498 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 22:57:16 +00:00
Michael Jerris 693c80fb01 update to sofia release 1.12.4, many fixes including fix for assert(sip) on response to invite after an outbound register
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3497 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 22:56:56 +00:00
Anthony Minessale 067014633e add file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3496 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 22:10:07 +00:00
Anthony Minessale 8c67ef2c5d mod_enum
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3495 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 22:02:49 +00:00
Anthony Minessale 60434decf5 ENUM Support
mod_enum can be used as a dialplan app, an api call from the console or as a dialplan interface.


Dialplan Interface:
put enum as the dialplan parameter in an endpoint module
i.e. instead of "XML" set it to "enum" or "enum,XML" for fall through.

Dialplan App:
This example will do a lookup and set the a variable that is the proper
dialstring to call all of the possible routes in order of preference according to 
the lookup and the order of the routes in the enum.conf section.

<extension name="tollfree">
  <condition field="destination_number" expression="^(18(0{2}|8{2}|7{2}|6{2})\d{7})$">
    <action application="enum" data="$1"/>
    <action application="bridge" data="${enum_auto_route}"/>
  </condition>
</extension>

You can also pick an alrernate root:
<action application="enum" data="$1 myroot.org"/>	


API command:
at the console you can say:
enum <number> [<root>]

The root always defaults to the one in the enum.conf section.




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3494 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 21:28:32 +00:00
Anthony Minessale 90ddec83d9 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3493 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 15:27:37 +00:00
Michael Jerris f5e183cb48 cast for datatype of score.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3488 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-29 20:08:12 +00:00
Michael Jerris ec34d7bdaf playfile fixes for startpos from Matt Klein.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3487 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-29 20:07:13 +00:00
Anthony Minessale f6fd954631 api tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3485 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-29 17:10:40 +00:00
Michael Jerris 6b5a464f2b fix spidermonkey build on FreeBSD (patch from Matt Klein)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3484 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-29 14:43:41 +00:00
Michael Jerris 50d87f2c78 more ani2 -> aniii changes. Note, if you have mysql tables setup, you may need to alter them
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3483 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-29 14:32:11 +00:00
Paul Tinsley ea19c0e980 No reason to consider % dangerous twice...
Also i retract my pcre statement from before, i doubt a perl pack and hex call are going to work in pcre.  The regex should give plenty of idea what you need to do in your language of choice though, thats the point :)


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3482 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-29 05:46:12 +00:00
Paul Tinsley 0c1e83a43f Fix for event serialization, multi-ilne variables or crazy characters in a line could cause parsing errors in consumers of serialized events.
All values are now url encoded to ensure they don't have "dangerous" characters in them.  make sure you url_decode in your language of choice when consuming events in plain format from the event socket.

For those perl or pcre heads out there you can use the following regex:
$value =~ s/\%([A-Fa-f0-9]{2})/pack('C', hex($1))/sego;



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3481 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-29 04:57:01 +00:00
Anthony Minessale 4ebf67c27a update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3478 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 22:37:53 +00:00
Paul Tinsley 53e4be8bc0 Add a notice to try and deal with a common build problem.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3477 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 22:13:45 +00:00
Anthony Minessale bf4d94affe doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3476 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 21:59:27 +00:00
Anthony Minessale d288ae58a8 add timelimit to record
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3475 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 21:46:29 +00:00
Anthony Minessale fe376294fc fix a few js issues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3474 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 20:54:26 +00:00
Anthony Minessale 8c541bdc30 fix a few js issues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3473 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 20:53:26 +00:00
Anthony Minessale d3758afbae fix a few js issues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3472 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 20:52:04 +00:00
Paul Tinsley a85ec77f99 Fix a few overflow problems
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3471 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 20:20:22 +00:00
Paul Tinsley e15479daae Get rid of the hard coded console help output, and add an api version command for fun.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3470 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 19:33:54 +00:00
Brian West 3b521f2084 update public key
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3469 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 19:07:29 +00:00
Anthony Minessale 987e580fc9 add some vard
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3467 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 16:45:25 +00:00
Anthony Minessale d20870e121 fix obscure bs, remove CR from dptools, add info app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3463 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 02:23:26 +00:00
Michael Jerris 44649c70b4 Add magic comments for emacs and vi in source and header files to properly format and display tabs vs. spaces in those editors:
/* For Emacs:
 * Local Variables:
 * mode:c
 * indent-tabs-mode:nil
 * tab-width:4
 * c-basic-offset:4
 * End:
 * For VIM:
 * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab:
 */


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-27 22:30:48 +00:00
Anthony Minessale 361dc67be2 no_media/ringback tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3461 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-27 21:52:38 +00:00
Anthony Minessale c08e943e44 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3460 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-27 17:12:40 +00:00
Anthony Minessale dd1f941744 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3458 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-26 20:06:04 +00:00
Anthony Minessale 57dd6da1fe add sip_authorized variable
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3456 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-25 16:52:35 +00:00
Anthony Minessale 2580c41f82 add vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3455 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-25 16:35:56 +00:00
Michael Jerris 757d26b382 use LF, not CRLF
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3452 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-24 15:44:10 +00:00
Michael Jerris 63aae494ac add "log" application to print log messages From Mike Murdock.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3451 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-24 15:43:46 +00:00
Anthony Minessale 74dee5f6ec update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3449 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-23 19:44:20 +00:00
Anthony Minessale fd16c8f245 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3448 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-23 19:42:21 +00:00
Anthony Minessale 5869b86676 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3447 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-23 19:32:28 +00:00
Anthony Minessale 251d8c45b4 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3446 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-23 19:13:54 +00:00
Anthony Minessale 3a7a5295af update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3437 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-22 17:48:53 +00:00
Anthony Minessale 69197e82df update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3433 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-21 19:30:39 +00:00
Anthony Minessale 6c0b467d75 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3432 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-21 19:01:54 +00:00