Hi Roger,

Ah I see...That the iFC will get stuck despite later changes, and without 
warning the user, looks like an error-prone design for users. I will check what 
we can do about it. Hope you find the Homestead tools easier to use!

Ying

-----Original Message-----
From: Clearwater [mailto:[email protected]] On 
Behalf Of Roger Case
Sent: 22 November 2017 19:11
To: [email protected]
Subject: Re: [Project Clearwater] Application In clear water

Hi Ying,

Sorry my statement was confusing.  I should have said "first removing all 
checks from the application server check boxes for the lines in Ellis".  Not 
the boxes themselves! The problem seems to be that if an application server box 
is checked for a given line, and the app-servers.json file is edited, the iFCs 
described by app-servers.json, prior to the edit, are permanently attached to 
the line.  If the box is then unchecked, the original iFCs are still applied.  
I'll try to get a better understanding of what'd happening, with the Homestead 
tools you have pointed out.

Thank you!

Roger

-----Original Message-----
From: Clearwater [mailto:[email protected]] On 
Behalf Of Ying Huang
Sent: Wednesday, November 22, 2017 1:52 AM
To: [email protected]
Subject: Re: [Project Clearwater] Application In clear water

[External Email]

Hi Roger,

Thanks for another piece of practical information! This enables me to keep 
updating the docs for future user. As for configuration in homestead, check out 
https://clearwater.readthedocs.io/en/stable/Provisioning_Subscribers.html You 
can create an ifc1.xml and run `sudo cw-update_user <number> <domain>  --ifc  
ifc1.xml` to override existing ones, and use `sudo cw-display_user --full` to 
see all users with their iFCs. 

I am a bit confused by "first removing all application server check boxes from 
the lines in Ellis". Did you need to delete some Application Server 
configuration from Ellis Web UI? When I tried out (not using AIO though), the 
configuration tab started as empty.

Cheers,
Ying


-----Original Message-----
From: Clearwater [mailto:[email protected]] On 
Behalf Of Roger Case
Sent: 21 November 2017 20:33
To: [email protected]
Subject: Re: [Project Clearwater] Application In clear water

Interesting.  I had the exact error in my cw-aio app-servers.json file, as I 
too started with the docs example, missing the ConditionTypeCNF value.  The 
triggers worked, however, with two SPTs within a group being AND'd, resulting 
in an overall match only when both SPTs were matched, just as though there was 
a 0 in the CNF value.  I had also tested with my SPTs in different groups, and 
they were OR'd, matching on either SPT.  I've added the CNF value 0 now, and it 
works the same.  No value must somehow default to 0.

On another similar note, it seems that if changes are made to app-servers.json 
without first removing all application server check boxes from the lines in 
Ellis, the IFCs previously assigned to lines by the file, are stuck there 
forever.  My solution has been to delete the lines that I fouled up.  Maybe 
there is a way to edit something in Homestead, to get rid of the old IFCs?  Is 
this a cw-aio bug, maybe?

Thanks!

Roger

-----Original Message-----
From: Clearwater [mailto:[email protected]] On 
Behalf Of Ying Huang
Sent: Tuesday, November 21, 2017 8:36 AM
To: [email protected]
Subject: Re: [Project Clearwater] Application In clear water

[External Email]

Hi Timothy,

I imagine you are (rightly) following the example at 
https://clearwater.readthedocs.io/en/stable/Configuring_an_Application_Server.html.
 Unfortunately the JSON file has an error that ConditionTypeCNF is missing its 
value. It can be set to 0 or 1 in the format of 
<ConditionTypeCNF>0</ConditionTypeCNF>.

The iFC matches on the request by checking if each SPT condition is satisfied. 
When the CNF is set to 1, the logic is to OR all SPT within a group to get 
group result, and then AND all group result within this iFC to decide if it's 
an overall match. When CNF is 0 it's the other way round. When the iFC is an 
overall match, the request will be forwarded to the AS specified. A good 
explanation of iFC can be found at 
https://docs.opencloud.com/ocdoc/books/sentinel-volte-documentation/2.5.0/sentinel-volte-public-administration-guide/session-processing/initial-filter-criteria.html#mmtel-conferencing-service-point-triggers.

Also, how do you check that the AS has/hasn't been setup correctly? 


Thanks,
Ying

-----Original Message-----
From: Clearwater [mailto:[email protected]] On 
Behalf Of [email protected]
Sent: 20 November 2017 14:14
To: [email protected]
Subject: [Project Clearwater] Application In clear water


Hello All,

Can someone help me with a sample of how to define Application server in clear 
water using /usr/share/clearwater/ellis/web-content/js/app-servers.json file.

I have put the Json file here.

{
"MMTEL" : "<InitialFilterCriteria><Priority>0</Priority><TriggerPoint>
˓→<ConditionTypeCNF></ConditionTypeCNF><SPT><ConditionNegated>0</ConditionNegated>
˓→<Group>0</Group><Method>INVITE</Method><Extension></Extension></SPT></TriggerPoint>
˓→<ApplicationServer><ServerName>sip:mmtel.example.com</ServerName><DefaultHandling>0
˓→</DefaultHandling></ApplicationServer></InitialFilterCriteria>",
"Voicemail" : "<InitialFilterCriteria><Priority>1</Priority><TriggerPoint>
˓→<ConditionTypeCNF></ConditionTypeCNF><SPT><ConditionNegated>0</ConditionNegated>
˓→<Group>0</Group><Method>INVITE</Method><Extension></Extension></SPT></TriggerPoint>
˓→<ApplicationServer><ServerName>sip:vm.example.com</ServerName><DefaultHandling>0</
˓→DefaultHandling></ApplicationServer></InitialFilterCriteria>"
}


Thanks in Advance

Timothy



_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org

_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org

_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org

Reply via email to