Installing

Login

Update

Configuring

How To

User Features

Security Issues

Documentation bullet How do I debug FreeSentral?

Documentation.HowDoIDebugFS History

Hide minor edits - Show changes to markup

February 23, 2012, at 01:05 AM by monica -
Changed line 54 from:
 3.banbruttes.php=]
to:
 3.banbrutes.php=]
February 22, 2012, at 11:39 PM by monica -
Changed lines 53-54 from:
 2.register.php=]
to:
 2.register.php
 3.banbruttes.php=]
April 05, 2010, at 02:03 PM by 85.204.142.178 -
Changed line 11 from:

(:tocportion TableOfContents:)

to:

(:toc:)

March 22, 2010, at 12:23 PM by cristina -
Changed line 2 from:

(:div style='text-align:justify;':)

to:
Deleted line 91:

(:divend:)

March 22, 2010, at 12:22 PM by cristina -
Changed line 2 from:
to:

(:div style='text-align:justify;':)

Added line 92:

(:divend:)

March 18, 2010, at 05:38 PM by cristina -
Changed line 57 from:
                If you don't have register.php, calls can't be made inside or outside the branch.
to:

If you don't have register.php, calls can't be made inside or outside the branch.

March 18, 2010, at 05:28 PM by cristina -
Changed lines 55-57 from:

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.
to:

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.
March 18, 2010, at 05:27 PM by cristina -
Changed lines 55-58 from:

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.

to:

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.
Changed lines 73-74 from:

Now you just have to read the information listed below after you used the commands aboves. It will look like this:

to:

Now you just have to read the information listed below after you used the commands aboves. It will look like this:

Changed line 91 from:
 <sip:CALL> SIP line 'provider' logon success to 10.0.0.9:5060=]
to:
 <sip:CALL> SIP line 'provider' logon success to 10.0.0.9:5060=]
March 18, 2010, at 05:24 PM by cristina -
Changed lines 3-4 from:

This tutorial tries to give you some help in the unfortunate situation your network is not working correctly.

to:

This tutorial tries to give you some help in the unfortunate situation your network is not working correctly.

Changed line 91 from:
 <sip:CALL> SIP line 'provider' logon success to 10.0.0.9:5060=]
to:
 <sip:CALL> SIP line 'provider' logon success to 10.0.0.9:5060=]
March 04, 2010, at 06:14 PM by 192.168.168.117 -
Changed lines 64-71 from:

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

to:
 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
March 04, 2010, at 06:13 PM by 192.168.168.117 -
Changed line 64 from:
 [=debug on
to:

[=debug on

March 04, 2010, at 06:12 PM by 192.168.168.117 -
Changed lines 71-72 from:

Module sip debug on level 10

]

to:

Module sip debug on level 10=]

March 04, 2010, at 06:11 PM by 192.168.168.117 -
Changed lines 64-67 from:
 debug on 
 Debug level: 5 local: on 
 debug sip level 10 
 Module sip debug on level 10
to:
 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

March 04, 2010, at 03:12 PM by cristina -
Changed line 55 from:

Tips: After connecting to telnet, type the “external” command. This will show the scripts you have in your Yate.

to:

Tips: After connecting to telnet, type the “external” command. This will show the scripts you have in your Yate.

March 04, 2010, at 03:12 PM by cristina -
Changed line 32 from:

Tips: You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

to:

Tips: You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

March 04, 2010, at 03:10 PM by cristina -
Changed line 32 from:

Tips: You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

to:

Tips: You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

March 04, 2010, at 03:09 PM by cristina -
Changed line 32 from:

'Tips': You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

to:

Tips: You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

March 04, 2010, at 03:09 PM by cristina -
Changed line 32 from:

Tips: You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

to:

'Tips': You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

March 04, 2010, at 03:08 PM by cristina -
Changed lines 32-34 from:

Tips: You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

to:

Tips: You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

Changed line 55 from:

Tips: After connecting to telnet, type the “external” command. This will show the scripts you have in your Yate.

to:

Tips: After connecting to telnet, type the “external” command. This will show the scripts you have in your Yate.

March 04, 2010, at 03:05 PM by cristina -
Changed lines 32-34 from:

++Tips++: You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

to:

Tips: You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

Changed line 55 from:

+Tips+: After connecting to telnet, type the “external” command. This will show the scripts you have in your Yate.

to:

Tips: After connecting to telnet, type the “external” command. This will show the scripts you have in your Yate.

March 04, 2010, at 03:04 PM by cristina -
Changed lines 32-34 from:

+Tips+: You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

to:

++Tips++: You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

Changed lines 47-49 from:
 Enabling debug on FreeSentral routing

]

to:
 Enabling debug on FreeSentral routing=]
Changed lines 53-57 from:
 2.register.php

]

['Tips']: After connecting to telnet, type the “external” command. This will show the scripts you have in your Yate.

to:
 2.register.php=]

+Tips+: After connecting to telnet, type the “external” command. This will show the scripts you have in your Yate.

Changed lines 67-69 from:
 Module sip debug on level 10 

]

to:
 Module sip debug on level 10=]
Changed lines 87-88 from:
 <sip:CALL> SIP line 'provider' logon success to 10.0.0.9:5060 

]

to:
 <sip:CALL> SIP line 'provider' logon success to 10.0.0.9:5060=]
March 04, 2010, at 03:03 PM by cristina -
Changed lines 30-33 from:
 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.

to:
 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.

March 04, 2010, at 03:02 PM by cristina -
Changed lines 33-35 from:

['Tips']: You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

to:

[+Tips+]: You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

Changed lines 67-68 from:
 [=
 debug on 
to:
 [=debug on 
Changed lines 75-76 from:
 [=
 <sip:INFO> Sending 'REGISTER sip:elder.null.ro' 0x119c060 to 10.0.0.9:5060 
to:
 [=<sip:INFO> Sending 'REGISTER sip:elder.null.ro' 0x119c060 to 10.0.0.9:5060 
March 04, 2010, at 03:01 PM by cristina -
Changed lines 29-30 from:

[=

 telnet 127.0.0.1 5038                       
to:
 [=telnet 127.0.0.1 5038                       
Changed lines 33-35 from:

Tips: You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

to:

['Tips']: You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

Changed lines 38-39 from:

[=

 [cristina@localhost ~]$ telnet 127.0.0.1 5038
to:
 [=[cristina@localhost ~]$ telnet 127.0.0.1 5038
Changed lines 53-54 from:

[=

 external 
to:
 [=external 
Changed line 58 from:

Tips: After connecting to telnet, type the “external” command. This will show the scripts you have in your Yate.

to:

['Tips']: After connecting to telnet, type the “external” command. This will show the scripts you have in your Yate.

March 04, 2010, at 03:00 PM by cristina -
Changed line 30 from:

telnet 127.0.0.1 5038

to:
 telnet 127.0.0.1 5038                       
Changed lines 34-36 from:

'Tips': You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

to:

Tips: You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

Changed lines 57-58 from:
 1. ctc-global.php 
 2. register.php
to:
 1.ctc-global.php 
 2.register.php
March 04, 2010, at 02:59 PM by cristina -
Changed line 34 from:

Tips: You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

to:

'Tips': You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

March 04, 2010, at 02:58 PM by cristina -
Changed lines 29-30 from:
 [=telnet 127.0.0.1 5038                       
to:

[= telnet 127.0.0.1 5038

Changed lines 39-40 from:
 [=[cristina@localhost ~]$ telnet 127.0.0.1 5038
to:

[=

 [cristina@localhost ~]$ telnet 127.0.0.1 5038
Changed line 55 from:
 [=
to:

[=

Changed lines 61-62 from:

after connecting to telnet, type the “external” command; this will show the scripts you have in your Yate.

to:

Tips: After connecting to telnet, type the “external” command. This will show the scripts you have in your Yate.

March 04, 2010, at 02:57 PM by cristina -
Changed lines 33-34 from:

tips: you should modify the localhost's IP or the port used according to the specific situation;

          5038 is the default port for Yate.
to:

Tips: You should modify the localhost's IP or the port used according to the specific situation. 5038 is the default port for Yate.

March 04, 2010, at 02:56 PM by cristina -
Changed lines 33-34 from:

tips: -you should modify the localhost's IP or the port used according to the specific situation;

          -5038 is the default port for Yate.
to:

tips: you should modify the localhost's IP or the port used according to the specific situation;

          5038 is the default port for Yate.
March 04, 2010, at 02:53 PM by cristina -
Changed lines 31-34 from:

] #where you should modify the localhost's IP or the port used according to the specific situation;# 5038 is the default port for Yate.

to:

]

tips: -you should modify the localhost's IP or the port used according to the specific situation;

          -5038 is the default port for Yate.
March 04, 2010, at 02:51 PM by cristina -
Changed lines 29-31 from:
 telnet 127.0.0.1 5038                        #where you should modify the localhost's IP or the port used according to the specific situation;
 debug freesentral on                           # 5038 is the default port for Yate.

to:
 telnet 127.0.0.1 5038                       
 debug freesentral on                           
   #where you should modify the localhost's IP or the port used according to the specific situation;# 5038 is the default port for Yate.
March 04, 2010, at 02:47 PM by cristina -
Changed lines 29-31 from:
 telnet 127.0.0.1 5038
 debug freesentral on
 \where you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.
to:
 telnet 127.0.0.1 5038                        #where you should modify the localhost's IP or the port used according to the specific situation;
 debug freesentral on                           # 5038 is the default port for Yate.

March 04, 2010, at 02:45 PM by cristina -
Changed line 31 from:

] where you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.

to:

] \where you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.

March 04, 2010, at 02:45 PM by cristina -
Changed lines 29-31 from:

(:input textarea value=[=telnet 127.0.0.1 5038 debug freesentral on=] size=30:) where you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.

to:
 telnet 127.0.0.1 5038
 debug freesentral on
 where you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.
Changed lines 51-56 from:

to:
 
 external 
 1. ctc-global.php 
 2. register.php

Changed lines 67-73 from:

to:
 
 debug on 
 Debug level: 5 local: on 
 debug sip level 10 
 Module sip debug on level 10 

Changed lines 76-94 from:

to:
 
 <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 

March 04, 2010, at 02:02 PM by cristina -
Changed lines 34-45 from:

[= [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

to:
 [=[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
March 04, 2010, at 02:01 PM by cristina -
Changed line 34 from:

(:input textarea value=[=

to:

[=

Changed line 46 from:

] size=300:)

to:

]

March 04, 2010, at 01:57 PM by cristina -
Added line 65:
Changed line 71 from:

] size=30:)

to:

] size=300:)

March 04, 2010, at 01:56 PM by cristina -
Changed lines 29-31 from:

(:input text value=[=telnet 127.0.0.1 5038 debug freesentral on=] size=30:) where you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.

to:

(:input textarea value=[=telnet 127.0.0.1 5038 debug freesentral on=] size=30:) where you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.

Added line 33:
Added line 49:
Added line 73:
March 04, 2010, at 01:46 PM by cristina -
Changed lines 33-44 from:

(:input text value=[=
[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

to:

(:input textarea value=[= [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

Changed line 48 from:

(:input text value=[=

to:

(:input textarea value=[=

Changed lines 51-52 from:

2. register.php=] size 30:)

to:

2. register.php

] size 30:)

Changed lines 63-69 from:


debug on
Debug level: 5 local: on
debug sip level 10
Module sip debug on level 10


to:

Changed lines 71-89 from:


<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


to:

March 04, 2010, at 01:43 PM by cristina -
Changed lines 29-31 from:

(:input textarea value=[=telnet 127.0.0.1 5038 debug freesentral on=] size=30:) where you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.

to:

(:input text value=[=telnet 127.0.0.1 5038 debug freesentral on=] size=30:) where you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.

Changed line 33 from:

(:input textarea value=[=

to:

(:input text value=[=

Changed lines 48-51 from:


||1. ctc-global.php
||2. register.php||

to:

March 04, 2010, at 01:40 PM by cristina -
Changed line 45 from:

]:)

to:

] size=300:)

March 04, 2010, at 01:38 PM by cristina -
Changed line 45 from:

] size=30:)

to:

]:)

March 04, 2010, at 01:38 PM by cristina -
Changed lines 29-32 from:

where you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.

to:

(:input textarea value=[=telnet 127.0.0.1 5038 debug freesentral on=] size=30:) where you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.

Changed line 33 from:

to:

(:input textarea value=[=

Changed line 45 from:

to:

] size=30:)

March 04, 2010, at 01:37 PM by cristina -
Changed lines 29-34 from:

(:input textarea value=[=telnet 127.0.0.1 5038 debug\\freesentral on=] size=30:)

debug freesentral on|| where you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.

to:

where you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.

March 04, 2010, at 01:36 PM by cristina -
Added lines 29-30:

(:input textarea value=[=telnet 127.0.0.1 5038 debug\\freesentral on=] size=30:)

Changed line 33 from:


||debug freesentral on||

to:

debug freesentral on||

March 04, 2010, at 01:25 PM by cristina -
Changed line 36 from:

;%
to:

March 04, 2010, at 01:18 PM by cristina -
Changed line 36 from:

to:

;%
March 04, 2010, at 01:06 PM by cristina -
Changed line 36 from:

lenght=25%
to:

Changed line 48 from:

lenght=25%
to:

March 04, 2010, at 01:06 PM by cristina -
Changed line 36 from:

to:

lenght=25%
Changed line 48 from:

to:

lenght=25%
March 04, 2010, at 01:03 PM by cristina -
Changed line 31 from:

//||debug freesentral on||

to:


||debug freesentral on||

Changed lines 37-47 from:

//[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

to:


[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

Changed lines 53-55 from:

//||1. ctc-global.php //||2. register.php||

to:


||1. ctc-global.php
||2. register.php||

Changed lines 66-69 from:

//debug on //Debug level: 5 local: on //debug sip level 10 //Module sip debug on level 10

to:


debug on
Debug level: 5 local: on
debug sip level 10
Module sip debug on level 10

Changed lines 74-90 from:

//<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

to:


<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

March 04, 2010, at 12:58 PM by cristina -
Changed lines 30-31 from:
telnet 127.0.0.1 5038
debug freesentral on
to:

//||debug freesentral on||

Changed lines 37-48 from:

[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

to:

//[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

Changed lines 51-55 from:
to:

//||1. ctc-global.php //||2. register.php||

Deleted lines 58-59:
Changed lines 66-69 from:

debug on Debug level: 5 local: on debug sip level 10 Module sip debug on level 10

to:

//debug on //Debug level: 5 local: on //debug sip level 10 //Module sip debug on level 10

Changed lines 74-90 from:

<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

to:

//<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

March 04, 2010, at 12:55 PM by cristina -
Changed lines 31-33 from:
debug freesentral onwhere you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.
to:
debug freesentral on

where you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.

Changed lines 36-49 from:
to:

[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


Changed lines 64-69 from:
to:

debug on Debug level: 5 local: on debug sip level 10 Module sip debug on level 10


Changed line 72 from:
to:

Changed line 74 from:

to:

--

Changed line 88 from:

to:

--

Changed line 90 from:
to:

March 04, 2010, at 12:37 PM by cristina -
Changed line 29 from:
to:
Changed lines 31-32 from:
debug freesentral on

where you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.

to:
debug freesentral onwhere you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.
March 04, 2010, at 12:36 PM by cristina -
Changed lines 29-31 from:
to:
telnet 127.0.0.1 5038
debug freesentral on
March 04, 2010, at 12:34 PM by cristina -
Changed line 31 from:
debug freesentral on
to:
March 04, 2010, at 12:34 PM by cristina -
Changed line 31 from:
 debug freesentral on|| 
to:
debug freesentral on
March 04, 2010, at 12:33 PM by cristina -
Changed lines 30-31 from:
telnet 127.0.0.1 5038 // debug freesentral on
to:
 debug freesentral on|| 
March 04, 2010, at 12:33 PM by cristina -
Changed lines 29-30 from:
telnet 127.0.0.1 5038 debug freesentral on
to:
telnet 127.0.0.1 5038 // debug freesentral on
March 04, 2010, at 12:32 PM by cristina -
Changed lines 30-31 from:
telnet 127.0.0.1 5038 //debug freesentral onwhere you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.
to:
telnet 127.0.0.1 5038 debug freesentral on

where you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.

March 04, 2010, at 12:31 PM by cristina -
Changed lines 16-17 from:

[Here are some advices to take into consideration]:

to:

Here are some advices to take into consideration:

Changed lines 30-31 from:

debug freesentral on|| where you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.

to:
telnet 127.0.0.1 5038 //debug freesentral onwhere you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.
March 04, 2010, at 12:30 PM by cristina -
Changed line 29 from:
to:
March 04, 2010, at 12:29 PM by cristina -
Changed lines 16-21 from:

Here 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.

to:

[Here 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.

Changed lines 29-31 from:

where you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.

to:

debug freesentral on|| where you should modify the localhost's IP or the port used according to the specific situation; 5038 is the default port for Yate.

March 04, 2010, at 12:22 PM by cristina -
Added lines 9-10:

This part isn't that great but somebody has to do it. Yes, it's the finding and fixing errors part.

Deleted lines 11-12:

This part isn't that great but somebody has to do it. Yes, it's the finding and fixing errors part.

March 04, 2010, at 12:22 PM by cristina -
Added lines 8-9:

(:tocportion TableOfContents:)

March 04, 2010, at 12:18 PM by cristina -
Added lines 1-85:

(:title How do I debug FreeSentral?:)

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:

Debugging

This part isn't that great but somebody has to do it. Yes, it's the finding and fixing errors part.

Advices

Here 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.

Telnet

Only 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:

where 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.

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:

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.

The SIP module

Start 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.

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

HowTo