[sr-dev] add_contact_alias()

Klaus Darilion klaus.mailinglists at pernau.at
Tue Dec 22 18:03:57 CET 2009


Hi Juha!

I tried your new add_contact_alias function - some questions:

1.

+    /* Compare source ip and port against contact uri */
+    if ((ip = str2ip(&(uri.host))) == NULL) {
+       LM_ERR("contact uri host is not an ip address\n");
+       return -1;
+    }

Why do you in return -1 in case of a domain instead of adding the alias 
parameter in this case too?

2. AFAIS the new functions are included in sr3.0 branch, but not in 
kamailio-3.0 branch. Why?

regards
klaus



More information about the sr-dev mailing list