<div dir="ltr">Hello,<div><br></div><div>I noticed something that might be a result from the fix suggested here, so I'll continue a bit on this thread. After removing the callbackextension field from my realtime sip peer table, the following started happening:  I issued command 'sip reload' on the cli and get the following warning: </div>
<div><br></div><div>WARNING[24427]: res_config_mysql.c:501 realtime_multi_mysql: MySQL RealTime: Failed to query database: Unknown column 'callbackextension' in 'where clause'<br></div><div><br></div><div>
This must be a result from removing that field from the db, but somewhere in the code there is a select statement where the callbackextension field is used in the where clause, resulting to the above warning.</div><div><br>
</div><div>I wonder if this something to be worried about, or is going to cause problems later? My goal is of coure just to handle calls, save cdrs, do pbx features etc with this asterisk. </div><div><br></div><div>cheers,</div>
<div>Olli</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-15 16:56 GMT+03:00 Olli Heiskanen <span dir="ltr"><<a href="mailto:ohjelmistoarkkitehti@gmail.com" target="_blank">ohjelmistoarkkitehti@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div>Wow, thanks Joshua, it would've taken me forever to find the answer there. It did the trick and the registrations look much better.</div>
<div><br></div><div>Merci beaucoup!<br></div><div><br></div>
<div>- Olli</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-15 16:26 GMT+03:00 Joshua Colp <span dir="ltr"><<a href="mailto:jcolp@digium.com" target="_blank">jcolp@digium.com</a>></span>:<div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Olli Heiskanen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks, there are no register lines in my sip.conf, but I have defined<br>
callbackextension fields in the realtime table, to be the same value as<br>
the extension name. In this case, extension 771 has callbackextension<br>
value 771. I tried replacing those with null values but that had no<br>
effect on the outcome.<br>
</blockquote>
<br></div>
The callbackextension is the reason this is happening.<br>
<br>
>From sip.conf.sample:<br>
<br>
; A similar effect can be achieved by adding a "callbackextension" option in a peer section.<br>
; this is equivalent to having the following line in the general section:<br>
;<br>
;        register => username:secret@host/<u></u>callbackextension<br>
;<br>
; and more readable because you don't have to write the parameters in two places<br>
; (note that the "port" is ignored - this is a bug that should be fixed).<br>
<br>
Remove that column from your table, restart Asterisk, and it should go away.<div><div><br>
<br>
-- <br>
Joshua Colp<br>
Digium, Inc. | Senior Software Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>
Check us out at: <a href="http://www.digium.com" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a><br>
<br>
-- <br>
______________________________<u></u>______________________________<u></u>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
              <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/<u></u>mailman/listinfo/asterisk-<u></u>users</a><br>
</div></div></blockquote></div></div></div><br></div>
</blockquote></div><br></div>