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}:[EMAIL PROTECTED]/*${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."
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to