Asterisk settings nufone

NuFone is out of business this page is of historical interest only.

This is a very generic setup used to dial out from NuFone and to ring a SIP extension on incoming calls. The code is made entirely of excerpts of the configuration files, and need the remaining portions of the files to be useful. As a side note, NuFone provides detailed tutorials within their members portal.

Please keep each example in its own separate box in order to keep each example separate.

Replace any host= information and the server portion of the register line if the settings provided to you are different.

iax.conf
Under the general context:
register => username:password@switch-2.nufone.net

[NuFone]
type=peer
host=switch-1.nufone.net
secret=password

[NuFone]
type=user
secret=password
context=DID-incoming

extensions.conf For incoming calls
[DID-incoming]
;Replace nufonenumber with the number assigned to you, 10 digits only. This extension line will ring SIP
;extension 2001 for 60 seconds then hang up. Modify as necessary to fit your dialplan
exten => nufonenumber,1,Dial(SIP/2001,60,tr)
exten => nufonenumber,2,hangup

extensions.conf For outgoing calls:
[toll-trunks]
; Outbound 9,1-nxx-nxx-xxxx goes via NuFone. Replace nufonenumber with the 10 digit number
; assigned to you. If an error occurrs, you will be given the congestion tone. Be sure to include the toll-trunks
; context to your dialing context
exten => _91NXXNXXXXXX,1,SetCallerID(nufonenumber)
exten => _91NXXNXXXXXX,2,Dial(IAX2/username@NuFone/${EXTEN:1})
exten => _91NXXNXXXXXX,3,Congestion

Note: When you set the CallerID above, make sure it is a valid US48 number, ie of the format xxx-yyy-zzzz
where xxx is the area code and yyy-zzzz is your local telephone number. If you do not have a valid
US48 number, you can use 248-748-0700. You may not be able to call toll-free numbers if you do not set the
CallerID correctly.



See also

  • Asterisk sample scripts



NuFone is out of business this page is of historical interest only.

This is a very generic setup used to dial out from NuFone and to ring a SIP extension on incoming calls. The code is made entirely of excerpts of the configuration files, and need the remaining portions of the files to be useful. As a side note, NuFone provides detailed tutorials within their members portal.

Please keep each example in its own separate box in order to keep each example separate.

Replace any host= information and the server portion of the register line if the settings provided to you are different.

iax.conf
Under the general context:
register => username:password@switch-2.nufone.net

[NuFone]
type=peer
host=switch-1.nufone.net
secret=password

[NuFone]
type=user
secret=password
context=DID-incoming

extensions.conf For incoming calls
[DID-incoming]
;Replace nufonenumber with the number assigned to you, 10 digits only. This extension line will ring SIP
;extension 2001 for 60 seconds then hang up. Modify as necessary to fit your dialplan
exten => nufonenumber,1,Dial(SIP/2001,60,tr)
exten => nufonenumber,2,hangup

extensions.conf For outgoing calls:
[toll-trunks]
; Outbound 9,1-nxx-nxx-xxxx goes via NuFone. Replace nufonenumber with the 10 digit number
; assigned to you. If an error occurrs, you will be given the congestion tone. Be sure to include the toll-trunks
; context to your dialing context
exten => _91NXXNXXXXXX,1,SetCallerID(nufonenumber)
exten => _91NXXNXXXXXX,2,Dial(IAX2/username@NuFone/${EXTEN:1})
exten => _91NXXNXXXXXX,3,Congestion

Note: When you set the CallerID above, make sure it is a valid US48 number, ie of the format xxx-yyy-zzzz
where xxx is the area code and yyy-zzzz is your local telephone number. If you do not have a valid
US48 number, you can use 248-748-0700. You may not be able to call toll-free numbers if you do not set the
CallerID correctly.



See also

  • Asterisk sample scripts



Created by: oej, Last modification: Tue 31 of Aug, 2010 (02:38 UTC) by admin
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+