Difference between revisions of "Call Tracing"

From Kolmisoft Wiki
Jump to navigationJump to search
m
Line 1: Line 1:
=Overview =  
=Overview =  


This function is for checking the setup of MOR in order to be sure user will be able to dial out. To setup MOR is not so trivial (we are trying to change this with this manual and GUI improvements). It often happens for users to miss some important detail trying to make everything work. Now Call Tracing will save a lot of head-scratching and we hope will help for a lot of beginners.
This function is for checking the setup of MOR in order to be sure a user will be able to dial out. To set MOR up isn't simple, but we are trying to make it easier with this manual and with improvements to GUI. It often happens that users miss some important detail while trying to make everything work. Call Tracing will save a lot of head-scratching, and we hope it will be helpful for beginners.




Line 7: Line 7:




This function can be found in '''SETTINGS – Billing – Function – Call Tracing'''. It can be quickly accessed in Users menu (SETTINGS – Users) also. Just press [[Image:icon_call_tracing.png]] icon for some user.
This function can be found in '''SETTINGS – Billing – Function – Call Tracing'''. It can be quickly accessed in the Users menu (SETTINGS – Users) as well. Just click on the [[Image:icon_call_tracing.png]] icon for a user.


In the first window we have to select which user we want to check:
In the first window, we have to select which user we want to check:




Line 18: Line 18:
= User testing =  
= User testing =  


Next window shows us did we configure everything properly for selected user. Let's look at each section separately.  
The next window shows us whether we configured everything properly for the selected user. Let's look at each section separately.  


The first one shows info special for user:
The first section shows information special for user:


[[Image:calltracing2.png]]
[[Image:calltracing2.png]]
Line 26: Line 26:




Here we see [[Image:icon_cross.png]] 4 errors which does not let user to operate. Let's say we want to make user to make calls. So we will go through each one of errors and fix them.
Here we see [[Image:icon_cross.png]] four errors that prevent the user from operating. Let's say we want to allow a user to make calls. We will go through each of the errors and fix them.




1. This error tells us that user is Blocked and it will not be able to make calls. We should go to [[User Details]] and unblock him.
1. This error tells us that the user is Blocked and will not be able to make calls. We should go to [[User Details]] and unblock him.


2. Balance and Credit for this user are empty. And user type is Prepaid. That means he has no funds to cover the call fees. There are several ways how to go about this:
2. Balance and Credit for this user are empty, and the user type is Prepaid. That means he has no funds to cover the call fees. There are several ways for how to go about this:


*  If user is postpaid he should use some payment method to increase his balance. [[PayPal]], [[Payments | Manual Payment]] and other ways are good to do this.
*  If the user is postpaid, he should use some payment method to increase his balance. [[PayPal]] and [[Payments | Manual Payment]], among others, are good ways to do this.
*  We can change user type to postpaid and then we should adjust his credit. Maybe it is unlimited, maybe some limit exists. But that will allow user to dial out.
*  We can change the user type to postpaid and then we should adjust his credit. Maybe it is unlimited, maybe some limit exists. But that will allow user to dial out.


3. We see that user has assigned some tariff and type of tariff. Type of tariff is just for informational purposes. Here 'Explanation' tells us that tariff is empty. That is the reason why user will not be able to dial out. User can dial out only to these destinations which have rates. Currently none of them has. You need to put some rates to the existing tariff or assign non-empty tariff to this user.
3. We see that the user has assigned a tariff and a type of tariff. The type of tariff is just for informational purposes. Here 'Explanation' tells us that Tariff is empty. That is the reason why user is not able to dial out. The user can dial out only to those destinations which have rates. Currently none of them has. You need to put some rates to the existing tariff or assign a non-empty tariff to this user.


4. User has no devices. Device is necessary to dial out. Just create one for this user.
4. The user has no devices. A Device is necessary in order to dial out. Just create one for this user.




After solving all these issues we should see:
After solving all these issues, we should see:


[[Image:calltracing3.png]]
[[Image:calltracing3.png]]
Line 48: Line 48:




We can proceed with next section which is about [[LCR]]:
We can proceed with next section, which is about [[LCR]]:


[[Image:calltracing4.png]]
[[Image:calltracing4.png]]
Line 54: Line 54:




It tells us that [[LCR]] we assigned to the user has no Providers. We should fix it. When at least one Provider is in the [[LCR]] assigned to the User we should see:
It tells us that the [[LCR]] we assigned to the user has no Providers. We should fix it. When at least one Provider is in the [[LCR]] assigned to the User, we should see:


[[Image:calltracing5.png]]
[[Image:calltracing5.png]]
Line 60: Line 60:




This error happens when all providers in LCR are disabled. We need to have at least 1 active provider in order for user to be able to dial-out:
This error happens when all providers in LCR are disabled. We need to have at least one active provider for the user to be able to dial out:


[[Image:calltracing6.png]]
[[Image:calltracing6.png]]
Line 66: Line 66:




Now none of our active providers has any rates. We should add rates to the provider's tariff. We can press directly on the Tariff to go to its rates and add some of them. After that we should see:
Now none of our active providers has any rates. We should add rates to the provider's tariff. We can click directly on the Tariff to go to its rates and add some of them. After that, we should see:


[[Image:calltracing7.png]]
[[Image:calltracing7.png]]
Line 72: Line 72:




To summarize all this section you should check for [[Image:icon_cross.png]] and read error descriptions. After fixing them you should see [[Image:icon_check.png]]. That means problem is solved and you can proceed. If at the bottom of the page you see:
To summarize this whole section, you should check for [[Image:icon_cross.png]] and read the error descriptions. After fixing the errors, you should see [[Image:icon_check.png]]. That means the problem is solved and you can proceed. If at the bottom of the page, you see:


[[Image:calltracing8.png]]
[[Image:calltracing8.png]]
Line 78: Line 78:




That means you still have unresolved issues. After all issues are solved you should see:
... that means you still have unresolved issues. After all the issues are resolved, you should see:


[[Image:calltracing9.png]]
[[Image:calltracing9.png]]
Line 84: Line 84:




When you see this green message you know that your user is configured properly. He is not blocked, he has enough money in his balance to pay for the call, his tariff has some rates for some destinations (so only these destinations are available to dial), he has some devices to use for dialing. Also his LCR has active providers with not empty tariffs.  
When you see this green message, you know that your user is configured properly. He is not blocked, he has enough money in his balance to pay for the call, his tariff has rates for some destinations (so only these destinations are available to dial), and he has some devices to use for dialing. Also, his LCR has active providers with tariffs that are not empty.  


You can proceed.
You can proceed.
Line 94: Line 94:
= Device testing =  
= Device testing =  


Following section let's us choose device, call date and enter destination which we want to test. For example:
The following section lets us choose a device and a call date, and enter the destination we want to test. For example:


[[Image:calltracing10.png]]
[[Image:calltracing10.png]]
Line 100: Line 100:




This data means that we are testing virtual call from device SIP/1004 to number 863042438 on 2009 August 26th 00:00.
This data means that we are testing a virtual call from device SIP/1004 to number 863042438 on 2009 August 26th 00:00.


When we press '''Press this button to continue''' we will go to the next page and we will see something like:
When we click '''Press this button to continue''', we will go to the next page and we will see something like:


[[Image:calltracing11.png]]
[[Image:calltracing11.png]]
Line 108: Line 108:




'''Details''' section shows us just informational info. We knew this info before so it is not important.
The '''Details''' section shows us just routine information. We already knew this information, so it is not important.


[[Image:calltracing12.png]]
[[Image:calltracing12.png]]
Line 114: Line 114:




If you see direction as Unknown that means your number is not in E.164 compatible format. Edit [[Localization]] rules to transform your number to E.164 number format.
If you see direction as Unknown, it means your number is not in E.164-compatible format. Edit [[Localization]] rules to transform your number to E.164 number format.


'''Localization''' section is much more important.
The '''Localization''' section is much more important.


Here we see device's Location, Applied rule and result after localization.
Here we see the device's Location and Applied rule, and the result after localization.




<big>'''IMPORTANT! Software can't read user's mind so it can't know where user is dialing.'''</big>
<big>'''IMPORTANT! Software can't read a user's mind, so it can't know where a user is dialing.'''</big>




This can be illustrated by this example:
This can be illustrated by this example:


User dials 863042438. After Localization we see that number is still: 863042438. Which means it's somewhere in China. But it's wrong because user dialed Lithuanian number in local format! What does it mean? It means that [[Localization]] is not configured properly. MOR can't show you error here because there's no way to tell if it's ok or not.
A User dials 863042438. After Localization, we see that number is still 863042438 - which means it's somewhere in China. But it's wrong, because the user dialed a Lithuanian number in local format! What does it mean? It means that [[Localization]] is not configured properly. MOR can't show you an error here because there's no way to tell whether it's okay or not.


You should decide for yourself. What MOR can do – just to show you all info it can get from the call and it does that.
You should decide for yourself. All MOR can do is show you all information it can get from the call, and it does that.


So in order to proceed with example we have to set correct [[Localization]] rule for this number format. After doing this we will see:
So in order to proceed with the example, we have to set a correct [[Localization]] rule for this number format. After doing this, we will see:


[[Image:calltracing13.png]]
[[Image:calltracing13.png]]
Line 136: Line 136:




Now everything is ok. Localized destination is E.164 compatible. Now MOR understands that it's Lithuania as it should be.
Now everything is okay. The localized destination is E.164 compatible. Now MOR understands that it's Lithuania.


If we get following window:
If we get the following window:


[[Image:calltracing14.png]]
[[Image:calltracing14.png]]
Line 144: Line 144:




That means we do not have rates or custom rates for dialed destination. After adding them we should see:
... it means we do not have rates or custom rates for the dialed destination. After adding them, we should see:


[[Image:calltracing15.png]]
[[Image:calltracing15.png]]
Line 150: Line 150:




This window also shows us that we do not have custom rate for this destination. But it's enough to have simple rate for destination to be able to dial out or vice versa.
This window also shows us that we do not have a custom rate for this destination. But it's enough to have a simple rate for a destination to be able to dial out or vice versa.


We can proceed to the providers:
We can proceed to the providers:
Line 158: Line 158:




We can see that our provider does not have rate for this destination. After fixing it we should see:
We can see that our provider does not have a rate for this destination. After fixing it we should see:


[[Image:calltracing17.png]]
[[Image:calltracing17.png]]
Line 164: Line 164:




That's it. Now real call should go out without problems.
That's it. Now a real call should go out without problems.




Line 171: Line 171:
= Conclusion =  
= Conclusion =  


To summarize Call Tracing it is very important to configure Localization properly.  
To summarize Call Tracing, it is very important to configure Localization properly.  


You will see using Call Tracing what is happening and where the call is going.  
You will see using Call Tracing what is happening and where the call is going.  


When rates for user and provider are checked using localized destination. When all data are in place there's no obstacle for call to be send to provider.
When rates for user and provider are checked using localized destination, and when all data are in place, there's no obstacle to prevent the call from being sent to the provider.


'''IMPORTANT!''' Green message at the end of Call Tracing does not mean call will be successful! It only means that MOR will send call to provider. What string it will send to provider you can see in last table. Applied Provider Rule parameters (Cut and Add) are also visible in the table. MOR can't know if provider accepts your dial string or not.
'''IMPORTANT!''' The green message at the end of Call Tracing does not mean the call will be successful! It only means that MOR will send the call to the provider. The last table shows what string it will send to the provider. Applied Provider Rule parameters (Cut and Add) are also visible in the table.  


That depends how you configured [[Provider Rules]]. Call Tracing shows you formatted number which is sent to provider but you should decide is it correct or not.
MOR can't know whether the provider accepts your dial string or not. That depends on how you configured [[Provider Rules]]. Call Tracing shows you the formatted number which is sent to the provider, but you should decide whether or not it is correct.
   
   
If call fails - check [[Users Calls]] or [[Providers Calls]] and check [[Hangupcause Codes]] to find a reason why call failed.
If a call fails, check [[Users Calls]] or [[Providers Calls]] and check [[Hangupcause Codes]] to find the reason.

Revision as of 13:35, 23 May 2010

Overview

This function is for checking the setup of MOR in order to be sure a user will be able to dial out. To set MOR up isn't simple, but we are trying to make it easier with this manual and with improvements to GUI. It often happens that users miss some important detail while trying to make everything work. Call Tracing will save a lot of head-scratching, and we hope it will be helpful for beginners.


Important! This function is for testing Dialing OUT. DID testing is not implemented yet.


This function can be found in SETTINGS – Billing – Function – Call Tracing. It can be quickly accessed in the Users menu (SETTINGS – Users) as well. Just click on the Icon call tracing.png icon for a user.

In the first window, we have to select which user we want to check:


Calltracing1.png


User testing

The next window shows us whether we configured everything properly for the selected user. Let's look at each section separately.

The first section shows information special for user:

Calltracing2.png


Here we see Icon cross.png four errors that prevent the user from operating. Let's say we want to allow a user to make calls. We will go through each of the errors and fix them.


1. This error tells us that the user is Blocked and will not be able to make calls. We should go to User Details and unblock him.

2. Balance and Credit for this user are empty, and the user type is Prepaid. That means he has no funds to cover the call fees. There are several ways for how to go about this:

  • If the user is postpaid, he should use some payment method to increase his balance. PayPal and Manual Payment, among others, are good ways to do this.
  • We can change the user type to postpaid and then we should adjust his credit. Maybe it is unlimited, maybe some limit exists. But that will allow user to dial out.

3. We see that the user has assigned a tariff and a type of tariff. The type of tariff is just for informational purposes. Here 'Explanation' tells us that Tariff is empty. That is the reason why user is not able to dial out. The user can dial out only to those destinations which have rates. Currently none of them has. You need to put some rates to the existing tariff or assign a non-empty tariff to this user.

4. The user has no devices. A Device is necessary in order to dial out. Just create one for this user.


After solving all these issues, we should see:

Calltracing3.png



We can proceed with next section, which is about LCR:

Calltracing4.png


It tells us that the LCR we assigned to the user has no Providers. We should fix it. When at least one Provider is in the LCR assigned to the User, we should see:

Calltracing5.png


This error happens when all providers in LCR are disabled. We need to have at least one active provider for the user to be able to dial out:

Calltracing6.png


Now none of our active providers has any rates. We should add rates to the provider's tariff. We can click directly on the Tariff to go to its rates and add some of them. After that, we should see:

Calltracing7.png


To summarize this whole section, you should check for Icon cross.png and read the error descriptions. After fixing the errors, you should see Icon check.png. That means the problem is solved and you can proceed. If at the bottom of the page, you see:

Calltracing8.png


... that means you still have unresolved issues. After all the issues are resolved, you should see:

Calltracing9.png


When you see this green message, you know that your user is configured properly. He is not blocked, he has enough money in his balance to pay for the call, his tariff has rates for some destinations (so only these destinations are available to dial), and he has some devices to use for dialing. Also, his LCR has active providers with tariffs that are not empty.

You can proceed.




Device testing

The following section lets us choose a device and a call date, and enter the destination we want to test. For example:

Calltracing10.png


This data means that we are testing a virtual call from device SIP/1004 to number 863042438 on 2009 August 26th 00:00.

When we click Press this button to continue, we will go to the next page and we will see something like:

Calltracing11.png


The Details section shows us just routine information. We already knew this information, so it is not important.

Calltracing12.png


If you see direction as Unknown, it means your number is not in E.164-compatible format. Edit Localization rules to transform your number to E.164 number format.

The Localization section is much more important.

Here we see the device's Location and Applied rule, and the result after localization.


IMPORTANT! Software can't read a user's mind, so it can't know where a user is dialing.


This can be illustrated by this example:

A User dials 863042438. After Localization, we see that number is still 863042438 - which means it's somewhere in China. But it's wrong, because the user dialed a Lithuanian number in local format! What does it mean? It means that Localization is not configured properly. MOR can't show you an error here because there's no way to tell whether it's okay or not.

You should decide for yourself. All MOR can do is show you all information it can get from the call, and it does that.

So in order to proceed with the example, we have to set a correct Localization rule for this number format. After doing this, we will see:

Calltracing13.png


Now everything is okay. The localized destination is E.164 compatible. Now MOR understands that it's Lithuania.

If we get the following window:

Calltracing14.png


... it means we do not have rates or custom rates for the dialed destination. After adding them, we should see:

Calltracing15.png


This window also shows us that we do not have a custom rate for this destination. But it's enough to have a simple rate for a destination to be able to dial out or vice versa.

We can proceed to the providers:

Calltracing16.png


We can see that our provider does not have a rate for this destination. After fixing it we should see:

Calltracing17.png


That's it. Now a real call should go out without problems.




Conclusion

To summarize Call Tracing, it is very important to configure Localization properly.

You will see using Call Tracing what is happening and where the call is going.

When rates for user and provider are checked using localized destination, and when all data are in place, there's no obstacle to prevent the call from being sent to the provider.

IMPORTANT! The green message at the end of Call Tracing does not mean the call will be successful! It only means that MOR will send the call to the provider. The last table shows what string it will send to the provider. Applied Provider Rule parameters (Cut and Add) are also visible in the table.

MOR can't know whether the provider accepts your dial string or not. That depends on how you configured Provider Rules. Call Tracing shows you the formatted number which is sent to the provider, but you should decide whether or not it is correct.

If a call fails, check Users Calls or Providers Calls and check Hangupcause Codes to find the reason.