Commit Graph

305 Commits

Author SHA1 Message Date
Anthony Minessale
6013035a6c update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3380 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-15 20:21:29 +00:00
Anthony Minessale
1fc5fd0e14 inherited 64bit bug curses to unsigned long
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3374 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-15 00:15:38 +00:00
Michael Jerris
54e68cfee6 fix path of header files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3372 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-14 19:52:24 +00:00
Michael Jerris
73304d0ca8 move to sofia snapshot 1.12.3.10. This adds nua_i_mehtod support to allow receipt of non-standard methods as well as a number of other bugfixes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3346 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-13 19:13:56 +00:00
Michael Jerris
2450b0e624 teletone dll needs to built to the dest dir, not to the intermediate dir.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3304 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 16:02:31 +00:00
Anthony Minessale
3c20f80991 dox
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3292 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 06:55:18 +00:00
Anthony Minessale
1167541063 build stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3287 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:31:29 +00:00
Michael Jerris
1e4ad3c5ae Update to newest sofia snapshot. This includes many fixes mostly for sdp negotiation.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3244 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 20:48:16 +00:00
Michael Jerris
7a36a5d969 Update to new sofia tarball to tweak sdp behavior to use the correct c line on re-invite.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3241 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 05:43:53 +00:00
Anthony Minessale
082a5a03c0 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3226 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-29 15:36:23 +00:00
Michael Jerris
18f51bee7b update to new sofia snapshot. This fixes several race conditions, ref count problems, and double frees that were happening in the sofia library and fixes segfaults under heavy load and a segfault on cancel when using 100rel while awaiting a prack. Sofia should be much more stable now, please beat it up and let us know.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3220 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-27 23:20:10 +00:00
Anthony Minessale
b22e11c36a update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3206 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 20:05:16 +00:00
Michael Jerris
f1cfceb9d4 bad opt, wrong directory.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3201 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 17:04:00 +00:00
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
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
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
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