Hi Morris, It looks like Sprout is not routing your calls to Memento correctly. This section of logs is the important one:
29-07-2016 03:46:21.500 UTC Debug sproutletproxy.cpp:119: Find target Sproutlet for request 29-07-2016 03:46:21.500 UTC Debug sproutletproxy.cpp:158: Found next routable URI: sip:[email protected];lr 29-07-2016 03:46:21.500 UTC Debug sproutletproxy.cpp:309: Found user - memento 29-07-2016 03:46:21.500 UTC Debug sproutletproxy.cpp:329: Possible service name - 140 29-07-2016 03:46:21.500 UTC Debug sproutletproxy.cpp:335: Hostname - 123.103.144 29-07-2016 03:46:21.500 UTC Debug sproutletproxy.cpp:309: Found user - memento 29-07-2016 03:46:21.500 UTC Debug sproutletproxy.cpp:329: Possible service name - 140 29-07-2016 03:46:21.500 UTC Debug sproutletproxy.cpp:335: Hostname - 123.103.144 29-07-2016 03:46:21.500 UTC Debug sproutletproxy.cpp:309: Found user - memento 29-07-2016 03:46:21.500 UTC Debug sproutletproxy.cpp:329: Possible service name - 140 29-07-2016 03:46:21.500 UTC Debug sproutletproxy.cpp:335: Hostname - 123.103.144 29-07-2016 03:46:21.500 UTC Debug sproutletproxy.cpp:309: Found user - memento 29-07-2016 03:46:21.500 UTC Debug sproutletproxy.cpp:329: Possible service name - 140 29-07-2016 03:46:21.500 UTC Debug sproutletproxy.cpp:335: Hostname - 123.103.144 29-07-2016 03:46:21.500 UTC Debug sproutletproxy.cpp:874: No local sproutlet matches request Here, Sprout looks at the URI sip:[email protected];lr and tries to match it to one of its Sproutlet plugins. At this point, we expect it to match Memento, but it looks like that has failed. The main way that can go wrong is if Sprout does not think that 140.123.103.143 is its local hostname. We can find that out by looking in /etc/clearwater/local_config – check<http://clearwater.readthedocs.io/en/stable/Clearwater_Configuration_Options_Reference.html> that `local_ip`, `public_ip`, and `public_hostname` are set to the right values. I’m happy to take a look if it’s not obvious. If that doesn’t help, it would be good to see the Sprout logs covering startup of the system. Yours, Chris From: yan morris [mailto:[email protected]] Sent: 29 July 2016 05:06 To: Chris Elford (projectclearwater.org) <[email protected]> Subject: Re: [Project Clearwater] Memento Application Server Standalone Hi, Chris Thank for your mail. After mailing you , I have tried re-install memento application server again. But , there is another situation happened . Now , my memento application server doesn't store call list. All of user's record is "<call-list><calls></calls></call-list>" I looked at log , iFC works and it transfer call to memento , but somehow it doesn't work. I also look at memento's log , when I try to get call list , it give the message "UTC Warning call_list_store.cpp:326: Failed to get call list fragments for IMPU sip:6505550420@ccu because 'Row sip:6505550420@ccu not present in column_family call_lists' (RC = 2)" Anything I should do to fix this problem? Could you help me to resolve the problem? Below is my sprout's log (part of log , starting after iFC matches) (140.123.103.144 is memento server's IP and sprout IP is 140.123.103.105) Sprout log : https://docs.google.com/document/d/1QFjDetJ3nateskQUAEEE7Ag9JgTQzPE6_e4Tl3zaNCs/edit?usp=sharing If you need more information , please let me know . Thank you very much. Morris 2016-07-28 0:03 GMT+08:00 Chris Elford (projectclearwater.org<http://projectclearwater.org>) <[email protected]<mailto:[email protected]>>: Hi Morris, From what you tell me, it sounds like Memento is getting involved with your calls, but Sprout is not managing to route them to the correct place. In order to work out where this is going wrong, it would be helpful to see a set of Sprout debug logs<http://clearwater.readthedocs.io/en/stable/Troubleshooting_and_Recovery.html#sprout> (log level 5) covering the failed call. Yours, Chris From: Clearwater [mailto:[email protected]<mailto:[email protected]>] On Behalf Of yan morris Sent: 21 July 2016 15:51 To: [email protected]<mailto:[email protected]> Subject: [Project Clearwater] Memento Application Server Standalone Hi , I encounter a problem when I install memento-as standalone . I cannot make a call , it would give the message "Early Media started" . But when I curl the call-list , I can see the records though it never rings . Could you give me some tips about this ? Below is my configuration about Memento. Shared_config for Clearwater except the node contains Memento # Deployment definitions home_domain=ccu sprout_hostname=sprout.ccu memento_hostname=memento.ccu hs_hostname=hs.ccu:8888 hs_provisioning_hostname=hs.ccu:8889 ralf_hostname=ralf.ccu:10888 xdms_hostname=homer.ccu:7888 # Email server configuration smtp_smarthost=smtpserver smtp_username=user smtp_password=secret [email protected]<mailto:[email protected]> # Keys signup_key=secret turn_workaround=secret ellis_api_key=secret ellis_cookie_key=secret memento_enabled='Y' memento=12345 Shared_config for the node of Memento Application Server # Deployment definitions home_domain=ccu sprout_hostname=memento.ccu memento_hostname=memento.ccu hs_hostname=hs.ccu:8888 hs_provisioning_hostname=hs.ccu:8889 ralf_hostname=ralf.ccu:10888 xdms_hostname=homer.ccu:7888 # Email server configuration smtp_smarthost=smtpserver smtp_username=user smtp_password=secret [email protected]<mailto:[email protected]> # Keys signup_key=secret turn_workaround=secret ellis_api_key=secret ellis_cookie_key=secret memento_enabled='Y' memento=12345 My IFC configuration : <InitialFilterCriteria> <TriggerPoint> <ConditionTypeCNF>0</ConditionTypeCNF> <SPT> <ConditionNegated>0</ConditionNegated> <Group>0</Group> <Method>INVITE</Method> <Extension></Extension> </SPT> </TriggerPoint> <ApplicationServer> <ServerName>sip:memento@<memento<sip:memento@%3cmemento> node's IP>12345</ServerName> <DefaultHandling>0</DefaultHandling> </ApplicationServer> </InitialFilterCriteria> I have tried use memento IP or memento.zone as the ServerName , but it didn't work. Did I configure incorrectly ? Or there are something that I forgot to set. BTW , I checked the version of each node , they are in the newest version. Thank you . Morris Yan
_______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org
