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: 646 ( +1, -1 )

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

vim extendtab is bad

8873 annotated / raw | Diffs: previous, other | Lines: 646 ( +1, -1 )

Created: 2008-07-01 13:40:53 -0400 (3 months 11 days ago) | Author: mikej | Changeset: 8873

tweak ifdef

8872 annotated / raw | Diffs: previous, other | Lines: 646 ( +3, -0 )

Created: 2008-07-01 13:36:53 -0400 (3 months 11 days ago) | Author: mikej | Changeset: 8872

whoops

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

Created: 2008-07-01 11:50:06 -0400 (3 months 11 days ago) | Author: cypromis | Changeset: 8870

build tweak for solaris

6120 annotated / raw | Diffs: previous, other | Lines: 641 ( +2, -2 )

Created: 2007-11-01 07:28:26 -0400 (11 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: 641 ( +0, -0 )

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

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

4941 annotated / raw | Diffs: previous, other | Lines: 641 ( +8, -4 )

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

tweak some var types to silence warnings.

4883 annotated / raw | Diffs: previous, other | Lines: 637 ( +7, -0 )

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

add dl_debug api command

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

Created: 2007-04-05 06:14:20 -0400 (18 months ago) | Author: mikej | Changeset: 4855

fix inline fun on windows.

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

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

add avatars for dingalaing

4848 annotated / raw | Diffs: previous, other | Lines: 628 ( +1, -1 )

Created: 2007-04-04 13:32:56 -0400 (18 months ago) | Author: anthm | Changeset: 4848

add odbc support for dingaling

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

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

doh

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

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

cleanup some stuff

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

Created: 2007-02-08 21:36:03 -0500 (20 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: 579 ( +2, -1 )

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

fix dingaling reject

3710 annotated / raw | Diffs: previous, other | Lines: 578 ( +8, -1 )

Created: 2006-12-18 20:02:17 -0500 (21 months ago) | Author: anthm | Changeset: 3710

hmm i wonder why i was so against fucking with the build system

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

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

tweak to jingle

3462 annotated / raw | Diffs: previous, other | Lines: 570 ( +11, -0 )

Created: 2006-11-27 17:30:48 -0500 (22 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:
*/

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

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

update

3380 annotated / raw | Diffs: previous, other | Lines: 556 ( +7, -0 )

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

update

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

Created: 2006-11-09 01:55:18 -0500 (23 months ago) | Author: anthm | Changeset: 3292

dox

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

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

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

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

Created: 2006-10-20 02:17:00 -0400 (23 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>

3083 annotated / raw | Diffs: previous, other | Lines: 536 ( +40, -5 )

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

Christmas Presence

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

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

refactoring and general improvement (do a make sure)

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

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

google part 1000

2323 annotated / raw | Diffs: previous, other | Lines: 498 ( +19, -0 )

Created: 2006-08-17 21:28:50 -0400 (2 years 1 month 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();
   }
}



2251 annotated / raw | Diffs: previous, other | Lines: 479 ( +27, -1 )

Created: 2006-08-10 20:24:38 -0400 (2 years 2 months 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: 453 ( +3, -1 )

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

dingaling tweak

1344 annotated / raw | Diffs: previous, other | Lines: 451 ( +16, -0 )

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

update

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

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

change dingaling to break everybody

1312 annotated / raw | Diffs: previous, other | Lines: 428 ( +14, -2 )

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

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

1147 annotated / raw | Diffs: previous, other | Lines: 416 ( +17, -0 )

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

add logger

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

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

update

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

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

Addition of libdingaling and mod_dingaling to enable jingle support