Difference between revisions of "Configuring DIDWW"

From Kolmisoft Wiki
Jump to navigationJump to search
 
(39 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Image:didww.gif|right]][http://www.didww.com DID World Wide], International DIDs forwarded to PSTN and VoIP by SIP, IAX, H323, Skype, Gtalk, MSN Messenger. Origination services, SIP DIDs.
[[Image:didww_logo.jpg|right]][http://www.didww.com DID World Wide], International DIDs forwarded to PSTN and VoIP by SIP, IAX, H323, Skype, Gtalk, MSN Messenger. Origination services, SIP DIDs.
<br><br>
'''ATTENTION''':
Please add DIDWW provider several times for each ip . Check this page:
[https://www.didww.com/Knowledgebase/sip_ip_addresses_post Ip List]


'''Information provided below is not actual.'''


== Known DIDWW problems ==


# CallerID does not come in E.164 format - only in the local format.
# FAS - Fast Call Answer - the call is answered instantly even if the other end has not answered yet.
## 2010-10-29 Owner tells that FAS problem is gone, need to confirm this from third parties.


The user is ALWAYS charged for the call.
'''PLEASE NOTE''': DIDww provider is already configured in MOR system by default, so you not need to add DIDww Provider in MOR again. Use this manual as example to configure other DID Providers which have many IPs. If DID provider have one or few IPs, then please refer to [[How_to_add_DID_provider_with_multiple_IPs|this]] manual instead.
= Known DIDWW issues =


* CallerID does not come in E.164 format - only in the local format.
* Not possible to use for Callback: No Callback Calls: by entering into this Agreement the Customer acknowledges and agrees that the DID numbers provided by DIDWW cannot be used for callback applications.(http://www.didww.com/DIDWW-Terms-and-Agreements)
<br><br>
<br><br>
=== CallerID does not come in E.164 format, only in local format ===
=== CallerID does not come in E.164 format, only in local format ===
Line 15: Line 20:
'''QUESTION:'''
'''QUESTION:'''


Hello ! from Ukraine DID CallerID is not coming in the E.164 format.
Hello ! from Ukraine DID CallerID is not coming in the E.164 format.
It is coming in the local format like 80519539xx, but must be 3805019539xx.  
It is coming in the local format like 80519539xx, but must be 3805019539xx.  
Is it possible to fix this?
Is it possible to fix this?


'''ANSWER:'''
'''ANSWER:'''


  Your DID number is forwarded with CLI as it is, i.e exactly how we get it.
  Your DID number is forwarded with CLI exactly as the local carrier sends it.
  Unfortunately, we cannot make any changes in the CallerID format on a particular number.
  Please check if it is possible to change the CLI on your end.<br>
However, we are checking what can be done in this case.
Thank you for your patience in this matter.
 
Thank you for using DID World Wide services!
 
  Best Regards,
  Best Regards,
  Anna Remez
  Customer Support Department
  DID World Wide
  DIDWW
 
<br><br>
<br><br>
=== FAS - Fast Call Answer - Call is answered instantly even if the other end has not answered yet. The user is ALWAYS charged for the call. ===
= Configuring multiple DIDWW IPs for receiving calls to DID =


'''QUESTION'''
The problem with this DID Provider is that it sends calls from many IP addresses.


Hello! People who called this number are getting an ANSWER before I pick up the phone.
This is done due to load balancing techniques.
The same if I don't pick up for a long time - they have on the screen and in the billing
invoice from their providers that the connection was successful, like ANSWER,
and I'm paying money for nothing.
This is a fake answer signal (FAS) and no good from your side.
Maybe this problem is not from you. You are getting this, but I'm have big problems
with people who are calling me!


----
Please be sure you have granted access on your end to DIDWW Public IP Addresses:


'''ANSWER'''


With mobile phone service providers (unlike with landline phone service providers),
The newest list can be found at [http://www.didww.com/Knowledgebase/the_list_of_didww_ip_addresses DIDWW IP Adresses]
you will be billed from the second you hit the Send button.
<!---This functionality is available from MOR 9--->


Thus it's normal that the mobile caller is billed even if the call isn't answered on your side.
It is possible to implement multiple DIDWW IP addresses by making these changes:


Best Regards,
1. Create a provider in MOR, with a name didww:<br>
Lev V.
[[File:provider_create.png]] <br>
DID World Wide
2. Afterwards, enter any IP (or leave blank) in Provider Network settings, and write down Provider Device ID value, you
 
will need it later.<br>
== Configuring DIDWW for receiving calls to DID ==
[[File:provider_settings.png]]<br>
 
3. Now connect to your server over ssh and locate this file /etc/asterisk/extensions_mor_didww.conf and find these lines:
The problem with this DID Provider is that it sends calls from many IP addresses:
  [from-didww]
 
  exten => _X.,1,Set(CDR(ACCOUNTCODE)=0)
USA:
  exten => _X.,2,Goto(mor,${EXTEN},1)
204.11.194.34
Now you need to change '''(ACCOUNTCODE)=0''' value (0) to Provider Device ID value as follows:
204.11.194.35
  exten => _X.,1,Set(CDR(ACCOUNTCODE)=6)
204.11.194.36
  exten => _X.,2,Goto(mor,${EXTEN},1)
204.11.194.37
<br>
204.11.194.38
4. Make sure, file /etc/asterisk/extensions_mor_custom.conf (which is not overwritten during the update) has this line included:
 
  #include extensions_mor_didww.conf
ME:
<br>
212.150.36.116
5. Make sure, file /etc/asterisk/sip.conf has this line included:
212.150.88.20
  #include sip_didww.conf
212.150.88.21
<br>
 
NOTE: sip_didww.conf file contains list of DIDWW server IPs, so this file must be included if you are using DIDWW DIDs. Without this list, all incoming calls from DIDWW will not be allowed by MOR.<br>
UK:
<br>
81.85.224.39
6. [[How_to_restart_Asterisk_server | Restart Asterisk]]
81.85.224.40
<br>
81.85.224.41
Now your system is updated with all the DIDWW IP addresses that are listed in their recommendations.
81.85.224.42
<br><br>
 
'''Now there is no need to create one Provider for each IP'''
 
<br><br>
The newest list can be found at [http://www.didww.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=35&nav=0,11 here]
 
<br><hr><br>
 
 
First create a new provider (most important parts are marked in red, '''Device ID can/will be different in your case - REMEMBER IT!!!'''):
 
[[Image:didww1.png]]
 
 
Then in '''/etc/asterisk/sip.conf''', at the very end, enter (copy/paste):
 
  [didww_116]
  type=friend
  context=mor
accountcode=5
  host=212.150.36.116
disallow=all
  allow=g729
allow=alaw
allow=ulaw
 
[didww_21]
type=friend
  context=mor
accountcode=5
host=212.150.88.21
disallow=all
allow=g729
allow=alaw
allow=ulaw


[didww_34]
= DID configuration =
type=friend
context=mor
accountcode=5
host=204.11.194.34
disallow=all
allow=g729
allow=alaw
allow=ulaw
 
[didww_35]
type=friend
context=mor
accountcode=5
host=204.11.194.35
disallow=all
allow=g729
allow=alaw
allow=ulaw
 
[didww_36]
type=friend
context=mor
accountcode=5
host=204.11.194.36
disallow=all
allow=g729
allow=alaw
allow=ulaw
 
[didww_37]
type=friend
context=mor
accountcode=5
host=204.11.194.37
disallow=all
allow=g729
allow=alaw
allow=ulaw
 
[didww_38]
type=friend
context=mor
accountcode=5
host=204.11.194.38
disallow=all
allow=g729
allow=alaw
allow=ulaw
 
[didww_39]
type=friend
context=mor
accountcode=5
host=81.85.224.39
disallow=all
allow=g729
allow=alaw
allow=ulaw
 
[didww_40]
type=friend
context=mor
accountcode=5
host=81.85.224.40
disallow=all
allow=g729
allow=alaw
allow=ulaw
 
[didww_41]
type=friend
context=mor
accountcode=5
host=81.85.224.41
disallow=all
allow=g729
allow=alaw
allow=ulaw
 
[didww_42]
type=friend
context=mor
accountcode=5
host=81.85.224.42
disallow=all
allow=g729
allow=alaw
allow=ulaw
 
<center>'''<big><big><big>========== VERY IMPORTANT!!! ==========<br> accountcode should be == Device ID in your Provider window. In our case it is == 5. Change it according to your correct value!!!</big></big></big>'''</center>
 
== DID configuration ==


Then:
Then:


* Save the file.
* Create DID - '''IN E.164 FORMAT!'''
* Reload Asterisk.
* Create DID - '''IN E.164 FORMAT!!!!!!!!'''
* Assign to a DIDWW Provider.
* Assign to a DIDWW Provider.
* Assign to some device.
* Assign to some device.
* Configure correct routing (mapping) in www.didww.com.
* Configure correct routing (mapping) in www.didww.com.
 
<br><br>
 
= Configuration in www.didww.com =
== Configuration in www.didww.com ==


We will assign a Thailand, Bangkok number to our server:
We will assign a Thailand, Bangkok number to our server:


First we need to create "mapping", that is, the route to our server:
First we need to create "mapping", that is, the route to our server:
 
<br><br>
[[Image:didww11.png]]
[[Image:didww11.png]]
 
<br><br>
After this, we need to assign our DID to our just-created "mapping":
After this, we need to assign our DID to our just-created "mapping":
 
<br><br>
[[Image:didww12.png]]
[[Image:didww12.png]]
 
<br><br>
== Troubleshooting ==
= Troubleshooting =
 


Watch Asterisk CLI to see what's happening.  
Watch Asterisk CLI to see what's happening.  


Maybe you have DID in the wrong format - for example, not E.164 compatible?
Maybe you have DID in the wrong format - for example, not E.164 compatible?
<br><br>
=See also=


 
* [[DID Management]]
<br><hr><br>
 
If you are using IAX2 connection from DIDWW, create a Provider with type = '''IAX2''' and paste sip.conf configuration into '''/etc/asterisk/iax.conf'''.

Latest revision as of 12:19, 22 November 2019

Didww logo.jpg

DID World Wide, International DIDs forwarded to PSTN and VoIP by SIP, IAX, H323, Skype, Gtalk, MSN Messenger. Origination services, SIP DIDs.



ATTENTION: Please add DIDWW provider several times for each ip . Check this page: Ip List

Information provided below is not actual.



PLEASE NOTE: DIDww provider is already configured in MOR system by default, so you not need to add DIDww Provider in MOR again. Use this manual as example to configure other DID Providers which have many IPs. If DID provider have one or few IPs, then please refer to this manual instead.

Known DIDWW issues

  • CallerID does not come in E.164 format - only in the local format.
  • Not possible to use for Callback: No Callback Calls: by entering into this Agreement the Customer acknowledges and agrees that the DID numbers provided by DIDWW cannot be used for callback applications.(http://www.didww.com/DIDWW-Terms-and-Agreements)



CallerID does not come in E.164 format, only in local format

QUESTION:

Hello ! from Ukraine DID CallerID is not coming in the E.164 format.
It is coming in the local format like 80519539xx, but must be 3805019539xx. 
Is it possible to fix this?

ANSWER:

Your DID number is forwarded with CLI exactly as the local carrier sends it.
Please check if it is possible to change the CLI on your end.
Best Regards, Customer Support Department DIDWW



Configuring multiple DIDWW IPs for receiving calls to DID

The problem with this DID Provider is that it sends calls from many IP addresses.

This is done due to load balancing techniques.

Please be sure you have granted access on your end to DIDWW Public IP Addresses:


The newest list can be found at DIDWW IP Adresses

It is possible to implement multiple DIDWW IP addresses by making these changes:

1. Create a provider in MOR, with a name didww:
Provider create.png
2. Afterwards, enter any IP (or leave blank) in Provider Network settings, and write down Provider Device ID value, you will need it later.
Provider settings.png
3. Now connect to your server over ssh and locate this file /etc/asterisk/extensions_mor_didww.conf and find these lines:

[from-didww]
exten => _X.,1,Set(CDR(ACCOUNTCODE)=0)
exten => _X.,2,Goto(mor,${EXTEN},1)

Now you need to change (ACCOUNTCODE)=0 value (0) to Provider Device ID value as follows:

exten => _X.,1,Set(CDR(ACCOUNTCODE)=6)
exten => _X.,2,Goto(mor,${EXTEN},1)


4. Make sure, file /etc/asterisk/extensions_mor_custom.conf (which is not overwritten during the update) has this line included:

 #include extensions_mor_didww.conf


5. Make sure, file /etc/asterisk/sip.conf has this line included:

#include sip_didww.conf


NOTE: sip_didww.conf file contains list of DIDWW server IPs, so this file must be included if you are using DIDWW DIDs. Without this list, all incoming calls from DIDWW will not be allowed by MOR.

6. Restart Asterisk
Now your system is updated with all the DIDWW IP addresses that are listed in their recommendations.

Now there is no need to create one Provider for each IP

DID configuration

Then:

  • Create DID - IN E.164 FORMAT!
  • Assign to a DIDWW Provider.
  • Assign to some device.
  • Configure correct routing (mapping) in www.didww.com.



Configuration in www.didww.com

We will assign a Thailand, Bangkok number to our server:

First we need to create "mapping", that is, the route to our server:

Didww11.png

After this, we need to assign our DID to our just-created "mapping":

Didww12.png

Troubleshooting

Watch Asterisk CLI to see what's happening.

Maybe you have DID in the wrong format - for example, not E.164 compatible?

See also