[Freeswitch-dev] questions on the new mod_sms

Kurtis Heimerl kheimerl at cs.berkeley.edu
Sun Sep 25 03:58:34 MSD 2011


Ah, this must be the stuff Anthony was referring me to earlier!

Anyhow, where can I read about this module? It sounds very very
similar to the one I am working on (but much more complete). I'll be
trying it out tonight, I hope.

On Sat, Sep 24, 2011 at 10:01 AM, Anthony Minessale
<anthony.minessale at gmail.com> wrote:
> On Fri, Sep 23, 2011 at 9:13 PM, Seven Du <dujinfang at gmail.com> wrote:
>> Fatastic! I cannot help to try the new mod_sms, and here's some quick
>> questions for developers and I'm seeing what can I help with testing/coding
>> etc. to speed this up.
>> 1) I see no event when I use the chat app "fire" with /event all in fs_cli,
>> is there a problem or unfinished code?
>
>
> There was a bug where chatplan apps with no args would not make it to
> the execution stage, fixed in tree...
>
>
>
>
>> 2) Also I see nothing when I use the "send" app,  I guess a catch all
>> chatplan with  <action application="send" data=""/>  would have the same
>> effect as before(when no mod_sms). I tried with
>> a. unload mod_sms, two US send text messages to each other without problem
>> b. load mod_sms, I see this log but nothing happened
>> 2011-09-24 10:03:48.921888 [INFO] mod_sms.c:299 Processing text message
>> 1004->1001 in context default
>> Chatplan: 1001 parsing [default->demo] continue=false
>> Chatplan: 1001 at 192.168.7.2 Regex (PASS) [demo] to(1001 at 192.168.7.2) =~
>> /^(.*)$/ break=on-false
>> Chatplan: 1001 at 192.168.7.2 Action send()
>>
>
> This is probably related to the same bug
>
>
>> 2) How to get variables in lua? will there be an event object like session
>> in dialplan based ?
>
> Yes, it's called "message"
>
>
>> 3) also I see the chat api also hit the chatplan, is that supposed to?
>>
>
> When mod_sms is loaded it will intercept all messages globally if it
> does not match an extension it will be delivered as usual.  (also
> fixed in recent commit)
>
>
>> Sorry for so many questions, thanks.
>>
>> --
>> About: http://about.me/dujinfang
>> Blog: http://www.dujinfang.com
>> Proj:  http://www.freeswitch.org.cn
>> Sent with Sparrow
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
> _______________________________________________
> 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
>



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list