AstRecipes » Connecting to FWD using IAX
It is possible to connect an Asterisk box to FreeWorldDialup using either SIP or IAX2. This article assumes you already have a working FWD account; if you don't, you can easily create it right on the site. The following strings must be substituted in the examples:register => LOGIN:PASS@iax.fwdnet.net
in the [General] section (this part enables outgoing calls from you to FWD)
In the same file, add by the end of the file:
[iaxfwd]
type=user
context=INCOMINGFWD
auth=rsa
inkeys=freeworlddialup
(This part enables incoming calls from FWD to you).
[INCOMINGFWD]
exten => LOGIN,1,Dial(SIP/myphone,20,tr)
exten => LOGIN,2,Voicemail(33)
exten => LOGIN,102,Voicemail(33)
Of course, you can dial any other telephone terminal or do whatever you want. In this case I ring a terminal for 20 seconds and then start voicemail.
exten => _1#.,1,SetCallerId,"LOGIN"
exten => _1#.,2,Dial(IAX2/LOGIN:PASS@iax2.fwdnet.net/${EXTEN:2},60,r)
exten => _1#.,3,Congestion
This way, when I want to dial a FWD number, I start it with 1#, like by typing 1#123456 I call FWD 123456.
Softlinks:
Home Page - Configuring a queue - Installing the Asterisk GUI - Compiling Asterisk 1.4 beta - Peering two Asterisk servers using IAX - Script to convert music-on-hold to native formats - Compiling Asterisk 1.2 with TDM400 and H323 - QueueMetrics - Installing QueueMetrics from scratch - Connecting to Squillo using SIP - Upgrading XC-AST licences - AddQueueMember and the queue_log file - Compiling Asterisk 1.4 with TDM400 and H323 - Installing Queuemetrics on Debian - Upgrading QueueMetrics licences - Avoiding queue_log file rotation - Using a HT-488 with Asterisk - QueueMetrics logs - Manually updating QueueMetrics - Installing QueueMetrics on Fonality PBXtra - Managing agents that dynamically log-on - Installing Queuemetrics on PBX-in-a-Flash - Listening to recorded calls using XC-AST - Installing QueueMetrics - Administering QueueMetrics using Tomcat - Installing QueueMetrics using Yum - Rebuilding Fonality queue_log - Debugging Qloaderd installation
Home Page - Configuring a queue - Installing the Asterisk GUI - Compiling Asterisk 1.4 beta - Peering two Asterisk servers using IAX - Script to convert music-on-hold to native formats - Compiling Asterisk 1.2 with TDM400 and H323 - QueueMetrics - Installing QueueMetrics from scratch - Connecting to Squillo using SIP - Upgrading XC-AST licences - AddQueueMember and the queue_log file - Compiling Asterisk 1.4 with TDM400 and H323 - Installing Queuemetrics on Debian - Upgrading QueueMetrics licences - Avoiding queue_log file rotation - Using a HT-488 with Asterisk - QueueMetrics logs - Manually updating QueueMetrics - Installing QueueMetrics on Fonality PBXtra - Managing agents that dynamically log-on - Installing Queuemetrics on PBX-in-a-Flash - Listening to recorded calls using XC-AST - Installing QueueMetrics - Administering QueueMetrics using Tomcat - Installing QueueMetrics using Yum - Rebuilding Fonality queue_log - Debugging Qloaderd installation



