Receive calls using AX-100P.. PSTN?

Hi All

I installed the asterisk in the fedora core. And i configured two sip connection (in sip.conf & extension.conf) & made them to communicate each other.

I got [color=blue]AX-100P[/color] is a single port FXO PCI interface card for capturing a standard analog phone line into my Linux server with Asterisk PBX software.

Now the need is
[color=green][b]

  1. How to receive the calls using the pstn? any configuration in “extensions.conf” is required?

  2. How to make calls from sip to outside world? any configuration in “extensions.conf” is required? [/b][/color]

Thanks in advance.

[color=blue]Regards
Ram Kumar
[/color]

Hello,

one of my direct clients is looking for Asterisk experts. if interested please email me your resume and contact number ASAP.

Minimum 1+ year of Astrisk technology Working experience
Status: H1/GC/US Citizen
Salary: DOE + relocation
Location: Stamford, Connecticut
F2F required at own expense after telephonic screening.
Client will take care of relocation expence.


Best Regards

Anisha Gupta
Business Development Manager
SystemGuru, Inc
E-mail: Anisha.Gupta@SystemGuru.com
URL: www.SystemGuru.com

I use an X101P card in my system. You will need to setup a context something like this to handle incoming calls in your extensions.conf. My setup calls this context [incoming]

[incoming]
exten => s,1,Wait,20 ; Wait 20 seconds
;
;exten => s,1,Answer() ; or this will answer immediately…but I give
; myself a few seconds to answer the call if I’m in the other room
; with only a regular analog phone plugged into the wall jack.

exten => s,n,Answer() ; Answer the call
exten => s,n,Set(TIMEOUT(digit)=5) ; Set Digit Timeout to 5 seconds
exten => s,n,Set(TIMEOUT(response)=7) ; Set Response Timeout to 10 seconds
exten => s,n(restart),BackGround(my_welcome_msg) ; Play the initial welsome message
exten => s,n,WaitExten(7) ; Wait for an extension to be dialed.
exten => s,n,Voicemail(2000@default,u) ; Send Caller to Voicemail

Then to dial out you will need something like this. My system is set so my IP phones dial 9 to use the outside PSTN lines. Otherwise I have other contexts to handle VOIP calls through my various providers.

[outbound-local]
exten => _9NXXNXXXXXX,1,Set(CALLERID(all)=${MCallerID})
exten => _9NXXNXXXXXX,n,Dial(Zap/1/${EXTEN:1})
exten => _9NXXNXXXXXX,n,Congestion()
exten => _9NXXNXXXXXX,102,Congestion()
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 911 EMERGENCY EXTENSIONS ON OUTBOUNDLOCAL
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
exten => 911,1,Dial(Zap/1/911)
exten => 9911,1,Dial(Zap/1/911)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[outbound-long-distance]
exten => _91NXXNXXXXXX,1,Set(CALLERID(all)=${MCallerID})
exten => _91NXXNXXXXXX,n,Dial(Zap/1/${EXTEN:1})
exten => _91NXXNXXXXXX,n,Congestion()
exten => _91NXXNXXXXXX,102,Congestion()

You will also need to configure your zaptel.conf something like this:

fxsks=1
loadzone=us
defaultzone=us

If I were you I read up some more on this in the Asterisk TFOT manual. It’s not that hard to follow along and in no time you’ll be able to dial through your asterisk server using the PSTN lines and your incoming calls on your PSTN line will be handled by your asterisk server, which is a very good thing for voicemail, conference rooms, or just playing around and making your friends think you spent a bundle on your phone system.