Iscriviti   Guestbook   Immagini   Forum   Download   Mappa   1495 utenti on line 
Italiano
MENU
CONFIGURAZIONI
RISORSE
INFO
Login

DOWNLOAD
Device
Suggerimenti

 
Asterisk con FWD

Example configuration of Asterisk

This configuration does not support Asterisk being behind a NAT firewall.

sip.conf


[general]
disallow=all
allow=gsm
allow=ulaw
allow=alaw
context = from-sip
maxexpirey=180
defaultexpirey=160
tos=reliability 
register=FWD##:password@fwd.pulver.com/2030

The 2030 at the end of the above row is the extension of incoming calls on this SIP account.


[fwd.pulver.com]
type=friend
secret=password 
username=FWD##
host=fwd.pulver.com

extensions.conf

All extensions beginning with a '7' is forwarded to Free World Dialup. To reach FWD extension 10000, dial 710000

[globals]
FWDUSERID=yourFWDuserID
FWDUSERNAME=Your Name
PHONE1=anyextensionyouwant
PHONE1VM=Voicemail-of-that-extension
FWDEXTEN=2030 ;See above in SIP.conf

[fwd-out]
exten => _7.,1,SetCallerID(${FWDUSERID})
exten => _7.,2,SetCIDName(${FWDUSERNAME})
exten => _7.,3,Dial(SIP/${EXTEN:1}@fwd.pulver.com)
exten => _7.,4,Playback(invalid)
exten => _7.,5,Hangup

[from-sip]
exten => ${FWDEXTEN},1,Dial(${PHONE1},30)
exten => ${FWDEXTEN},2,Voicemail(u${PHONE1VM})
exten => ${FWDEXTEN},3,Hangup
exten => ${FWDEXTEN},102,Voicemail(b${PHONE1VM})
exten => ${FWDEXTEN},103,Hangup


 

Valid CSS!