Hi guys,
I have some problems connecting my asterisk to the FPL SIP server. Perhaps my SIP trunk is not properly setup?
What I am trying to do is this: setup an asterisk server with a FPL number and then dial out a number. I set up a SIP trunk, an outbound route, dial plan, an extension to use all this, etc. However I am unable to place the call, and keep getting this voice message: “This account number is not valid”
The important part of the asterisk trace back is this :
– SIP/Freephoneline-085420b8 is making progress passing it to SIP/300-b750bb70
– Got SIP response 603 “Declined” back from 208.65.240.142
SIP/300 is the extension from where I am trying to dial out. 208.65.240.142 is the proper address of the provider’s SIP server. But what is this 603 response, is it something that the SIP server returns back to me? Or does this mean that I have a problem with the firewall (i…e socket connection not established). And who issues the voice message “This account number is not valid” - is it the provider’s SIP server or is it my asterisk server?
My configuration is as follows:
PEER details:
host=voip.freephoneline.ca
username=MY_USER_NAME
secret=MY_PASSWD
type=friend
disallow=all
allow=gsm&ulaw
fromdomain=voip.freephoneline.ca
canreinvite=yes
qualify=no
insecure=very
USER Context: MY_USER_NAME
USER Details:
username=MY_USER_NAME
secret=MY_PASSWD
type=friend
disallow=all
allow=gsm&ulaw
fromdomain=voip.freephoneline.ca
canreinvite=yes
qualify=no
insecure=very
Register String:
MY_USER_NAME:MY_PASSWD@voip.freephoneline.ca/MY_USER_NAME
where MY_PASSWD and MY_USER_NAME have to be replaced with the actual string.
The odd thing is this: if I try to connect directly using my SIP softphone (bypassing asterisk), then all is good, the softphone registers succesfully with the SIP provider and I am able to place calls. What exactly can be the difference between connecting directly from the X-Lite phone and through the asterisk server?
At this point I am unsure of what else to try. I am running asterisk 1.6
Any help would be deeply appreciated.