Difference between revisions of "Opentaps Asterisk Integration"
From Opentaps Wiki
Jump to navigationJump to searchLine 1: | Line 1: | ||
opentaps can be integrated with the [http://www.asterisk.org Asterisk open source PBX] which allows to call from opentaps using Asterisk and to be automatically redirected to the inbound caller in opentaps. | opentaps can be integrated with the [http://www.asterisk.org Asterisk open source PBX] which allows to call from opentaps using Asterisk and to be automatically redirected to the inbound caller in opentaps. | ||
− | To configure this, edit the file <tt>hot-deploy/opentaps-common/config/asterisk.properties</tt> and follow these steps: | + | To configure this, first edit the file <tt>hot-deploy/opentaps-common/config/asterisk.properties</tt> and follow these steps: |
* Turn on asterisk integration by changing <tt>asterisk.enabled</tt> from N to Y | * Turn on asterisk integration by changing <tt>asterisk.enabled</tt> from N to Y | ||
asterisk.enabled = Y | asterisk.enabled = Y | ||
Line 21: | Line 21: | ||
* Finally, this property configures how frequently opentaps should check for new inbound calls from the asterisk server. By default, it's set to every three seconds: | * Finally, this property configures how frequently opentaps should check for new inbound calls from the asterisk server. By default, it's set to every three seconds: | ||
asterisk.checkFrequencySeconds = 3 | asterisk.checkFrequencySeconds = 3 | ||
+ | |||
+ | Next, you would need to set up the extensions on the Asterisk PBX server for your opentaps users. In opentaps, you can assign a different user login to each unique extension. This can be done by modifying the <tt>AsteriskUser</tt> entity in Web tools or its equivalent <tt>ASTERISK_USER</tt> table in your database. You would need to enter the user login ID, the extension, and the effective dates. |
Revision as of 17:24, 17 March 2009
opentaps can be integrated with the Asterisk open source PBX which allows to call from opentaps using Asterisk and to be automatically redirected to the inbound caller in opentaps.
To configure this, first edit the file hot-deploy/opentaps-common/config/asterisk.properties and follow these steps:
- Turn on asterisk integration by changing asterisk.enabled from N to Y
asterisk.enabled = Y
- Set up the asterisk server address and login credentials:
asterisk.host = asterisk.host.org asterisk.username = eventsdaemon asterisk.password = password
- Enter the telephone number associated with your asterisk server. This should be a Plain Old Telephone System (POTS) phone number that someone from the outside could call you on:
asterisk.countryCode = 1 asterisk.areaCode = 310 asterisk.phoneNumber = 9876543
- Now configure your outbound dialing prefrences. You need the outbound dialing prefix and additional prefix for calling long distance and foreign phone numbers:
asterisk.outbound.prev = 9 asterisk.outbound.area = 1 asterisk.outbound.foreign = 011
- In some places such as Los Angeles, you must always dial the area code, even when the phone number you are calling is in the same area code. These properties configure whether you must always dial the country or area code:
asterisk.alwaysDialCountryCode = Y asterisk.alwaysDialAreaCode = Y
- Finally, this property configures how frequently opentaps should check for new inbound calls from the asterisk server. By default, it's set to every three seconds:
asterisk.checkFrequencySeconds = 3
Next, you would need to set up the extensions on the Asterisk PBX server for your opentaps users. In opentaps, you can assign a different user login to each unique extension. This can be done by modifying the AsteriskUser entity in Web tools or its equivalent ASTERISK_USER table in your database. You would need to enter the user login ID, the extension, and the effective dates.