hello,all there is a AudioCodes Mediant 2000 out there. i want to realise ip to PSTN and PSTN to ip connection. after some configuration on AudioCodes Mediant 2000, PSTN to ip connecttion works. 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 but above shows something about DAHDI card. my question is: a, Do i need install DAHDI or libpri in my system? b, how to write in dialplan to realise connection to PSTN. That's PSTN----->AudioCodes Mediant 2000------->IP(asterisk)--------->AudioCodes Mediant 2000 ---------->PSTN ? Thanks very much! -- Best regards, Sucan
Christian Victor
2010-Feb-25 08:34 UTC
[asterisk-users] Do i need install Dahdi or libpri ?
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-325I 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
On 25 Feb 2010, at 02:16, Zhang Shukun wrote:> there is a AudioCodes Mediant 2000 out there. i want to realise ip to > PSTN and PSTN to ip connection.Ok.> after some configuration on AudioCodes Mediant 2000, PSTN to ip > connecttion works.Thats good.> a, Do i need install DAHDI or libpri in my system?Depends what else you are doing. I'd always just install it anyway.> b, how to write in dialplan to realise connection to PSTN.The Mediant 2000 can be used like any other sip device. Dial(SIP/ whatever/1234567890)
Reasonably Related Threads
- Asterisk => Mediant 1000 (AudioCodes) => PSTN (E1)
- SIP Express Router & Asterisk
- Fax Over PRI connected to a Sangoma card - Fax machines connected to Sip Mediant AudioCodes
- Audiocodes Mediant 1000, Polycom, and no ringback on transfer
- Best External PRI Gateway?