Are you using .. in your script somewhere?<div><br></div><div>There may be some work (like converting to string) that happens on the command line, but won&#39;t in dialplan<span></span> use.</div><div><br></div><div>Can we see line 31 of your script?<br>
<br>On Friday, January 3, 2014, Joli Martinez  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hello,<div><br></div><div>I have a script that connects to a mysql db.  The script works perfect when I type &quot;lua  &lt;scriptname&gt;&quot;, but when I have Freeswitch all the script I get the following error message.  I have changed my script to now call a python script to read the database and I am experiencing the same result.  If I call the script from the command line it works but Freeswitch throws this error.</div>
<div><br></div><div>Please help,</div><div><br></div><div>Thanks,</div><div><br></div><div><div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(188,50,28);background-color:rgb(254,244,156)">2014-01-03 18:52:28.381720 [ERR] mod_lua.cpp:199 /usr/local/freeswitch/scripts/testCallerID.lua:31: attempt to concatenate global &#39;pythonResult&#39; (a userdata value)</div>
<div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(188,50,28);background-color:rgb(254,244,156)">stack traceback:</div><div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(188,50,28);background-color:rgb(254,244,156)">
<span style="white-space:pre-wrap">        </span>/usr/local/freeswitch/scripts/testCallerID.lua:31: in main chunk</div></div><div><br></div></div></blockquote></div>