Hello,
I red a lot of information in last couple of days and have some progress with my telefony network. I succeeded to connect panasonic PBX and TDM40P card. So now i can make calls from analogue phone to the IP phones. But I can’t make calls from IP phones to the analogue one. Will explain you what i have done. First i put this 2 lines :
signalling = fxs_ks
channel => 1
in /etc/asterisk/chan_dahdi.conf.
With them i opened the chanel between PBX and FXO card. I didn’t make any changes to the dial plan, but now i can make calls from analogue phone to IP phones. First I dial 25 - this is number of the outgoing line , then after a few seconds in the handset I can hear woman voice telling me that i’m connected to the asterisk. then i dial 212 or 211 ( the numbers of the IP phones) and… oh mirracle one of them start ringing So far so good. But now i’m staring with questions. in the documentation you gave me there are some examples in the dial plan I can’t understand completely.
these are the examples:
[globals]
LOCAL=DAHDI/G0 ; assuming you have a PSTN card in your system
TOLL=SIP/YourVoipCarrier ; as defined in sip.conf
[external]
exten => _NXXNXXXXXX,1,Dial(${LOCAL}/${EXTEN}) ; 10-digit pattern match for NANP
exten => _NXXXXXX,1,Dial(${LOCAL}/${EXTEN}) ; 7-digit pattern match for NANP
exten => _1NXXNXXXXXX,1,Dial(${TOLL}/${EXTEN}) ; Long-distance pattern match for NANP
exten => _011.,1,Dial(${TOLL}/${EXTEN}) ; International pattern match for
; calls made from NANP
; This section is functionally the same as the above section.
; It is for people who like to dial ‘9’ before their calls
exten => _9NXXNXXXXXX,1,Dial(${LOCAL}/${EXTEN:1})
exten => _9NXXXXXX,1,Dial(${LOCAL}/${EXTEN:1})
exten => _91NXXNXXXXXX,1,Dial(${TOLL}/${EXTEN:1})
exten => _9011.,1,Dial(${TOLL}/${EXTEN:1})
in my case they are not working I think. Can any one give me explanation or just tell me what I need to put in extensions.conf to be able dialing from IP phones to analogue one. Also I want to ask what is meaning of G0 in LOCAL=DAHDI/G0
In my case when there is running call from analogue phone to IP, and I wrote “core show channels” in asterisk comand line under channel name there is this: DAHDI/1-1. My dial plan should be а simpler than this in examples. I need just to be able making cals. one i got that will try to add voice mail, redirecting of calls and etc. but just for now i need to make calls from IP phones to analogue phone.
Thanks in advance,
Regadrs