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
