Anders Brownworth

Technology and Disruption

FreeSWITCH: mod_sms Patch for Simple Logging Capability

Here's a patch for FreeSWITCH to add a simple logging capability to mod_sms. Basic usage is:

<action application="log" data="${_body}"/>

which will log the body of the SMS message. Don't forget that this should be part of the chatplan:

<section name="chatplan" description="Regex/XML Chatplan">
<context name="default">
<extension name="public_dids">
<condition field="to" expression="^(.*)$">
<action application="log" data="SMS Body:[${_body}]"/>

Comments (0)

Leave a Comment

Location: (city / state / country)
Email: (not published / no spam)

No HTML is allowed. Cookies must be enabled to post. Your comment will appear on this page after a moderator OKs it. Offensive content will not be published.

Click the banana to submit your comment.

To create links in comments:
[link:] becomes
[link:|] becomes
Notice there is no rel="nofollow" in these hrefs. Links in comments will carry page rank from this site so only link to things worthy of people's attention.