On 18-08-2005 19:01, Jan Janak wrote:
+-----------+--------+-------------------------+----------+---------------------+-------+-------------------------------------+------+---------------------+-----------+-------+-------+---------------------------------------+
| username | domain | contact | received |
expires | q | callid | cseq
| last_modified | replicate | state | flags |
user_agent |
+-----------+--------+-------------------------+----------+---------------------+-------+-------------------------------------+------+---------------------+-----------+-------+-------+---------------------------------------+
| 271nv1001 | | sip:271nv1001@localhost | NULL |
2020-05-28 21:32:15 | -1.00 | 3653736-e3498618-a7aa0347@localhost
| 42 | 2005-08-15 16:07:31 | 0 | 0 | 0 |
PolycomSoundPointIP-SPIP_500-UA/1.4.1 |
+-----------+--------+-------------------------+----------+---------------------+-------+-------------------------------------+------+---------------------+-----------+-------+-------+---------------------------------------+
I still get an AOR error when I try the following AOR's in my XML
query.
<value><string>271nv1001</string></value>
<value><string>271nv1001@localhost</string></value>
<value><string>sip:271nv1001@localhost</string></value>
<value><string>3653736-e3498618-a7aa0347@localhost</string>
Those seem to be the only logical choices for the AOR. Why would it
still be returning an AOR not found?
I will get back to this later, I have to check the sources, it is
possible there is a bug.
I have been trying to reproduce this but without success (it works for
me). Could you send me the output of usrloc.dump function and also
full traces of xmlrpc communication -- showing both requests and
replies ?
thanks, Jan.
Jan,
Here is the information you requested.
1) Add User - request and response
POST /RPC2 HTTP/1.0
User-Agent: Radio UserLand/7.1b7 (WinNT)
Host: localhost:5060
Content-Type: text/xml
Content-length: 131
<?xml version=\"1.0\"?>
<methodCall>
<methodName>usrloc.add_contact</methodName>
<params>
<param>
<value><string>location</string></value>
</param>
<param>
<value><string>testUser</string></value>
</param>
<param>
<value><string>sip:testUser@localhost</string></value>
</param>
<param>
<value><i4>30</i4></value>
</param>
<param>
<value><double>1.0</double></value>
</param>
<param>
<value><i4>0</i4></value>
</param>
</params>
</methodCall>
HTTP/1.0 200 OK
Via: SIP/2.0/UDP 127.0.0.1:32829
Server: Sip EXpress router (0.10.99-janakj_experimental (i386/linux))
Content-Length: 150
Warning: 392 127.0.0.1:5060 "Noisy feedback tells: pid=6165
req_src_ip=127.0.0.1 req_src_port=32829 in_uri=/RPC2 out_uri=/RPC2
via_cnt==1"
<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<params>
<param><value><boolean>1</boolean></value></param>
</params>
</methodResponse>
2) Show Contacts request and response
POST /RPC2 HTTP/1.0
User-Agent: Radio UserLand/7.1b7 (WinNT)
Host: localhost:5060
Content-Type: text/xml
Content-length: 131
<?xml version=\"1.0\"?>
<methodCall>
<methodName>usrloc.show_contacts</methodName>
<params>
<param>
<value><string>location</string></value>
</param>
<param>
<value><string>testUser</string></value>
</param>
</params>
</methodCall>
HTTP/1.0 200 OK
Via: SIP/2.0/UDP 127.0.0.1:32829
Server: Sip EXpress router (0.10.99-janakj_experimental (i386/linux))
Content-Length: 323
Warning: 392 127.0.0.1:5060 "Noisy feedback tells: pid=6163
req_src_ip=127.0.0.1 req_src_port=32829 in_uri=/RPC2 out_uri=/RPC2
via_cnt==1"
<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<fault>
<value><struct>
<member><name>faultCode</name>
<value><i4>-500</i4></value></member>
<member><name>faultString</name>
<value><string>Can't allocate 3048949949-byte memory
block</string></value></member>
</struct></value>
</fault>
</methodResponse>
3) usrloc.dump request and response
POST /RPC2 HTTP/1.0
User-Agent: Radio UserLand/7.1b7 (WinNT)
Host: localhost:5060
Content-Type: text/xml
Content-length: 131
<?xml version=\"1.0\"?>
<methodCall>
<methodName>usrloc.dump</methodName>
<params>
</params>
</methodCall>
HTTP/1.0 200 OK
Via: SIP/2.0/UDP 127.0.0.1:32829
Server: Sip EXpress router (0.10.99-janakj_experimental (i386/linux))
Content-Length: 298
Warning: 392 127.0.0.1:5060 "Noisy feedback tells: pid=6165
req_src_ip=127.0.0.1 req_src_port=32829 in_uri=/RPC2 out_uri=/RPC2
via_cnt==1"
<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<fault>
<value><struct>
<member><name>faultCode</name>
<value><i4>500</i4></value></member>
<member><name>faultString</name>
<value><string>Not Yet
Implemented</string></value></member>
</struct></value>
</fault>
</methodResponse>
Thanks for taking a look,
Zach Keatts
Software Engineer