Receiving calls with FWD


#1

Hi,

ive being trying to receive calls with FWD for a week. I tried sip, iax… looked for configs at FWD, voip-info but none of them worked.
I have asterisk 1.2.1 runing on debian sarge with kernel 2.6 and this configs:

[code]
iax.conf
[general]

register => FWDNUMBER: PASSWORD@iax2.fwdnet.net
allow=ulaw

[fwd]
type=user
context=from-pstn
auth=rsa
inkeys=freeworlddialup

extensions.conf
FWDNUMBER=NUMEROFWD
FWDCIDNAME="Meunome"
FWDPASSWORD=MINHASENHA
FWDRINGS=sip/office ; the phone to ring
FWDVMBOX=1000 ; the VM box for this user

exten => _393.,1,SetCallerId,${FWDCIDNAME}
exten=> _393.,2,Dial(IAX2/${FWDNUMBER}:${FWDPASSWORD}@iax2.fwdnet.net/${EXTEN:3},60,r)
exten => _393.,3,Congestion

[fromiaxfwd]
exten => ${FWDNUMBER},1,Dial(${FWDRINGS},20,r)
exten => ${FWDNUMBER},2,Voicemail,u${FWDVMBOX}
exten => ${FWDNUMBER},102,Voicemail,b${FWDVMBOX}[/code]

I can call, but cant receive. When I dial from another FWD number in softphone. It returns error 480 and sometimes 404.

Does anybody have examples of FWD .conf?


#2

Change the context=from-pstn that is in your iax.conf to context=fromiaxfwd