[Freeswitch-dev] Chat Dialplan

Abdul Hakeem alhakeem at gmail.com
Mon Jul 4 12:48:31 MSD 2011


Kurtis,
Which protocol will this chat/sms dialplan be compliant with ?.
Sip MESSAGE method , SIMPLE and XMPP are both widely adopted.
It would be great to add support for connectivity to external domains such as
Gtalk, Yahoo Messenger etc.
Cheers,
AH

-----Original Message-----
From: freeswitch-dev-bounces at lists.freeswitch.org
[mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Kurtis Heimerl
Sent: Monday, July 04, 2011 12:50 AM
To: freeswitch-dev at lists.freeswitch.org
Subject: [Freeswitch-dev] Chat Dialplan

Hello Freeswitch-dev!

I've recently begin modifying Sofia to support a chat "dialplan", very
similar to the voice dialplan. Basically, a chat/sms will come in at a
certain number/address and be routed via the dialplan. My current plan
for doing this is as follows:

1) Add message events to sofia: I want sofia (and eventually all chat
clients) to send message events through FS's event framework when an
event arrives.
2) Remove message routing from Sofia: Sofia should not be routing
messages itself. Instead, it should just generate the event saying a
message has arrived and someone else should do the routing (namely my
dialplan)
3) Implement a simple chat dialplan module that listens for message
events and routes them according to an XML dialplan.

I have some questions for the FS developer community.

First, building my own module is conceptually simple. Modifying Sofia
is not. What's the best way to go about making these changes? I could
submit extension tickets (e.g., a configuration variable that adds
messages and one that removes routing), or submit patches, or both. I
think this could be broadly useful, and I want to try to contribute to
the community.

Secondly,  I'm having a little difficulty finding the place where
messages are routed in sofia. That's probably the place to insert both
1 & 2. Any pointers would be appreciated.

Thanks!

_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
http://www.cluecon.com 877-7-4ACLUE

FreeSWITCH-dev mailing list
FreeSWITCH-dev at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org





More information about the FreeSWITCH-dev mailing list