Hello Nathaniel,

Attached is an extended patch - remove the old one and apply this one.
Again look for any xXx logs .

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 05/14/2013 02:47 PM, Nathaniel L Keeling III wrote:
> Hello Bogdan,
>
> here is the output from opensips's og file of the save() with the
> patch and the code snippet from the opensips.cfg. I did not see any
> ant logs with "xXx". Also,I have usrloc's db_mode set to 3.
>
>     ##################################################################
>     # Try to save the Register's requests location information
>     ##################################################################
>
>     xlog("SAVING THE SUBSCRIBER INTO THE LOCATION TABLE
> ....................................................");
>     if (!save("location","p1"))
>     {
>         xlog("L_ERR", "ERR:callerid:$ci|end|System error trying to
> save Register's request location");
>         sl_reply_error();
>     }
>
>     ##################################################################
>     # Subscriber's register request was successfully authenticated
>     # and saved
>     ##################################################################
>
>     xlog("L_NOTICE", "NOTICE:callerid:$ci|end|The subscriber has
> successfully registered with Akan Voice");
>     exit;
>
>
> Thanks
>
> Nathaniel
>
>
> _______________________________________________
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Index: modules/registrar/save.c
===================================================================
--- modules/registrar/save.c	(revision 10023)
+++ modules/registrar/save.c	(working copy)
@@ -247,11 +247,14 @@
 		}
 
 		/* extract Path headers */
+		LM_DBG("xXx - flags are %X \n",_flags);
 		if ( _flags&REG_SAVE_PATH_FLAG ) {
+			LM_DBG("xXx - saving path into usrloc \n");
 			if (build_path_vector(_m, &path, &path_received, _flags) < 0) {
 				rerrno = R_PARSE_PATH;
 				goto error;
 			}
+			LM_DBG("xXx - path is <%.*s>(%d)\n",path.len,path.s,path.len);
 			if (path.len && path.s) {
 				ci.path = &path;
 				/* save in msg too for reply */
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to