|
Your Free IP PBX |
|
|
|||||||||||
|
|
Documentation
This tutorial tries to give you some help in the unfortunate situation your network is not working correctly. Try your network connection by making a call. This will work only if you followed the steps presented in How to set up office branches in headquarter. If you still think you did a proper set up of the branches, take a look at the information below: DebuggingThis part isn't that great but somebody has to do it. Yes, it's the finding and fixing errors part. On this page... (hide)
1. AdvicesHere are some advices to take into consideration: Be sure to double-check your network settings, before jumping to telnet and command line typing. Look carefully if you added the ranges correctly, if you typed the appropriate IP host and extension for each VoIP phone. If you checked an advanced option without ensuring it is the right one, the connection won't work. The “Trusted” setting is very important when routing calls from outside the network or from other branches. The headquarter routes external calls from an added gateway(branch) to another added gateway(branch or provider) only if “Trusted” is enabled. You will create a security issue if you check this setting for the provider. The extension of the caller will not be seen by the called if “Send extension” is unchecked. Instead of the caller's extension, the System Caller ID of the headquarter will be visible. Also when adding a dial plan don't forget to step through the cutting of digits part. If you miss to cut the prefix, in some cases, the routing of the call may be impossible. 2. TelnetOnly after starting Yate on every host you may use telnet to see how your network is interacting during a call. Type the following commands in the command line: telnet 127.0.0.1 5038 debug freesentral on Tips: You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate. The output of these commands can be seen in the headquarters' telnet. Observe the steps above discussed in this command line capture. [cristina@localhost ~]$ telnet 127.0.0.1 5038 Trying 127.0.0.1... Connected to localhost (127.0.0.1). Escape character is '^]'. YATE 3.0.0-alpha1 (http://YATE.null.ro) ready. debug on Debug level: 8 local: on debug freesentral on Enabling debug on FreeSentral routing When installing FreeSentral, be careful which path you selected for FreeSentral scripts and configuration files to go to in Yate directories. Be sure to add the required files for a correct interaction between applications. To verify that see the step below: external 1.ctc-global.php 2.register.php Tips: After connecting to telnet, type the “external” command. This will show the scripts you have in your Yate. If you don't have register.php, calls can't be made inside or outside the branch. 3. The SIP moduleStart telnet as described above and type the “debug on” command if you plan to monitor your SIP module. This command is used for showing the SIP module output right in the telnet terminal. After this step, you want to rise your level on SIP debugging. “Debug sip level 10” does just that. debug on Debug level: 5 local: on debug level 10 Debug level: 10 local: on debug sip on Module sip debug on level 5 debug sip level 10 Module sip debug on level 10 Now you just have to read the information listed below after you used the commands aboves. It will look like this: <sip:INFO> Sending 'REGISTER sip:elder.null.ro' 0x119c060 to 10.0.0.9:5060 -- REGISTER sip:elder.null.ro SIP/2.0 Contact: <sip:091@192.120.120.12:5060> Expires: 600 To: <sip:091@elder.null.ro> Via: SIP/2.0/UDP 192.120.120.12:5060;rport;branch=z9hG4bK475697057 From: <sip:091@elder.null.ro>;tag=651666173 Call-ID: 1081430932@elder.null.ro CSeq: 29 REGISTER User-Agent: YATE/3.0.0 Max-Forwards: 70 Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO Content-Length: 0 …................................ -- <sip:CALL> SIP line 'provider' logon success to 10.0.0.9:5060
|
| © YATE 2009 |
View
Edit
History
Attach
Recent Changes
Print
|