Dial outside number using the E1 Link

I’ve configured an asterisk server with A102d sangoma’s card and the E1 link.I want to dial outside number using the E1 Link.How can I dial a phone number?Is this true?
exten => 123,1,Dial(ZAP/1/phone number)
I’d appreciate any help.

That will make the call out through the first channel on the line and it will dial 123 because that is what you have there. You may want to set up a group in zapata.conf so that it will pick an open channel and not just try the first channel. You would then use the first open channel. You want something like this:
exten => _X.,1,Dial(ZAP/G1/${EXTEN})

this would dial out what ever you dialed.