Asterisk

Modified on: Tue, 5 Dec, 2017 at 10:32 AM

Asterisk

Open Source Communications Framework

Asterisk is one of the most widely deployed SIP switching platforms in the world, and is known to work very well with Power-T.38. In fact, some of our largest service provider customers have built their businesses on Asterisk and related Open Source telephony tools! The features available and configuration you will need varies widely by release, as we will detail in the sections below.

Please Note:

Please ensure that you've replaced the following "generic" values with the associated account information for your T38Fax.com account. Additionally, depending on your deployment & network topology, you may need to add nat=yes to both of the definitions above. Ask your Network Administrator if you are using NAT Traversal.

help SIP_USERNAME

help SIP_PASSWORD

help ATA_SIP_USERNAME

help ATA_SIP_PASSWORD

4. Add the following to your udptl.conf file (/etc/asterisk/udptl.conf):

[inboundT38Fax]
; The following sends the incoming call to the SIP user.
exten => DIDX1,1,Dial(SIP/DIDX1)
; If you have more than one DID, you can add additional
; definitions to route them as well:
exten => DIDX2,1,Dial(SIP/DIDX2)

4. Enter the context you created in Step 2 in the "Display Name" and "User ID" fields. (Likely your T38Fax DID if you followed this guide).

5. Enter the password for the context you created in Step 3 in the "Password" Field.

6. Click Submit, and the SPA112 should reload it's configuration.

7. In the Asterisk CLI (asterisk -r) you should now be able to see the device register. Enter: sip show peer SIP_USERNAME (You'll want to look for "Status: OK" and "Addr -> IP" to show an IP address. Remember to replace SIP_USERNAME with your T38Fax.com DID!)

[inboundT38Fax]
; The following sends the incoming call to the SIP user.
exten => DIDX1,1,Dial(PJSIP/DIDX1)
; If you have more than one DID, you can add additional
; definitions to route them as well:
exten => DIDX2,1,Dial(PJSIP/DIDX2)

You should now be able to register your ATA to Asterisk, and to make and receive fax calls using T.38! If you have any trouble, please open a ticket and one of our Support Engineers will assist you in getting set up.

Please Note:

Please ensure that you've replaced the following "generic" values with the associated account information for your T38Fax.com account. Additionally, depending on your deployment & network topology, you may need to add nat=yes to both of the definitions above. Ask your Network Administrator if you are using NAT Traversal.

[inboundT38Fax]
; The following sends the incoming call to the SIP user.
exten => DIDX1,1,Dial(SIP/DIDX1)
; If you have more than one DID, you can add additional definitions to
; route them as well:
exten => DIDX2,1,Dial(SIP/DIDX2)

4. Enter the context you created in Step 2 in the "Display Name" and "User ID" fields. (Likely your T38Fax.com DID if you followed this guide).

5. Enter the password for the context you created in Step 3 in the "Password" Field.

6. Click Submit, and the SPA112 should reload it's configuration.

7. In the Asterisk CLI (asterisk -r) you should now be able to see the device register. Enter: sip show peer SIP_USERNAME (You'll want to look for "Status: OK" and "Addr -> IP" to show an IP address. Remember to replace SIP_USERNAME with your T38Fax.com DID!)

Please Note:

Please ensure that you've replaced the following "generic" values with the associated account information for your T38Fax.com account. Additionally, depending on your deployment & network topology, you may need to add nat=yes to both of the definitions above. Ask your Network Administrator if you are using NAT Traversal.

[inboundT38Fax]
; The following sends the incoming call to the SIP user. Duplicate
; this line for as many DIDs that you wish to configure.
exten => DIDX1,1,Dial(SIP/DIDX1)
; If you have more than one DID, you can add additional definitions
; to route them as well:
exten => DIDX2,1,Dial(SIP/DIDX2)

4. Enter the context you created in Step 2 in the "Display Name" and "User ID" fields. (Likely your T38Fax.com DID if you followed this guide).

5. Enter the password for the context you created in Step 3 in the "Password" Field.

6. Click Submit, and the SPA112 should reload it's configuration.

7. In the Asterisk CLI (asterisk -r) you should now be able to see the device register. Enter: sip show peer SIP_USERNAME (You'll want to look for "Status: OK" and "Addr -> IP" to show an IP address. Remember to replace SIP_USERNAME with your T38Fax.com DID!)

More articles in Softswitches & IP-PBXes

About

T38Fax.com is a T.38 Fax over IP (FoIP) service provider. We offer PSTN termination and origination (fax sending and receiving) over SIP trunks that have been optimized to offer extremely reliable faxing over WAN and LAN connections . Take advantage of our 30-day free trial, connect any T.38-capable device to our network and experience reliable fax send & receive with no wires, and no strings attached!