[OpenSIPS-Users] HTTP_DB for USR_LOC

Tito Cumpen tito at xsvoce.com
Wed Nov 20 05:53:01 CET 2013


I am attempting to use http_db for user location but I am not certain what
opensips is expecting me to return for dummy user or any user? Can anyone
provide any guidance?



T xx.xx.xx.xxx:45434 -> xx.xx.xx.xx:80 [AP]

GET /cc/version/?k=table_name&v=location&c=table_version HTTP/1.1.

Host: xx.xx.xxx.xx.

Accept: */*.

.


##

T xx.xx.xx.xxx:80 -> xxx.xx.xxx.xxx:45434 [AP]

HTTP/1.1 200 OK.

X-Powered-By: Express.

Vary: Accept-Encoding.

Access-Control-Allow-Origin: undefined.

Access-Control-Allow-Methods: undefined.

Access-Control-Allow-Headers: undefined.

Access-Control-Max-Age: 31536000.

Content-Type: text/html; charset=utf-8.

Content-Length: 9.

Date: Wed, 20 Nov 2013 04:50:19 GMT.

Connection: keep-alive.

.

int

1006


##

T xx.xxx.xx.xxx:45434 -> xx.xxx.xxx.xxx:80 [AP]

GET /cc/location/?k=username&v=dummy_user&c=username HTTP/1.1.

Host: xx.xx.xxx.xx

Accept: */*.

.


#

T xxx.xxx.xxx.xxx:80 -> xxx.xxx.xxx.xxx:45434 [AP]

HTTP/1.1 200 OK.

X-Powered-By: Express.

Vary: Accept-Encoding.

Access-Control-Allow-Origin: undefined.

Access-Control-Allow-Methods: undefined.

Access-Control-Allow-Headers: undefined.

Access-Control-Max-Age: 31536000.

Content-Type: text/html; charset=utf-8.

Content-Length: 364.

Date: Wed, 20 Nov 2013 04:50:19 GMT.

Connection: keep-alive.

.

int;string;string;string;date;string;date;string;string;int;date;int;string;string;string

|47766|;|nursebetty.gmail|;||;|sip:nursebetty.gmail at xxx.xxx.xx.xx:19988;line=baa118b095d8c57|;|sip:xx.xxx.xx.xx:19988|;|NULL|;|2013-10-21
18:56:46|;|-1.00|;106809215|;|57|;|2013-10-21
18:53:26|;0|;0|;|LinphoneIPhone/1.0
(eXosip2/3.6.0)|;|udp:xx.xxx.xxx.xx:5060|;|NULL|;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20131119/2e5be59c/attachment.htm>


More information about the Users mailing list