<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><context name="profile"></div>
<div><span class="" style="white-space:pre">                </span><extension name="demo"></div><div><span class="" style="white-space:pre">                        </span><condition field="to" expression="^(.*)$"></div>
<div><span class="" style="white-space:pre">                                </span><action application="send"></action></div><div><span class="" style="white-space:pre">                                </span><action application="info"></action></div>
<div><span class="" style="white-space:pre">                        </span></condition></div><div><span class="" style="white-space:pre">                </span></extension></div><div><span class="" style="white-space:pre">        </span></context></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->miniMe in context profile</div><div>Chatplan: miniMe parsing [profile->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>