Now I added P-Profile-Key header into the request, the header value is my
wildcard PSI uri( sip:.+@list-service.example.com ).

Homestead  log:
10-03-2018 19:39:50.073 UTC [7f22987f8700] Debug http_handlers.cpp:619:
Determining request type from '{"reqtype": "call", "server_name":
"sip:scscf.192.168.1.10:5054;transport=TCP", "wildcard_identity": "
sip:.+@list-service.example.com"}'

10-03-2018 19:39:50.074 UTC [7f22c4fb1700] Debug memcached_cache.cpp:27:
Pausing stopwatch due to Memcached GET fetch result for
impu\\sip:.+@list-service.example.com
10-03-2018 19:39:50.075 UTC [7f22c4fb1700] Debug memcached_cache.cpp:33:
Resuming stopwatch due to Memcached GET fetch result for impu\\
sip:.+@list-service.example.com

10-03-2018 19:39:50.075 UTC [7f22c4fb1700] Debug memcachedstore.cpp:414:
Key not found

10-03-2018 19:39:50.075 UTC [7f229affd700] Debug hsprov_store.cpp:78:
Issuing get for key
sip:7gbcen27b7lqvh3noa3nt8nftc7gbcen27b7lqvh3noa3nt8n...@list-service.example.com

10-03-2018 19:39:50.078 UTC [7f229affd700] Debug cassandra_store.cpp:536:
Cassandra request failed: rc=2, Row
sip:7gbcen27b7lqvh3noa3nt8nftc7gbcen27b7lqvh3noa3nt8nftc@list-service.
example.com not present in column_family impu


Looks like Homestead uses P-Profile-Key's value to search in cache but uses
R-URI to search in database.

Is it expected behavior?








On Sat, Mar 10, 2018 at 10:48 AM, Anthony Lee <anthonyn...@gmail.com> wrote:

> Sorry, forgot to mention that  Sprout's log  shows that 404 not found for
> that wildcard PSI return from Homestead. .
>
> On Sat, Mar 10, 2018 at 10:44 AM, Anthony Lee <anthonyn...@gmail.com>
> wrote:
>
>> My wildcard PSI is  sip:.+@list-service.example.com
>>
>>
>> I found some information in Homestead_current.txt:
>>
>> Debug http_handlers.cpp:695: Did not receive valid JSON with a
>> 'wildcard_identity' element
>>
>> Does it mean scscf need to add "wildcard_identity" into the JSON request?
>> Is there any configuration need to be done in Sprout?
>>
>>
>>
>> On Fri, Mar 9, 2018 at 10:54 PM, Anthony Lee <anthonyn...@gmail.com>
>> wrote:
>>
>>> I need to provision wildcarded PSI, does clearwater support to do that?
>>> If yes, could you provide an example?
>>>
>>> Thanks
>>>
>>> Anthony
>>>
>>
>>
>
_______________________________________________
Clearwater mailing list
Clearwater@lists.projectclearwater.org
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org

Reply via email to