Quick Search:

Line History

line history graph

Show Arbitrary Diff

From to

Supports revisions and tags.

History

root: 8894 995

latest revision download Branch root:

8894 annotated / raw | Diffs: previous, other | Lines: 2316 ( +1, -1 )

Created: 2008-07-03 15:12:26 -0400 (2 months 5 days ago) | Author: mikej | Changeset: 8894

vim extendtab is bad

6120 annotated / raw | Diffs: previous, other | Lines: 2316 ( +10, -7 )

Created: 2007-11-01 07:28:26 -0400 (10 months ago) | Author: mikej | Changeset: 6120

use more correct const char * for things that should not be modified.  This should also fix the switch_cpp.cpp changes from MODAPP-44.  More patches to follow up on this for a few more modules that will likely break with this commit.

5738 annotated / raw | Diffs: previous, other | Lines: 2313 ( +0, -0 )

Created: 2007-09-21 14:49:14 -0400 (11 months ago) | Author: mikej | Changeset: 5738

svn:eol-style properties, and make eol-style consistent in some files.

5053 annotated / raw | Diffs: previous, other | Lines: 2313 ( +11, -12 )

Created: 2007-05-01 12:12:02 -0400 (16 months ago) | Author: anthm | Changeset: 5053

misc fixes

5019 annotated / raw | Diffs: previous, other | Lines: 2314 ( +16, -8 )

Created: 2007-04-26 10:38:40 -0400 (16 months ago) | Author: anthm | Changeset: 5019

update

5005 annotated / raw | Diffs: previous, other | Lines: 2306 ( +33, -11 )

Created: 2007-04-23 15:03:06 -0400 (16 months ago) | Author: anthm | Changeset: 5005

update dingaling

4969 annotated / raw | Diffs: previous, other | Lines: 2284 ( +97, -59 )

Created: 2007-04-18 13:26:58 -0400 (16 months ago) | Author: anthm | Changeset: 4969

update

4968 annotated / raw | Diffs: previous, other | Lines: 2246 ( +46, -34 )

Created: 2007-04-18 12:10:46 -0400 (16 months ago) | Author: anthm | Changeset: 4968

update

4941 annotated / raw | Diffs: previous, other | Lines: 2234 ( +3, -5 )

Created: 2007-04-16 09:33:45 -0400 (16 months ago) | Author: mikej | Changeset: 4941

tweak some var types to silence warnings.

4887 annotated / raw | Diffs: previous, other | Lines: 2236 ( +6, -3 )

Created: 2007-04-07 17:23:01 -0400 (17 months ago) | Author: anthm | Changeset: 4887

update

4886 annotated / raw | Diffs: previous, other | Lines: 2233 ( +6, -5 )

Created: 2007-04-07 17:14:21 -0400 (17 months ago) | Author: anthm | Changeset: 4886

merge 2

4885 annotated / raw | Diffs: previous, other | Lines: 2232 ( +7, -1 )

Created: 2007-04-07 17:13:54 -0400 (17 months ago) | Author: anthm | Changeset: 4885

merge 1

4883 annotated / raw | Diffs: previous, other | Lines: 2226 ( +12, -3 )

Created: 2007-04-07 11:55:07 -0400 (17 months ago) | Author: anthm | Changeset: 4883

add dl_debug api command

4879 annotated / raw | Diffs: previous, other | Lines: 2217 ( +1, -1 )

Created: 2007-04-06 22:27:41 -0400 (17 months ago) | Author: anthm | Changeset: 4879

wtf

4878 annotated / raw | Diffs: previous, other | Lines: 2217 ( +2, -117 )

Created: 2007-04-06 22:19:15 -0400 (17 months ago) | Author: anthm | Changeset: 4878

restore order to the universe

4877 annotated / raw | Diffs: previous, other | Lines: 2332 ( +2, -1 )

Created: 2007-04-06 22:10:17 -0400 (17 months ago) | Author: anthm | Changeset: 4877

merge 2

4876 annotated / raw | Diffs: previous, other | Lines: 2331 ( +19, -23 )

Created: 2007-04-06 21:57:54 -0400 (17 months ago) | Author: anthm | Changeset: 4876

merge 1

4872 annotated / raw | Diffs: previous, other | Lines: 2335 ( +99, -103 )

Created: 2007-04-06 16:47:09 -0400 (17 months ago) | Author: anthm | Changeset: 4872

wip

4865 annotated / raw | Diffs: previous, other | Lines: 2339 ( +3, -1 )

Created: 2007-04-05 18:31:47 -0400 (17 months ago) | Author: anthm | Changeset: 4865

shrug

4864 annotated / raw | Diffs: previous, other | Lines: 2337 ( +5, -5 )

Created: 2007-04-05 16:29:14 -0400 (17 months ago) | Author: anthm | Changeset: 4864

fix

4861 annotated / raw | Diffs: previous, other | Lines: 2337 ( +0, -1 )

Created: 2007-04-05 11:08:54 -0400 (17 months ago) | Author: anthm | Changeset: 4861

remove unused struct member

4857 annotated / raw | Diffs: previous, other | Lines: 2338 ( +3, -6 )

Created: 2007-04-05 06:53:38 -0400 (17 months ago) | Author: mikej | Changeset: 4857

fix libdingaling build

4856 annotated / raw | Diffs: previous, other | Lines: 2341 ( +8, -3 )

Created: 2007-04-05 06:23:09 -0400 (17 months ago) | Author: mikej | Changeset: 4856

var types, use zize_t for lengths.

4853 annotated / raw | Diffs: previous, other | Lines: 2336 ( +39, -12 )

Created: 2007-04-04 19:21:19 -0400 (17 months ago) | Author: anthm | Changeset: 4853

fix

4852 annotated / raw | Diffs: previous, other | Lines: 2309 ( +1, -1 )

Created: 2007-04-04 18:36:33 -0400 (17 months ago) | Author: anthm | Changeset: 4852

one less

4850 annotated / raw | Diffs: previous, other | Lines: 2309 ( +135, -5 )

Created: 2007-04-04 18:22:55 -0400 (17 months ago) | Author: anthm | Changeset: 4850

add avatars for dingalaing

4812 annotated / raw | Diffs: previous, other | Lines: 2179 ( +5, -0 )

Created: 2007-03-30 13:31:47 -0400 (17 months ago) | Author: anthm | Changeset: 4812

doh

4775 annotated / raw | Diffs: previous, other | Lines: 2174 ( +5, -8 )

Created: 2007-03-27 01:15:16 -0400 (17 months ago) | Author: mikej | Changeset: 4775

use logger for iksemel logs too instead of stderr.

4774 annotated / raw | Diffs: previous, other | Lines: 2177 ( +12, -8 )

Created: 2007-03-27 00:14:48 -0400 (17 months ago) | Author: mikej | Changeset: 4774

reconnect on failure

4498 annotated / raw | Diffs: previous, other | Lines: 2173 ( +1, -1 )

Created: 2007-03-09 18:51:52 -0500 (18 months ago) | Author: anthm | Changeset: 4498

cleanup some stuff

4176 annotated / raw | Diffs: previous, other | Lines: 2173 ( +1, -1 )

Created: 2007-02-08 21:36:03 -0500 (18 months ago) | Author: mikej | Changeset: 4176

fix magic emacs and vi formatting comments in the bottom of our source files to use tabs instead of spaces

4087 annotated / raw | Diffs: previous, other | Lines: 2173 ( +2, -0 )

Created: 2007-01-29 17:22:29 -0500 (19 months ago) | Author: anthm | Changeset: 4087

fix dingaling reject

4003 annotated / raw | Diffs: previous, other | Lines: 2171 ( +3, -1 )

Created: 2007-01-19 15:35:50 -0500 (19 months ago) | Author: anthm | Changeset: 4003

minor tweak

3861 annotated / raw | Diffs: previous, other | Lines: 2169 ( +18, -15 )

Created: 2006-12-28 15:05:38 -0500 (20 months ago) | Author: anthm | Changeset: 3861

fix issues

3719 annotated / raw | Diffs: previous, other | Lines: 2166 ( +24, -22 )

Created: 2006-12-19 12:29:33 -0500 (20 months ago) | Author: anthm | Changeset: 3719

xmas presence

3661 annotated / raw | Diffs: previous, other | Lines: 2164 ( +4, -0 )

Created: 2006-12-14 17:45:30 -0500 (20 months ago) | Author: mikej | Changeset: 3661

updated autotools for compatability with solaris.  Please report any problems.

3624 annotated / raw | Diffs: previous, other | Lines: 2160 ( +5, -8 )

Created: 2006-12-12 12:44:59 -0500 (20 months ago) | Author: anthm | Changeset: 3624

tweak to jingle

3513 annotated / raw | Diffs: previous, other | Lines: 2163 ( +1, -1 )

Created: 2006-12-01 21:13:15 -0500 (21 months ago) | Author: anthm | Changeset: 3513

sigh

3493 annotated / raw | Diffs: previous, other | Lines: 2163 ( +30, -13 )

Created: 2006-11-30 10:27:37 -0500 (21 months ago) | Author: anthm | Changeset: 3493

tweak

3462 annotated / raw | Diffs: previous, other | Lines: 2146 ( +10, -1 )

Created: 2006-11-27 17:30:48 -0500 (21 months ago) | Author: mikej | Changeset: 3462

Add magic comments for emacs and vi in source and header files to properly format and display tabs vs. spaces in those editors:

/* For Emacs:
* Local Variables:
* mode:c
* indent-tabs-mode:nil
* tab-width:4
* c-basic-offset:4
* End:
* For VIM:
* vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab:
*/

3413 annotated / raw | Diffs: previous, other | Lines: 2137 ( +1, -1 )

Created: 2006-11-18 20:21:44 -0500 (21 months ago) | Author: mikej | Changeset: 3413

silence silly warning on msvc.

3387 annotated / raw | Diffs: previous, other | Lines: 2137 ( +3, -3 )

Created: 2006-11-16 14:28:05 -0500 (21 months ago) | Author: anthm | Changeset: 3387

pesky interop

3385 annotated / raw | Diffs: previous, other | Lines: 2137 ( +5, -5 )

Created: 2006-11-16 11:10:39 -0500 (21 months ago) | Author: anthm | Changeset: 3385

update

3384 annotated / raw | Diffs: previous, other | Lines: 2137 ( +21, -16 )

Created: 2006-11-16 10:50:17 -0500 (21 months ago) | Author: anthm | Changeset: 3384

update

3380 annotated / raw | Diffs: previous, other | Lines: 2132 ( +33, -16 )

Created: 2006-11-15 15:21:29 -0500 (21 months ago) | Author: anthm | Changeset: 3380

update

3374 annotated / raw | Diffs: previous, other | Lines: 2115 ( +5, -4 )

Created: 2006-11-14 19:15:38 -0500 (21 months ago) | Author: anthm | Changeset: 3374

inherited 64bit bug curses to unsigned long

3181 annotated / raw | Diffs: previous, other | Lines: 2114 ( +1, -1 )

Created: 2006-10-24 14:50:52 -0400 (22 months ago) | Author: anthm | Changeset: 3181

update

3151 annotated / raw | Diffs: previous, other | Lines: 2114 ( +43, -0 )

Created: 2006-10-22 00:37:19 -0400 (22 months ago) | Author: anthm | Changeset: 3151

your run-of-the mill nightmarish attempt at normalizing not one crazy protocol but many....

3129 annotated / raw | Diffs: previous, other | Lines: 2071 ( +32, -2 )

Created: 2006-10-20 20:59:51 -0400 (22 months ago) | Author: anthm | Changeset: 3129

strip html till we figure it out

3118 annotated / raw | Diffs: previous, other | Lines: 2041 ( +5, -5 )

Created: 2006-10-20 02:44:58 -0400 (22 months ago) | Author: anthm | Changeset: 3118

bs

3115 annotated / raw | Diffs: previous, other | Lines: 2041 ( +22, -15 )

Created: 2006-10-20 02:17:00 -0400 (22 months ago) | Author: anthm | Changeset: 3115

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>

3106 annotated / raw | Diffs: previous, other | Lines: 2034 ( +1, -1 )

Created: 2006-10-19 12:33:54 -0400 (22 months ago) | Author: anthm | Changeset: 3106

tidy up, note yesterday's propagate_vars was changed to export_vars

3089 annotated / raw | Diffs: previous, other | Lines: 2034 ( +5, -1 )

Created: 2006-10-18 21:21:43 -0400 (22 months ago) | Author: mikej | Changeset: 3089

add new sha1 code on windows build.

3083 annotated / raw | Diffs: previous, other | Lines: 2030 ( +531, -36 )

Created: 2006-10-18 18:57:35 -0400 (22 months ago) | Author: anthm | Changeset: 3083

Christmas Presence

3072 annotated / raw | Diffs: previous, other | Lines: 1535 ( +4, -4 )

Created: 2006-10-17 17:56:45 -0400 (22 months ago) | Author: mikej | Changeset: 3072

up the warning level.

3035 annotated / raw | Diffs: previous, other | Lines: 1535 ( +18, -0 )

Created: 2006-10-11 20:59:09 -0400 (22 months ago) | Author: anthm | Changeset: 3035

refactoring and general improvement (do a make sure)

2917 annotated / raw | Diffs: previous, other | Lines: 1517 ( +1, -1 )

Created: 2006-10-01 17:44:49 -0400 (23 months ago) | Author: mikej | Changeset: 2917

type tweak

2352 annotated / raw | Diffs: previous, other | Lines: 1517 ( +2, -1 )

Created: 2006-08-21 18:48:01 -0400 (2 years ago) | Author: mikej | Changeset: 2352

Windows build tweaks.

2350 annotated / raw | Diffs: previous, other | Lines: 1516 ( +18, -34 )

Created: 2006-08-21 15:14:51 -0400 (2 years ago) | Author: anthm | Changeset: 2350

bunch of tweaks to make ivr more fun

2330 annotated / raw | Diffs: previous, other | Lines: 1532 ( +2, -0 )

Created: 2006-08-18 17:02:40 -0400 (2 years ago) | Author: anthm | Changeset: 2330

google part 1000

2327 annotated / raw | Diffs: previous, other | Lines: 1530 ( +12, -6 )

Created: 2006-08-18 14:44:11 -0400 (2 years ago) | Author: anthm | Changeset: 2327

last round of google cleanup rebuild libdingaling

2323 annotated / raw | Diffs: previous, other | Lines: 1524 ( +72, -13 )

Created: 2006-08-17 21:28:50 -0400 (2 years ago) | Author: anthm | Changeset: 2323

Upgrade Dingaling to meet new googletalk spec upgrade your client if you have issues.
codecs need more work...

Expose events into javascript so you can create and fire events and
and pick up chat events with chat-enabled clients like googletalk
EXAMPLE:

session.answer();

e = new Event("custom", "JS::Custom");
e.addHeader("subject", "cool");
e.addBody("hello this is a test");
e.fire;

while(session.ready()) {
   session.execute("sleep", "1000");
   event = session.getEvent();
   if (event) {
     str = event.serialize(); // or ("xml")
     console_log("debug", "Dump Event:\n" + str + "\n");


       e = new Event("custom", "JS::Chat");
       e.addHeader("works", "yes");
       e.addBody("you said: " + event.getBody());
       session.sendEvent(e);
     event.destroy();
   }
}



2280 annotated / raw | Diffs: previous, other | Lines: 1465 ( +3, -2 )

Created: 2006-08-13 01:09:29 -0400 (2 years ago) | Author: mikej | Changeset: 2280

fix signedness issue and strlen to uint32_t cast

2272 annotated / raw | Diffs: previous, other | Lines: 1464 ( +37, -0 )

Created: 2006-08-12 13:09:11 -0400 (2 years ago) | Author: anthm | Changeset: 2272

update roster nonsense

2251 annotated / raw | Diffs: previous, other | Lines: 1427 ( +198, -33 )

Created: 2006-08-10 20:24:38 -0400 (2 years ago) | Author: anthm | Changeset: 2251

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

1660 annotated / raw | Diffs: previous, other | Lines: 1262 ( +14, -5 )

Created: 2006-06-22 17:57:40 -0400 (2 years 2 months ago) | Author: anthm | Changeset: 1660

dingaling tweak

1345 annotated / raw | Diffs: previous, other | Lines: 1253 ( +5, -1 )

Created: 2006-05-04 11:37:06 -0400 (2 years 4 months ago) | Author: anthm | Changeset: 1345

update

1344 annotated / raw | Diffs: previous, other | Lines: 1249 ( +34, -3 )

Created: 2006-05-04 10:37:11 -0400 (2 years 4 months ago) | Author: anthm | Changeset: 1344

update

1334 annotated / raw | Diffs: previous, other | Lines: 1218 ( +2, -0 )

Created: 2006-05-03 19:54:30 -0400 (2 years 4 months ago) | Author: anthm | Changeset: 1334

update

1332 annotated / raw | Diffs: previous, other | Lines: 1216 ( +2, -13 )

Created: 2006-05-03 16:08:38 -0400 (2 years 4 months ago) | Author: anthm | Changeset: 1332

update

1331 annotated / raw | Diffs: previous, other | Lines: 1227 ( +14, -3 )

Created: 2006-05-03 15:02:33 -0400 (2 years 4 months ago) | Author: anthm | Changeset: 1331

update

1330 annotated / raw | Diffs: previous, other | Lines: 1216 ( +1, -4 )

Created: 2006-05-03 14:43:57 -0400 (2 years 4 months ago) | Author: anthm | Changeset: 1330

update

1329 annotated / raw | Diffs: previous, other | Lines: 1219 ( +6, -0 )

Created: 2006-05-03 14:41:14 -0400 (2 years 4 months ago) | Author: anthm | Changeset: 1329

update

1318 annotated / raw | Diffs: previous, other | Lines: 1213 ( +5, -0 )

Created: 2006-05-02 12:43:13 -0400 (2 years 4 months ago) | Author: anthm | Changeset: 1318

change dingaling to break everybody

1312 annotated / raw | Diffs: previous, other | Lines: 1208 ( +30, -9 )

Created: 2006-05-01 14:55:04 -0400 (2 years 4 months ago) | Author: anthm | Changeset: 1312

update to dingaling (rm ./libs/libdingaling/.complete

1171 annotated / raw | Diffs: previous, other | Lines: 1187 ( +6, -2 )

Created: 2006-04-15 18:30:25 -0400 (2 years 4 months ago) | Author: mikej | Changeset: 1171

update

1162 annotated / raw | Diffs: previous, other | Lines: 1183 ( +2, -1 )

Created: 2006-04-15 01:00:51 -0400 (2 years 4 months ago) | Author: anthm | Changeset: 1162

update

1159 annotated / raw | Diffs: previous, other | Lines: 1182 ( +13, -6 )

Created: 2006-04-14 14:10:24 -0400 (2 years 4 months ago) | Author: anthm | Changeset: 1159

make dingaling need talk in the resource to clear up collisions

1148 annotated / raw | Diffs: previous, other | Lines: 1175 ( +12, -1 )

Created: 2006-04-13 23:04:53 -0400 (2 years 4 months ago) | Author: mikej | Changeset: 1148

update

1147 annotated / raw | Diffs: previous, other | Lines: 1164 ( +56, -25 )

Created: 2006-04-13 22:05:29 -0400 (2 years 4 months ago) | Author: anthm | Changeset: 1147

add logger

1117 annotated / raw | Diffs: previous, other | Lines: 1133 ( +1, -1 )

Created: 2006-04-11 17:13:44 -0400 (2 years 4 months ago) | Author: brian | Changeset: 1117

Gut Logger and put it back modular style

1072 annotated / raw | Diffs: previous, other | Lines: 1133 ( +1, -1 )

Created: 2006-04-06 19:31:01 -0400 (2 years 5 months ago) | Author: anthm | Changeset: 1072

add missing byte to dingaling

997 annotated / raw | Diffs: previous, other | Lines: 1133 ( +7, -1 )

Created: 2006-03-31 16:42:36 -0500 (2 years 5 months ago) | Author: anthm | Changeset: 997

update

995 new annotated / raw | Lines: 1127 ( +1127, -0 )

Created: 2006-03-31 14:38:09 -0500 (2 years 5 months ago) | Author: anthm | Changeset: 995

Addition of libdingaling and mod_dingaling to enable jingle support