At wits end... need help (Asterisk/trixbox)

(Sighs)…where to begin.

Scenerio..

Asterisk box on pulbic ip

Sip client within mikrotik natted network.

Apparently im unable to register via the sip protocol to my * box, Ive tried every possible /dst-nat/src-nat technique available but to no avail… Any insight would be greatly appreciated.


(ps. Iax protocol works without any configuration…)

Details of network topology can be provided without hesitation…



:confused:

I have had no problems with that. I have an trixbox (asterisk) server on a public IP and have no problems connecting behind a Mikrotik.

Silly question, but did you enable the nat setting for your peers?

http://www.voip-forum.com/?p=131&more=1

ah, finally got it sorted out… (sniffed through modem’s config…found the bastard snmp rule…)


nonetheless; much thanks to all that replied… :slight_smile:

:sunglasses:

figured Id add this to aid those in need…

When setting up an asterisk box that is outside the natted network it is imperative to add firewall rules that permit inbound/outbound traffic on udp ports 4000-5082 alonside udp ports 10000-50000, the latter is used for the voice stream whereas the initial is used for sip messaging (call signalling)…

Also it would be handy to add dst-nat/src-nat routes that point the aforementioned ports to the asterisk box…


(my box setup)

3 nics (2 gig, 1 a/b/g card)

Nic one wan ( 30mbit outside connection cable)
Nic two: Lan (192.168.2.0/24…-254. Gateway 192.168.2.1, Dns 192.168.2.1 …

Nic three wifi (192.168.5.0/24…-254. Gateway 192.168.2.1 Dns..192.168.2.1…

Well the above are candid versions of the setup but I suppose you get the picture…

Another time saver would be to ensure the nat option in the sip.conf or sip_additonal.conf is set to either 1, or yes. I.e nat=yes. be sure to save, it doesnt occur automatically…

Thank you warwick

Running TrixBox on External IP at the moment testing. It is so eazy and fun.

Just found your comment about setting nat=yes

SIP account had problem with receiving audio and connecting. Solved the issue.

Not really about MikroTik, about to put it behind firewall next.

Anyone should be able to install and run X-Lite softphone within 1 hr.

I dear you to…

http://asterisktutorials.com/showproduct.php?ProductID=5


Matt


PS: I do not know or associate with anyone marketing Trixbox etc

Version 3 has SIP traversal and Mangle capabilities, this post is answered.