[Asterisk-Users] Tall free number via FWD over IXA2

Duane duane at e164.org
Wed Jan 26 16:06:22 MST 2005


Joseph wrote:

> [tollfree]
> 
> exten => _1800.,1,Macro(tollfree,${EXTEN})
> exten => _1866.,1,Macro(tollfree,${EXTEN})
> exten => _1877.,1,Macro(tollfree,${EXTEN})
> exten => _1888.,1,Macro(tollfree,${EXTEN})
> exten => _3[13]800.,1,Macro(tollfree,${EXTEN})
> exten => _44[58]00.,1,Macro(tollfree,${EXTEN})
> exten => _44808.,1,Macro(tollfree,${EXTEN})
> 
> and the Dial command should be ${ARG1}
> 
> [macro-tollfree]
> 
> exten => s,1,SetCallerID,${FWDCIDNAME}
> exten => s,2,Dial,IAX2/${FWDNUMBER}:${FWDPASSWORD}@iax2.fwdnet.net/*${ARG1},60,r)
> exten => s,3,Playback(invalid)
> exten => s,4,Hangup
> exten => s,103,Busy
> 
> Now it works!
> Thank you again.

I didn't even test it, I just wrote it up using c+p from your original 
version in the email window off the top of my head... :)

-- 

Best regards,
  Duane

http://www.cacert.org - Free Security Certificates
http://www.nodedb.com - Think globally, network locally
http://www.sydneywireless.com - Telecommunications Freedom
http://happysnapper.com.au - Sell your photos over the net!
http://e164.org - Using Enum.164 to interconnect asterisk servers

"I do not try to dance better than anyone else.
	I only try to dance better than myself."



More information about the asterisk-users mailing list