<div dir="ltr"><div><span class="" style="white-space:pre">This works for me.</span></div><div><span style="white-space:pre">Notice the info action, it will tell you if the chat-plan is extension is matching.</span></div><div>
<span style="white-space:pre">It could be that mod_sms is not loaded or it could be that message never hits the required context.</span></div><div><br></div><div><br></div><div><span class="" style="white-space:pre">        </span>&lt;context name=&quot;profile&quot;&gt;</div>
<div><span class="" style="white-space:pre">                </span>&lt;extension name=&quot;demo&quot;&gt;</div><div><span class="" style="white-space:pre">                        </span>&lt;condition field=&quot;to&quot; expression=&quot;^(.*)$&quot;&gt;</div>
<div><span class="" style="white-space:pre">                                </span>&lt;action application=&quot;send&quot;&gt;&lt;/action&gt;</div><div><span class="" style="white-space:pre">                                </span>&lt;action application=&quot;info&quot;&gt;&lt;/action&gt;</div>
<div><span class="" style="white-space:pre">                        </span>&lt;/condition&gt;</div><div><span class="" style="white-space:pre">                </span>&lt;/extension&gt;</div><div><span class="" style="white-space:pre">        </span>&lt;/context&gt;</div>
<div><br></div><div>This is what you are looking for in the console log.</div><div><br></div><div>2014-03-14 10:36:29.375410 [INFO] mod_sms.c:336 Processing text message drEvil-&gt;miniMe in context profile</div><div>Chatplan: miniMe parsing [profile-&gt;demo] continue=false</div>
<div>Chatplan: <a href="mailto:miniMe@sip.bunnykick.ca">miniMe@sip.bunnykick.ca</a> Regex (PASS) [demo] to(<a href="mailto:miniMe@evil.com">miniMe@evil.com</a>) =~ /^(.*)$/ break=on-false</div><div>Chatplan: <a href="mailto:miniMe@sip.bunnykick.ca">miniMe@sip.bunnykick.ca</a> Action send() </div>
<div>Chatplan: <a href="mailto:miniMe@sip.bunnykick.ca">miniMe@sip.bunnykick.ca</a> Action info()</div><div><br></div><div><br></div><br></div>