Commit Graph

2008 Commits

Author SHA1 Message Date
Anthony Minessale 305bc19458 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3199 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 17:00:23 +00:00
Anthony Minessale 3b72da4213 add pause in tts
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3198 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 16:17:54 +00:00
Anthony Minessale a592674795 sip signalling
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3197 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 15:46:42 +00:00
Anthony Minessale 61f7148941 tidy up
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3196 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 14:01:03 +00:00
Michael Jerris 0be391132a datatype tweaks.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3193 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 04:47:08 +00:00
Anthony Minessale 08442ff2c4 signalling refactoring for media etc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3192 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 04:28:49 +00:00
Michael Jerris 1f2d19e28e update more sip cause code to qsig cause code mappings from rfc 4497 sections 8.4.1 and 8.4.4
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3190 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 03:45:20 +00:00
Anthony Minessale 252afb823f add some sanity code to originate and conference
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3189 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 01:00:26 +00:00
Michael Jerris 0fb5729590 add the start of DTMF INFO support from Paul Tinsley. thanks.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3186 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 22:11:25 +00:00
Anthony Minessale 521e3b0a55 figure out when we are on hold
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3185 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 21:31:39 +00:00
Anthony Minessale e22015c799 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3182 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 18:51:33 +00:00
Anthony Minessale 10ead46ffd update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3181 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 18:50:52 +00:00
Anthony Minessale bfab0a6efc minor tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3180 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 18:23:23 +00:00
Paul Tinsley 92adc26e0e Potential fix for a problem we can't seem to cause again... but the fix shouldn't be capable of causing any new problems so lets do it just incase.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3172 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 02:26:25 +00:00
Anthony Minessale 04546b6b93 fix sillyness
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3171 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 01:29:04 +00:00
Anthony Minessale 2d3ab6b5d8 let you pick event type
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3169 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-23 22:32:50 +00:00
Paul Tinsley 900ad177d6 Rework of Filter's handling of the socket with freeswitch, the previous implementation was a serious cheat. We now properly handle the Content-Length tag and go out of line based mode and into length mode.
Also updated the console to show replies to commands.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3168 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-23 20:47:22 +00:00
Michael Jerris 39df1481c2 move to new sofia tarball for windows build, this new tarball includes fix for build w/o glib on *nix, fix for segfault on cancel during early media, and proper implementation of handing subscribe and publish requests up to the application (removes our private hacks to enable this behavior).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-23 20:39:48 +00:00
Anthony Minessale b30eb82b84 new sofia rollout
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3166 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-23 20:28:55 +00:00
Anthony Minessale d1965b701c let log and event work
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3165 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-23 17:40:26 +00:00
Anthony Minessale 776919d5fd tweeks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3164 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-23 17:34:03 +00:00
Michael Jerris af23ce4853 whitespace cleanup.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3158 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 17:44:41 +00:00
Michael Jerris 1cd8709762 add "all" member target for vol and energy commands, fix init of len for record.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3157 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 17:07:28 +00:00
Michael Jerris 90fe19867c initialize to null so we can check for null before we free.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3156 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 15:46:23 +00:00
Michael Jerris 49a130962c code before declaration
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3155 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 15:46:01 +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
Anthony Minessale aba9c77c35 your run-of-the mill nightmarish attempt at normalizing not one crazy protocol but many....
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3151 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 04:37:19 +00:00
Michael Jerris 1bc0db0db6 clarify in mod_skel. (thanks knhor).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3144 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 23:02:36 +00:00
Michael Jerris d0f877a32f Make record only end the application, and not hangup the call on * (thanks knhor).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3143 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 23:01:58 +00:00
Michael Jerris dd5d73742a add ability to specify member "all" on conference api commands taking a member (thanks knhor).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3142 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 23:01:17 +00:00
Michael Jerris ae717d3be1 add sqlite to mod_conference linking
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3141 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 23:00:18 +00:00
Anthony Minessale f4b25c70b4 add viles patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3140 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 22:54:55 +00:00
Anthony Minessale b2f9fae6d1 conference recording
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3139 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 21:19:40 +00:00
Anthony Minessale 1f29ce2749 add some more nifty stuff and fix a bug or 2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3134 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 04:58:15 +00:00
Anthony Minessale 7e61bcf9bb fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3133 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 03:19:48 +00:00
Michael Jerris beb4922646 fix typo, thanks knhor
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3132 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 01:33:23 +00:00
Michael Jerris 796ed1813e tweak warning level up.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3131 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 01:32:11 +00:00
Anthony Minessale 59f3204d61 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3130 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 01:20:46 +00:00
Anthony Minessale 4770a54d37 strip html till we figure it out
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3129 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 00:59:51 +00:00
Anthony Minessale a67dc0aab6 fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3126 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 22:26:06 +00:00
Anthony Minessale 343fd5cea5 refactor the presence stuff and add it to mod_conference
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3124 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 22:11:26 +00:00
Anthony Minessale db2753b78a this ascii 20 ' ' sponsored by Matt Klein aka Vile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3122 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 13:32:44 +00:00
Anthony Minessale 003f33e409 *WARNING* delete /usr/local/freeswitch/db/* cos the schema has changed
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3121 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 07:35:55 +00:00
Anthony Minessale 26fa772094 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3120 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 07:34:08 +00:00
Anthony Minessale 4943c5939f another step closer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3119 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 06:55:30 +00:00
Anthony Minessale 747ab41f78 bs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3118 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 06:44:58 +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
Paul Tinsley bb5b51dfbe Initial checkin of the POE::Filter::FSSocket module and fsconsole.pl which is a curses, multi-window console for freeswitch mod_event_socket. See http://search.cpan.org/~ptinsley/POE-Filter-FSSocket-0.04/lib/POE/Filter/FSSocket.pm for more info on the perl module.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3116 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 06:20: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 e70a025a88 fix segfault?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3114 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 05:45:52 +00:00