Can not find the info

Hey,

just got my asteriks up and running.
I’ve set up 4 accounts (200,201,202,203) and one queue (500 with those 4 nr’s in the queue).
Intern my network I can connect without any problem and can phone.

My asteriks is behind my SMC router but I fwd the ports.
External clients can connect (I can see this in the logs) and I can phone (me : from in the network clients: from home) them (It rings 1 time) but after that it goes over to their voicemail.
The external clients can see me calling( see my nr and name).
External clients are also behind a router (smc, dlink,…) but opened the same ports, dmz,…
We are using X-Pro as SIP phone.

Is there something I’m missing here?

I can’t find any relevant post in this forum or on the internet.

Click here for information about firewall rules and ports that Asterisk uses.

voip-info.org/tiki-index.php … wall+rules

Hey dufus,

thx, so If I’ve got it wright, I need to change the sip.conf to nat=yes ?

Among other things.

You’ll also want to make certain that the proper ports are forwarded.

Offcourse
On my router I did the following :
TCP 5060 4569 5036 (this should be udp?)
Trigger ports 19000 untill 19010 because I didn’t know if Asteriks need all 10.000 ports. I need to have a look if I can configure this better on my router to open 10.000 untill 20.000 (should be udp also?)

I’m not at home at the moment so I can test this withing 6hours.

Oh MUST be UDP… ALL must.

UDP is the protocol that VOIP runs on. TCP offers no benefit, so it’s not used.

You can open both if you wish.

UDP it will be then tonight :wink:

I find another interesting article thx to your links that explains a bit more how asteriks works :
voip-forum.com/?p=131&more=1

I’ll let you know if this works!

Thx!

ok, got some more things working :
I can phone now someone outside the lan.
I changed the conf like this :
[200]
username=200
type=friend
secret=xxxx
record_out=On-Demand
record_in=On-Demand
qualify=no
port=5060
nat=yes
mailbox=200@default
host=dynamic
dtmfmode=rfc2833
context=from-internal
canreinvite=no
callerid=“My Name” <200>

[201]
username=201
type=friend
secret=xxxx
record_out=On-Demand
record_in=On-Demand
qualify=no
port=5060
nat=yes
mailbox=201@default
host=dynamic
dtmfmode=rfc2833
context=from-internal
canreinvite=no
callerid=“Some name” <201>

now the problem is, We can phone each other, but we can’t hear anything :s

I will have a search for that.
All ports are fwd with UDP also now