Difference between revisions of "Configuring DIDWW"
Line 78: | Line 78: | ||
== Configuration in www.didww.com | == Configuration in www.didww.com == | ||
We will assign Thailand, Bangkok number to our server: | We will assign Thailand, Bangkok number to our server: | ||
First we need to create "mapping", e.g. route to our server, in format as SIP URI: SIP/did_on_our_server@our_server_ip: | |||
[[Image:didww_pvz1.png]] | [[Image:didww_pvz1.png]] | ||
It should look like this: | |||
[[Image:didww_pvz2.png]] | [[Image:didww_pvz2.png]] | ||
Aftre that we need to assign our DID to our just created "mapping": | |||
[[Image:didww_pvz3.png]] | [[Image:didww_pvz3.png]] | ||
It should look like this: | |||
[[Image:didww_pvz4.png]] | [[Image:didww_pvz4.png]] | ||
== Troubleshooting == | |||
Watch Asterisk CLI to see whats happening. | |||
Maybe you have DID in wrong format!? E.g. not E.164 compatible? | |||
<br><hr><br> | <br><hr><br> | ||
If you are using IAX2 connection from DIDWW - create Provider with type = '''IAX2''' and paste | If you are using IAX2 connection from DIDWW - create Provider with type = '''IAX2''' and paste sip.conf configuration in '''/etc/asterisk/iax.conf''' |
Revision as of 13:03, 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:
First we need to create "mapping", e.g. route to our server, in format as SIP URI: SIP/did_on_our_server@our_server_ip:
It should look like this:
Aftre that we need to assign our DID to our just created "mapping":
It should look like this:
Troubleshooting
Watch Asterisk CLI to see whats happening.
Maybe you have DID in wrong format!? E.g. not E.164 compatible?
If you are using IAX2 connection from DIDWW - create Provider with type = IAX2 and paste sip.conf configuration in /etc/asterisk/iax.conf