Tuesday, April 21, 2009

Integrate Sailfin and OpenIMS Core in IPv4

This entry assume that you installed Sailfin and Open IMS Core successfully, you can consult to install Open IMS Core here. In order to install Sailfin, go to Sailfin project homepage and you'll have complete tutorials about this task.
In my machine, I installed both in Ubuntu 8.10 with Bind9:
  • Open IMS Core, IP address:
  • Sailfin, IP address:
  1. Configure DNS in Sailfin machine
- Modify /etc/resolv.conf, add this lines:

search ims.fet.hut
domain ims.fet.hut

Replace "ims.fet.hut" with your IMS domain name respectively.

- In /etc/bind/ folder, create new zone file named openims-sailfin.dnszone with contents:

$ORIGIN ims.fet.hut
@ 1D IN SOA ns.ims.fet.hut. root.ims.fet.hut. (
2009041201 ; serial
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum

1D IN NS ns.ims.fet.hut.
ns 1D IN A

ims.fet.hut. 1D IN A
pcscf 1D IN A
icscf 1D IN A
scscf 1D IN A
hss 1D IN A

sailfin1.ims.fet.hut. 1D IN A

_sip 1D SRV 0 0 6060 scscf
_sip._udp 1D SRV 0 0 6060 scscf
_sip._tcp 1D SRV 0 0 6060 scscf

_sip._udp.ims.fet.hut. 1D IN SRV 1 0 5060 sailfin1.ims.fet.hut.
_sip._tcp.ims.fet.hut. 1D IN SRV 1 0 5060 sailfin1.ims.fet.hut.
_sips._tcp.ims.fet.hut. 1D IN SRV 1 0 5060 sailfin1.ims.fet.hut.
_sips._udp.ims.fet.hut. 1D IN SRV 1 0 5060 sailfin1.ims.fet.hut.

ims.fet.hut. 1D IN NAPTR 10 50 "s" "SIP+D2U" "" _sip._udp.ims.fet.hut.
ims.fet.hut. 1D IN NAPTR 20 50 "s" "SIP+D2T" "" _sip._tcp.ims.fet.hut.

- In /etc/bind/named.conf.local, add the following lines:

zone "ims.fet.hut" IN {
type master;
file "openims-sailfin.dnszone";
notify no;
allow-update {none;};

- Restart bind9:
#/etc/init.d/bind9 restart

- Add following contents in SAILFIN_HOME/domains/domain1/config/domain.xml:
- Run Sailfin:

#./asadmin start-domain domain1
#./asadmin start-dataabase
asadmin> set --host sailfin1.ims.fet.hut server-config.sip-container.external-address=sailfin1.ims.fet.hut
Please enter the admin user name> admin
Please enter the admin password>adminadmin

- That's all with Sailfin machine. After that, sailfin machine has domain name and Contact header is "sailfin1.ims.fet.hut".
Eg: REGISTER message from User equipment via P-CSCF, S-CSCF to Sailfin has Contact:"scscf.ims.fet.hut". Sailfin accept this Register and response with 200 OK has Contact:"sailfin1.ims.fet.hut" via S-CSCF, P-CSCF to User.

2. Configure DNS in Open IMS machine

- Add to /etc/bind/open-ims.dnszone file in IMS machine the following:

sailfin 1D IN A
c2d 1D IN A

- Restart DNS server in this machine
# /etc/init.d/bind9 restart

- Configure FHoSS to add new application server, point to sailfin. You can use CallSetup application in SAILFIN_HOME/samples/sipservlet/ as an application for IMS.

- You must modify CallSetup a little to work with IMS. Then you can use callsetup service with IMS client like UCT IMS client, OpenIC lite or Mercuro... normally. That's so cool!



  1. Hello DingNgocSon,

    I'm really interested in this tutorial of integrating OpenIMSCore and Sailfin.
    However, you mentioned that you need to modify something inside the CallSetup code.
    Would you mind sharing that modification so that the CallSetup sample will work?
    Thank you.

  2. This comment has been removed by the author.

  3. Useful post,
    I really like this. With It Support services becoming competitive, there are a large number of firms that will do what it takes to get your business, including agreeing to various questionable terms in the contract.

  4. I have little bit knowledge of Sailfin but your post helps me to gain more knowledge of Sailfin. Can you explain in detail, i am really interested to know about this topic from your side. Networking

  5. Yes you are right it really help full in Network Support Thanks for sharing

  6. I just couldnt leave your website before telling you which i really enjoyed the quality information you offer for your visitors Will be back often to check on on new posts

  7. This comment has been removed by the author.

  8. Hi, nice description in Integrating Sailfin and OpenIMS Core in IPv4 .Thanks for your help..


  9. Hotnewpricedeals.com is your online destination for hot uk deals & discounts Big saving deal online, Online shopping sites, best discount deals, Top brand name discount, UK hot new prices, Clearance sales.hot uk deals, best discount deals, Big discount online shopping sites, Top brand name discount, UK hot new prices, Top brand name discount sites, Clearance sales

  10. This is very interesting to read such an amazing articles. Whole blog was really an awesome site which I have never found anywhere. Water Softener Shamong NJ All Safewater is a private owned water treatment company serving Burlington County Our goal is to make sure your water is safe for you and your family to drink and bath in. We understand the crunch of rising costs and do our best to provide affordable systems while providing top quality.

  11. Interesting story you have shared it is useful and getting a lot of new thing its really nice and making best thing.

    Handcrafted Women's Clothing

  12. Hi there to every body, it’s my first go to see of this web site; this weblog consists of awesome and in fact good stuff for visitors.
    Mac Photo Editor

  13. Hi there I am so thrilled I found your website, I really found you by mistake, while I was browsing on Yahoo for something else, Anyhow I am here now and would just like to say thanks a lot for a tremendous post and a all round exciting blog (I also love the theme/design), I don’t have time to go through it all at the minute but I have saved it and also added in your RSS feeds, so when I have time I will be back to read more, Please do keep up the awesome job.
    Cheap Home Gadgets


  14. Hi, I am John working in IT company. Cause of busy I work in my home so, I need a high-configaration which is one of the
    best computers.best computers.
    So, I was feeling worried about the best computer. By friend suggest me to visit your website and got it. This is really good product.
    Specially RAM, graphic, and all configaration are good. I am happy. I am happy.


  15. find your exclusive discount codes with discounts king. save on your favourite online shop

    save on your favourite online shop

  16. enthärtungsanlage - Grundsätzlich sollten Sie für die Montage der Enthärtungsanlage über solides technisches Wissen verfügen. Über die spezifischen örtlichen und länderspezifischen Vorschriften für die Montage einer Entkalkungsanlage sollten Sie sich zuvor informieren. Über die Suchbegriffe Enthärtungsanlage Test und Enthärtungsanlage Kosten erfahren Sie im Internet, welche Enthärtungsanlagen in Funktion, Qualität und Preis gut abschneiden. Sehen Sie hierzu auch den Infokasten am Ende dieses Artikels. Lesen Sie gründlich die Aufbau-, Montage- und Bedienungsanleitung des Herstellers, wenn Sie Ihre Enthärtungsanlage einbauen. Gehen Sie Schrift für Schritt vor und halten Sie sich genau an die Anweisungen. Please click for more information https://www.kadotec.de/montage-enthaertungsanlage-anleitung/