Difference between revisions of "Configuring DIDWW"
From Kolmisoft Wiki
Jump to navigationJump to search
Line 65: | Line 65: | ||
<center>'''<big><big><big>========== VERY IMPORTANT!!! ==========<br> accountcode should be == Device ID in your Provider window. In our case it is == 5. Change it accordingly to your correct value!!!</big></big></big>'''</center> | <center>'''<big><big><big>========== VERY IMPORTANT!!! ==========<br> accountcode should be == Device ID in your Provider window. In our case it is == 5. Change it accordingly to your correct value!!!</big></big></big>'''</center> | ||
== DID configuration == | |||
Then: | Then: | ||
Line 70: | Line 72: | ||
* Save the file. | * Save the file. | ||
* Reload Asterisk. | * Reload Asterisk. | ||
* Create DID | * Create DID - '''IN E164 FORMAT!!!!!!!!''' | ||
* Assign to DIDWW Provider | * Assign to DIDWW Provider | ||
* Assign to some device | * Assign to some device |
Revision as of 12:26, 10 October 2008
The problem with this DID Provider is that it send calls from many IP addresses:
- 212.150.36.116
- 212.150.88.20
- 212.150.88.21
- 204.11.194.34
- 204.11.194.35
- 204.11.194.36
- 204.11.194.37
- 204.11.194.38
First create new Provider (most important parts are marked in red, Device ID can/will be different in your case - REMEMBER IT!!!):
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
[didww_21] type=friend context=mor accountcode=5 host=212.150.88.21
[didww_34] type=friend context=mor accountcode=5 host=204.11.194.34
[didww_35] type=friend context=mor accountcode=5 host=204.11.194.35
[didww_36] type=friend context=mor accountcode=5 host=204.11.194.36
[didww_37] type=friend context=mor accountcode=5 host=204.11.194.37
[didww_38] type=friend context=mor accountcode=5 host=204.11.194.38
accountcode should be == Device ID in your Provider window. In our case it is == 5. Change it accordingly to your correct value!!!
DID configuration
Then:
- Save the file.
- Reload Asterisk.
- Create DID - IN E164 FORMAT!!!!!!!!
- Assign to DIDWW Provider
- Assign to some device
- Configure correct routing(mapping) in www.didww.com
and you should be fine.
Otherwise - watch Asterisk CLI to see whats happening.
If you are using IAX2 connection from DIDWW - create Provider with type = IAX2 and paste all this in /etc/asterisk/iax.conf