We are not dentists, but we are here to help. (How To Ask for help. Read before Posting

KodaK
Posts: 1885
Member Since:
2006-06-14

Ok, I can really only speak for myself, but I suspect others feel the way I do about some of this.

People come here wanting help, as they should, however they make it very difficult on themselves by making it difficult on those of us who want to help. Getting information out of people, sometimes, is very much like pulling teeth, and it's getting kind of tiresome.

In general, the more information you can provide the easier it will be to solve your problem. If you provide as much as you can up-front, that means less time will be wasted while we ask you to post things that you probably should have posted to begin with.

Things you should post (this is by no means exhaustive and all items are implicitly "if applicable"):

0) software versions (trixbox, Asterisk, DAHDI, FreePBX, etc...)
1) a coherent summary of the problem.
2) any relevant logs.
3) relevant configuration files and/or configurations in FreePBX
4) your system stats (server hardware)
5) end point type (software phone, hardware phone, make, model, etc)
6) VoIP codecs in use
7) VoIP protocols in use
8) network topology
9) a more detailed explanation of the problem, with examples if possible
10) if there are error messages, please post the exact message.
11) a list of things you have already tried, and the results
12) (A personal request) please try to use proper spelling and grammar. I know not everyone is a native English speaker, and that's OK, but do the best you can -- it makes things much easier to read.

For example, here's a bad post:

Quote:
my phone doesnt dial their is nothing whats wrong????!!!!

And the same question phrased in a way that will probably get answered:

Quote:
I've got a brand new, out of the box trixbox system, version 2.4.

When I try to make a call, my Aastra 480i displays "call failed."

I have firmware version 1.2.345 on this particular phone.

I'm just trying to call to the outside. I've tried to check the logs, but it appears I get nothing when I try to dial.

I've noticed that it doesn't matter what I dial, if I call a real number, or a feature code I get the same response: "call failed."

I have tried this, this and this so far, but the result has been the same.

Does anyone have any ideas?

Edit: the quote tags are messed up. The quote ends above this line. Sorry for the inconvenience.

I hope you get the idea: once again, the more information you can provide in your original post, the faster your problem can be solved (probably.)

which brings us to:

If your question isn't being answered, go ahead and bump it after a reasonable amount of time. Most of us here are doing this because we want to. If we think we may be able to help we will, if we don't, we won't waste our (or your) time posting in your thread.

If you have an emergency and you need it solved right away: consider hiring a consultant. No amount of pleading is going to get someone to answer your question if there's nobody here at the moment that has any idea. I'm not saying this to be mean, by the way. If you need it solved right away and nobody's answered you in a time frame that you're comfortable with, you should hire someone.

Now let's talk about logs. Not the things you get when you cut down trees and trim off the branches, I'm talking about text files on your system that have a lot of information in them and almost always solve a problem for you.

Almost without fail the first thing I ask for is logs, and that's because nobody ever posts them. Logs can tell you a lot, but you have to know what you're looking for. For that reason: if you are a newbie and don't know what you're looking for, copy as much of a log as you are able.

There are a few logs to be concerned with as they relate to trixbox, and I'll discuss them here.

1) the CLI log. Log into a shell, type asterisk -vvvvvvvvvr (the more "v"s the better) and try the failing operation. Copy the output.

2) /var/log/asterisk/full -- same thing, locate the area where the failure is occurring and copy that.

3) rarely, things might show up in your syslog which is /var/log/messages -- don't forget to check it and see if anything about your problem is showing up in there. If it is, copy and paste that too.

4) if you are having mail issues, the default mail log is /var/log/maillog so check it out and do the same as before.

5) /var/log/httpd is where the logs about the web server live. If FreePBX is giving you a blank screen, or you're getting some error message from the web server (404, 403, 500, etc) you can check that locations various logs and see if there's a clue.

6) look in the logs. Most logs are kept in /var/log or various subdirectories of /var/log. Check to see if your particular hardware or application has a log in that area and paste the contents if applicable.

Put large logs on pastebin.ca or pastebin.com. You might want to take the time to sanitize them if they have names or numbers you don't want posted on the Internet. If you do sanitize them, please let us know. It is important.

Small log snippets can be pasted directly in the thread, but you should probably use the code tag to surround the block to make it easier to read. Logs that wrap around are difficult to read.

I'd like to introduce (I'm sure) some of you to a very useful utility called "tail." Tail by itself is usually kind of useless, you can do "tail /var/log/messages" and it will give the last few (I think the default is 5) lines from that file. You can also specify a number of lines, so "tail -10 /var/log/messages" will give the last 10 lines, which, really, isn't that helpful either. Where it really shines is when you use the -f option, which will follow the output as it's added to the file.

If you do "tail -f /some/log" you can watch things being placed into the log in real-time, which can be quite helpful. If you combine that with changing your putty options to do a bunch of lines of scrollback then you can easily copy and paste right from there.

Here's a bit on using bbcode tags to make everyones lives easier:

Tags are just words surrounded by square brackets ( [ and ] ) I can't show them in use because they'll be interpreted, but there is usually an opening tag and a closing tag. The ones you'll use are url and code, and I'll explain their use here.

First, the code tag: this is useful to post formatted text. Compare the following snippets of text, first without the code tags:

[root@piper root]# free -m
total used free shared buffers cached
Mem: 1000 979 20 0 308 373
-/+ buffers/cache: 297 702
Swap: 1027 189 837
[root@piper root]#

And now, with the code tags:

[root@piper root]# free -m
             total       used       free     shared    buffers     cached
Mem:          1000        979         20          0        308        373
-/+ buffers/cache:        297        702
Swap:         1027        189        837
[root@piper root]#

Notice that it is much easier to read the second, as the columns line up. The way you do that is just to copy and paste your text into the text entry box, then add [ code ] to the beginning of the block and [ /code ] to the end of the block (taking out the spaces.)

And finally, here's the url tag. As some of you may have noticed, very long urls get cut off here. That's a problem with drupal, the engine they use to run the site. That doesn't mean you can't post long urls, though. First, you can always use tinyurl.com to shorten them, but all the cool kids just use the url tags.

Another example, here's a long link:

http://www.trixbox.org/forums/vendor-moderated-forums/aastra-endp......

And here is the same url contained in a link.

You construct these by doing:

[ url=http://very.long.link.here ]some words[ /url ]

That's about it. I may add more to this post later, but if anyone else wants to add anything feel free to post in this thread.

--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



SkykingOH
Posts: 8081
Member Since:
2007-12-17
Thanks KodaK, very useful

Thanks KodaK, very useful and should be added to the wiki or made sticky.

I would like to add that the output of:

"sip show peers" and "sip show peer
" can be very useful in troubleshooting endpoint registration issues.

Adding qualify = yes to all peers will also let you monitor the connection state with the above commands.

Using KodaK's technique for posting system logs (pastebin), the output of "show dialplan" can be very useful.

Lastly, I must emphasize the point made concerning paying a consultant to do help you. Everyone here is a volunteer. Your priorities are not ours. If you have made the mistake of placing an untested system in a production I doubt any amount of pleading is going to increase anyones level of urgency to help you. However if you post a bounty for helping you I think you will find many takers on your offer. It is very simple for remote access to be granted on a per session basis to a Windows computer on your network that can access the trixbox.

The community is a wonderful place to learn and share solutions. It is not a substitute for paid support from a professional.

Scott

--

Scott

aka "Skyking"



KodaK
Posts: 1885
Member Since:
2006-06-14
I posted with admin

I posted with admin approval. It's supposed to get stickied if it's not already.

To add to Scott's tip: that also works with iax2 stuff.

Some common commands:

sip show peers
sip show peer PEER (usually extension number)
sip show channels
sip show channel CHANNEL (use channel you get from sip show channels)
sip show registry
iax2 show peers
iax2 show peer PEER (same as sip above)
iax2 show registry
iax2 show channels
iax2 show channel CHANNEL (again, same as above)
zap show channels
zap show channel CHANNEL (ditto)
zap show status
show g729 (if applicable)

And you may want to familiarize yourself with the debug commands:

sip debug
iax2 debug
pri debug span SPANNUMBER

And to turn off debugging:

sip no debug
iax2 no debug
pri no debug span SPANNUMBER

--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



Alex728
Posts: 77
Member Since:
2007-10-25
for users asking about

for users asking about analogue trunk issues (or even FXS ports) its worth stating what country they are in and also what telco they are using.

Most nations have their own national standard with regard to telephone system signalling (tones, ringing cadences, durations of disconnect clear/CPC signals etc)

Although there are supposed to be standards for each region (Bellcore in the USA and ETSI in Europe for instance) there are also variants within nations due to former national phone companies being privatised or monopolies being broken up.

for instance British Telecom uses all sorts of quirky signalling protocols that are only also found in some (but not all!) Commonwealth countries - UK telephone sockets (and some analogue phone sets) have unique wiring protocols.

However NTL/Virgin (the only competitor for the local loop) uses almost the same protocols as BT but American style caller ID presentation in some regions, but in other areas uses BT caller ID...



KodaK
Posts: 1885
Member Since:
2006-06-14
Something I forgot: please

Something I forgot: please post in the right forum. They're organized the way they are for a reason. Ask for general help in "Help," specific help in the appropriate subforum (vendor moderated or not,) and general discussions go in, you guessed it, "Open Discussion."

If you have a question that has been asked before, but you're still having trouble, it's better to bump an old thread than start a new one -- this makes it easier for the next guy to find what he's looking for. This is a grey area, though, because sometimes it's hard to tell if your problem is the same as someone else's.

What may seem directly contradictory to that last statement, but really isn't, is: don't hijack threads. If you have a new issue, post your own thread, don't post your issue in a completely unrelated thread just because you think someone in there might be able to help. If that's the case, post your own thread and then send them a polite private message with a link to that thread.

Also, please don't ask for help in PMs or email. Post a thread, then ask that person if they would kindly read your thread. It's rather selfish to ask someone to give you one on one help when everyone can benefit from a thread. If you want to hire them do do something that's completely different, but state that up front.

--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



jchuby
Posts: 598
Member Since:
2006-07-20
im a dentist

im a dentist, and this is nothing like pulling teeth... its way harder.

--

JChuby
Experienced Trixbox Tech for Hire in Greater NYC
Experienced in Remote Tech Support / Custom DialPlan / Assistance As Well
JChubak@gmail.com or PM me on Trixbox.org Forums



KodaK
Posts: 1885
Member Since:
2006-06-14
(No subject)


--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



KodaK
Posts: 1885
Member Since:
2006-06-14
Another addition to the

Another addition to the list:

Don't forget about the power of google. I've seen a lot of questions that can be answered by a simple google search.

--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



jscoulter
Posts: 238
Member Since:
2007-02-27
2 Thoughts

I got 2 thought about this.....

1. New users are prob. still overwhelmed with how cool TB is to know what information to supply and or where to get it from.

2. What I have seen in other forums is, they ask you for information like, what version, what operating system (although we know this one already hehehe) but what I am getting at is, having some standard fields for people to fill in, and even a quick "this is where you get the info from" as a hint etc.

If I remember back to my first days of TB, I had NO idea what to do, let alone what was stored where etc. so I wonder if we can have a way to "help" people give the right info when asking questions......you will still get the silly questions from time to time still I suspect.

Anyway, Just a thought :-)

Jeremy



jscoulter
Posts: 238
Member Since:
2007-02-27
another thought.....

maybe, if the user has been a member for less than say a month, they get these extra fields suggested in my last post, and after that its just assumed they have a bit more of an idea and dont need ot be asked for the info anymore....

Jeremy



jahyde
Posts: 2002
Member Since:
2006-06-02
use search and use wiki

use search

and

use wiki

--

--my PBX is run on 2 V8's



KodaK
Posts: 1885
Member Since:
2006-06-14
Another point: Just because

Another point:

Just because you have the same symptoms as someone else, doesn't mean that it's the same root cause.

If you did your due diligence and searched for and found a thread describing your issue and you then tried the fixed outlined in it but it didn't work, before you post:

1) did you actually read and understand everything? Threads are not howtos, and there may have been PMs or other, more subtle, instructions in the thread.

2) if you "tried everything" and it "didn't work" -- this does not absolve you of your responsibility to provide information outlined in the first post. This especially does not absolve you of the responsibility. People will be working with the information in the thread to try and help you. If your situation is different, both you and the people trying to help you are going to be barking up the wrong tree.

--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



pcb
Posts: 2
Member Since:
2008-02-26
trixbox for te122p digium wild card

Can any one know which trixbox is suitable for TE122P digium wildcard

plz suggest me the appropriate link to download the trixbox for te122p wildcard

pcb

--

pcb



T313C0mun1s7
Posts: 83
Member Since:
2007-04-12
Thank you

Thank you for the perfect example of what NOT to do.

1) Know enough about the product to even ask a question, you don't seem to! (what version of trixbox for a TE122P card -WTF)

2) Great detailed info there - I blinked so I had to re-read it, no matter it didn't take long.

3) Hijacking a thread by posting your own totally unrelated question rather that creating your own thread. However, in this case we will give you bonus points because you proved the thread starters point.

4) You gave me an excuse to rant and drip sarcasm in my post. I really needed this, and based on the YouTube videos posted I figured it was okay at this point in the thread.

5) forget grammar, the question structure just made be fall over laughing:
...a) "Can anyone know", I don't know better ask a guru - have they reached enlightenment yet?
...b)"plz suggest me" not sure what you are asking for, but why should anyone suggest you anything? You don't take suggestions, like how to properly ask for help.



T313C0mun1s7
Posts: 83
Member Since:
2007-04-12
I second that
Kodak wrote:
Another addition to the list: Don't forget about the power of google. I've seen a lot of questions that can be answered by a simple google search.

I have noticed as long as I use "trixbox" as one of the search terms I seem to get even better results than if I searched using the forums built in search feature.

[Edit: removed line break to fix broken quote]



Praeter
Posts: 387
Member Since:
2006-10-26
The only comment I have

The only comment I have regarding using an existing thread is:

If you are attaching to an existing thread please make sure it is relevant to both the issue and version of code. If you are using trixbox 2.6 do not add to a thread that is two years old based on Asterisk@home 1.8. These two products are worlds apart.

--

James Fainer - FtOCC
Praeter Tech
www.praetertech.com
nexusRE - Real Estate Audio Listing



admin@OALLC
Posts: 18
Member Since:
2008-10-31
Hello

Can anyone here guide me how to configure my extension if my make an outbound call and it will display my caller I.D. I have 3 number in Nexvortex but it seems that I only one number as a caller I.D.

I appreciate someone who can assist me with my box.
please mail me, here is my personal email address [jballesteros@oneaccessllc.com]

Thank you...



jayancharles
Posts: 24
Member Since:
2009-03-04
QUEUE FAIL OVER DESTINATION ISSUE

Calls from terminating from OUTSIDE (PSTN) to queue is not being pulled out and set to the destination(even after the time set as 10 sec) but ca;;s from Internet extension it works. Please help.

Jayan



huebs73
Posts: 281
Member Since:
2006-09-27
This thread is a classic for

This thread is a classic for those trixers that have been around for awhile...I doubt you're going to get any help hijacking a thread and asking questions that aren't relevant to the OP. I suggest you find a thread that deals with your same issue or start a new one after you have searched for an answer or similar thread. The people that might be willing to help don't like when you overlook common courtesy and hijack a thread.

--

http://www.bullzeyenetworks.biz
Great deals on analog and T1/PRI cards!
PM me if you want a coupon for even better pricing!



SkykingOH
Posts: 8081
Member Since:
2007-12-17
Makes me wonder if they even

Makes me wonder if they even bothered to read the thread.

--

Scott

aka "Skyking"



jfinstrom
Posts: 1959
Member Since:
2007-03-07
(No subject)

--



SkykingOH
Posts: 8081
Member Since:
2007-12-17
This thread needs to be back in circulation

Quality questions are hard to come by.

Today was very frustrating

--

Scott

aka "Skyking"



dafaha82
Posts: 1
Member Since:
2010-05-09
dns trixbox help me pls

Dear friends,

I have installed trixbox on microsoft virtual pc,but i have some questions about configuring that.

1 How to configure DNS on trixbox "pls detail informations"
2 How do I go about configuring my trixbox server for i can have access from my Windows XP Machine "hoste machine" ?

You can also send me to dafaha82@yahoo.fr

Thank you in advance

--

Dear partners,
I'm interssed to use trixbox plate forme..



SkykingOH
Posts: 8081
Member Since:
2007-12-17
Dafaha82- How could you

Dafaha82-

How could you possibly hijack this thread when the whole thread is about how to ask for help?

This is a perfect example of what not to do.

--

Scott

aka "Skyking"



obeliks
Posts: 442
Member Since:
2010-03-14
I do not think the situation

I do not think the situation will be getting better unless the forum software will enforce some simple rules:

1. New users ( postcount 0) should not be allowed to post in existing threads to prevent hijacking.
2. People should be forced to acknowledge they have read this thread before posting anything.
3. They should be forced to answer a simple question proving they have a clue, e.g. "what is the location of asterisk log files". It could be multiple choice.
4. Search function on this forum needs to start working. New users have no way of finding answers even if they tried to use search. If fixing search is not possible the site should use Google search. The current state is simply unacceptable.



DustinW
Posts: 16
Member Since:
2009-10-22
I found a nice post asking

I found a nice post asking for help. Seems this person really did some homework before posting his/her question. Look, they even titled their question appropriately based on what they wanted to know; and not something like "TB Not Working".

Totally awesome well thought out post. Scott suggested that he was going to add it to the how to ask for help thread, but I figured I would help him out since he seems very busy.

Actually I think I know the OP of that post. :D



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.