Please do! If you have any questions about using the wiki please let me know. Also, I will be doing a wiki tutorial during tomorrow&#39;s weekly conference call.<br><br>-MC<br><br><div class="gmail_quote">On Tue, Nov 20, 2012 at 1:26 PM, Abaci <span dir="ltr">&lt;<a href="mailto:abaci64@gmail.com" target="_blank">abaci64@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>Would you mind documenting these option
      on the wiki (<a href="http://wiki.freeswitch.org/wiki/Mod_sms" target="_blank">http://wiki.freeswitch.org/wiki/Mod_sms</a>) so that
      people know about it.<br>
      Thanks<br>
      <br>
      On 11/20/2012 1:43 PM, Eli Burke wrote:<br>
    </div>
    <blockquote type="cite">
      
      Kurtis,
      <div><br>
      </div>
      <div>We&#39;ve been working with FreeSWITCH Consulting to address some
        issues with MESSAGE delivery. A couple of patches were committed
        on Nov 13 and Nov 14 to trunk and they may help with your
        problem. These patches affect the following behavior:</div>
      <div>* MESSAGEs fed through the chatplan are correctly delivered
        or ignored by sofia</div>
      <div>* when blocking=False, &quot;Delivery-Failure&quot; is replaced with
        &quot;Nonblocking-Delivery: true&quot;</div>
      <div>* when blocking=True, &quot;Delivery-Failure&quot; is correctly set to
        true or false</div>
      <div>* when blocking=True, &quot;Delivery-Result-Code&quot; is added to the
        event</div>
      <div><br>
      </div>
      <div>Some background explanation: MESSAGEs are normally delivered
        in non-blocking mode, which means FreeSWITCH makes no attempt to
        determine if they were successfully received. There is a
        variable that can be set (&quot;blocking: true&quot;) to
        force FreeSWITCH to wait for a response. You can already see
        this in action using the chat command in fs_cli-- it will report
        success or failure. </div>
      <div><br>
      </div>
      <div>Unfortunately, &quot;blocking&quot; is not set by default. RIght now,
        the only way to get this behavior is to set it manually. For
        example, a chatplan rule to add the header to all inbound
        MESSAGEs:</div>
      <div>
        <div>    &lt;extension name=&quot;add_blocking&quot; continue=&quot;true&quot;&gt;</div>
        <div>      &lt;condition&gt;</div>
        <div>          &lt;action application=&quot;set&quot;
          data=&quot;is_reg=${sofia_contact(${to_user}&quot; inline=&quot;true&quot;/&gt;</div>
        <div>          &lt;action application=&quot;set&quot;
          data=&quot;blocking=true&quot;/&gt;   </div>
        <div>      &lt;/condition&gt;</div>
        <div>    &lt;/extension&gt;</div>
      </div>
      <div><br>
      </div>
      <div>There is a potential (and untested!) downside to forcing
        blocking to be always-on. The MESSAGE delivery queue is
        currently handled by a single thread. Even if all MESSAGE
        objects are delivered successfully to the local switch, some
        amount of latency may be introduced. In a real-world
        high-throughput scenario, it&#39;s possible that this could cause
        noticeable delays in the time it takes to delivery a MESSAGE,
        creating an ever-growing backlog.</div>
      <div><br>
      </div>
      <div>The &quot;is_reg&quot; variable in the rule above could be used to
        short circuit failed attempts by shunting MESSAGEs to a
        database, or dropping them on the floor, but this would not
        necessarily fix things. The good news is that if a high-volume
        user can demonstrate that there is a problem, it&#39;s fixable
        within FreeSWITCH by moving to a multi-threaded message delivery
        queue.</div>
      <div><br>
      </div>
      <div>-Eli</div>
      <div>
        <div><br>
          <div>
            <div><br>
            </div>
            <blockquote type="cite">On Nov 10, 2012, at 1:00 PM, <a>freeswitch-users-request@lists.freeswitch.org</a>
              wrote:<br>
              <br>
              <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                <div style="word-wrap:break-word">
                  <div>
                    <span style="color:rgb(127,127,127)"><b>From: </b></span>Kurtis
                    Heimerl &lt;<a style="color:purple">kheimerl@cs.berkeley.edu</a>&gt;<br>
                    <span style="color:rgb(127,127,127)"><b>Subject: </b></span><b>[Freeswitch-users]
                      Return code from ESL Message Sending</b><br>
                    <span style="color:rgb(127,127,127)"><b>Date: </b></span>November
                    9, 2012 11:42:19 PM EST<br>
                    <span style="color:rgb(127,127,127)"><b>To: </b></span>FreeSWITCH
                    Users Help &lt;<a style="color:purple">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
                    <span style="color:rgb(127,127,127)"><b>Reply-To: </b></span>FreeSWITCH
                    Users Help &lt;<a style="color:purple">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
                    <font color="#007316"><br>
                    </font>
                    <blockquote type="cite">
                    </blockquote>
                    <font color="#007316"><br>
                    </font>
                    <blockquote type="cite">
                    </blockquote>
                    Hello Freeswitch Users:<br>
                    <font color="#007316"><br>
                    </font>We&#39;re currently trying to get the return code
                    from a MESSAGE we send using ESL. The closest we&#39;ve
                    found is this jira: <a href="http://jira.freeswitch.org/browse/FS-4453" style="color:purple" target="_blank">http://jira.freeswitch.org/browse/FS-4453</a> which
                    seems to provide similar functionality for the chat
                    command, but nothing for ESL.<br>
                    <font color="#007316"><br>
                    </font>Here&#39;s a pastebin of our current code: <a href="http://pastebin.freeswitch.org/20201" style="color:purple" target="_blank">http://pastebin.freeswitch.org/20201</a><br>
                    <font color="#007316"><br>
                    </font>The server we are hitting is returning a &quot;415
                    Unsupported Content Type&quot; (which is correct) and
                    we&#39;re trying to discover that in freeswitch, instead
                    of assuming the message was received correctly.
                    Right now, we get that the recvEventTimed is
                    returning None. This is all done on the a pull of FS
                    from yesterday. <br>
                    <font color="#007316"><br>
                    </font>
                    <div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
Any
                      suggestions?</div>
                  </div>
                  <br>
                </div>
              </blockquote>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br><br>