Commit Graph

207 Commits

Author SHA1 Message Date
Anthony Minessale ed41805c17 improve core and basic flow
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4174 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 01:34:01 +00:00
Michael Jerris 0d35fb0308 Fix typo in several places. Patch from Matt Klein.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4163 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 13:50:28 +00:00
Anthony Minessale 27eed28376 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4126 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-05 21:10:39 +00:00
Anthony Minessale 96e32a8d4c tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4123 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-05 17:56:09 +00:00
Michael Jerris ad494c1c29 small fix to dtmf handling in ivr menus
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4119 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-04 19:53:35 +00:00
Michael Jerris e8e851731e menu->inlen is allways max bound size +1 (for terminating null) so we need to pass -1 to play or say.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4118 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-04 19:38:13 +00:00
Michael Jerris 17bf41e158 Initial structure for generic inband dtmf detection. NOTE: This code does not currently remove the inband dtmf tones from the stream (as that is not supported using read media bugs) and it is also COMPLETELY untested and unused anywhere. This code is there for somone who wants to implement this feature in mod_sofia to test.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4111 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-03 04:09:43 +00:00
Anthony Minessale 6f9be6bf5a bug in the bugs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4109 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-02 21:01:13 +00:00
Anthony Minessale 59ed99a9a8 core framework for reverse media bugs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4105 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-31 23:09:33 +00:00
Anthony Minessale 9b474d2576 add success cause for originate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4091 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-30 03:17:10 +00:00
Anthony Minessale 1ef78b928f fix sleep to work right on unanswered channels
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4072 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-28 03:17:12 +00:00
Anthony Minessale 00d7e70e2d fix cause code passthrough
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4061 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-26 20:39:45 +00:00
Anthony Minessale aed84d4179 ivr menu tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3985 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-18 14:48:31 +00:00
Michael Jerris 5bc71925a8 Make sure we pass early media after the pre-answer (thanks Mike Murdock for the report and troubleshooting assistance)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3928 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-08 01:55:16 +00:00
Michael Jerris 1dcfa50d76 potentially uninitialized vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3924 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-07 04:34:22 +00:00
Anthony Minessale 9d1e2e9167 don't call us we'll call you
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3917 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-06 17:06:18 +00:00
Michael Jerris 63bf54fee1 make build on windows.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3912 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-05 16:49:36 +00:00
Anthony Minessale 102e735067 tidy up on top of last commit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3906 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-04 17:40:47 +00:00
Anthony Minessale 01541265ec add parameter parsing to dial string (leading name=val pairs sep by , inside {} such as {foo=bar} )
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3905 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-04 17:27:37 +00:00
Anthony Minessale 6aaedb918c update phrase interface
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3901 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-03 16:43:59 +00:00
Anthony Minessale f79ade4532 say update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3897 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-02 23:08:26 +00:00
Anthony Minessale c12438b06b fix hold issue reported by irate anonymous guy on irc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3879 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-31 21:06:03 +00:00
Anthony Minessale 18c3fe5cf9 fix messed up switch statement
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3877 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-31 19:54:16 +00:00
Anthony Minessale 968f4fccc3 fix sofia (part 2) you'd better 'make sure'
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3860 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-28 19:38:35 +00:00
Anthony Minessale 905a48c85f fix sofia (part 1)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3856 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-28 01:08:06 +00:00
Brian West 89414ed9b8 fix switch_ivr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3821 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-24 02:06:50 +00:00
Anthony Minessale 591c9b87aa ruin everything, sorry jamesdotcom
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3815 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-23 16:40:37 +00:00
Anthony Minessale da7f28effb say related stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3807 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 22:33:48 +00:00
Michael Jerris 592c8348c2 use right type.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3806 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 21:35:03 +00:00
Michael Jerris e38a6e8ca7 fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3805 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 21:31:47 +00:00
Michael Jerris db286703a6 default timeout on record to 3 seconds, reset timeout when we hear sound above the threshold, change terms of silence timeout to be seconds.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3803 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 21:10:20 +00:00
Anthony Minessale aae9da6464 cant memset
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3802 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 20:06:17 +00:00
Michael Jerris ef36df338d change types for len to uint32_t.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 19:03:25 +00:00
Anthony Minessale 302a768c9f make substitution dynamic
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3794 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 14:50:48 +00:00
Anthony Minessale a8cf41acde expand vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3786 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 20:48:09 +00:00
Michael Jerris 7183562d7a to const or not to const, that is the question.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3769 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 21:46:18 +00:00
Anthony Minessale f564963282 linux #%^%$&
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3768 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 21:44:21 +00:00
Anthony Minessale bf08364e5f const
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3767 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 21:40:26 +00:00
Anthony Minessale b7dbea6407 add pelim say stuff, module framework, xml parser, dialplan app, and add new channel var called sound_prefix for audio files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3766 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 21:25:14 +00:00
Anthony Minessale 44cc7d5cfe build progress break everything
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3682 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-17 01:01:09 +00:00
Michael Jerris 5b8cb3879a separate the stream context from the parser context
merged from knhor branch, thanks Neal.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3601 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-10 22:22:28 +00:00
Anthony Minessale d3dca0313b band aid, beware of sip transfers
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3589 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-09 03:49:54 +00:00
Anthony Minessale 243a820dff tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3563 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-07 04:06:46 +00:00
Anthony Minessale baf0174ab6 change & to , in forked dial
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3559 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-06 17:24:14 +00:00
Michael Jerris 84c625d98f refinements and additions to switch_ivr_menu from Neal Horman.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3527 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-04 05:41:03 +00:00
Anthony Minessale ad63096f5c fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3524 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-04 00:04:20 +00:00
Anthony Minessale bd460fa547 fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3523 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-03 23:58:01 +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
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