[fwd-out]
; Check to see if the called number starts with a “7″ and
; if so, set the call parameters and bounce the call to the
; Free World Dialup SIP server.
;
; Someone said that the CallerID and CIDName needed to be changed
; for FWD, so I did. Doesn’t seem to cause harm, so…
;
; NOTE: Calls to unknown users will result in “invalid extension”
; message being played.
;
exten => _7.,1,SetCallerID(${FWDUSERID})
exten => _7.,2,SetCIDName(${FWDUSERNAME})
exten => _7.,3,Dial(SIP/${EXTEN:1}@fwd)
exten => _7.,4,Playback(invalid)
exten => _7.,5,Hangup
[iconnect-forced]
; Experimental “forced” dialing through iconnect to make calls
; prefixed with “6″ go out the iconnect channel. This is to
; test some functionality for inbound connections; feel free
; to comment it out.
;
; Dial out on iconnect and wait for 70 seconds for a connect
;
; If no connection in 70 seconds, jump to fastbusy macro
;
exten => _61XXXXXXXXXX,1,Macro(dialiconnect,${EXTEN:1},70)
exten => _61XXXXXXXXXX,2,Macro(fastbusy)
[coloco-forced]
; Force things out the Coloco connection if the number begins with “5″
; I have found that I do a lot of weird stuff with testing, so forcing
; calls out various paths for testing is necessary.
;
exten => _51XXXXXXXXXX,1,Dial(SIP/${EXTEN:1}@coloco,70)
exten => _51XXXXXXXXXX,2,Macro(fastbusy)
[information]
; If the user is dialing information (411) then send call
; directly out to the analog line, unless busy, then
; dump at an unavailable recording
;
; If analog line errors out and goes to step 2, play
; fastbusy macro.
;
exten => 411,1,Dial(${DIALOUTANALOG}/${EXTEN}
exten => 411,2,Macro(fastbusy)
exten => 411,102,Playback(ss-noservice)
exten => 411,103,Macro(fastbusy)
[iptel-forced]
; If the user is calling 3xxx… then we assume that they are calling
; an IPTEL extension, and send accordingly.
;
; See more details on http://www.iptel.org/user/index.php
;
exten => _3.,1,SetCallerID(${IPTELUSERID})
exten => _3.,2,SetCIDName(${IPTELUSERNAME})
exten => _3.,3,Dial(SIP/${EXTEN:1}@iptel)
exten => _3.,4,Playback(invalid)
exten => _3.,5,Hangup


