2010/2/25 Zhang Shukun <bit...@gmail.com>:
> next ,i want to dial from asterisk to PSTN now. i have see the sample
> in the extensions.conf relevent to PSTN as follow:
>
> ; If you are freely delivering calls to the PSTN, list them here
> ;
> ;exten => _1256428XXXX,1,Dial(DAHDI/G2/${EXTEN:7}) ; Expose all of 256-428
> ;exten => _1256325XXXX,1,Dial(DAHDI/G2/${EXTEN:7}) ; Ditto for 256-325

I am pretty sure you need to dial through SIP technology not Dahdi.
Like Dial(SIP/telephonenum...@your-gateway-ip)

> but above shows something about DAHDI card.

Wich you don't have.

> my question is:
>
> a, Do i need install DAHDI or libpri in my system?

Not to connect your Gateway through sip.

> b, how to write in dialplan to realise connection to PSTN.

Thats a quite general question. But I guess the Dial command above
will lead you the right way.

Chris

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to