Local extension to outside number

Heya everybody,

I am wondering how I would create an internal extension (IE. extension 4), then forward that to an outside telephone number via my FXO card, IE 1800-whatever

Here’s what I am trying to create for the users of my telephone system:

Google has a fantastic directory assistance service, 1-800-goog-411 - I am trying to give users in the office easy access to this service. IE, have extension “4” forward to “18004664411”

I’m sure its done in extensions.conf, but I am not sure of the exact syntax of that particular modification

Thanks much

in extensions.conf in your internal context or whatever context your phones are in
exten => 4,1,Dial(ZAP/1/18004664411)

you could also add
exten => 4,1,Congestion()
that would playback the congestion tone if the line is busy