[Freeswitch-users] mod_sms duplicate messages

sangdrax8 sangdrax8 at gmail.com
Thu Jul 2 22:13:32 MSD 2015


I am trying to test out mod_sms for the chatplans and it seems to be
sending two messages when I call a send.  Can someone tell me if there
is some configuration I am doing wrong, of if I need to file a Jira
bug?  If I unload the mod_sms module, only one messages i sent as
expected but I was looking for the chatplan functionality.

I am currently testing on Version 1.4.19 git 73f45e3, as this was the
suggested branch for production usage.

my chatplan is very basic:
<include>
  <context name="public">
    <extension name="send">
      <condition>
        <action application="send"/>
      </condition>
    </extension>
  </context>
</include>

when I send a message I get the following in the CLI and two sip
messages are sent.

2015-07-02 18:03:38.950750 [INFO] mod_sms.c:336 Processing text
message 19995550008->19995550001 in context public
Chatplan: 19995550001 parsing [public->send] continue=false
Chatplan: 19995550001 at demo Absolute Condition [send]
Chatplan: 19995550001 at demo Action send()


With siptrace on I can see two send events that are identical but
happen less than a millisecond apart.

send 1173 bytes to tls/[192.168.0.40]:54156 at 18:03:38.965479:
send 1173 bytes to tls/[192.168.0.40]:54156 at 18:03:38.965878:



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list