Well folks I’m not sure what I’m doing wrong since I thought I had followed the instructions at FWD. The problem is that while Asterisk is receiving the calls it is rejecting them. The error message that I’m seeing is:
Dec 17 NOTICE[2084]: chan_iax2.c:5774 socket_read: Rejected connect attempt from 192.246.69.186, request ‘729629@fromiaxfwd’ does not exist
Asterisk does show that it is registered with FWD when I do an iax2 show registry. I’m not sure if SJPhone is registering properly because while it shows as registered it will not make outgoing calls either. It shows as registered with the Asterisk server but asterisk shows registration failures when it tries to connect.
Hopefully my configurationf files will help answer the question so here they are. All help is appreciated.
iax.conf:
[general]
disallow=all
allow=alaw
allow=gsm
register => 729629:mypassword@iax2.fwdnet.net
allow=ulaw
[iaxfwd]
type=user
context=fromiaxfwd
auth=rsa
inkeys=freeworlddialup
nat=1
permit=65.39.205.0/255.255.255.0
extensions.conf:
[general]
FWDNUMBER=729629 ; your calling number
FWDCIDNAME=“Chris”; your caller id
FWDPASSWORD=mypassword ; your password
FWDRINGS=sip/cpatricca ; the phone to ring
FWDVMBOX=1000 ; the VM box for this user
[cpatricca]
exten => _9.,1,SetCallerId,${FWDCIDNAME}
exten => _9.,2,Dial(IAX2/${FWDNUMBER}:${FWDPASSWORD}@iax2.fwdnet.net/${EXTEN:3},60,r)
exten => _9.,3,Congestion
[fromiaxfwd]
exten => ${FWDNUMBER},1,Dial(${FWDRINGS},20,r)
exten => ${FWDNUMBER},2,Voicemail,u${FWDVMBOX}
exten => ${FWDNUMBER},102,Voicemail,b${FWDVMBOX}
[default]
exten => ${FWDNUMBER},1,Dial(${FWDRINGS},20,r)
exten => ${FWDNUMBER},2,Voicemail,u${FWDVMBOX}
exten => ${FWDNUMBER},102,Voicemail,b${FWDVMBOX}
sip.conf:
[general]
include=fromiaxfwd
port = 5060 ; Port to bind to
bindip = 192.168.1.10
[cpatricca]
type=friend
host=dynamic
username=cpatricca
secret=mypassword
dtmfmode=rfc2833 ; Choices are inband, rfc2833, or info
mailbox=1000 ; Mailbox for message waiting indicator
callerid=“Chris” <2124>