Commit Graph

874 Commits

Author SHA1 Message Date
Michael Jerris
ee16b51a42 fix typo double >, fix via e-mail from Bret McDanel.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4082 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 17:53:07 +00:00
Anthony Minessale
0ed9ebe492 CODEC TWEAK
mod_sofia will now examine a variable in the channel to
see what the channel's originator was using for a codec and 
try to put that to the top of the list in the sdp.

if this new sofia profile param is set:
<param name="disable-transcoding" value="true"/>

All outbound calls will use *only* the codec that thier originator 
is using to ensure no transcoding.
(of course that could lead to a failed call where there is no way to do this, so use sparingly)



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4073 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-28 17:37:51 +00:00
Anthony Minessale
066807ed52 tweak default conf for better first experience
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4071 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-28 03:05:20 +00:00
Anthony Minessale
85dab893d9 A few changes:
1) The xml_curl now has a more enterprise config where it can have more than 1
   url configured so you could have failover. (*note the syntax change*)

2) dialplan modules now take an extra arguement making it possible to pass runtime params to
   them.  This is now used in mod_dialplan_xml to allow an alternate file path to be specified.

   dialplans were already stackable meaning you can configure a sofia profile, for example,
   to use enum followed by the default XML dialplan.

   e.g. <param name="dialplan" value="enum,XML"/>

   From now on, you can also specify :param after each dialplan name to allow param
   to be passed to the module.  mod_dialplan_xml uses this param as a way to override
   where it looks for the dialplan making it possible to stack mutiple calls to the XML dialplan.

   e.g. <param name="dialplan" value="XML:/some/xml/file.xml,XML"/>

   With this you can search the local file file.xml first and if there is still no match
   the hunt will move on to the standard XML using the onboard XML registry and or the external
   gateways.

   *NOTE* this alternate path does not use the external bindings but it does parse the #includes etc.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4066 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-27 16:23:33 +00:00
Anthony Minessale
d866c0fef8 fix typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4050 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-24 20:28:54 +00:00
Anthony Minessale
644131d0a2 add nonce TTL option to sofia to decide when nonce is stale
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4046 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 22:04:05 +00:00
Anthony Minessale
211cac30b5 fix typo (ya ya very funny)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4040 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 18:22:42 +00:00
Anthony Minessale
e47b8edeb3 add original combined conf as an example
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4031 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 14:39:56 +00:00
Anthony Minessale
3241200072 xml preprocessor (calling all documentors and default config composers!!)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4026 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 01:12:47 +00:00
Anthony Minessale
a4dd01a0ee add late negotiation mode for sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4008 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-20 18:51:57 +00:00
Anthony Minessale
c845cf2839 auto ip stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4000 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 19:11:44 +00:00
Anthony Minessale
39a9e94305 New mod_portaudio (sponspred by eWorldCom http://www.eworldcom.hu/)
This updates mod_portaudio to use the new v19 api and also contains
major behavioural changes.  This initial check-in should be tested to find
any obscure use cases that lead to crashes etc...

All of the old api interface commands are now depricated and any attempt to
use them should cause a polite warning asking you to try the new single "pa" command.

New Features:
*) Mulitiple calls with hold/call switching.
*) Inbound calls can play a ring file on specified device. (global and per call)
*) Optional hold music for backgrounded calls. (global and per call)


Example dialplan usage:

<extension name="2000">
  <condition field="destination_number" expression="^2000$">
    <!--if the next 3 lines are omitted the defaults will be used from portaudio.conf-->
    <action application="set" data="pa_ring_file=/sounds/myring.wav"/>
    <action application="set" data="pa_hold_file=/sounds/myhold.wav"/>
    <action application="set" data="export_vars=pa_ring_file,pa_hold_file"/>
    <action application="bridge" data="portaudio"/>
  </condition>
</extension>


Example API interface usage:

call extension 1000
> pa call 1000

call extension 1001 putting the other call on hold
> pa call 1001

swap the calls between hold and active
> pa switch

view the current calls
> pa list

forground the call with id 1 
> pa switch 1

background all calls
> pa switch none

send a dtmf string (1234) to the current call
> pa dtmf 1234

answer the oldest unanswered inbound call
> pa answer

answer the call with id 1
> pa answer 1

hangup the active call
> pa hangup

hangup the call with id 1
> pa hangup 1

get device info
> pa dump

print usage summary
> pa help


USAGE:
--------------------------------------------------------------------------------
pa help
pa dump
pa call <dest> [<dialplan> <cid_name> <cid_num> <rate>]
pa answer [<call_id>]
pa hangup [<call_id>]
pa list
pa switch [<call_id>|none]
pa_dtmf <digit string>
--------------------------------------------------------------------------------

The source of the portaudio v19 library will also be checked in for the 
sake of the build system.




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3981 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-17 19:10:03 +00:00
Anthony Minessale
e37559eb0e update conference to add lock sounds, sound prefix, and use say: syntax
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3943 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-11 18:14:02 +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
57c0d4bdc9 add strepoch api call and more say stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3900 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-03 00:50:11 +00:00
Anthony Minessale
bcd1cab882 update example conf to show sofia inbound-no-media param
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3867 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-29 03:55:21 +00:00
Michael Jerris
0dd04e9308 tweak comments.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3831 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-26 16:04:03 +00:00
Michael Jerris
d53878f39d add conference caller control example.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3830 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-26 15:48:35 +00:00
Anthony Minessale
b6721ed4ed add config samples for phrase wip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3808 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 22:40:10 +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
4254ae7008 add example config re: auth to xml_curl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3650 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 15:13:01 +00:00
Anthony Minessale
5a8db2cf1b update config
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3630 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-12 20:46:25 +00:00
Anthony Minessale
5daa2313a6 formatting
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3605 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-11 19:02:14 +00:00
Anthony Minessale
01ddfdcba5 separate xml gateway code from mod_xml_rpc into it's own mod_xml_curl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3592 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-10 02:02:30 +00:00
Justin Cassidy
8df4913d01 Updating FreeSWITCH services in default configuration file. My yearly commit really... :D
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3577 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-08 04:25:19 +00:00
Michael Jerris
da95d6ef8f Example config for the new ivr application.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3531 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-04 12:41:03 +00:00
Anthony Minessale
af5336563a add odbc support to javascript
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3514 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-02 02:41:24 +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
d7baa16132 Ringback (sponsored by Front Logic)
This addition lets you set artifical ringback on a channel
that is waiting for an originated call to be answered.

the syntax is 

<action application="set" data="ringback=[data]"/>

where data is either the full path to an audio file
or a teletone generation script..


syntax of teletone scripts

LEGEND:

0-9,a-d,*,# (standard dtmf tones)

variables: c,r,d,v,>,<,+,w,l,L,%

c (channels)        - Sets the number of channels.
r (rate)            - Sets the sample rate.
d (duration)        - Sets the default tone duration.
v (volume)          - Sets the default volume.
> (decrease vol)    - factor to decrease volume by per frame (0 for even decrease across duration).
< (increase vol)    - factor to increase volume by per frame (0 for even increase across duration).
+ (step)            - factor to step by used by < and >.
w (wait)            - default silence after each tone.
l (loops)           - number of times to repeat each tone in the script.
L (LOOPS)           - number of times to repeat the the whole script.
% (manual tone)     - a generic tone specified by a duration, a wait and a list of frequencies.

standard tones can have custom duration per use with the () modifier
7(1000, 500) to generate DTMF 7 for 1 second then pause .5 seconds

EXAMPLES

UK Ring Tone [400+450 hz on for 400ms off for 200ms then 400+450 hz on for 400ms off for 2200ms]
%(400,200,400,450);%(400,2200,400,450)

US Ring Tone [440+480 hz on for 2000ms off for 4000ms]
%(2000,4000,440,480)

ATT BONG [volume level 4000, even decay, step by 2, # key for 60ms with no wait, volume level 2000, 350+440hz {us dialtone} for 940ms
v=4000;>=0;+=2;#(60,0);v=2000;%(940,0,350,440)

SIT Tone 913.8 hz for 274 ms with no wait, 1370.6 hz for 274 ms with no wait, 1776.7 hz for 380ms with no wait
%(274,0,913.8);%(274,0,1370.6);%(380,0,1776.7)

ATTN TONE (phone's off the hook!) 1400+2060+2450+2600 hz for 100ms with 100ms wait
%(100,100,1400,2060,2450,2600)



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3408 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:05:06 +00:00
Anthony Minessale
4e1d518c0e spidermonkey has it's own loadable modules now good luck
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3307 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 21:49:57 +00:00
Anthony Minessale
71043450c7 A change has been made to the user directory.
the <param> tags that was in the <user>
are now nested in thier own <params> tag.


Also when using dingaling in component mode you can add a <vcard> to the
user that will be deliverd when requested when using an id like 

user+stpeter@jabber.org assuming the comonent subdomain is jabber.org





git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3152 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 04:49:46 +00:00
Michael Jerris
458b6012a2 fix typo profile->profiles, unmatched tag.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3117 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 06:28:39 +00:00
Anthony Minessale
3a32d9e53c Presence and Chat Gateway Code
This is some brand new stuff to gateway chat/presence/audio from one protocol to another
So far it only works between google/jingle and SIP

All I had to test the SIP end was X-Lite and Eyebeam and GoogleTalk on the jingle end.

With this setup registered X-Lite's can chat with each other and call each other 
as well as X-Lite to GoogleTalk and GoogleTalk to X-Lite audio calls.

Chat May also be done between X-Lite and jabber 

You'll also need a jabber server configured for component login so you can interface.
We have only tested with jabberd2 so far.

Configure DNS so srv records for jabber for your subdomain (fs.mydomain.com in the example)
so the jabber records are pointed at your jabber server.

RELEVANT CONFIGS

<!-- Brian has no jingle support so send calls to him over to his iax url -->
<extension name="bkw">
  <condition field="destination_number" expression="^jingle\+brian@agents.cylynx.com$">
    <action application="bridge" data="iax/guest@brianwest.homeunix.org/9184290404"/>
  </condition>
</extension>

<!-- Assumption is made here that both sip and jingle have the same profile/domain name as documented below -->

<extension name="jingle2sip">
  <condition field="source" expression="mod_dingaling"/>
  <condition field="destination_number" expression="^sip\+([^\@]+)\@(.*)$">
    <action application="bridge" data="sofia/$2/$1%$2"/>
  </condition>
</extension>

<extension name="sip2jingle">
  <condition field="source" expression="mod_sofia"/>
  <condition field="destination_number" expression="^jingle\+([^\@]+)\@(.*)$">
    <action application="bridge" data="dingaling/sip+${sip_fromuser}@${sip_fromhost}/$1@$2"/>
  </condition>
</extension>


<configuration name="sofia.conf" description="sofia Endpoint">
  <global_settings>
    <param name="log-level" value="0"/>
  </global_settings>

  <profiles>
    <profile name="fs.mydomain.com">
      <registrations/>
      <settings>
	<param name="debug" value="1"/>
	<param name="rfc2833-pt" value="101"/>
	<param name="sip-port" value="5060"/>
	<param name="dialplan" value="XML"/>
	<param name="dtmf-duration" value="100"/>
	<param name="codec-prefs" value="PCMU"/>
	<param name="codec-ms" value="20"/>
	<param name="accept-blind-reg" value="true"/>
	<param name="manage-presence" value="true"/>
	<!--<param name="full-id-in-dialplan" value="true"/>-->
	<!--<param name="auth-calls" value="true"/>-->
	<!--<param name="auth-all-packets" value="true"/>-->
	<param name="use-rtp-timer" value="true"/>
	<param name="rtp-timer-name" value="soft"/>
	<param name="rtp-ip" value="100.200.100.200"/>
	<param name="sip-ip" value="fs.mydomain.com"/>
      </settings>
    </profile>
  </profiles>

</configuration>


<configuration name="dingaling.conf" description="XMPP Jingle Endpoint">
  <settings>
    <param name="debug" value="0"/>
    <param name="codec-prefs" value="PCMU"/>
  </settings>

  <profile type="component">
    <param name="name" value="fs.mydomain.com"/>
    <param name="password" value="secret"/>
    <param name="dialplan" value="XML"/>
    <param name="rtp-ip" value="208.64.200.42"/>
    <param name="server" value="jabber.freeswitch.org:5347"/>
    <!-- disable to trade async for more calls -->
    <param name="use-rtp-timer" value="true"/>
    <param name="exten" value="_auto_"/>
    <!--<param name="vad" value="both"/>-->
  </profile>

</configuration>



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3115 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 06:17:00 +00:00
Michael Jerris
48a8cd0786 comment registration in default config so all new builds don't try to reg.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3077 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-18 17:18:16 +00:00
Anthony Minessale
efd246babd add auto-reply option to dingaling to allow the gateway bot to auto-reply to chat msgs recieved outside the context of a call
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3041 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-12 14:06:09 +00:00
Michael Jerris
efc894b6dd reformat sample conf, remove exosip references
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2906 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-01 00:21:06 +00:00
Anthony Minessale
62e2b843ee adios to exosip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2901 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-30 19:16:55 +00:00
Michael Jerris
42cf3fd934 add some missing modules to the sample config.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2894 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-30 07:25:58 +00:00
Anthony Minessale
8d716e6ab9 break everything in sofia as you know it but add in/out reg + auth, look in the default config for the new syntax
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2875 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-30 00:00:07 +00:00
Brian West
396beef390 refactor sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2869 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-29 18:12:31 +00:00
Anthony Minessale
a2683555d6 update defaults
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2867 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-29 13:00:28 +00:00
Anthony Minessale
663079d8a6 add multicast stuff to sofia reg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2851 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-27 20:18:14 +00:00
Anthony Minessale
5a3a8297ef peliminary sofia inbound reg support rm all traces of sofia and rebuild or face certian doom
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2843 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-27 03:44:14 +00:00
Michael Jerris
64ec761798 fix timer name.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2836 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-26 00:00:55 +00:00
Anthony Minessale
8a0e9ccf1f performance tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2693 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-14 00:15:03 +00:00
Anthony Minessale
f385b33813 change woomera defaults
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2677 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-13 13:41:35 +00:00
Michael Jerris
5b8c50e01c comment out dev conf in the sample config, people can use 1234 to test, I will change the getting started guide.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2529 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-06 03:06:25 +00:00
Michael Jerris
d2a705c639 disable this for now as it acts as a catch all for bad dials.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2465 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-31 01:40:27 +00:00
Michael Jerris
68b9629fe7 add music test extension to the sample config.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2464 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-31 01:16:37 +00:00
Brian West
1726f14557 add sofia to default config file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2427 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-29 16:31:55 +00:00
Anthony Minessale
d8703f5bd2 change conference
no more <rooms>
rooms will just be created on the fly.

<action application="conference" data="myconf@myprofile+1234"/>

+1234 is optional on-the-fly pin





git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2381 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-24 02:22:57 +00:00
Anthony Minessale
07a7b6e54a update dingaling to be able to use TLS jabber servers such as googletalk
see sample config for new options.

the dingaling library has changed so you must rebuild it 
rm libs/libdingaling/.complete
make installall



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2251 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-11 00:24:38 +00:00
Michael Jerris
1228090736 update trixtel regex to work better
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2195 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-28 04:57:58 +00:00
Anthony Minessale
9c79c2a3fb Add mod_event_socket remote client module and sample client.
To Test:

uncomment or add from modules.conf
make installall again to compile it
uncomment the load line from freeswitch.xml

the default values are to bind to 127.0.0.1 port 8021

telnet to port 8021
enter "auth ClueCon" to authenticate

from here you can do the following:
*) events [xml|plain] <list of events to log or all for all>
*) noevents 
*) log <level> // same as the console.conf values
*) nolog
*) api <command> <arg>
*) exit

there is a perl client in scripts/socket called fs.pl

with the module up and loaded:
cd scripts/socket
perl fs.pl <optional log level>

you can enter a few api commands like "show or status"




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2047 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-22 21:49:52 +00:00
Anthony Minessale
240b5439fe make mod_portaudio start by default
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2008 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-20 03:38:27 +00:00
Anthony Minessale
4aa4687836 update example
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1979 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-19 13:29:03 +00:00
Anthony Minessale
e73ee221d2 add mod_dptools, for set variable and sleep from the dialplan
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1864 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-13 13:20:20 +00:00
Anthony Minessale
c36145e58b update config
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1820 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-10 22:27:15 +00:00
Anthony Minessale
b63a0c80d2 duh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1790 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-07 19:07:41 +00:00
Anthony Minessale
47b3010ce7 fix param names
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1789 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-07 19:07:07 +00:00
Anthony Minessale
b5a19020f7 add session counter and make all sessions hang up elegantly on shutdown
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1788 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-07 18:59:14 +00:00
Anthony Minessale
ecb7c08923 Add volume, gain and energy controls.
DTMF:
1 = volume down
2 = volume default
3 = volume up
4 = gain down
5 = gain default
6 = gain up
7 = energy level down
8 = energy level default
9 = energy level up
* = toggle mute + deaf
0 = toggle mute
# = quit 

new api commands to adj volume, gain and energy



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1787 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-07 16:47:20 +00:00
Anthony Minessale
ee5e2e0994 add a new software conference module (mod_conference)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1770 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-06 20:12:53 +00:00
Michael Jerris
97eb607fcd fix toll free regex
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1644 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-17 17:09:25 +00:00
Anthony Minessale
ae81787816 ivr stuff (part 3)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1575 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-08 19:31:12 +00:00
Anthony Minessale
9a43ccab24 add mod_rss
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1551 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-06 23:07:37 +00:00
Anthony Minessale
cd3e5e83c2 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1548 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-06 16:22:08 +00:00
Michael Jerris
d16e0faea7 add toll free termination to the default sample dialplan.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1546 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-06 02:52:26 +00:00
Anthony Minessale
0019a2df8b add auth to xmlrpc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1530 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-01 17:16:15 +00:00
Anthony Minessale
160fe134e6 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1526 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-30 17:47:07 +00:00
Anthony Minessale
baa257f2fe update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1513 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-27 00:24:32 +00:00
Anthony Minessale
ab3f42c9c4 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1508 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-26 16:00:08 +00:00
Anthony Minessale
75c0ab62b2 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1500 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-24 16:16:03 +00:00
Anthony Minessale
79dcf1969a update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1499 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-24 16:10:05 +00:00
Michael Jerris
31ee0d59fc normalize configuration parameters to use - instead of _.
Break everybody's configuration.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1475 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-16 17:08:21 +00:00
Anthony Minessale
9def695568 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1452 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-12 21:19:42 +00:00
Anthony Minessale
ce4b769c8a update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1451 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-12 21:13:54 +00:00
Anthony Minessale
6c0016864c update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1450 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-12 20:11:54 +00:00
Anthony Minessale
050b05861c format
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1447 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-12 19:36:05 +00:00
Anthony Minessale
d53d9d3997 rearrange some things please see conf/freeswitch.xml as there is a significant change to the conf that will break your stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1446 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-12 19:28:21 +00:00
Anthony Minessale
1dfa2ce576 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1443 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-12 13:46:18 +00:00
Anthony Minessale
3c3df4df3d update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1440 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-12 01:13:55 +00:00
Anthony Minessale
97376c095e update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1405 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 03:51:35 +00:00
Anthony Minessale
93666f6dd7 XMLification (wave 1)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1401 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 03:23:05 +00:00
Anthony Minessale
ccab39a2e7 break some more stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1319 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-02 17:42:24 +00:00
Anthony Minessale
397bf1bffc change dingaling to break everybody
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1318 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-02 16:43:13 +00:00
Anthony Minessale
a9f86cb58a add VAD
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1222 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-21 22:31:08 +00:00
Anthony Minessale
f69777b251 update ip binding stuff to match
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1212 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-20 02:14:09 +00:00
Anthony Minessale
11c738f0e9 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1210 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-20 02:09:14 +00:00
Anthony Minessale
453b85ba9f add ilbc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1200 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-19 19:05:44 +00:00
Anthony Minessale
207ffdfccd update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1190 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-18 21:32:43 +00:00
Anthony Minessale
0e0e1e3673 make dingaling need talk in the resource to clear up collisions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1159 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-14 18:10:24 +00:00
Michael Jerris
d0a103a343 Addition of mod_syslog for *nix. Thanks to James Martelletti.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1158 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-14 16:45:31 +00:00
Michael Jerris
ecc2a3baa1 let iax bind to specific ip (rm libs/iax/.complete next time you build)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1134 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-13 01:05:47 +00:00
Brian West
a9a23aed22 file/func specific logging
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1128 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-12 17:51:47 +00:00
Brian West
559b8ab26c Gut Logger and put it back modular style
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1117 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-11 21:13:44 +00:00
Anthony Minessale
3c95e314fc SRTP should work now
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1111 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-10 22:03:38 +00:00
Anthony Minessale
6fe3876c97 adjust configs last few commits bring things into more uniform configs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1080 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-07 01:40:12 +00:00
Anthony Minessale
0af60e1b2f move CNG into the core and rearrange a few things
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1066 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-06 19:50:53 +00:00
Anthony Minessale
46737750ab update conf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1057 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-05 22:58:10 +00:00
Anthony Minessale
b71c36b138 add stun to dingaling
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1050 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-05 20:22:05 +00:00
Anthony Minessale
5c5a0fe70b add mod_commands
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1045 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-04 22:03:59 +00:00
Anthony Minessale
a3e7b59de6 Addition of libdingaling and mod_dingaling to enable jingle support
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@995 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-31 19:38:09 +00:00
Anthony Minessale
38d680864c update default conf file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@984 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-30 23:06:47 +00:00
Michael Jerris
124f7d234c build tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-08 02:38:38 +00:00
Michael Jerris
ff4c3c1a42 water down default build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@794 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-08 02:18:35 +00:00
Anthony Minessale
3d6ca65883 tweak default config
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@667 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-24 21:00:33 +00:00
Anthony Minessale
9bfd7ae25a *) Add support for unified config:
When config file does not exist the system will
browse freeswitch.conf (if it exists) for an embedded file.

Embeded files denoted with +file.conf 
Terminated by either another [+XXX] or EOF 

eg
[+iax.conf]
...
[+exosip.conf]
...
EOF

*) Change default examples to use this method

*) Fix small bug in core to pass along failure when outgoing channel fails.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@663 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-24 16:47:22 +00:00
Anthony Minessale
45d1b5cc87 1 of many PRI/SIP gateway related updates
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@652 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-22 18:32:15 +00:00
Anthony Minessale
ebfc333dc6 add files to go with previous commit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@617 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-14 21:18:27 +00:00
Anthony Minessale
847b7160bd Add multicast event module
This does 2 things when loaded:

1) All events are serialized and sent to the multicast destination.
2) Any serialized event received on the socket will be reconstituted into
   an event and fired on the local box

So, if you make another local event handler listen for the custom event from
mod_event_multicast "multicast::event" you will be able to react to events
on other instances of FreeSWITCH




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@616 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-14 21:13:53 +00:00
Anthony Minessale
5d8283c4ad make new modules.conf OS independant
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@613 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-14 17:31:20 +00:00
Anthony Minessale
cb463b4e52 Make optional modules.conf that allows you to pick the module load order
and to exclude some modules. (see example in trunk/conf)

Make ';' a valid comment in config files 
Interpret a line in config files beginning with "__END__" as eof



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@608 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-14 16:26:24 +00:00
Anthony Minessale
176908397b add zerconf (the howl depend lib needs work sigh)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@606 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-13 23:59:14 +00:00
Anthony Minessale
146a819fdf add dialplan module to use new directory stuff. (you can get dialplan from ldap now)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@582 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-10 02:13:51 +00:00
Anthony Minessale
4dc97fbc23 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@472 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-29 01:44:57 +00:00
Anthony Minessale
5d0589e64e fix conf url
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@467 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-27 23:54:45 +00:00
Anthony Minessale
613060fd29 IVR groundwork (move playback into the core and add timing option)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@447 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-26 17:57:25 +00:00
Anthony Minessale
abbb770064 regex(pcre) example conf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@445 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-26 01:24:16 +00:00
Anthony Minessale
32273a0c3f xmppmas
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@196 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-23 02:24:56 +00:00
Anthony Minessale
e59b65efa6 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@103 d0543943-73ff-0310-b7d9-9358b9ac24b2 2005-12-09 23:14:09 +00:00
Anthony Minessale
8fab3d501f Add portaudio files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@95 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-08 23:10:59 +00:00
Michael Jerris
a12e44e6f2 Put sample conf files where they belong so they are there when you try to run in debug mode.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@60 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-20 02:19:24 +00:00
Michael Jerris
af43554c83 Moved remotely
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@46 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-19 20:08:48 +00:00