This post has NOT been accepted by the mailing list yet.
I wrote a small Python script that is run from a chatplan and takes a chat message from a sip extension and sends the message to the appropriate phone number via Twilio (they provide an Internet-based API to do this). The script works great, but I still see an error in on fs_cli console:
2016-03-05 15:17:54.040913 [DEBUG] mod_python.c:286 Finished calling python script
2016-03-05 15:17:54.040913 [WARNING] sofia_presence.c:221 Not sending to local box for (XXX)%CX%A0XXX-XXX@my.sipdomain.com <-- (Note that I substituted Xs for the actual phone digits just for this post)
2016-03-05 15:17:54.040913 [ERR] sofia_presence.c:272 Chat proto [sip]
from ["d100" <sip:email@example.com>;tag=0b2cec63]
Nobody to send to: Profile internal
I've tried mucking with the "to" and "to_user" headers (and other headers as well). I've also tried adding the following line in the chatplan XML file:
<action name="stop" data=""/>
Finally, I've tried different return values in the Python script.
Nothing I've tried removes the error messages. In truth, the texting works fine -- I just don't like seeing the error.