Anda di halaman 1dari 5

2/15/13

wiki.milkfish.org | Milkfish-dd / RouterConfiguration

From wiki.milkfish.org

Milkfish-dd: RouterConfiguration
This is a short guided tour on how to set up the Milkfish SIP Proxy on your DD-WRT Router. Requirements: Your SIP clients are already configured for an active SIP account at your provider respectively you have all necessary credentials at hand, such as username, password, proxy- and registrar-server name or IP address (not needed for local accounts). What will be shown here: Activation and check if the Milkfish is running Configuration of your SIP client to use the proxy and check if the proxy recognises the client Optional Feature - Local Accounts Optional Feature - Local Forwards aka. Aliases Optional Feature - Dynamic SIP Tools - SIP Trace and SIP Messaging The first two topics enable you to use your telephony as usual. The following topics are meant to enhance your telephony flexibility. Any problems during the following sequence can be reported in the User Forum's Milkfish-dd section. 1. Open your router's web control panel in your browser and navigate to Services - Milkfish SIP Router. 2. There, try to set everything as shown here (you do not need to set username and password at this stage though):

Before continuing with the next step, make sure your router has a WAN address assigned (upper right corner) since the Proxy will not start without a WAN address. After enabling the Milkfish Main Switch you may want to save and reboot your router, to be sure we have a defined state. 3. Now, let's see if your SIP proxy is running. Click on the SIP Status-Button in the window shown above. In the window that appears now, check if the LAN and WAN IP addresses you see (the latter are
wiki.milkfish.org.sipwerk.com/index.php?n=Milkfish-dd.RouterConfiguration?action=print 1/5

2/15/13

wiki.milkfish.org | Milkfish-dd / RouterConfiguration

anonymised in the screenshot provided) do match your configuration:

4. We move on to the SIP client - when everything worked out so far, we are already finished with the router setup. The only thing you need to change in your client's configuration is the Outbound-Proxy setting. It needs to be set to the DD-WRT routers LAN IP address, as you can see in the screenshot below. All other settings depend on your provider and must not be changed:

Some SIP clients provide an option to check the state of their registration process:

You may consider to save and restart/reboot your SIP client in order to be prepared for the next step. 5. Back on the router you can then check if the registration of your client actually used the Outbound Proxy and was recognised by the SIP Proxy on the router. All clients that use the Milkfish as their Outbound Proxy are listed in the SIP Phonebook which you can open by clicking on the respective button in the DD-WRT web interface. This will give you a list of Active Registrations similar to the following screenshot:

All SIP clients known to the router are callable locally, meaning there will be no internet traffic for such calls. 6. In order to create Local Accounts, meaning SIP accounts for your SIP clients so that you do not need a service provider on the internet, you need to navigate to the Services - Milkfish SIP Router, as we did as our first step above. There, you find the SIP Database Section. Clicking on Local Accounts gives you the following window:
wiki.milkfish.org.sipwerk.com/index.php?n=Milkfish-dd.RouterConfiguration?action=print 2/5

2/15/13

wiki.milkfish.org | Milkfish-dd / RouterConfiguration

Click on the Add Button to create a new SIP account on the router. In the form that appears you need to set a username and a password, which later need to be matched by the settings in your SIP Client. Hit the Save Button when you are done:

Finally, apply your new account to the Proxy's configuration by clicking on the Apply Button:

The following settings were made on the SIP Client:

wiki.milkfish.org.sipwerk.com/index.php?n=Milkfish-dd.RouterConfiguration?action=print

3/5

2/15/13

wiki.milkfish.org | Milkfish-dd / RouterConfiguration

7. Local Aliases are useful if you want to assign a number to an alphanumeric destination URI, as it was done here:

This enables phones with only a numerical dialpad to call Email-type SIP addresses by providing a numerical alias on the proxy. 8. If you register at the Milkfish Forum, you can use the Homesip Dynamic SIP Service described here. To use this service you need to enter your Milkfish Forum Username and Password into the already mentioned form:

Furthermore, you need to enable Dynamic SIP by changing the respective radio button. Other Dynamic SIP services can be configured by clicking on the Advanced DynSIP Settings Button. The actual settings have to be provided by your Dynamic SIP service provider. 9. Enabling the From-Substitution makes only sense in case you use either a Dynamic DNS or a Dynamic SIP service on the same router. Set the domain name according to your dynamic domain name. 10. If you want to have some basic SIP Traces for debugging your signalling, you can activate such with the respective radio button. The traces can be viewed by clicking on the SIP Trace Button and give you a new window looking like this:

11. SIP Messaging, also sometimes refered to by SIP/SIMPLE, is also available by clicking on the respective button:

The messages generated look like this one:


wiki.milkfish.org.sipwerk.com/index.php?n=Milkfish-dd.RouterConfiguration?action=print 4/5

2/15/13

wiki.milkfish.org | Milkfish-dd / RouterConfiguration

Any further issues can be addressed in the User Forum's Milkfish-dd section.

Notes: In case you use PPPOE for Internet dialup and consider moving from Openwrt (e.g. Boozy Milkfish) to dd-wrt firmwares (including Milkfish-dd), please note that there exists a different wan_ifname convention described here. This may concern you especially if you migrate from openwrt to dd-wrt WITHOUT resetting NVRAM variables. The NVRAM variable milkfish_ppptime=off should not be changed to another value since the reconnect echo avoidance available on openwrt routers is not functional for ddwrt routers and may prevent your milkfish sip routing from working properly.
Retrieved from http://wiki.milkfish.org.sipwerk.com/index.php?n=Milkfish-dd.RouterConfiguration Page last modified on June 04, 2008, at 01:28 AM
Copyright 2005 by The Milkfish Project Crew. All rights reserved. Logos and trademarks are the property of their respective owners. This website is licensed under the GNU Free Documentation License. The software promoted on this website is licensed under the GNU General Public License. Please note that this software is under development and comes with absolutely no warranty, to the extend permitted by applicable law. Definition of Open Source. generously supported and hosted by

wiki.milkfish.org.sipwerk.com/index.php?n=Milkfish-dd.RouterConfiguration?action=print

5/5

Anda mungkin juga menyukai