Thanks for insight in this, Ill look into doing that.<br><br>In the directory though, we have other PBXs connected to us (basically we provide some dialtone for a few people), and we stuck them in the directory as it was the only way we dould have each user have their own context, but we can't do a nice command like 'sofia status gateway foo' to get any status, see what Im saying? (we are using IP based auth, no one is "regestering".<br>
<br>Maybe im just doing it the wrong way that's why we are having probelms getting it to work how we want! lol<br><br>Thanks for the help on the logging, that is a good ideal.<br><br><br><br><div class="gmail_quote">On Fri, Apr 17, 2009 at 11:09 AM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br><div class="gmail_quote">2009/4/15 Ron McCarthy <span dir="ltr"><<a href="mailto:ronmccar@gmail.com" target="_blank">ronmccar@gmail.com</a>></span><div class="im">
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>We have several context setup with different users, all in the directory with IP based auth.<br><br>Anyway we can turn on debug for just one context/user in the directory, when lots of people are making calls it's hard to see traffic to just for one user, and troubleshoot.<br>
</blockquote></div><div><br>The only way I've been able to do anything close to this is to parse the log files after the fact, but even then it's not easy. I find the channel name and/or uuid of the call and then grep the log file for either of those. I recommend using log rotation if you are going to do that otherwise you'll have huge files to deal with. (I like using "fsctl send_sighup" for that.)<br>
</div><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Also, anyway you can show the status of a user in the directory? Far as like if the other side is reachable, I have not been able to find a way to!<br>
</blockquote></div><div><br>Do you mean if the user is offhook or not? Or just if the phone is registered? You can use the FS API command "user_exists":<br><br>user_exists id 1000 192.168.1.1<br><br>returns "true" or "false"<br>
<br>-MC<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>THanks<br><br>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>