[asterisk-users] Do i need install Dahdi or libpri ?

Christian Victor christian at victormedia.de
Thu Feb 25 02:34:52 CST 2010


2010/2/25 Zhang Shukun <bitzsk at 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/telephonenumber at 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



More information about the asterisk-users mailing list