@wkampich commented on this pull request.


> +                     case RESPONSE:
+                               if(fsrdata->uri != NULL) {
+                                       /* get the first uri element */
+                                       if((tmp.s = fsrdata->uri->value) != 
NULL) {
+                                               tmp.len = 
strlen(fsrdata->uri->value);
+                                               uri.s = lost_copy_string(tmp, 
&uri.len);
+                                       }
+                               } else {
+                                       LM_ERR("uri not found: [%.*s]\n", 
ret.len, ret.s);
+                                       goto err;
+                               }
+                               if(fsrdata->mapping != NULL) {
+                                       /* get the displayName element */
+                                       if((tmp.s = 
fsrdata->mapping->name->text) != NULL) {
+                                               tmp.len = 
strlen(fsrdata->mapping->name->text);
+                                               name.s = lost_copy_string(tmp, 
&name.len);

thanks, have incorporated it

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2675#discussion_r605184212
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to