[asterisk-users] Please help route incoming PSTN calls to Asterisk
Larry Alkoff
labradley at mindspring.com
Sun Sep 3 16:52:22 MST 2006
I have a working Asterisk 1.2.5 system with SPA-3000 setup with the
SPA3000 Configuration Wizard for Asterisk from Voxilla.com.
I can make outbound calls from the Sipura POTS phone (not sure they are
actually going through the Asterisk box) but cannot get inbound calls
from the outside.
Problem is I get no apparent response from Asterisk when PSTN calls come
in, although POTS phones on the PSTN line ring ok. I'm pretty sure
something is wrong in my configuration but I can't see what is wrong
after a lot of web and book searching.
The system does me little good if I can't at lease _receive_ calls over
the POTS line which is where most of my calls come from.
The rest is the part of sip.config and extensions.conf. I hope someone
will give me tips to get it ringing.
sip.conf:
-----------
[telasip-gw] ; Gateway
;========================
context=telasip-in
type=friend
qualify=200
host=gw3.telasip.com
username=lalkoff
secret=xxxxxx
insecure=very
canreinvite=no
callerid="Larry Alkoff" <5123011411>
nat=yes
[200] ; Sipura Line 1 outbound to PSTN
type=friend
host=dynamic
context=home
secret=xxxxxxx
mailbox=200
dtmfmode=rfc2833
disallow=all
allow=ulaw
[201] ; Sipura forward PSTN inbound to Asterisk
; If you're using Asterisk, this goes into the Incoming ; settings for
your Trunk
type=friend
host=dynamic
; If using Asterisk at home, change the below line to context=from-internal
context=home
secret=7883982
dtmfmode=rfc2833
disallow=all
allow=ulaw
insecure=very
[pstn-spa3k] ; Asterisk VOIP outbound to PSTN
; If you're using Asterisk, this section goes into the
; Outgoing Settings for your trunk.
type=peer
auth=md5
host=192.168.0.41
port=5061
secret=xxxxxxx
username=asterisk
fromuser=asterisk
dtmfmode=rfc2833
context=home
insecure=very
----------- end of sip.conf ----------------
extensions.conf:
----------------------
[home] ; Sipura forward PSTN inbound to Asterisk
exten => 200,1,Ringing
exten => 200,2,Dial(SIP/200,20,T)
exten => 200,3,Voicemail(u200)
exten => 200,4,Hangup
exten => 911,1,Dial(SIP/911 at pstn-spa3k,60,)
exten => 911,2,Congestion
exten => _XXXXXXX,1,SetCallerID(512-301-1410)
exten => _XXXXXXX,2,Dial(SIP/${EXTEN}@pstn-spa3k,60,)
exten => _XXXXXXX,3,Congestion
;;exten => _XXXXXXX,1,Dial(SIP/${EXTEN}@pstn-spa3k,60,)
;;exten => _XXXXXXX,2,Congestion
exten => _1800XXXXXXX,1,Dial(SIP/${EXTEN}@pstn-spa3k,60,)
exten => _1800XXXXXXX,2,Congestion
exten => _1888XXXXXXX,1,Dial(SIP/${EXTEN}@pstn-spa3k,60,)
exten => _1888XXXXXXX,2,Congestion
exten => _1877XXXXXXX,1,Dial(SIP/${EXTEN}@pstn-spa3k,60,)
exten => _1877XXXXXXX,2,Congestion
exten => _1866XXXXXXX,1,Dial(SIP/${EXTEN}@pstn-spa3k,60,)
exten => _1866XXXXXXX,2,Congestion
----------- end of extensions.conf -------------
I'd most gratefully appreciate any help you could give me.
Larryalk
--
Larry Alkoff N2LA - Austin TX
Using Thunderbird on Linux
More information about the asterisk-users
mailing list