Hi. Finally decided to post after spening a couple of days trying to figure this out. With all the knowledge here I figured someone must’ve already ran into this. Why re-invent the wheel, right?
I have a RB450G and seem to have a problem with my IP phone (a Linksys SAP942) connecting to a remote PBX. I had this working when I was using my old router (a Linksys WRT54g w/DD-WRT) and I can’t figure out how to set it up to work on the 450G.
I looked at my old router’s settings and I did not see any specific rules that needed to be created/opened, but looking though the forums and wiki, I found a variety of approaches (including enabling the sip helper) to getting my ip phone working. But all of them came to naught since the phone could not register with the two remote PBXes they’re supposed to connect to.
I’m guessing I need to open up ports to allow it to communicate with the remote PBX’es, but from the various forum postings and wiki info I’ve seen out there that opening up SIP should do the trick, but it doesn’t seem to be working. Do I need to add filters on the firewall? or do something in NAT?
Has no one used SIP phones with these routers? Naw, I can’t believe that. Any sorta info or sample configurations would greatly be appreciated since I’ve hit a wall here.
I use a SIP phone behind an RB750G at home and it ‘just works’. Same for Skype. The SIP helper is enabled by default.
Try adjusting your firewall filter ruleset (if you have one) to accept all established and related traffic (connection-state=) before anything else so that data connections related to the control channel and learned about via the helper aren’t dropped by the firewall. That’s good practice, anyway - anything already OK’d before should be immediately accepted so that you don’t keep processing packets you don’t need to.
Thanks for the reply! I do have rule sets setup, and the default configuration script setup those connection state rules. Here is what I have at the moment:
I may have been a bit hasty before - are the rules you posted ALL the rules that exist in your “/ip firewall filter” section? If yes, adding things to the ‘forward’ chain would be pointless, and I don’t know what’s wrong.
In regards to order - order matters, but within the chain. All rules in the input chain will be interpreted in order, but if you have forward chain rules between those input chain items they do not affect operations.
I do have some additional rules after those, but I didn’t think they would be causing issues. Also, I am running NAT as well. Here are the firewall rules:
Those rules indeed wouldn’t interfere since they will never be used. You have to jump into custom chains to make them do anything at all.
Either way - I would suggest you remove all the firewall rules and try the phone again. NAT may also interfere if you’re running it wrong. Please post the output of “/ip firewall nat export”.
Well, this in an interesting turn of events. Apparently, while begging to try out what you suggested, I plugged in the MikroTik ,and noticed the phone i now connected and I’m able to call out through both PBXes.
It looks like it did just work, but I think it has more to do with more of my power cycling the both the router, but also the cable modem and then after bringing up the modem I then brought online the RB450G.
It looks like I don’t even need to put in rules for them after all. Odd.
Well, thank you for you assistance. I hope that if anyone else runs into a similar issue that when they see this post it can be of help to them.