Dan
01-09-2008, 11:13 AM
Hello!
I am new to the voip world and am interested in setting up a Asterisk Server. I have the software installed and running on a machine sitting behind my router. The soft phone registers and works on this machine, which is behind the same router. I should also add I did not have to open or forward any ports to get the soft phone up and running.
I saw the post earlier with the settings for the trunk setup so I put those in and also forwarded the following ports to that machine:
10000-20000 UDP
5060 Any
16000-16500 UDP
With the setup that I just explained the FreePBX server is saying the SIP trunk is unregistered. So here are my questions:
_________________________
In OUTGOING SETTINGS
allow=ulaw
type=friend
canrenvite=no
-> context=from-pstn
what is the pstn context and how is that different
then something like "from-trunk" or "from-sip
external"
insecure=very
->defaultip=sip.voipyourphone.com
->fromdomain=sip.voipyourphone.com
->host=sip.voipyourphone.com
In any of these three should I have the LAN gateway address?
->username=Your Username
->authname=Your Username
->fromuser=Your Username
"Your Username" is the actual username and not the tele-number, correct? Also, is the Username case sensitive? IE Vyluser and vyluser would not be seen as the same.
secret=Your Password
___________________________________________
Any insight as to why this trunk is not registering would be appreciated. As I said earlier I am new to this and any help/tips/advice as to how to get this up and running would be fantastic =o)
-Dan
I am new to the voip world and am interested in setting up a Asterisk Server. I have the software installed and running on a machine sitting behind my router. The soft phone registers and works on this machine, which is behind the same router. I should also add I did not have to open or forward any ports to get the soft phone up and running.
I saw the post earlier with the settings for the trunk setup so I put those in and also forwarded the following ports to that machine:
10000-20000 UDP
5060 Any
16000-16500 UDP
With the setup that I just explained the FreePBX server is saying the SIP trunk is unregistered. So here are my questions:
_________________________
In OUTGOING SETTINGS
allow=ulaw
type=friend
canrenvite=no
-> context=from-pstn
what is the pstn context and how is that different
then something like "from-trunk" or "from-sip
external"
insecure=very
->defaultip=sip.voipyourphone.com
->fromdomain=sip.voipyourphone.com
->host=sip.voipyourphone.com
In any of these three should I have the LAN gateway address?
->username=Your Username
->authname=Your Username
->fromuser=Your Username
"Your Username" is the actual username and not the tele-number, correct? Also, is the Username case sensitive? IE Vyluser and vyluser would not be seen as the same.
secret=Your Password
___________________________________________
Any insight as to why this trunk is not registering would be appreciated. As I said earlier I am new to this and any help/tips/advice as to how to get this up and running would be fantastic =o)
-Dan