Commit Graph

287 Commits

Author SHA1 Message Date
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 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 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 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 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 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
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
Anthony Minessale 12243c194e tidy up, note yesterday's propagate_vars was changed to export_vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3106 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 16:33:54 +00:00
Michael Jerris f33768085a tweak up another warning level.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3105 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 16:10:46 +00:00
Michael Jerris e415095df3 up the msvc warning level on srtp
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3099 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 06:29:49 +00:00
Michael Jerris faf7cd383b add new sha1 code on windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3089 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 01:21:43 +00:00
Michael Jerris f64ae18ac6 add endian defines on MSVC
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3088 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 01:21:17 +00:00
Anthony Minessale dba1b9b7a1 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3085 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 00:17:47 +00:00
Anthony Minessale 70bfba5b63 Christmas Presence
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3083 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-18 22:57:35 +00:00
Michael Jerris 61e118db18 some proper casts after bit shifts to force to the right data type.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3081 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-18 21:09:35 +00:00
Michael Jerris 4acbf41663 fix target on release dll build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3080 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-18 19:22:23 +00:00
Michael Jerris 5148aa2da6 up the warning level.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3072 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-17 21:56:45 +00:00
Michael Jerris 3b47c3e85c raise warning levels.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3069 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-17 03:45:51 +00:00
Michael Jerris 4c795c3d1c update to new tarball for sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3054 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-15 05:21:40 +00:00
Anthony Minessale ba46200539 refactoring and general improvement (do a make sure)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3035 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-12 00:59:09 +00:00
Michael Jerris 21bb1bd2b0 update to new sofia tarball.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3014 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 20:13:12 +00:00
Michael Jerris b9a350a40d update windows build to new sofia tarball
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2995 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 20:09:46 +00:00
Michael Jerris 9624ef3f3d fix debug build for sofia on windows, use dll version of pthread win32 so it can do the cleanup properly.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2988 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-06 13:13:28 +00:00
Michael Jerris 4e9be89ad6 update windows sofia build to latest release.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2972 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 03:11:09 +00:00
Michael Jerris 9dc167a83c make attempting to reapply patches just fail and not prompt the user
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2967 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-04 00:27:59 +00:00
Michael Jerris 64a3ef3c91 resolve unused function warning, this probably works better as a macro anyhow.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2964 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-03 12:38:12 +00:00
Anthony Minessale 965f8b50d5 finish solaris porting for srtp. This should work now, but still needs some more work
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2957 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 20:49:26 +00:00
Michael Jerris c4b5df5315 solairs port, add new files, still WIP.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2955 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 19:13:49 +00:00
Anthony Minessale 804aaa5097 update autotools for libspeakup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2954 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 18:22:56 +00:00
Michael Jerris 4a871ba503 remove sum unnecessary files, add a missing one
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2953 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 18:21:02 +00:00
Michael Jerris 8747f15aee add some macros in preparation for solaris port of srtp
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2951 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 17:03:36 +00:00
Michael Jerris 791c051246 make spidermonkey build on OpenBSD
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2943 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 06:27:29 +00:00
Michael Jerris ebd092f2a8 spidermonkey builds successfully on freebsd now.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2938 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 04:06:27 +00:00
Michael Jerris f403d3415e force -lpthread on freebsd
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2937 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 03:36:26 +00:00
Michael Jerris 5a315d74bf create makefile for netbsd.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2933 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 02:47:39 +00:00
Michael Jerris 356730ab97 add tgmath.h checks.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2932 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 01:53:37 +00:00
Anthony Minessale 8001cd5802 add check for tgmath.h
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2931 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 01:49:41 +00:00
Michael Jerris 0bea969515 tweak to run in pieces
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2930 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 01:27:06 +00:00
Michael Jerris c61584b6e5 fix sqlite build on netbsd
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2929 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 00:53:48 +00:00
Michael Jerris 7807b1f443 I'll get this right by the 10th time.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2928 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 00:15:18 +00:00
Michael Jerris 0e03f2e7d2 64 bit on bsd
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2927 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 00:01:00 +00:00
Michael Jerris e0cd293e83 typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2926 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-01 23:58:05 +00:00
Michael Jerris 4d230d08e7 fix portaudio build on OpenBSD take 5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2925 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-01 23:56:21 +00:00
Michael Jerris aab161e9cd fix portaudio build on OpenBSD take 4
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2924 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-01 23:42:16 +00:00
Justin Cassidy e306d23a78 add makefile for openbsd
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2923 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-01 23:12:50 +00:00
Michael Jerris 3d13f15163 fix portaudio build on OpenBSD take 3
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2922 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-01 22:50:31 +00:00
Michael Jerris 43332a09c2 fix portaudio build on OpenBSD take 2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2921 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-01 22:39:50 +00:00
Michael Jerris b42509957f fix portaudio build on OpenBSD
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2920 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-01 22:36:44 +00:00
Michael Jerris 76dba3a39e header tweak for netbsd
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2919 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-01 22:15:44 +00:00