Asterisk dials Zap/1 channel after a SIP call: any confs?

Hi,
On my very simple LAN of two PC’s (of which one is an Asterisk server) I have installed two softphones. Both PC’s dial each other via softphones just fine (using the IP address that is statically set), but how to go about setting Asterisk to pick up a SIP call and dial Zap/1 channel (the home phone line)? Which .conf file(s) to edit in order to achieve this?
Asterisk server uses X100P card to make/receive calls via POTS…

you mean like dialing extension 1000 and having the system dial out to your local weather line?

exten => 1000,1,Dial(Zap/1/2344566789)

or do you mean dialing an extension from your SIP phone and having it route out over a zap channel?

exten => _NXXNXXXXXX,1,Dial(Zap/1/${EXTEN})

all of this is on the wiki, FYI.

I ment the second one, dialing Zap/1 from a SIP call. Like following scenario:

  1. Softphone on box1 dials softphone on box 2 by IP address;
  2. Box 2 happens to be an Asterisk server and offers an option of dialing a POTS line;
  3. If that option is chosen, the Zap/1 channell is used to dial a number…
    Is that possible with a single stroke in sip.conf…
    What I found so far via wiki is Asterisk dialing to SIP. But anything on Asterisk being dialed via SIP?

sure. to let sip users dial out, put the sip entry in a context= that has dialout capability.