Difference between revisions of "Configuring DIDWW"
From Kolmisoft Wiki
Jump to navigationJump to search
Line 75: | Line 75: | ||
* Assign to DIDWW Provider | * Assign to 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: | ||
== Configuration in www.didww.com === | |||
We will assign Thailand, Bangkok number to our server: | |||
[[Image:didww_pvz1.png]] | |||
[[Image:didww_pvz2.png]] | |||
[[Image:didww_pvz3.png]] | |||
[[Image:didww_pvz4.png]] | |||
Otherwise - watch Asterisk CLI to see whats happening. | Otherwise - watch Asterisk CLI to see whats happening. |
Revision as of 13:00, 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:
Configuration in www.didww.com =
We will assign Thailand, Bangkok number to our server:
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