Boozy Milkfish


Doozy Milkfish

Woozy Milkfish

Main.SideBar (edit)

Legal Information

Recent Changes Printable View Page History Edit Page

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 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:

    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:

  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:

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


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.

Edit Page - Page History - Printable View - Recent Changes - WikiHelp - SearchWiki
Page last modified on June 04, 2008, at 01:28 AM